This repository contains an simple implementation of computer vision techniques to track hand motions and recognize hand gestures using OpenCV.
The project aims to provide a comprehensive demonstration of hand tracking and gesture recognition using computer vision. It utilizes the OpenCV library and the HandTrackingModule
from the cvzone
library for hand tracking.
The project has been extended to include hand gesture recognition functionality. The Python script has been updated to detect various hand gestures such as thumbs up, peace sign, and OK sign.
- Python 3.10
- OpenCV
- cvzone
- Clone this repository:
git clone https://github.com/eshansurendra/handTrackWithOpenCV.git
- Install the required dependencies:
pip install opencv-python pip install cvzone
- Run the Python script:
python hand_tracking.py
The project currently recognizes the following gestures:
- Thumbs up
- Peace sign
- OK sign
You can extend the gesture recognition functionality by adding more checks in the Python script.
- OpenCV: https://opencv.org/
- cvzone: https://github.com/cvzone/cvzone