how can i make a database of the images of hand .

1 view (last 30 days)
hello can anybody give me a direction about how can i make a database of images of hand gestures , and use them to control my robotic arm . i want that when i make a hand gesture in front of the camera , it recognises the most matchable image and give the data to the hardware to make the same gesture.

Accepted Answer

Youssef  Khmou
Youssef Khmou on 26 Feb 2013
hi himanshu,
1.You can contact some universities to send you some Standard databases for hand gestures, doing that, you will not face many problems when processing images because the databases are well constructed with Unique properties( Luminescence, Angles, unique Background,...)
2.Otherwise, i propose to you a fast solution :
Requirements : -USB WeCam .
-Image Acquisition ToolBox .
-->In the Command prompt try this light version :
info=imaqhwinfo('winvideo')
info=info.DeviceInfo
Formats=info.SupportedFormats
Format=Formats(3)
vid=videoinput('winvideo',1,cell2mat(Format));
set(vid,'ReturnedColorSpace','rgb')
preview(vid) % A camera windows starts now
% Start taking Snapshots for Your Hand gestures
x1=getsnapshot(vid);
x2=getsnapshot(vid);
x3=getsnapshot(vid);
%.......
x10=getsnapshot(vid);
% When you finish,
delete(vid)
You have now 10 RGB Snapshots in the Workspace, of your hand movements for further processing .
  2 Comments
sonia carole
sonia carole on 17 Jan 2016
Good Day Himanshu and Youssef KHmou, Please am working in something similar of this project. But mine we will randomly capture images from camera and match with database and give back the results. I do not have any idea hoe to do it Please can help with the code of this hand recognition i can find my way through this thank you. Now am trying to do the matching using CBIR but until so far i am still finding some difficulties.

Sign in to comment.

More Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!