The AI Attention Assist System using MediaPipe is a project that utilizes the MediaPipe library to accurately detect and monitor attention levels in real time. The system is designed to function even in low-light conditions and can be deployed on edge devices by building the necessary packages. Utilizing MediaPipe, a cross-platform framework for creating computer vision pipelines, we created an attention support system. The system uses EAR and MAR to assess the driver's level of drowsiness. An alarm will sound to warn the driver if they are becoming sleepy.
- Real-time attention detection using MediaPipe.
- Robust performance in low-light environments.
- Support for deployment on edge devices.
- Easily customizable for specific use cases.
To run this project, you need to have the following prerequisites:
- Python 3.10.9 (recommended)
- MediaPipe
- OpenCV
- Math
- Pygame
- Clone the repository:
git clone https://github.com/Arwindhraj/AI-Attention-assist-system-using-MediaPipe
Follow the steps below to use the Attention Assist System:
- Run the following command in the command prompt or terminal:
This command will execute the
python drowsiness.py
drowsiness.py
script.
output.mp4
open an issue on the GitHub repository for bug reports or feature requests.
We appreciate your feedback and contributions!