Skip to content

Asadullah-Dal17/Eyes-Tracking-Opencv-and-Dlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eyes Tracking Opencv python 👁️ 👁️

Estimate the position of eyes in the frame using computer Vision Techniques.

Control LED's color with Eyes Demo Video

Control.RGB.LED.s.Color.with.Eyes.mp4

Iris Tracking Medipipe Opencv python Video Tutorial 📹

out_medium.demo.mp4

Eyes Tracking with Mediapipe

  1. Mediapipe is way faster, has more landmarks, it can reach up to 30 fps as well. while dilb reaches about 10fps.

  2. Mediapipe is easy to install, just with the pip command

  3. mediapipe does not require extra things, Visual Studio, CMake, etc on Windows machine,

Here you can find Project Repository

Youtube Tutorials

Eyes Tracking Tutorial

Control Things with Eyes Tutorial

TODO

  • Eyes landmark Detection 👀
  • Blink Detector and Counter
  • Extracting Eyes using Masking Techniques
  • Threshold Eyes
  • Dividing Eye into Three Parts Right Center Left
  • Counting Black in Each part and Estimating The Position of Eye
  • Controlling RGB LED's Color With Eyes

Installation

Steps are involved to run the code.

Requirements are :

  1. install Dlib

    For Windows

    • In order to install Dilb on windows machines you need the following: 😏

      • Visual Studio

      • Visual Studio Build Tools

      • Cmake

        for More Detail check out this Blog post. here

    pip install cmake

    pip install dlib

    Linux or Mac OS

    • Just you need Cmake that all here on Linux and Mac OS

    • install Dilb using Pip command

      pip3 install cmake

      pip3 install dlib

      for more details see

  2. Install opencv-python pip install opencv-python For Linux or Mac OS replacepip with pip3 and you are good to go... 😉

  3. Download landmarks Predictor

    • Extract that file and put it into the Predictor folder or directory.

Face Landmarks

image shows the face landmarks available in, the dilb face landmark detector pre-trained network.

Landmark Image


If you found this Helpful, please star ⭐ it.

You can Watch my Video Tutorial on Computer Vision Topics, just check out my YouTube Channel AiPhile Youtube

I am avalaible for paid work here Fiverr fiverr

💚🖤 Join me on Social Media 🖤💚

About

Estimating the position of Eyes 👀

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published