Skip to content

Support eye blinking#31

Merged
henryouly merged 2 commits intomainfrom
henryouly-experiment-eye-blinking
Jun 5, 2022
Merged

Support eye blinking#31
henryouly merged 2 commits intomainfrom
henryouly-experiment-eye-blinking

Conversation

@henryouly
Copy link
Collaborator

Add support to recognize eye aspect ratio to support eye blinking.

The EAR (eye aspect ratio) is calculated by taking measurement of the contour to compute average open height, and compare to the width of the eye. Based on some tests, common range is around [0.25, 0.4], therefore, a threshold of 0.33 is used to determine if the eye is open or close.

Close #21.

@henryouly henryouly linked an issue Jun 5, 2022 that may be closed by this pull request
@henryouly henryouly requested review from superkudo and wixette June 5, 2022 06:49
Copy link
Contributor

@wixette wixette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henryouly henryouly merged commit ae4964c into main Jun 5, 2022
@henryouly henryouly deleted the henryouly-experiment-eye-blinking branch June 5, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Experiment eye blinking support

2 participants