{"id":29413128,"url":"https://github.com/aireynexxx/driver_monitoring_ai","last_synced_at":"2026-05-03T21:35:02.367Z","repository":{"id":298073126,"uuid":"998764608","full_name":"aireynexxx/driver_monitoring_ai","owner":"aireynexxx","description":"AI-powered driver monitoring system that detects phone use, yawning, and sleep to help prevent road accidents.","archived":false,"fork":false,"pushed_at":"2025-06-09T10:50:17.000Z","size":3004,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T21:34:57.264Z","etag":null,"topics":["ai","automotive-applications","computer-vision","driver-monitoring","machine-learning","mediapipe","rasperry-pi","real-time-detection","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aireynexxx.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,"zenodo":null}},"created_at":"2025-06-09T08:02:30.000Z","updated_at":"2025-06-09T10:50:20.000Z","dependencies_parsed_at":"2025-07-11T11:02:10.152Z","dependency_job_id":"07ae3d2c-2cdf-4b53-bfa6-4d32af40ca55","html_url":"https://github.com/aireynexxx/driver_monitoring_ai","commit_stats":null,"previous_names":["aireynexxx/driver_monitoring_ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aireynexxx/driver_monitoring_ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aireynexxx%2Fdriver_monitoring_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aireynexxx%2Fdriver_monitoring_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aireynexxx%2Fdriver_monitoring_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aireynexxx%2Fdriver_monitoring_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aireynexxx","download_url":"https://codeload.github.com/aireynexxx/driver_monitoring_ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aireynexxx%2Fdriver_monitoring_ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","automotive-applications","computer-vision","driver-monitoring","machine-learning","mediapipe","rasperry-pi","real-time-detection","tensorflow"],"created_at":"2025-07-11T11:00:47.947Z","updated_at":"2026-05-03T21:35:02.350Z","avatar_url":"https://github.com/aireynexxx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Driver Monitoring AI\n\nWelcome to the Driver Monitoring AI project!\n\nThis project is a real-time AI-based **Driver Monitoring System** built to enhance road safety by detecting driver distraction and fatigue. It is designed to run on a Raspberry Pi using a camera module and leverages **MediaPipe**, **TensorFlow Lite**, and **OpenCV** for intelligent monitoring.\n\n##  Features\n\n- **Phone Usage Detection**  \n  Detects when the driver is using a mobile phone while driving.\n\n-  **Sleep Detection**  \n  Detects if the driver has fallen asleep.\n\n- **Fatigue Detection (Yawning)**  \n  Detects repeated yawning as a sign of drowsiness or fatigue.\n\n ## Requirements\n\n- Raspberry Pi (tested on Pi 5)  \n- Pi Camera module  \n- Python 3\n\n##  License\n\nThis project is licensed under the **Apache 2.0 License** – see the [LICENSE](LICENSE) file for details.\n\n## Disclaimer\n\nThis is a proof-of-concept project and should **not be used as a sole safety mechanism**. Always ensure multiple layers of road safety measures are in place.\n\n## Getting Started\n\nFollow these steps to set up and run the project:\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/aireynexxx/driver_monitoring_ai.git\n   cd driver_monitoring_ai\n   ```\n\n2. **Create a new Python virtual environment**\n\n   ```bash\n   python3 -m venv venv\n   ```\n\n3. **Activate the virtual environment**\n\n   * On macOS/Linux:\n\n     ```bash\n     source venv/bin/activate\n     ```\n   * On Windows:\n\n     ```bash\n     venv\\Scripts\\activate\n     ```\n\n4. **Install dependencies**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n5. **Wait for the installation to complete.**\n\n6. **Run the application**\n\n   ```bash\n   python3 main.py\n   ```\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faireynexxx%2Fdriver_monitoring_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faireynexxx%2Fdriver_monitoring_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faireynexxx%2Fdriver_monitoring_ai/lists"}