I blinked and recorded screen

The frame is captured and converted to grayscale.
Bilateral Filtering is applied to remove impurities.
Face is detected with the haar cascade.
The ROI (Region Of Image) of Face is fed to eye detection part of algorithm.
Eyes are detected and resulting list is passed to if-else contruct.
If the length of list is more than two, means that the eyes are there.
Else the program is marked to be eye blinked and restarted.

--

--

--

Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Semantic search using BERT embeddings

Building a world class image classifier for dogs and cats

Reinforcement Learning Policy for Developers

Few Shot Learning Using SBERT

NLP with R part 1: Topic Modeling to identify topics in restaurant reviews

5 Machine Learning Models You Can Deploy Using BigQuery

Identifying dog breeds using CNNs

Flow-Forecast: A time series forecasting library built in PyTorch

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Madara Premawardhana

Madara Premawardhana

Software Engineer

More from Medium

Moravec corner detector

Camera Image Formation

What are the Biometric Techniques Used for Person Recognition?

Convert bounding boxes from Coco to Pascal_VOC to Yolo and back.