{"id":26274455,"url":"https://github.com/exios66/gaze_computations","last_synced_at":"2025-10-17T21:36:47.255Z","repository":{"id":279303040,"uuid":"938369587","full_name":"Exios66/Gaze_Computations","owner":"Exios66","description":"Python suite for the computation of gaze metrics and statistics.","archived":false,"fork":false,"pushed_at":"2025-02-24T21:26:38.000Z","size":1104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T22:24:42.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exios66.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":"2025-02-24T21:06:12.000Z","updated_at":"2025-02-24T21:26:41.000Z","dependencies_parsed_at":"2025-02-24T22:24:46.185Z","dependency_job_id":"7bd5935b-04a8-4243-98f8-8cf897f4b52a","html_url":"https://github.com/Exios66/Gaze_Computations","commit_stats":null,"previous_names":["exios66/gaze_computations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FGaze_Computations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FGaze_Computations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FGaze_Computations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FGaze_Computations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exios66","download_url":"https://codeload.github.com/Exios66/Gaze_Computations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551247,"owners_count":20309300,"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":[],"created_at":"2025-03-14T09:19:52.299Z","updated_at":"2025-10-17T21:36:42.236Z","avatar_url":"https://github.com/Exios66.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gaze Tracking System\n\nThis system allows you to track and analyze user gaze data using the GazeCloud API. It includes both tracking and analysis capabilities.\n\n## Features\n\n- Real-time gaze tracking using GazeCloud API\n- Track gaze on any website or the current page\n- Record eye positions, blinks, and head pose\n- Generate comprehensive analysis reports including:\n  - Fixation detection and metrics\n  - Saccade detection and metrics\n  - Blink detection and metrics\n  - Head pose stability analysis\n  - Visualization of gaze patterns\n\n## Setup\n\n1. Clone this repository:\n\n```bash\ngit clone https://github.com/yourusername/gaze-tracking-system.git\ncd gaze-tracking-system\n```\n\n2. Install required Python packages:\n\n```bash\npip install pandas numpy matplotlib seaborn\n```\n\n## Usage\n\n### Recording Gaze Data\n\n1. Start the tracking server:\n\n```bash\npython server.py\n```\n\n2. The gaze tracking interface will open in your default browser.\n\n3. To track gaze on another website:\n   - Enter the URL in the input field\n   - Click \"Start Tracking\"\n   - The tracking will begin on the specified website\n\n4. To track gaze on the current page:\n   - Leave the URL field empty\n   - Click \"Start Tracking\"\n\n5. When finished:\n   - Click \"Stop Tracking\"\n   - Click \"Save Data\" to download the recorded data as CSV\n\n### Analyzing Gaze Data\n\n1. Place your recorded gaze data CSV file in the `data/examples/` directory.\n\n2. Run the analysis script:\n\n```bash\npython gaze.py\n```\n\n3. The script will generate:\n   - Metrics in JSON format\n   - Visualization plots including:\n     - Gaze trajectory with events\n     - Head pose over time\n     - Event timeline\n\n4. Results will be saved in the `reports/` directory.\n\n## Data Format\n\nThe recorded CSV files contain the following columns:\n\n- timestamp: ISO format timestamp\n- frame_number: Sequential frame counter\n- left_eye_x, left_eye_y: Left eye position\n- right_eye_x, right_eye_y: Right eye position\n- left_pupil_size, right_pupil_size: Pupil sizes\n- left_blink, right_blink: Blink detection (0/1)\n- gaze_x, gaze_y: Computed gaze position\n- head_pose_x, head_pose_y, head_pose_z: Head orientation\n- marker: Optional event marker\n\n## Analysis Parameters\n\nYou can adjust various parameters in the `gaze.py` script:\n\n- Saccade detection thresholds\n- Fixation detection parameters\n- Blink detection sensitivity\n- Visualization settings\n\n## Contributing\n\nFeel free to submit issues and enhancement requests!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fgaze_computations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexios66%2Fgaze_computations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fgaze_computations/lists"}