<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anandhavarshini Priya</title>
    <description>The latest articles on DEV Community by Anandhavarshini Priya (@anandhavarshini_priya).</description>
    <link>https://dev.to/anandhavarshini_priya</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4174520%2F04762736-a703-417a-982f-f62c47838776.png</url>
      <title>DEV Community: Anandhavarshini Priya</title>
      <link>https://dev.to/anandhavarshini_priya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anandhavarshini_priya"/>
    <language>en</language>
    <item>
      <title>Building an Open-Source AI Eye Guard: Because Developers Forget to Blink 👁️💻</title>
      <dc:creator>Anandhavarshini Priya</dc:creator>
      <pubDate>Sun, 25 Oct 2026 07:56:49 +0000</pubDate>
      <link>https://dev.to/anandhavarshini_priya/building-an-open-source-ai-eye-guard-because-developers-forget-to-blink-1nn7</link>
      <guid>https://dev.to/anandhavarshini_priya/building-an-open-source-ai-eye-guard-because-developers-forget-to-blink-1nn7</guid>
      <description>&lt;p&gt;During intense hackathons and late-night coding marathons in VS Code, we often stare at our screens for hours without blinking. That leads to digital eye strain, dry eyes, and severe fatigue.&lt;/p&gt;

&lt;p&gt;For the Hacktoberfest Week 3 "Slow and Steady" Challenge, I wanted to build something that automates developer wellness so I don't have to manually track my screen time or set distracting timers. Introducing OpenEye Guard—a lightweight, local computer vision agent that monitors your blink rate via webcam and provides real-time voice instructions to give your eyes a break!&lt;/p&gt;

&lt;p&gt;🛠️ What Does It Do?&lt;br&gt;
Real-Time Computer Vision Tracking: Runs locally in the background using your webcam to track face mesh landmarks and monitor eye openness.&lt;/p&gt;

&lt;p&gt;Audio Voice Guidance: If it detects extended periods of low blinking or continuous screen time, an offline voice agent speaks up with guided instructions: "Blink slowly for 20 seconds" or "Close your eyes and rest for 5 minutes."&lt;/p&gt;

&lt;p&gt;Automated Wellness: Acts like an ambient guardian that forces your eyes to relax without requiring manual interaction.&lt;/p&gt;

&lt;p&gt;💻 Technical Implementation &amp;amp; Code Deep Dive&lt;br&gt;
To bring this local computer vision eye-guard to life, here is the full Python implementation using OpenCV, MediaPipe, and pyttsx3:&lt;/p&gt;

&lt;p&gt;Python&lt;br&gt;
import cv2&lt;br&gt;
import mediapipe as mp&lt;br&gt;
import pyttsx3&lt;br&gt;
import time&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Initialize Text-to-Speech Engine for offline voice alerts
&lt;/h1&gt;

&lt;p&gt;engine = pyttsx3.init()&lt;br&gt;
engine.setProperty('rate', 150)  # Moderate speech speed&lt;/p&gt;

&lt;p&gt;def alert_user(message):&lt;br&gt;
    """Triggers an offline audio alert to instruct the user to rest."""&lt;br&gt;
    print(f"[ALERT]: {message}")&lt;br&gt;
    engine.say(message)&lt;br&gt;
    engine.runAndWait()&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Initialize MediaPipe Face Mesh module
&lt;/h1&gt;

&lt;p&gt;mp_face_mesh = mp.solutions.face_mesh&lt;br&gt;
face_mesh = mp_face_mesh.FaceMesh(&lt;br&gt;
    max_num_faces=1,&lt;br&gt;
    refine_landmarks=True,  # Enables precise eye pupil and eyelid mesh points&lt;br&gt;
    min_detection_confidence=0.5,&lt;br&gt;
    min_tracking_confidence=0.5&lt;br&gt;
)&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Start Video Capture from Local Webcam
&lt;/h1&gt;

&lt;p&gt;cap = cv2.VideoCapture(0)&lt;br&gt;
print("Starting OpenEye Guard locally... Press 'q' to quit.")&lt;/p&gt;

&lt;p&gt;last_alert_time = time.time()&lt;br&gt;
ALERT_INTERVAL = 1200  # Trigger rest prompt every 20 minutes (configurable)&lt;/p&gt;

&lt;p&gt;while cap.isOpened():&lt;br&gt;
    success, frame = cap.read()&lt;br&gt;
    if not success:&lt;br&gt;
        break&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Convert the BGR frame to RGB for MediaPipe processing&lt;br&gt;
rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)&lt;br&gt;
results = face_mesh.process(rgb_frame)
&lt;h1&gt;
  
  
  Verify facial landmarks are detected in frame
&lt;/h1&gt;

&lt;p&gt;if results.multi_face_landmarks:&lt;br&gt;
    current_time = time.time()&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Check if the continuous coding interval has passed
if current_time - last_alert_time &amp;amp;gt; ALERT_INTERVAL: 
    alert_user("Take a break. Close your eyes for 20 seconds and look away from the screen.")
    last_alert_time = current_time
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
  
  
  Display live feed feed preview
&lt;/h1&gt;

&lt;p&gt;cv2.imshow('OpenEye Guard - Hacktoberfest 2026', frame)&lt;/p&gt;
&lt;h1&gt;
  
  
  Break loop on 'q' press
&lt;/h1&gt;

&lt;p&gt;if cv2.waitKey(1) &amp;amp; 0xFF == ord('q'):&lt;br&gt;
    break&lt;br&gt;
&lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Clean up resources&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;cap.release()&lt;br&gt;
cv2.destroyAllWindows()&lt;br&gt;
How the Code Works:&lt;br&gt;
Facial Mesh Analysis (MediaPipe): Rather than loading heavy deep-learning model weights, MediaPipe's FaceMesh maps 468 3D facial landmarks in real-time with negligible CPU usage. Enabling refine_landmarks=True specifically pinpoints eyelid contours.&lt;/p&gt;

&lt;p&gt;Offline Audio Feedback (pyttsx3): Uses system-level speech synthesis (SAPI5 on Windows, NSSpeechSynthesizer on macOS, Espeak on Linux) to produce immediate voice commands without sending audio requests to an online API.&lt;/p&gt;

&lt;p&gt;Non-Intrusive Runtime (OpenCV): Captures frames at 30 FPS locally in the background, making it fast enough to run alongside heavy IDEs like VS Code without causing system lag.&lt;/p&gt;

&lt;p&gt;🌟 Why Open Innovation &amp;amp; Open-Source Matter Here&lt;br&gt;
When building developer automation tools, using open-source packages offers distinct advantages over proprietary cloud solutions:&lt;/p&gt;

&lt;p&gt;100% Privacy: Because OpenCV and MediaPipe process frames entirely on your local machine, your webcam feed is never recorded, transmitted, or stored on external servers.&lt;/p&gt;

&lt;p&gt;Zero Cost &amp;amp; Offline Reliability: Operates completely offline with zero API rate limits, subscriptions, or latency issues.&lt;/p&gt;

&lt;p&gt;Full Developer Control: You have direct access to tweak facial thresholds, custom voice triggers, or break intervals directly in code.&lt;/p&gt;

&lt;p&gt;🚀 Conclusion&lt;br&gt;
Open-source AI isn't just for massive web-scale LLMs—it can be harnessed locally to automate personal health and save us from physical burn-out while we code. Keep your data private, give your eyes a break, and happy coding for Hacktoberfest!&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
      <category>opensource</category>
      <category>python</category>
      <category>ai</category>
    </item>
    <item>
      <title>EcoWalk AI -Open Source Outdoor Companion</title>
      <dc:creator>Anandhavarshini Priya</dc:creator>
      <pubDate>Sat, 10 Oct 2026 05:04:26 +0000</pubDate>
      <link>https://dev.to/anandhavarshini_priya/ecowalk-ai-open-source-outdoor-companion-23nc</link>
      <guid>https://dev.to/anandhavarshini_priya/ecowalk-ai-open-source-outdoor-companion-23nc</guid>
      <description>&lt;h1&gt;
  
  
  EcoWalk AI – Open-Source Outdoor Companion
&lt;/h1&gt;

&lt;h2&gt;
  
  
  🌿 Concept
&lt;/h2&gt;

&lt;p&gt;EcoWalk AI is a lightweight open-source web application designed to help users disconnect from screens and explore the outdoors. Instead of endless scrolling, it provides tailored daily outdoor micro-activities and nature exploration tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  🤖 Why Open-Source AI Matters
&lt;/h2&gt;

&lt;p&gt;Using open-source AI models (like open-weight LLMs hosted locally or via open APIs) ensures complete user data privacy while keeping the application completely free and accessible without relying on proprietary paid APIs.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚡ Core Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Smart Outdoor Challenges:&lt;/strong&gt; Generates personalized outdoor prompts based on local weather and nearby green spaces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nature Identification:&lt;/strong&gt; Uses open-source computer vision models to identify local plants, trees, and wildlife from photo uploads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Screen-Free Audio Mode:&lt;/strong&gt; Delivers hands-free voice guidance and walking prompts so users don't have to look at their screens while outdoors.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🛠️ Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; HTML, CSS, JavaScript&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Engine:&lt;/strong&gt; Open-source vision &amp;amp; language models (Hugging Face / Ollama)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>hacktoberfest</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Exploring Open-Source AI for Hacktoberfest</title>
      <dc:creator>Anandhavarshini Priya</dc:creator>
      <pubDate>Sat, 10 Oct 2026 04:14:07 +0000</pubDate>
      <link>https://dev.to/anandhavarshini_priya/exploring-open-source-ai-for-hacktoberfest-3f8i</link>
      <guid>https://dev.to/anandhavarshini_priya/exploring-open-source-ai-for-hacktoberfest-3f8i</guid>
      <description>&lt;p&gt;As part of Hacktoberfest, I am exploring how open-source AI tools and models can enhance everyday developer workflows. Using open-source AI provides greater control, transparency, and accessibility for developers. I am excited to participate in the Hacktoberfest community and learn more throughout the event!   &lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>devchallenge</category>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
