{"id":26274461,"url":"https://github.com/exios66/psychopy_gazetracking","last_synced_at":"2026-01-01T22:44:36.479Z","repository":{"id":280080194,"uuid":"940933048","full_name":"Exios66/PsychoPy_GazeTracking","owner":"Exios66","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T05:18:23.000Z","size":0,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:26:01.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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-03-01T04:49:20.000Z","updated_at":"2025-03-01T05:18:26.000Z","dependencies_parsed_at":"2025-03-01T05:36:19.640Z","dependency_job_id":null,"html_url":"https://github.com/Exios66/PsychoPy_GazeTracking","commit_stats":null,"previous_names":["exios66/psychopy_gazetracking"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPsychoPy_GazeTracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPsychoPy_GazeTracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPsychoPy_GazeTracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPsychoPy_GazeTracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exios66","download_url":"https://codeload.github.com/Exios66/PsychoPy_GazeTracking/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:54.059Z","updated_at":"2026-01-01T22:44:31.448Z","avatar_url":"https://github.com/Exios66.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PsychoPy GazeTracking Interface\n\nA comprehensive interface for eye tracking experiments using PsychoPy, with support for various eye tracking methods including webcam-based tracking, Tobii eye trackers, and simulated data for testing.\n\n## Features\n\n- Web-based interface for controlling eye tracking experiments\n- Support for multiple eye tracking methods (webcam, Tobii, simulated)\n- Calibration and validation procedures\n- Live gaze visualization\n- Experiment control and data collection\n- Comprehensive logging and error handling\n\n## Installation\n\n1. Clone this repository:\n\n   ```\n   git clone https://github.com/yourusername/PsychoPy_GazeTracking.git\n   cd PsychoPy_GazeTracking\n   ```\n\n2. Create a virtual environment (recommended):\n\n   ```\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install the required dependencies:\n\n   ```\n   pip install flask flask-cors psychopy numpy matplotlib opencv-python\n   ```\n\n## Running the Application\n\nThere are two ways to run the application:\n\n### 1. Minimal Web Interface (No PsychoPy Required)\n\nThis mode provides a web interface with simulated data, useful for development and testing:\n\n```\npython minimal_app.py\n```\n\nThe web interface will be available at \u003chttp://127.0.0.1:5000\u003e (or another port if 5000 is not available).\n\n### 2. Full Application (Requires PsychoPy)\n\nThis mode provides the complete functionality with PsychoPy integration:\n\n```\npython run_app.py\n```\n\nYou can also specify additional options:\n\n```\npython run_app.py --tracker simulated --port 5001 --no-browser\n```\n\nAvailable options:\n\n- `--tracker`: Specify the tracker type (webcam, tobii, mouse, simulated)\n- `--port`: Specify the port for the web interface\n- `--host`: Specify the host for the web interface\n- `--no-browser`: Do not open the browser automatically\n- `--install-deps`: Install missing dependencies\n\n## Troubleshooting\n\n### Import Errors\n\nIf you encounter import errors, make sure all dependencies are installed:\n\n```\npip install flask flask-cors psychopy numpy matplotlib opencv-python\n```\n\n### PsychoPy Issues\n\nIf you encounter issues with PsychoPy, try reinstalling it:\n\n```\npip uninstall psychopy\npip install psychopy\n```\n\n### Webcam Access\n\nFor webcam-based tracking, make sure your browser has permission to access the webcam.\n\n## Directory Structure\n\n- `PsychoPyInterface/`: Main package directory\n  - `Scripts/`: Core scripts for eye tracking functionality\n  - `experiments/`: Experiment implementations\n  - `utils/`: Utility modules\n  - `templates/`: HTML templates for the web interface\n  - `static/`: Static files (CSS, JavaScript, images)\n- `minimal_app.py`: Minimal web interface launcher\n- `run_app.py`: Full application launcher\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgements\n\n- PsychoPy: \u003chttps://www.psychopy.org/\u003e\n- Flask: \u003chttps://flask.palletsprojects.com/\u003e\n- OpenCV: \u003chttps://opencv.org/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fpsychopy_gazetracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexios66%2Fpsychopy_gazetracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fpsychopy_gazetracking/lists"}