- This is a AI virtual keyboard built using OpenCV.
- The idea behind this project is to have hands on over computer vision and its terminology.
- import cv2
- from cvzone.HandTrackingModule import HandDetector
- from time import sleep
- from pynput.keyboard import Controller
- import cvzone
- import numpy as np
- The hand tracking module used in the project has its backend written on media pipe(https://google.github.io/mediapipe/solutions/hands)
- Maths behind this is
-
- Distance between point 8 and 12 is calculated and when they are colliding then character is selected.
-
- Include all the files present in the repository.
- Install all the requirements listed in requirements.txt file
- run main.py
- Open notepad or any editor on the screen
- To type any character : Bring your index finger tip and middle finger tip close to each other on the requested character.
- Will be working on the precision and accuracy of character selection.
- Will work on the ideas to bring "ENTER Key" , "Space Key" , "Backspace Key" and many more buttons.