Skip to content

ymitiku/EyeOpenDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EyeOpenDetection

Python module which detects if eye is open or closed.

Dataset used

This project uses Closed Eyes In The Wild (CEW) dataset.

How to split dataset into train and test(pickle files)

The training program expects two pickle files inside dataset_dir(option for training program). This two files are train.pkl and test.pkl which contains file locactions to training and test sets images respectively. The following program can be used to split dataset into train and test sets and save the file locations in respective pickle files.

python -m preprocess [options]

Options to the program

  • --dataset_dir - Directroy which contains ClosedFace folder and OpenFace folder.

How to run training program

Training program expects dataset dir which contains ClosedFace and OpenFace folders, and train.pkl and test.pkl files. The following program can be used to train the model.

python -m train [options]

How to run Demo project

LICENSE

References

About

Python module which detects if eye is open or closed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages