Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/affromero/android_blinkdetection

Repository for Classification of Open/Closed eyes for Android devices
https://github.com/affromero/android_blinkdetection

android android-app android-application android-library blink-detection-algorithm closed-eyes drowsiness-detection drowsy-driver-warning-system eye-detection eyes face java opencv opencv-python opencv4android

Last synced: about 2 months ago
JSON representation

Repository for Classification of Open/Closed eyes for Android devices

Awesome Lists containing this project

README

        

## OpenCV-Projects
# it has code and APK for binary classification of Open/Closed eyes.

This work is developed in *3* stages in order to classify Open/Closed Eyes.

For each frame, let's say:

![](ScreeShots/org.png)

1. Face detection - *LBP* it is performed:

![](ScreenShots/face.png)

- Then changing ROI

![](ScreenShots/face_cropped.png)

- Then both eyes are located according to geometry of the face

![](ScreenShots/Eyes_Geometry.png)

- Now changing ROI for each eye

Left Eye
![](ScreenShots/Left_Eye.png)

Right Eye
![](ScreenShots/Right_Eye.png)

2. Eye detection - *Haar* it is performed (Different detector for each one), and we got:

Left Eye
![](ScreenShots/Left_Eye_Haar.png)

Right Eye
![](ScreenShots/Right_Eye_Haar.png)

3. Binary classification according to both eyes:

![](ScreenShots/open.png)

![](ScreenShots/closed.png)