/Eyes-Tracking-Opencv-and-Dlib

Estimating the position of Eyes :eyes:

Primary LanguagePythonMIT LicenseMIT

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

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

    • Inorder to install dilb on windows machines you need 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 uisng 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 show the face landmarks available in, dilb face landmark detector pre-trained network.

Landmark Image


if You found this Helpful, please star ⭐ it.

I also have youtube Channel where i teach computer vision and AI if you want join me: AiPhile Youtube that would be help as well. thank you. 😄

if you have any Query feel free to ask me on my Social Media.

💚 Join Me on Social Media 💚

AiPhile Youtube AiPhile Facebook AiPhile Insta Github