<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Untitled Publication]]></title><description><![CDATA[Untitled Publication]]></description><link>https://lykov.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 09:18:26 GMT</lastBuildDate><atom:link href="https://lykov.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Empowering Healthcare: Developing an Innovative Eye-Tracking Software for Patients with Communication Impairments]]></title><description><![CDATA[People with physical brain injuries, strokes, and nervous system diseases frequently struggle to communicate their thoughts and needs when interacting with…]]></description><link>https://lykov.hashnode.dev/empowering-healthcare-developing-an-innovative-eye-tracking-software-for-patients-with-communication-impairments</link><guid isPermaLink="true">https://lykov.hashnode.dev/empowering-healthcare-developing-an-innovative-eye-tracking-software-for-patients-with-communication-impairments</guid><category><![CDATA[Eye-Tracking Software]]></category><category><![CDATA[healthcare]]></category><category><![CDATA[communication]]></category><category><![CDATA[software development]]></category><category><![CDATA[software]]></category><category><![CDATA[Solution]]></category><dc:creator><![CDATA[Eugene Lykov]]></dc:creator><pubDate>Tue, 20 Feb 2024 11:43:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1708429221868/8b76ee05-a07b-44df-bcd5-2d554a271873.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>People with physical brain injuries, strokes, and nervous system diseases frequently struggle to communicate their thoughts and needs when interacting with others. With the rapid advancement of advanced technologies, new communication methods and techniques emerged, such as the ability to interpret a person's gaze as a means of communication, bridging the gap between their intentions and the rest of the world. However, there are several barriers to widespread adoption of this type of technology, including financial constraints and technological impracticality for medical applications. </p>
<p>In this article, I will describe my experience creating a viable software tool for people with impaired communication abilities caused by brain damage and stroke from scratch to a working prototype.</p>
<h2 id="heading-1-how-we-approached-to-the-problem">1. How we approached to the problem</h2>
<p>The solution I developed with my team focuses on stroke-related conditions and physical brain damage that can be linked to accidents such as car crashes. A clear understanding of these states will aid comprehension of my team's work objectives.</p>
<p>In the case of a stroke, individuals often experience paralysis or weakness on the body, significantly affecting their motor skills and impairing their ability to walk, maintain balance, and coordinate movements. The same is true for physical brain damage, which, depending on the area affected, can result in weakness, paralysis, or poor coordination. Both strokes and physical brain injuries can impair speech and language, making it difficult to speak, understand, read, or write. Memory, attention, executive functions, and problem-solving abilities may also be impaired in both cases.</p>
<p>While both conditions can severely limit a person's ability to perform daily tasks, work, and socialise, they rarely impair the eye's ability to move. This has defined the development of an eye-tracking solution as the most effective for people with stroke-related impairments and physical brain damage.</p>
<h2 id="heading-2-advantages-and-disadvantages-of-existing-solutions">2. Advantages and disadvantages of existing solutions</h2>
<p>Before getting to the solution we created, it is worth describing the existing solutions. One of the most prominent ones is specialized glasses for tracking gaze, which can be very accurate or sets of infrared cameras as separete hardware. One example is devices developed by <a target="_blank" href="https://www.ces.tech/articles/2021/january/four-eye-tracking-solutions-in-healthcare.aspx">Tobii</a>, a company specialising in eye tracking technology. Tobii's eye tracking systems use infrared light to detect the user's gaze direction, enabling interaction with computers or other devices through eye movements.</p>
<p>While this technology offers high accuracy, which is a significant advantage for users with brain injuries, strokes, or nervous system diseases it has some drawbacks, such as a high price, particularly for medical applications and the necessity of additional equipment like eye trackers. </p>
<p>Summarising, high accuracy is the major advantage of all advanced eye-tracking glasses. However, there are also challenges, particularly in medical applications. In addition to cost that can be a significant barrier, there may still be limitations in comfort and usability, especially in medical settings where patients may have varying physical conditions or sensitivities. The complexity of these systems also requires specialized training and expertise to set up, calibrate, and interpret data, which could limit their use in some medical contexts.</p>
<h2 id="heading-3-creating-an-affordable-eye-tracking-system-for-medical-applications">3. Creating an affordable eye-tracking system for medical applications</h2>
<p>After considering existing solutions and the best possible approaches to the problem, we began development of an inexpensive solution that could be downloaded as software onto a laptop or PC. The software had to be capable of reading a person's image from a camera, recognising the face and eyes, and creating a highly accurate three-dimensional model of the person to aid in further diagnostics and rehabilitation.</p>
<h3 id="heading-looking-for-a-gaze-direction-technique-that-only-requires-a-laptop-and-a-web-camera">Looking for a gaze direction technique that only requires a laptop and a web camera</h3>
<p>In search of the best solution, my team began to investigate available software approaches to determining gaze direction, testing several strategies concurrently. One method involved processing camera-captured facial images to locate the eye area, increasing the contrast to emphasise the pupil, and then calculating its position relative to the eye frame. However, this technique produced limited accuracy, especially in the vertical plane, making the prospect of precise gaze recognition with basic hardware appear daunting.</p>
<p>This was a watershed moment in our investigation because we realised that medical professionals, who were primarily concerned with diagnosis and rehabilitation exercises, did not require exceptionally high accuracy. Their requirements were typically limited to around 16 distinct zones or cards. Armed with this knowledge, the team shifted its focus to creating basic medical exercises that met these requirements. </p>
<p>This approach entailed implementing and testing these exercises within the group, with the goal of striking a practical balance between technical feasibility and medical professionals' functional requirements. The careful consideration of both technological capabilities and user needs resulted in a more targeted, effective solution.</p>
<h3 id="heading-utilising-the-mediapipe-library">Utilising the MediaPipe library</h3>
<p>Faced with challenges in accurately detecting facial features through camera frames, we decided to use existing external libraries for precise face and pupil recognition. Our solution was found in Google's Mediapipe library, which uses a conveyor system, or 'graph', to process camera frames with pre-trained neural networks. Mediapipe recognises faces and pupils with high accuracy and returns their coordinates. </p>
<p>Recognising the need for efficient performance across multiple machines, we modified Mediapipe's graph to focus on functions critical to our application. This modification improved the tool's functionality, especially on slower computers, while preserving its ability to accurately recognizeand interpret user eyes and face position.</p>
<h3 id="heading-building-the-3d-model-of-the-user-and-advanced-triangulation">Building the 3D model of the user and advanced triangulation</h3>
<p>Though incorporating Google's Mediapipe library significantly improved facial and eye recognition, the problem of determining the gaze direction relative to the device screen persisted: the software initially only recognised eye positions within the camera frame.</p>
<p>To address this, we created a solution based on the physiological principle that when a person looks directly at the camera, the camera, pupil's centre, and eye's centre all align on the same line. Using this concept, we created a detailed 3D model of the eye, including information about average eye size and other physiological factors.</p>
<p>This model enabled precise raycasting through each eye to represent the gaze direction. We used experimentation and adjustments to integrate this model with Mediapipe facial and pupil data. The end result of this effort was a sophisticated system that triangulated each eye's gaze direction with the camera ray, allowing us to precisely pinpoint the user's gaze location on the device's screen.</p>
<h2 id="heading-4-the-key-features-of-mvp">4. The key features of MVP</h2>
<p>The MVP of the solution that earned the name EyeDoo met the critical objectives that we had set at the start of our journey. Its components represented its main functions and will be described as follows:</p>
<p><strong>User Recognition Module</strong>: EyeDoo uses a webcam to capture real-time video of the patient, effectively recognising faces and eyes. This critical step lays the groundwork for later, more complex operations.</p>
<p><strong>Calibration Module</strong>: The software is excellent at creating a virtual model of the patient, carefully calculating their position relative to the device and attempting to minimise any disparity between this model and the patient's actual physical location. This includes both initial calibration for first-time alignment and runtime calibration to ensure that the software remains aligned throughout operation.</p>
<p><strong>Filtration Module</strong>: EyeDoo expertly filters data from the virtual model to predict the user's potential future locations, increasing accuracy and responsiveness.</p>
<p><strong>Gaze Find Module</strong>: This module uses intricate calculations to determine the exact point on the screen where the patient's gaze is directed, which is an important feature for nonverbal communication.</p>
<p><strong>Exercise Module</strong>: At the heart of EyeDoo, this module provides a variety of exercises varying in difficulty and complexity, which doctors can customise to meet the specific needs of each patient. These exercises, presented as a deck of cards with words, numbers, or pictograms, help to rehabilitate and reactivate memory and cognitive functions.</p>
<p><strong>Software Launcher</strong>: EyeDoo allows you to create independent patient profiles, each with their own set of preferences and exercise sets, ensuring a more personalised treatment experience.</p>
<p><strong>History Save Module</strong>: This feature serialises and saves all relevant technical data from each session for later analysis or replay, providing invaluable insights into the patient's progress and treatment efficacy.</p>
<h2 id="heading-5-trials">5. Trials</h2>
<p>We started the software trials concurrently with the development process, testing it on more than ten patients with varying levels of trauma. Due to medical confidentiality, detailed information on each case is limited, but the outcomes have been positive.</p>
<p>One notable example was a patient with only one functional eye, which presented a unique challenge for the gaze direction calculation model. The software was updated to allow for one-eye operation, albeit with reduced accuracy. Another remarkable case involved a patient who was severely injured in a car accident and showed no signs of conscious interaction. Traditional methods had failed to produce a response. However, when our software was used, the patient began to interact with eye movements, allowing communication to begin and brain activity to recover. This patient has reportedly made significant progress towards full recovery.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>After examining the issues associated with stroke and physical brain damage, we have determined the essential conditions for addressing them. We examined the existing solutions, identifying their flaws and developing new approaches to eliminate them. That helped us develop an affordable solution and test it on real patients. Although software testing is ongoing, the findings highlight the software's potential for improving communication and rehabilitation of patients with severe neurological impairments.</p>
]]></content:encoded></item></channel></rss>