hand_cursor is a Python-based virtual mouse that allows you to control your computer's cursor using your hand gestures via webcam. Built with OpenCV, MediaPipe, and PyAutoGUI, this project lets you move the mouse using your index finger and click using a pinch gesture (thumb + index).
- π Move cursor with your index finger
- π Click by pinching thumb and index together
- π§ Real-time hand tracking using MediaPipe
- π₯οΈ Works with any webcam and screen resolution
- π» Runs on Windows, macOS, and Linux
python 3.10 Upper version not Supported Install required packages with:
pip install opencv-python mediapipe pyautogui
follow those steps for running this innovative project
py -3.10 -m venv venv
venv\Scripts\activate
Clone the repo:
git clone https://github.com/antor1010/Hand_Cursor.gitcd Hand_Cursor
python hand_cursor.py