Hi everyone, I want to extract the frame from my running webcam every 3 second I want to extract the frame and save it into variable to process it later so how I can do it please ?? I did this but not taking picture as running video ..
vid = videoinput('winvideo',2);set(vid, 'FramesPerTrigger', Inf);set(vid, 'ReturnedColorspace', 'rgb');for i=1:10 data = getsnapshot(vid); figure(i); imshow(data);end
Best Answer