Project Submission for IBM Internship (AICTE, Edunet Foundation Dec 2022 - Feb 2023 Batch)
Atharva Taras (AI_ADV_21 Dec)
AISSMS Institute of Information Technology, Pune
A Python program that checks driver attentiveness using computer vision.
Watch Video Demonstration
View Presentation
View Source Code
> Python 3.8.5 > Visual C++ > OpenCV > Numpy > OS > DateTime > Dlib > Face-Recognition > Cmake > SciPy > Time > Imutils > Winsound > Pushbullet (API and Mobile App) > Socket
Sample Outputs -
face_detect.mp4
face_extract.mp4
face_landmark.mp4
blink_check.mp4
To create a custom Python virtual environment
python -m venv custom_venv
custom_venv\Scripts\activate.bat
Install all requirements at once
pip intall -r requirements.txt
You may run into errors while installing dlib, try this to fix it (worked for me)
-
Make sure you have the latest version of Microsoft Visual C++ installed
-
Clone this repository to get all the wheel (.whl) files
git clone https://github.com/datamagic2020/Install-dlib.git
- Install using manually specifying file path
pip install "path_to_cloned_repo\wheel_package_for_your_python_version"
- You can check your installed Python version using
python -V