cvcursor is a Python-based computer vision project that allows you to control your mouse using right-hand gestures. By waving your hand in front of the camera, the program captures and detects your hand, enabling you to move the cursor and perform various actions, such as clicking, scrolling, toggling, copy-pasting, etc., all through hand gestures.
cvcursor supports the following gestures and their respective actions:
- Left Click: Put together your index finger and thumb.
- Right Click: Fold your middle finger.
- Scroll Down: Fold your index finger.
- Scroll Up: Fold your ring finger.
- Toggle: Fold your pinky.
- Double Click: Quickly perform the single left-click gesture twice.
To use cvcursor, follow the steps below:
-
Activate the virtual environment (optional but recommended).
source bin/activate
-
Run the
main.py
script to start the application.python main.py
Ensure that your computer has a webcam or an external camera connected, as cvcursor relies on the camera feed to detect hand gestures and control the mouse cursor.
We welcome contributions to improve cvcursor. If you want to contribute, please follow these guidelines:
- Fork the repository and create a new branch for your contributions.
- Make changes, and then submit a pull request detailing the improvements.
- Ensure your code adheres to the project's coding standards and practices.
As a contributor, you agree that your contributions are provided under the terms of the MIT License.
cvcursor is open-source and licensed under the MIT License. See the LICENSE file for more details.
For any inquiries or questions, you can reach out to Gautam Negi at gautamnegi0202@protonmail.com.