Skip to content

gautam132002/cvcursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVCURSOR

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.

ezgif com-video-to-gif

Supported Gestures and Corresponding Actions

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.

Usage

To use cvcursor, follow the steps below:

  1. Activate the virtual environment (optional but recommended).

    source bin/activate
  2. 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.

Contributions and Rules

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.

License

cvcursor is open-source and licensed under the MIT License. See the LICENSE file for more details.

Contact

For any inquiries or questions, you can reach out to Gautam Negi at gautamnegi0202@protonmail.com.