Skip to content

juzailmlwork/Drowsiness-Detection-RaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automation2

This project implemements drowsiness detection of drivers using cnn that runs on a raspberry pi4.

the require modules necessary to run the codeset are

  1. pygame
  2. numpy
  3. tensorflow/keras
  4. opencv2
  5. matplotlib
  6. picamera

the raspberry pi captures the livestream of drivers face.then video is segmented into frames using opencv.the face and eyes are detected from frames using haarcascade.the image of eye detected by haar cascade is passed through a cnn to detect whether eyes are opened or closed.if the eyes are closed or if the face is not detected then the counter set for alarm increments for each frame.if the counter reach a threshold value(50) then buzzer or sound is activated by raspberry pi.

About

this git hub is intended to host ac2 project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages