The Virtual AI Mouse is a computer vision project that allows users to control their computer cursor using hand gestures. Developed using Python and OpenCV, this project detects hand movements in real-time and translates them into mouse actions, offering an alternative and innovative way to interact with your computer.
- Hand Gesture Control: Control your computer cursor using hand gestures detected by the camera.
- Move Cursor: Hold up your index finger to move the cursor across the screen.
- Click: Hold up two fingers to simulate a mouse click.
- Python 3.x
- OpenCV
- NumPy
- PyAutoGUI
-
Clone the repository:
git clone https://github.com/pallab2o/Virtual-Mouse.git
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the
VirtualMouse.pyscript:python virtual_mouse.py
-
Use hand gestures in front of your camera to control the cursor.