Virtual Paper Keyboard Using OpenCV in Visual Studio

Piyush Arora

41681
Advertisement

How it works
First of all, a frame is captured from the webcam. This frame is converted into a binary image, which is then processed to identify the finger or pen. When a finger touches the text on the paper keyboard, its position is identified and shown on the screen. The text is written on the text editor as shown in Fig. 2 (which shows the text “This is a virtual keyboard”).

For proper result, it is recommended that you place the paper keyboard on a desk or table, with a webcam fixed on a support facing down towards the paper keyboard.

Download source code: click here


The author is a fourth-year B.Tech student of electronics & communication engineering. He likes electronics hardware and software projects

1 COMMENT

  1. Is there any way I could fix this issue “First-chance exception at 0x00007FF973337788 in VirtualKeyboard.exe: Microsoft C++ exception: cv::Exception at memory location 0x0000002494EFF6B0.” over my vstudio

SHARE YOUR THOUGHTS & COMMENTS

Please enter your comment!
Please enter your name here