๐ Control your computer mouse using hand gestures with OpenCV, Mediapipe, and PyAutoGUI.
- Hand Tracking: Precise gesture detection using Mediapipe.
- Cursor Movement: Control the cursor using your index finger.
- Gesture-Based Clicking: Click with a simple pinch gesture.
- Scroll Functionality: Scroll by aligning and moving your fingers.
- OpenCV: Real-time video capture and processing.
- Mediapipe: Advanced hand tracking.
- PyAutoGUI: Translates gestures into mouse actions.
- Clone the repository:
git clone https://github.com/your-username/hand-gesture-mouse.git cd hand-gesture-mouse
- Install dependencies:
pip install opencv-python mediapipe pyautogui numpy
- Run the script:
python main.py
- Move your index finger to control the cursor.
- Pinch your thumb and index finger to perform a click.
- Align and move two fingers up/down for scrolling.
This project is licensed under the MIT License.
Feel free to submit issues or pull requests if you want to improve the project!
Made with โค๏ธ using Python.