This project uses your webcam to detect hand gestures in real-time and launch or close applications (e.g., Notepad) using specific finger poses. It combines computer vision, hand landmark detection, and gesture recognition into a lightweight interface.
- 👋 Detects hand gestures using MediaPipe Hands
- 🧠 Custom logic to recognize specific finger poses
- 🚀 Launches Notepad using a right-hand gesture
- 🛑 Closes Notepad using a left-hand gesture
- 🪟 Built for Windows with
taskkillintegration - 🔄 Real-time feedback via webcam feed
| Hand | Finger Pose | Action |
|---|---|---|
| Right Hand | 🤘 (Index + Pinky fingers up) | Launch Notepad |
| Left Hand | ✌️ (Index + Middle fingers up) | Close Notepad |
(You can modify the finger pattern in code to change behavior.)
- Python 3.x
- OpenCV
- MediaPipe
- Subprocess (for app control)
The project is not meant to be cloned and used. Documentation is available and it would be better to refer the docs to recreate this project. The program uses task=kill to terminate programs, which may pose security concerns to some
- must have notepad installed. (or use the command for an exe file (launchable))