https://github.com/gorav22/handler
A Python Tool Using which you can use your laptop or pc without using keyboard
https://github.com/gorav22/handler
computer-vision machine-learning mediapipe opencv python
Last synced: 2 days ago
JSON representation
A Python Tool Using which you can use your laptop or pc without using keyboard
- Host: GitHub
- URL: https://github.com/gorav22/handler
- Owner: Gorav22
- License: mit
- Created: 2025-04-13T10:05:04.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-13T12:28:55.000Z (6 months ago)
- Last Synced: 2025-06-18T03:06:02.992Z (4 months ago)
- Topics: computer-vision, machine-learning, mediapipe, opencv, python
- Language: Python
- Homepage:
- Size: 42.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Handler - Gesture-Controlled PC Interface
## Demo Video
For Demo Visit Here
## About
Hand-Controller is a gesture-based recognition system to control your computer.
It can be used to move the pointer, click and scroll. Also included is a virtual
gesture-controlled keyboard.## Features
### Gesture Recognition:Move cursor
Move cursor. Used when only the index finger is pointing up.
This gesture moves the cursor to the desired location. Speed of the cursor
movement is proportional to the speed of hand.Left Click
Left Click. Used when only the index and middle finger is pointing up
and close together. The distance between the tip of the index and middle finger
is calculated. If the distance is below the threshold, a single left click is
performed.Scroll Up/Down
Scroll Up/Down. Used when only the index, middle and ring finger
is pointing up. Scroll direction and speed is controlled by the location of
tip of the index finger.Bringup Keyboard
Bringup Keyboard. Used when only the index, middle, ring and pinky
finger. Brings up the virtual gesture-controlled keyboard for typing.### Virtual Keyboard:
Hover over the key with your index finger that you wish to press. After that, perform
the Left Click gesture as described before to press the key. To go back to "Mouse"
mode, simply hover over the "Mouse" key on the virtual keyboard and perform a
Left Click gesture.## Getting Started
### Pre-requisites
- Python: >=3.8.5
- Environment: Anaconda. Download link [here](https://www.anaconda.com/products/individual)
- Hardware: A computer with webcam### 1. Requirements.
Install the necessary required packages through the provided `requirements.txt`
file using Anaconda prompt.
```
pip install -r requirements.txt
```### 2. Installation.
- Clone this repo:
```
git clone https://github.com/Gorav22/Handler
```## Usage
To run the application, you can use an IDE (e.g. Spyder) or navigate to the
location of `main.py` script type in the following in an Anaconda prompt.
```
python main.py
```## License
Distributed under the [MIT License](LICENSE)