Control your volume with hand gestures using Python
Build a gesture volume controller with OpenCV and MediaPipe. Pinch your thumb and index finger together to turn the sound down, spread them apart to turn it up.
End-to-end builds that map body and hand landmarks onto real controls: a mouse, a volume dial, a rep counter.
Build a gesture volume controller with OpenCV and MediaPipe. Pinch your thumb and index finger together to turn the sound down, spread them apart to turn it up.
Use MediaPipe Pose to measure your elbow angle and count push-up reps automatically. The same state machine works for squats, curls and any repeated movement.
Learn how to build a virtual mouse in Python using OpenCV and MediaPipe hand tracking. Move the cursor with your index finger and click with a pinch — beginner-friendly step-by-step tutorial.
Newsletter
Free essays on learning, Python, and ML — no account required. We’ll only email when there’s something worth reading.