Skip to content

Computer Vision : Eye detection, Eye Blink detection, Face detection, Smile detection, Mouth detection, hand detection, Finger track by opencv in python.

License

Notifications You must be signed in to change notification settings

baponkar/computer-vision

Repository files navigation

IN Python badge opencv badge mtcnn badge Mediapipe badge PyAutoGUI badge


Issue fork star License

Funny Cat GIF

A Screenshot

Finger Detection

License

GNU GPL v3.0

Description :

This repository have programs which can detect eye, eye blink, face, hand, palm, mouth, face, smile by using opencv haarcascade xml files and mncnn and mediapipe. Haarcascade detection were not too sensitive but detection by mediapipe and mtcnn models awesome.

Future addition:

  • Full body detection
  • Motion Sensor
  • Cursor movement and click by eye
  • Cursor movement and click by finger
  • Emotion detection
  • Sleep detection.
  • Build a Security system

Python Version - 3.7.10

Creating and Activate Virtual Python Envirionment

Windows

cd project_directory
pip install venv
python -m venv venv
./venv/Scripts/activate

Linux

cd project_directory
pip install venv
python -m venv venv
source venv/bin/activate

macOS

cd project_directory
pip install venv
python -m venv venv
source venv/bin/activate

To download required python packages :

Now you are ready to install required python packages in your virtual envirionment.

pip install -r requirements.txt

Installing Manually :

pip install opencv-python pyautogui
pip install mtcnn
pip install mediapipe

Latest Stable Release :

Haarcascade files are downloaded from here .

Credits:

  1. haar-cascade-files

Contact:

Gmail X LinkedIn YouTube


Copyright © baponkar 2024