Skip to content

Train a model to detect if someone has blinked in an image.

License

Notifications You must be signed in to change notification settings

ANSHUMAN87/Blink-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blink-Detection

Train a model to detect if someone has blinked in an image.

Dataset

The model is trained with CEW dataset As i have trained with Facial images in size of 64x64, this model needs a face detection model. So i have also enclosed opencv face detection model for ease of use. If anyone wants to use another face detection model, then may be code has to change little bit accordingly.

Usage

python blink_detector_demo.py ../test-image/IMG_20190427_223302_3.jpg ../haarcascade_frontalface_default.xml ../trained_models/cew_blink_detect.hdf5

NOTE

I have created this project just for fun. In case any issue, feel free to post.

About

Train a model to detect if someone has blinked in an image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages