https://github.com/paveldat/virtual_keyboard
AI Virtual Keyboard
https://github.com/paveldat/virtual_keyboard
Last synced: 2 months ago
JSON representation
AI Virtual Keyboard
- Host: GitHub
- URL: https://github.com/paveldat/virtual_keyboard
- Owner: paveldat
- Created: 2022-04-18T18:00:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-23T14:58:05.000Z (about 3 years ago)
- Last Synced: 2023-05-12T15:15:27.346Z (about 2 years ago)
- Language: Python
- Size: 56.4 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# AI Virtual Keyboard
In this project I am going to create a virtual key board based on Artificial Intelligence (AI).
I will write the code step by step so it is easy to follow.
I will also look at how we can run this program to operate applications like a notepad.## Features
* Can track your hand in real-time
* Can write text in writer redactor based on your hand activity## How to install
1. Clone this repository on your computer
`https://github.com/paveldat/virtual_keyboard.git`
2. Install all the requirements
`run libraries.bat` or
`pip install -r requirements.txt`
3. Run the program
`python main.py`## Help
You might face issue with webcam not showing and you get errors.
To solve it just change the value in this line (for example to `1`).
`cap = cv2.VideoCapture(0)`
Increment this number until you see your webcam.## Hand Landmarks
## Keyboard
Where:
"<" - BACKSPACE
" " - SPACE
## Click
In order to simulate a click, you need to connect the index and middle fingers on your hand. An example of a valid click is shown in the image below.
## Result
## Result using notepad
