Estimate the position of eyes in the frame using computer Vision Techniques.
Control.RGB.LED.s.Color.with.Eyes.mp4
Control Things with Eyes Tutorial
- 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
Steps are involved to run the code.
-
install Dlib
-
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
-
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
-
-
Install opencv-python
pip install opencv-python
for linux or Mac OS replacepip
withpip3
and you are good to go... 😉 -
Download landmarks Predictor
- Extract that file and put it into the Predictor folder or directory.
image show the face landmarks available in, dilb face landmark detector pre-trained network.
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: that would be help as well. thank you. 😄
if you have any Query feel free to ask me on my Social Media.