https://github.com/kunalmehra075/finger-counter-opencv
A simple yet powerful AI-powered tool that counts how many fingers you're holding up using your webcam in real time! Built with Python, OpenCV, and MediaPipe, this project is a great starting point for learning gesture recognition.
https://github.com/kunalmehra075/finger-counter-opencv
computer-vision cv2 finger-counter fingercounter fingers handtracking linkedin mediapipe opencv python pythonprojects webcam
Last synced: 4 months ago
JSON representation
A simple yet powerful AI-powered tool that counts how many fingers you're holding up using your webcam in real time! Built with Python, OpenCV, and MediaPipe, this project is a great starting point for learning gesture recognition.
- Host: GitHub
- URL: https://github.com/kunalmehra075/finger-counter-opencv
- Owner: KunalMehra075
- Created: 2025-05-16T15:14:54.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-17T10:15:35.000Z (5 months ago)
- Last Synced: 2025-06-17T08:07:38.967Z (4 months ago)
- Topics: computer-vision, cv2, finger-counter, fingercounter, fingers, handtracking, linkedin, mediapipe, opencv, python, pythonprojects, webcam
- Language: Python
- Homepage:
- Size: 15.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# β Finger Counter β OpenCV + MediaPipe Project
A simple yet powerful AI-powered tool that counts how many fingers you're holding up using your webcam in real time!
Built with **Python**, **OpenCV**, and **MediaPipe**, this project is a great starting point for learning gesture recognition.## πΌ Demo

## π― What It Does
This project detects your hand and counts the number of fingers you're showing (from 0 to 5) using real-time webcam input.
It then displays the finger count on the screen with a live overlay.## π Features
β Real-time finger counting with **MediaPipe**
β Displays the current number of fingers held up (0β5)
β Detects both left and right hands
β Easy to use β no setup beyond your webcam
β Great for learning computer vision basics!---
## π§ What You'll Learn
- How to use **MediaPipe Hands** to detect hand landmarks
- How to identify which fingers are up based on joint positions
- Drawing UI overlays with OpenCV
- Real-time computer vision interaction with Python## π§ Getting Started
### How to run:
1. **Install the required dependencies, globlally or by creating a virtual environment:**
```bash
pip install -r requirements.txt
```2. **Run the application:**
```bash
python virtualMouse.py
```## πDependencies
- OpenCV
- MediaPipe
- Numpy#### Buy me a coffee π₯Ή:
Contributions are welcome! π If you have any ideas for improvements, feel free to submit a pull request.\
Follow me for more exciting projects like this! π€©