tarikurrahmanbd/control_pc_using_hand-gesture-main — explained in plain English
Analysis updated 2026-05-18
Control your mouse cursor, clicks, and scrolling hands-free using a webcam.
Study the modular gesture_v3 package as a template for a computer vision control project.
Adjust config.py settings to tune scroll speed, click cooldown, and cursor smoothing.
Extend the gesture set with new hand patterns for additional PC actions.
| tarikurrahmanbd/control_pc_using_hand-gesture-main | a-shojaei/constructdrawingai | alex72-py/aria-termux | |
|---|---|---|---|
| Stars | 20 | 20 | 20 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 4/5 | 2/5 |
| Audience | vibe coder | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a webcam and downloading a separate MediaPipe hand landmarker model file.
This project lets you control your computer's mouse using hand gestures picked up by a webcam, no extra hardware needed beyond the camera. It is built in Python using OpenCV for video handling and MediaPipe for detecting hand landmarks, and this is version 3, which reorganizes the code into a clean set of modules. The system understands a handful of specific hand shapes. Raising only your index finger moves the cursor to follow your fingertip. Pinching your thumb and index finger together, and holding the pinch for a quarter of a second, triggers a left click, while pinching thumb and middle finger triggers a right click. Raising your index and middle fingers together, like a peace sign, switches into scroll mode, where moving your hand up or down scrolls the page in that direction. Making a closed fist pauses all control instantly, turning the screen border red as a visual warning, and pressing Q on the keyboard shuts the whole program down as a safety measure. Beyond gesture recognition, the project adds cursor inertia and acceleration so the pointer feels closer to a normal mouse instead of jumping around, along with filtering to smooth out the natural shake of a hand held in front of a webcam. It also automatically pauses itself if it loses track of your hand or if the frame rate drops too low, and it uses short cooldowns and pattern checks to avoid triggering clicks by accident. An on-screen overlay shows the current mode, frame rate, and detected gesture while you use it. To run it, you need Python 3.8 or newer and a webcam. You install the dependencies from requirements.txt, download a MediaPipe hand landmarker model file (a link is provided, or you can fetch it with a PowerShell command), and then run main.py. A few settings like scroll speed, cooldown timing, and cursor smoothing can be adjusted in config.py. The author describes it as a project built for portfolio purposes, with voice control and an air-typing keyboard listed as possible future additions.
A webcam-based hand gesture system that controls your PC's mouse cursor, clicking, and scrolling using OpenCV and MediaPipe hand tracking.
Mainly Python. The stack also includes Python, OpenCV, MediaPipe.
No license information is stated in the README, so terms of use are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.