Gesture Recognition Mouse With Matlab Image Processing.

by im_MayurYeole in Circuits > Wearables

5449 Views, 8 Favorites, 0 Comments

Gesture Recognition Mouse With Matlab Image Processing.

2016-15-4--23-33-57.png
2016-15-4--23-53-42.png
Ever think that wearables will occupy important position in computer handling ?
Gesture does it all.
Welcome to my new project with gesture recognition mouse.

Here are the project requirements :
1) Colour tokens/markers ( red,blue,green)
2) Webcam.
3) Matlab software.
4) Windows pc.
5) Image acquisition toolbox for Matlab
Software.
6) Code for performing gestures virtually.

Introduction to the System

p1.jpg
1) Introduction To Matlab :
Matlab is a program that allows you to carry out computations in very straightforward manner. It is very useful in creating simulations of neural networks and data visualization .

2) Image Processing Using Matlab :
Matlab and image processing toolbox provide flexible environment to explore design ideas.
They are : 1) Image acquisition toolbox 2) Image processing toolbox.

The Webcam

p4.jpg
Webcam is used to track the user's hand gestures using computer vision based techniques.
Webcam constitutes to the important part of our system.

Colour Markers

2016-15-4--23-53-42.png
Colour markers are the colour tokens used in user's fingers.
Marking the user's fingers with red,green,and blue tokens this helps webcam to recognize the hand gestures from user.

Working of Mouse

p7.jpg
p6.jpg
p3.jpg
Basically it works on following principles :
1) Capturing Real time video.
2) Image Flipping.
3) Conversion Of Flipped Image Into Binary Image.
4) Colour Detection.
5) Conversion Of Gray Scale Image Into Binary Scale Image.
6) Finding Centroid Of An Object.

Tracking Mouse Pointer

2016-15-4--23-55-40.png
Once the coordinate is determined, the mouse driver is accessed and the coordinates are sent to the cursor.
With the help of this coordinates the cursor places itself in the required position. And each time new centroid is determined for new frame the cursor obtains new position creating an effect of tracking .

Performing Clicking Actions

2016-15-4--23-57-38.png
2016-15-4--23-47-57.png
Clicking action is based on simultaneous detection of colours.
For moving of cursor the red colour is detected.
For performing left click the red along with blue colour is detected.
For right click the red along with two stips of blue colour is detected.

Program Execution.

p5.jpg
Refer to the image for program flowchart.
Thats it our wearable gesture mouse is ready to bang on .
Hit like if you like this project.

Here is the link to my youtube demonstration video on GRS MOUSE- https://m.youtube.com/watch?v=e74G_1LW7ro

Also dont forget to vote for this project in 'Beyond the comfort zone' contest on instructables.

Thanks!
Regards
Mayur Yeole