Giter VIP home page Giter VIP logo

eoratesttask's Introduction

EORA TestTask- eye blink detection

Description

You need to implement a system that detects eye blink of a person in real-time mode. There is a useful guide that you can follow, describing how to implement eye blink detection from a given image. Your task is to continue the work applying the algorithm to detect eye blink of a certain duration. Also, be ready to answer questions about all the underlying mathematics.

Requirements

The source of video could be a file or a stream from a web camera. On a video in the upper-left corner should be a caption that contains a number of blinks at the current time. If eyes are closed for more than two seconds, a caption “Alert!” must appear on the video. The colour of the caption should be red. You can use OpenCV, Dlib and whatever you find useful Minimum resolution of a video: 480p. There should be one person on a video. Height of a person’s face should be at least 1/3 of the height of the video in terms of pixels.

How to run

  1. clone repository
  2. open the .ipynb notebook in google colab or any other jupyter environment
  3. make sure the files

blink_detection2.mp4
shape_predictor_68_face_landmarks.dat

are in the same working directory
4. run the notebook
5. download and play the file output.mp4

Side note

My apologies but my laptop got broken and is currently in Kazan for repairs. I used someone else's laptop and that is why it shows this person as an extra contributor

eoratesttask's People

Contributors

gewery avatar ozziekins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.