Skip to content

A project to prevent road accidents caused by driver's sleepiness

License

Notifications You must be signed in to change notification settings

ShobhitRathi/DrowsyRide

Repository files navigation

Driver drowsiness detection - Setup and Installation

You need to have anaconda installed on your system :)

Step 1: Update conda

conda update conda

Step 2: Update anaconda

conda update anaconda 

Step 3: Clone the github repository

git clone https://github.com/ShobhitRathi/DrowsyRide

Step 4: Create a virtual environment

conda create -n env_dlib 

Step 5: Activate the virtual environment

conda activate env_dlib

Step 6: Install dlib

conda install -c conda-forge dlib 

If all these steps are completed successfully, then dlib will be installed in the virtual environment env_dlib. Make sure to use this environment to run the entire project.

Step 7: Installing packages

pip install -r requirements.txt

Step 8: Running the webserver!

python app.py

And the app runs on the localhost of port 5000, And you can visit, and see it!

Step to deactivate the virtual environment

conda deactivate 

About

A project to prevent road accidents caused by driver's sleepiness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages