{"id":13677455,"url":"https://github.com/luca-ant/gaze_tracker","last_synced_at":"2025-04-29T11:31:05.270Z","repository":{"id":37645170,"uuid":"272272573","full_name":"luca-ant/gaze_tracker","owner":"luca-ant","description":"An experiment on gaze tracker system, based on OpenCV, which shows how to control mouse pointer using eyes and gaze estimation","archived":false,"fork":false,"pushed_at":"2023-10-03T22:35:32.000Z","size":20232,"stargazers_count":50,"open_issues_count":5,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T13:18:02.028Z","etag":null,"topics":["eye-detection","eye-tracker","eye-tracking-calibration","eye-tracking-mouse","opencv","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luca-ant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-14T19:49:47.000Z","updated_at":"2024-08-01T09:15:29.000Z","dependencies_parsed_at":"2024-08-02T13:29:04.903Z","dependency_job_id":null,"html_url":"https://github.com/luca-ant/gaze_tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-ant%2Fgaze_tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-ant%2Fgaze_tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-ant%2Fgaze_tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-ant%2Fgaze_tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luca-ant","download_url":"https://codeload.github.com/luca-ant/gaze_tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224163599,"owners_count":17266535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eye-detection","eye-tracker","eye-tracking-calibration","eye-tracking-mouse","opencv","python3"],"created_at":"2024-08-02T13:00:42.510Z","updated_at":"2025-04-29T11:31:05.264Z","avatar_url":"https://github.com/luca-ant.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Gaze tracker\n\nThis project is an experiment on gaze tracker system, based on the position of glint on the iris, which is the reflection of a source of light located near the camera (See [Purkinje images](https://en.wikipedia.org/wiki/Purkinje_images) and [Eye tracking](https://en.wikipedia.org/wiki/Eye_tracking#Technologies_and_techniques) for details). By tracking the glint it is possible to estimate the gaze position on the screen and use this position as an input system (in this example it is used only to move the mouse arrow). \n\n## Hardware requirements\n\n\u003cimg width=256px align=\"right\" src=\"https://github.com/luca-ant/gaze_tracker/blob/master/videos/cam.jpg\"\u003e\n\nFor this kind of system, an high resolution image of the eye is required and a source of light near the camera too, so to get that with simple hardware I use a smartphone as a remote camera (achieved by [IP Webcam](https://play.google.com/store/apps/details?id=com.pas.webcam) app) fixed on a stable support, turn on the flash LED and put it in front on one eye, close to it. \n\n\u003cbr /\u003e\n\n## Demo\n\n### Calibration phase\n\u003cp align=\"center\"\u003e\n  \u003cimg width=1024px src=\"https://github.com/luca-ant/gaze_tracker/blob/master/videos/gaze_tracker_calibration.gif\"\u003e\n\u003c/p\u003e\n\n### Mouse control phase\n\u003cp align=\"center\"\u003e\n  \u003cimg width=1024px src=\"https://github.com/luca-ant/gaze_tracker/blob/master/videos/gaze_tracker_mouse.gif\"\u003e\n\u003c/p\u003e\n\n\n## Getting started\n\n* Clone repository\n```\ngit clone https://github.com/luca-ant/gaze_tracker.git\n```\n\n* Install dependencies\n```\nsudo apt install python3-setuptools python3-pip python3-venv\n```\nor\n```\nsudo pacman -S python-setuptools python-pip python-virtualenv\n```\n\n* Create a virtual environment and install requirement modules\n```\ncd gaze_tracker\npython3 -m venv venv\nsource venv/bin/activate\n\npython3 -m pip install -r requirements.txt\n```\n\n## Running\n\nSimply move to `gt` folder and run `main.py`\n\n```\ncd gt\npython main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca-ant%2Fgaze_tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluca-ant%2Fgaze_tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca-ant%2Fgaze_tracker/lists"}