Introduction: People with reduced or absent upper-limb mobility may experience difficulties performing activities of daily living independently. Assistive robotic arms can reduce some of these limitations; however, their operation often requires preserved mobility in other parts of the body. Gaze tracking provides a contactless control method in which users select commands with their gaze. Purpose: The purpose of this thesis was to develop a program that enables users to control a robot with their gaze and to evaluate the effectiveness and performance of the developed program. Methods: Two programs were developed in the Python programming language. The first program used the EyeGestures library and a webcam to determine the position of the user’s gaze on the screen. The screen was divided into four control zones representing commands for moving the robotic arm. The second program received the numbers of the selected zones and converted them into robot movements. The programs operated in separate virtual environments and communicated through a local network connection. The performance of the gaze-tracking system was evaluated in five measurement sessions, during which 100 measurements were performed with glasses and 100 without glasses. Results: The programs enabled the robotic arm to move according to the control zone at which the user was looking. The mean response time was 0.87 seconds with glasses and 0.96 seconds without glasses. The difference between the two conditions was small. During testing, calibration difficulties and reduced accuracy associated with head movement were observed. Discussion and conclusion: The developed prototype demonstrated that an affordable webcam and software-based gaze tracking can be used for basic control of a robotic arm. The system was sufficiently effective to demonstrate the concept; however, because of its limited accuracy, occasional calibration difficulties, and unreliability, it is not yet suitable for direct use with patients. Improvements in gaze tracking, user feedback, and additional safety mechanisms would be required for safer practical application.
|