<?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: Mustafa Medhat</title>
    <description>The latest articles on DEV Community by Mustafa Medhat (@mostafamedhat19).</description>
    <link>https://dev.to/mostafamedhat19</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%2F4243008%2F6faabf7d-1d00-4ae6-87e3-56671209933d.png</url>
      <title>DEV Community: Mustafa Medhat</title>
      <link>https://dev.to/mostafamedhat19</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mostafamedhat19"/>
    <language>en</language>
    <item>
      <title>I Built an Eye-Controlled Communication App Using Just a "Webcam"</title>
      <dc:creator>Mustafa Medhat</dc:creator>
      <pubDate>Fri, 13 Nov 2026 14:01:44 +0000</pubDate>
      <link>https://dev.to/mostafamedhat19/how-i-built-eye-voice-eye-tracking-communication-in-the-browser-2441</link>
      <guid>https://dev.to/mostafamedhat19/how-i-built-eye-voice-eye-tracking-communication-in-the-browser-2441</guid>
      <description>&lt;p&gt;What if someone could communicate using only their eye movements and a regular webcam?&lt;/p&gt;

&lt;p&gt;That question inspired me to build &lt;strong&gt;Eye Voice&lt;/strong&gt;, an open-source, browser-based assistive communication prototype.&lt;/p&gt;

&lt;p&gt;It allows users to navigate a communication board, select phrases, and speak them using gaze-based controls.&lt;/p&gt;

&lt;h2&gt;
  
  
  See It in Action
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqcyz4vk7g733t9v7dvz9.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqcyz4vk7g733t9v7dvz9.gif" alt="Eye Voice demonstration showing a user controlling a communication board through eye movements using a regular webcam" width="760" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How Does It Work?
&lt;/h2&gt;

&lt;p&gt;Eye Voice combines several technologies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MediaPipe:&lt;/strong&gt; Detects facial and iris landmarks through a webcam.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gaze Calibration:&lt;/strong&gt; Adapts eye tracking to the user's position.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dwell Selection:&lt;/strong&gt; Triggers actions when the user looks in a direction for a certain time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speech Recognition &amp;amp; Text-to-Speech:&lt;/strong&gt; Enables voice interaction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Processing:&lt;/strong&gt; Keeps camera frames on the user's device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of precise cursor tracking, the system uses five gaze directions: Up, Down, Left, Right, and Center. This makes interaction more practical with an ordinary webcam.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Build It?
&lt;/h2&gt;

&lt;p&gt;Dedicated eye-tracking devices can be expensive and inaccessible to many people.&lt;/p&gt;

&lt;p&gt;I wanted to explore a more accessible alternative using everyday hardware:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No dedicated eye-tracking hardware.&lt;/li&gt;
&lt;li&gt;No backend server required.&lt;/li&gt;
&lt;li&gt;Browser-based operation.&lt;/li&gt;
&lt;li&gt;Keyboard and touch alternatives.&lt;/li&gt;
&lt;li&gt;Privacy-focused local camera processing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Optional Gemini-powered suggestions send only transcribed text to the API, not camera frames or audio.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://mostafamedhat19.github.io/EyeTracking/" rel="noopener noreferrer"&gt;Eye Voice&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/MostafaMedhat19/EyeTracking" rel="noopener noreferrer"&gt;Source Code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project is open source under the MIT License, and contributions are welcome.&lt;/p&gt;

&lt;p&gt;I'm especially interested in feedback on calibration accuracy, accessibility, Arabic localization, and browser compatibility.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Eye Voice is an experimental prototype, not a certified medical device or a replacement for professional assistive technology.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;I'm continuing to improve the project and would love to hear from developers and accessibility enthusiasts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you tried Eye Voice, what would you improve first?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Feel free to share your thoughts, questions, or ideas in the comments!&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Written by Mostafa Medhat, with AI assistance for editing and English phrasing. Technical details and project decisions were reviewed by the author.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>a11y</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
