8000 GitHub - Shaurk31/Distracted-Driver-Detection: An OpenCV powered program that detects whether a driver is distracted using the assistance of a Haar Cascade.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

An OpenCV powered program that detects whether a driver is distracted using the assistance of a Haar Cascade.

Notifications You must be signed in to change notification settings

Shaurk31/Distracted-Driver-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Detecting Distracted Drivers

Output example · Project notebook

Testing:

  • Install the necessary dependencies via pip:
pip install opencv-python
pip install numpy
pip install matplotlib
pip install sympy 
  • Download the MainCode.py file and import it into your IDE
  • Download the "cars_good" car classifier XML file and save it to a specific path.
  • Change the car classifier path in the MainCode.py file to the respective path.
  • Download the test clips from youtube:

Straight clip: https://youtu.be/upYxrqMvYAM

Distracted clip: https://youtu.be/xejhEGlisRk

  • Change the video path in the MainCode.py file to the respective path.
  • Run the code!

Awards (Synopsys Science Fair 2022):

About

An OpenCV powered program that detects whether a driver is distracted using the assistance of a Haar Cascade.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0