5.0

5.0 | 1 rating Rate this file 20 Downloads (last 30 days) File Size: 1.32 KB File ID: #29777

mouse pointer control by light source

by

 

using color sgregation, mouse pointer is controlled by tracking a red led... Tuning is required

| Watch this File

File Information
Description

using color sgregation, mouse pointer is controlled by tracking a red led...
It tracks the red led of my optical mouse. A webcam is used to take the video.
This is a simple application.
i have used color segregation technique on grayscale format. Other color formats can also be tried.
I determined the co-ordinates of the centroid of the region of the led. Then using the Java Robot class, the mouse pointer is sent to that co-ordinates. My webcam had max resolution of 640x480. I also used cyberlink webcam filter. Windows Vista operating system.

Acknowledgements

This file inspired Virtual Mouse: Mouse Pointer Control Using Color Detection.

Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
22 Oct 2011 Mr Smart  

Contact us