This mouse uses your index finger for navigation, and when you bring your thumb finger close to your index finger, it clicks.
To run this virtual mouse project, you'll need to set up a Python virtual environment and install the necessary dependencies. Follow the steps below:
- Python 3.6 or higher installed on your system.
https://github.com/Nndna9/Virtual_Mouse.git
cd Virtual_Mouse
# Activate the virtual environment
# On Windows
venv\Scripts\activate
# On macOS and Linux
source venv/bin/activate
Once your virtual environment is activated, install the project dependencies from the requirements.txt file:
pip install -r requirements.txt
Running VirtualMouse.py To use the virtual mouse, you can run the VirtualMouse.py script:
python VirtualMouse.py
This script allows you to control the mouse using your hand gestures.
Running main.py Additionally, you can run the main.py script to perform other functionalities or tasks related to the virtual mouse project:
python main.py
Feel free to explore and modify the main.py script to suit your specific requirements.