DEV Community

Sripadh Sujith
Sripadh Sujith

Posted on

1 1 1 1 1

HandCount: Real-Time Finger Counting with MediaPipe and OpenCV

I built HandCount, a neat little Python project that uses MediaPipe and OpenCV to count raised fingers in real-time via webcam. It’s a fun way to play with computer vision, and I’m excited to share it with you!

What It Does

Point your hand at the camera, and HandCount detects it, tracks landmarks (like fingertips), and displays how many fingers you’re holding up. It’s simple but opens the door to cool stuff like gesture controls or interactive apps.

How It Works

MediaPipe: Spots 21 hand landmarks in each frame.
OpenCV: Captures the video and shows the results.
Logic: Compares fingertip positions to count raised fingers.

Try it out

Github(Source code):-https://github.com/Sripadh-Sujith/Realtime_handcount

Follow for more innovative project ideas

Top comments (0)

Gen AI apps are built with MongoDB Atlas

Gen AI apps are built with MongoDB Atlas

MongoDB Atlas is the developer-friendly database for building, scaling, and running gen AI & LLM apps—no separate vector DB needed. Enjoy native vector search, 115+ regions, and flexible document modeling. Build AI faster, all in one place.

Start Free

👋 Kindness is contagious

Explore this insightful piece, celebrated by the caring DEV Community. Programmers from all walks of life are invited to contribute and expand our shared wisdom.

A simple "thank you" can make someone’s day—leave your kudos in the comments below!

On DEV, spreading knowledge paves the way and fortifies our camaraderie. Found this helpful? A brief note of appreciation to the author truly matters.

Let’s Go!