hand detection problem
2016-08-23
1 0 0
no vote
Other
Earn points
hi everyone,
i create my detection party using skin color and this code obtains hand and other skin areas(face,neck etc.) but i want only hand, can u help me about this problem; here my code;
vid = videoinput('winvideo', 1, 'YUY2_640x480'); set(vid, 'FramesPerTrigger', Inf); set(vid, 'ReturnedColorspace', 'rgb') vid.FrameGrabInterval =5; start(vid) while(vid.FramesAcquired<=50) imge = getsnapshot(vid); img_orig = getsnapshot(vid); height = size(img_orig,1); width = size(img_orig,2); %Initialize the output images out = img_orig; bin = zeros(height,width); %Convert the image from RGB to YCbCr img_ycbcr = rgb2ycbcr(img_orig); Cb = img_ycbcr(:,:,2); Cr = img_ycbcr(:,:,3); %Detect Skin [r,c,v] = find(Cb>=7
matlab
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment