{"id":38519385,"url":"https://github.com/jirayuwat12/drowsiness-detection","last_synced_at":"2026-01-17T06:37:06.255Z","repository":{"id":277720793,"uuid":"933252371","full_name":"jirayuwat12/drowsiness-detection","owner":"jirayuwat12","description":"Class project in Computer Vision Class. This project will read the input stream or video and classify that the people is drowsy or not frame by frame.","archived":false,"fork":false,"pushed_at":"2025-03-27T03:02:48.000Z","size":3377,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T04:21:52.521Z","etag":null,"topics":["computer-vision","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jirayuwat12.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-02-15T14:20:02.000Z","updated_at":"2025-03-27T03:02:51.000Z","dependencies_parsed_at":"2025-02-15T17:27:12.166Z","dependency_job_id":"04d69105-3db1-4a55-8704-89ec94b62b3b","html_url":"https://github.com/jirayuwat12/drowsiness-detection","commit_stats":null,"previous_names":["jirayuwat12/drowsiness-detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jirayuwat12/drowsiness-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirayuwat12%2Fdrowsiness-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirayuwat12%2Fdrowsiness-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirayuwat12%2Fdrowsiness-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirayuwat12%2Fdrowsiness-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirayuwat12","download_url":"https://codeload.github.com/jirayuwat12/drowsiness-detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirayuwat12%2Fdrowsiness-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["computer-vision","opencv","python"],"created_at":"2026-01-17T06:37:06.135Z","updated_at":"2026-01-17T06:37:06.237Z","avatar_url":"https://github.com/jirayuwat12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drowsiness-detection\n\n## Installation\n\n1. Clone the repository\n2. Change the directory to the repository\n```bash\ncd drowsiness-detection\n```\n3. Install the modules\n```bash\npip install .\n```\n\u003e or if you need to install the modules in development mode\n\u003e ```bash\n\u003e pip install -e \".[dev]\"\n\u003e ```\n\n## Usage\n\n1. Run the script for the video mode\n    \u003e This script will run the drowsiness detection on the video file\n    respectively to the configuration file. \n```bash\npython ./scripts/run_drowsiness_detection.py --mode video\\\n                                             --config ./path/to/config.yaml\\\n                                             --log_folder ./path/for/log_folder\n```\n\n## Dataset\n\nIn this project, we have used 2 datasets:\n\n1. [Drowsiness Detection Dataset, *Prasad V Patil*](https://www.kaggle.com/datasets/prasadvpatil/mrl-dataset/data)\n2. [Driver Drowsiness Detection (DDD), *Ismail Nasri*](https://www.kaggle.com/datasets/ismailnasri20/driver-drowsiness-dataset-ddd)\n\n## Reference\n\n1. [MediaPipe by Google](https://mediapipe-studio.webapps.google.com/studio/demo/face_detector)\n    - We use MP to create our dataset(extract face and eye position from our video)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirayuwat12%2Fdrowsiness-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirayuwat12%2Fdrowsiness-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirayuwat12%2Fdrowsiness-detection/lists"}