{"id":20305314,"url":"https://github.com/jahnvisahni31/safesense","last_synced_at":"2026-05-03T07:35:35.244Z","repository":{"id":169994020,"uuid":"605551889","full_name":"jahnvisahni31/SafeSense","owner":"jahnvisahni31","description":"This project is made by me as our data science project","archived":false,"fork":false,"pushed_at":"2024-05-18T17:29:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T11:23:07.109Z","etag":null,"topics":["driver","drowsiness-detection-python","opencv","python","system","tkinter"],"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/jahnvisahni31.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":"2023-02-23T11:58:41.000Z","updated_at":"2024-07-08T06:58:14.000Z","dependencies_parsed_at":"2025-01-14T11:22:01.738Z","dependency_job_id":"b78bbac8-5006-43fe-b5c3-4263bbf9320c","html_url":"https://github.com/jahnvisahni31/SafeSense","commit_stats":null,"previous_names":["jahnvisahni31/driver_drowsiness_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahnvisahni31%2FSafeSense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahnvisahni31%2FSafeSense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahnvisahni31%2FSafeSense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahnvisahni31%2FSafeSense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jahnvisahni31","download_url":"https://codeload.github.com/jahnvisahni31/SafeSense/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801976,"owners_count":20022561,"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":["driver","drowsiness-detection-python","opencv","python","system","tkinter"],"created_at":"2024-11-14T17:08:06.455Z","updated_at":"2026-05-03T07:35:30.201Z","avatar_url":"https://github.com/jahnvisahni31.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafeSense\n\n## Introduction\n\nSafeSense is a Driver Drowsiness Detection System designed to detect and alert drivers when they show signs of drowsiness or fatigue while operating a vehicle. This README file provides an overview of the system, its features, and instructions for installation and usage.\n\n## Features\n\n- **Real-time Drowsiness Detection**: The system uses computer vision techniques and machine learning algorithms to analyze the driver's facial features and detect signs of drowsiness in real-time.\n- **Eye State Monitoring**: The system tracks the driver's eye movements and monitors the eye state to detect if the eyes are closed or if the driver is blinking excessively, indicating potential drowsiness.\n- **Yawning Detection**: The system identifies instances of yawning, which is a common symptom of drowsiness, by analyzing facial landmarks and mouth movements.\n- **Alarm and Alert System**: When drowsiness is detected, the system triggers an alarm to alert the driver. The alert can be in the form of a sound, vibration, or visual notification, depending on the implementation.\n- **Adjustable Sensitivity**: The system allows users to adjust the sensitivity of drowsiness detection based on their preferences or specific requirements.\n- **Robust Performance**: The system is designed to work in various lighting conditions and can handle different driver positions and orientations.\n\n## Requirements\n\n- Python (version 3.6 or higher)\n- OpenCV (computer vision library)\n- dlib (machine learning library)\n\n## Installation\n\n1. **Clone the repository**:\n    ```sh\n    git clone https://github.com/jahnvisahni31/SafeSense.git\n    cd SafeSense\n    ```\n\n2. **Create a virtual environment (optional but recommended)**:\n    ```sh\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n1. **Start the application**:\n    ```sh\n    python main.py\n    ```\n\n2. **Adjust the sensitivity** (if needed):\n   - Open the settings in the application interface and adjust the sensitivity slider to match your preferences.\n\n3. **Monitor for drowsiness**:\n   - The system will continuously monitor your facial features, eye state, and yawning to detect signs of drowsiness.\n   - When drowsiness is detected, an alarm will trigger to alert you.\n\n## Contributing\n\nContributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or submit a pull request.\n\nTo contribute:\n\n1. Fork the repository.\n2. Create a new branch:\n    ```sh\n    git checkout -b feature-branch\n    ```\n3. Make your changes.\n4. Commit your changes:\n    ```sh\n    git commit -m \"Description of changes\"\n    ```\n5. Push to the branch:\n    ```sh\n    git push origin feature-branch\n    ```\n6. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahnvisahni31%2Fsafesense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjahnvisahni31%2Fsafesense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahnvisahni31%2Fsafesense/lists"}