https://github.com/yoshidan/pytorch-eyeblink-detection
Simple Eye Blink Detection with CNN
https://github.com/yoshidan/pytorch-eyeblink-detection
cnn face-recognition pytorch xception
Last synced: about 1 year ago
JSON representation
Simple Eye Blink Detection with CNN
- Host: GitHub
- URL: https://github.com/yoshidan/pytorch-eyeblink-detection
- Owner: yoshidan
- Created: 2019-11-19T10:50:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T03:32:53.000Z (over 6 years ago)
- Last Synced: 2025-03-24T07:23:59.786Z (about 1 year ago)
- Topics: cnn, face-recognition, pytorch, xception
- Language: Python
- Size: 2.49 MB
- Stars: 22
- Watchers: 1
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pytorch-eyeblink-detection
Simple Eye Blink Detection with CNN
* Using Mini Xception
* Model size is about `230KB`
## Trained Model
Trained by [CEW](http://parnec.nuaa.edu.cn/xtan/data/ClosedEyeDatabases.html) dataset.
* Validation Accuracy : 96.7%
* Validation Loss : 0.1256
Here is the result of sample image.
| Image | Open Probability | Guided Backprop | Grad-Cam | Guided Grad-Cam

## Retrain
```
cd src
python train.py
python check.py #check.py supports cpu only
```
## Reference
* [pytorch-facial-expression-recognition](https://github.com/yoshidan/pytorch-facial-expression-recognition)