#OpenCV #Python #VirtualKeyboard
A virtual on screen keyboard with color tracking, using Python and OpenCV library.
1.The desired color is being selected for tracking by defining the lower and upper color as numpy
arrays in the code. Here green color is being selected.
2. The maximum contour area (of the chosen color) is being calculated.
3. Calculation of the center of maximum contour.
4. Color is being tracked and when the center of max contour is inside a key-rectangle then the
corresponding letter, number or command is being selected and printed on the Paper Frame
(bottom left).
5. By pressing 'p' or 'P' the whole message is being printed and saved on a text (.txt) file.
Keyboard command rectangles :
-------------------------------------------------------
BACK : Delete one character
DELETE : Delete all
ENTER : Newline character
Aa : Change between capitals/lowercase
SPACE : Leave one character empty
NUM2SYM : Change between numbers/symbols
On this page of the site you can watch the video online Virtual keyboard using Python and OpenCV library with a duration of hours minute second in good quality, which was uploaded by the user KostasT 05 October 2020, share the link with friends and acquaintances, this video has already been watched 2,952 times on youtube and it was liked by 34 viewers. Enjoy your viewing!