Tuesday, September 08, 2015

Laptouch Touch Screen using Image Processing

Posted by Md.Hanif Ali on Tuesday, September 08, 2015 in | No comments
Touch Screen Project using Image Processing

Youtube Video link:


The touch screen soft is mainly an image processing software.

  • It takes the videos from a webcam. The webcam sees the whole laptop screen or desktop screen in front of it.
  • Then four corners are selected by the mouse that tells the software to process the only the selected area.
  • Then perspective transform is applied to that certain area to adjust the area to laptop screen area. The selected area get the aspect ratio as like the laptop or desktop screen.   
  • After the proper transformation of the area similar to the laptop or desktop screen, a bright red led light is detect the red light point with respect to that certain area.
  • The brightness and contrast of the image is adjusted properly so that the bright red led light can be tracked easily.
  • The contour area of the led light is measured and the area of other things around the red light is ignored by calculating the largest contour. That means only the largest contour is tracked.
  • Then after the largest area tracked, the points of the area is calculated. That point is then passed to the windows built in mouse cursor movement command to simulate mouse clicks and mouse dragging.
  • The whole process is just done by only a webcam and led light and nothing else. For image processing I used Opencv library and plain c++ coding. The Qt Creator IDE is used for coding purposes. 


Post a Comment