An Open-CV based python apllication which indicate whether the Driver is sleepy or not with various levels of Alerts.
-
Install python and pip if not have on PC.
sudo apt-get install python3.6 sudo apt install python-pip
-
Execute the following command in terminal:
pip install -r requirements.txt
-
Then, just simply run the application
python final-integration.py
-
Install Anaconda package from there distribution.
-
Install necessary packages as mentioned in
requirements.txt
file. -
Run
final-integration.py
file.
-
Introduce Neck bend feature for sleeping indicator.
-
Implementing above using a DNN and comparing the results.
-
Integrate with a web up.
-
Allow autodrive or automatic stopping (not instantaneous) of vehicle in case of Dangerous/Alarm level 3.
- If No Camera Detected : Try to change port no. in
cv2.VideoCapture(-1)
to either 0 or -1.