Virtual Mouse: Mouse Pointer Control using Color Detection
Program Name : Mouse Pointer Control
Author : Arindam Bose
Version : 5.5
Description : This program controls the functions of mouse pointer by detecting red, green and blue colored caps
Inputs:
redThresh = Threshold for red color detection.
greenThresh = Threshold for green color detection.
blueThresh = Threshold for blue color detection
numFrame = Total number of frames duration.
Controls:
Use 1(One) RED, 1(One) GREEN and 3(Three) BLUE Caps for different fingers.
MOVE the RED finger everywhere to control the POINTER POSITION,
Show ONE BLUE finger to LEFT CLICK,
Show TWO BLUE finger to RIGHT CLICK,
Show THREE BLUE finger to DOUBLE CLICK,
MOVE the GREEN finger up and down to control the MOUSE SCROLL.
Cite As
Arindam Bose (2024). Virtual Mouse: Mouse Pointer Control using Color Detection (https://www.mathworks.com/matlabcentral/fileexchange/42943-virtual-mouse-mouse-pointer-control-using-color-detection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features >
Tags
Acknowledgements
Inspired by: mouse pointer control by light source
Inspired: Web Search Using Color Detection
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |