An open API service indexing awesome lists of open source software.

https://github.com/ashwinraikar88/blinky

App that captures selfies at the blink of your eyes
https://github.com/ashwinraikar88/blinky

computer-vision python3

Last synced: about 1 year ago
JSON representation

App that captures selfies at the blink of your eyes

Awesome Lists containing this project

README

          

# Blinky 📸
A Python Selfie App that captures selfies at the blink of your eyes ;)

## Installation

### Requirements

* Python 3.6+
* OpenCV 3.4+
* imutils
* dlib
* scipy

## Download the model:
[shape_predictor_68_face_landmarks](https://drive.google.com/file/d/1i5bJtlstVU5dZpZ_4eCo0wAceg-7Cs2K/view?usp=sharing)
Save this in the model folder

### Usage
Run app.py on the terminal
```bash
python3 app.py
```
![](https://github.com/AshwinRaikar88/Blinky/blob/master/output/demo.gif?raw=true)
* Just blink both your eyes to capture an image
the app will close automatically
* If you want to quit, just press 'q'

The image will be saved in output directory.

### Further improvements
* New funtionalities will be added
* This program was successfully tested on windows

## Thanks
Thanks to [@Adrian Rosebrock](https://github.com/jrosebr1) for his code on Eye blink detection with OpenCV, Python, and dlib, the module that helps in implementing blink detection.For more explaination and detailed understanding of the process do check out his [blog post](https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/).

## Citation
Adrian Rosebrock, Eye blink detection with OpenCV, Python, and dlib, PyImageSearch, https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/, accessed on 28 April 2020