Gauravsachdeva23e/Control_pc_using_Hand-Gesture ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app that lets me control my computer mouse with hand gestures through a webcam.

I want it to track one hand reliably, move the cursor when I hold up just my index finger, scroll when I raise my index and middle fingers, left click when I pinch thumb and index together, and right click when I pinch thumb and middle together. It should also have a safe paused state when I make a closed fist, and I want to be able to quit instantly with the Q key.

Please make it feel smooth and safe, with visible on screen feedback for the current mode, the gesture being detected, and FPS. If the hand disappears or performance drops, it should pause automatically so it does not keep moving the mouse by accident. Use the provided MediaPipe hand model, and keep the settings easy to tweak in a config file for things like scroll speed, click cooldown, and cursor smoothing. If you need to check current docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab