https://github.com/eshansurendra/handtrackwithopencv
Simple Computer vision implementation to track motions of hands using OpenCV
https://github.com/eshansurendra/handtrackwithopencv
Last synced: 10 months ago
JSON representation
Simple Computer vision implementation to track motions of hands using OpenCV
- Host: GitHub
- URL: https://github.com/eshansurendra/handtrackwithopencv
- Owner: eshansurendra
- Created: 2023-12-25T03:12:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T11:17:04.000Z (about 2 years ago)
- Last Synced: 2025-07-05T04:03:43.550Z (11 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hand Tracking and Gesture Recognition with OpenCV
This repository contains an simple implementation of computer vision techniques to track hand motions and recognize hand gestures using OpenCV.
## Introduction
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.
## Implementation
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.
## Requirements
- Python 3.10
- OpenCV
- cvzone
## Usage
1. Clone this repository:
```bash
git clone https://github.com/eshansurendra/handTrackWithOpenCV.git
```
2. Install the required dependencies:
```bash
pip install opencv-python
pip install cvzone
```
3. Run the Python script:
```bash
python hand_tracking.py
```
## Gesture Recognition
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.
## References
- OpenCV: [https://opencv.org/](https://opencv.org/)
- cvzone: [https://github.com/cvzone/cvzone](https://github.com/cvzone/cvzone)