This is a blink detector capable of detecting blinks in frontal faces using facial landmarks. There is support for batch processing and online blink detection (frame-by-frame).
pip install .
python demo.py -v <videos_folder> -d <output_folder>
This code was developed in collaboration with Berk Tinaz, who implemented the offline blink detection