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