Control your laptop with hand gestures using your webcam! A touchless interface built with MediaPipe and OpenCV that lets you adjust brightness, volume, take screenshots, and even perform calculationsโall with simple hand movements.
Features
Brightness Control - Close fist for dark, open palm for bright Volume Control - Move hand up/down to adjust volume Gesture Calculator - Perform math operations with hand gestures Screenshot Capture - Peace sign to capture screen Quick Jumps - Show 1-5 fingers to jump to 20%, 40%, 60%, 80%, 100% Web Interface - Beautiful real-time dashboard with live graphs Real-time Monitoring - FPS counter, hand tracking visualization
๐ฎ Control Modes
- Brightness Only - Hand openness controls screen brightness
- Volume Only - Hand vertical position controls volume
- Both - Combined brightness + volume control
- Calculator - Math operations using hand gestures
๐ ๏ธ Technologies
- Python 3.x
- MediaPipe - Hand tracking and landmark detection
- OpenCV - Computer vision and camera processing
- Flask - Web interface and streaming
- PyAutoGUI - Screenshot functionality
- Screen Brightness Control - Cross-platform brightness adjustment
Desktop Version:
python hand_brightness_controller.py
Web Version:
python web_server.py
# Open http://localhost:5000 in your browser
๐ Requirements
Auto-installer included! The app will automatically install missing dependencies on first run.
Gesture Guide
- 0-9 Fingers = Numbers (Calculator mode)
- ๐ Thumbs Up = Plus (+)
- ๐ Thumbs Down = Minus (-)
- โ๏ธ Peace Sign = Screenshot
- โ Closed Fist = Equals (=) / Low brightness
- ๐๏ธ Open Palm = High brightness
๐ฑ Access from Any Device
The web version can be accessed from phones/tablets on your local network:
http://YOUR_COMPUTER_IP:5000
Mohammad Rameez Imdad
Copyright (c) 2025 Mohammad Rameez Imdad
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction