Loading repository data…
Loading repository data…
Ruban-Edward / repository
Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera.
Control your computer mouse using hand gestures powered by Python, OpenCV, and MediaPipe. This project uses real-time webcam input to detect hand landmarks and translate finger movements into mouse actions without requiring a physical mouse.
AI-Virtual-Mouse/
│
├── AiVirtualMouseProject.py
├── HandTrackingModule.py
├── Output/
├── README.md
└── LICENSE.md
git clone https://github.com/Ruban-Edward/AI-Virtual-Mouse.git
cd AI-Virtual-Mouse
Download and install Python 3.8 or later
https://www.python.org/downloads/
pip install opencv-python mediapipe autopy numpy
Run the main file:
python AiVirtualMouseProject.py
Make sure your webcam is connected and accessible.
| Gesture | Action |
|---|---|
| ☝️ Index Finger Up | Move Cursor |
| 👍 Thumbs up | Select / Click |
| ✋ Hand Tracking | Detects hand landmarks in real time |
Gesture behavior may vary depending on your implementation.
Install the required libraries:
pip install opencv-python
pip install mediapipe
pip install autopy
pip install numpy
Contributions are welcome!
git checkout -b feature-name
git commit -m "Add new feature"
git push origin feature-name
Ruban Edward
GitHub: https://github.com/Ruban-Edward
This project is licensed under the MIT License.
See the LICENSE.md file for more information.
If you found this project useful, consider giving it a ⭐ on GitHub!