Can Anybody Please tell me how to capture an image in MATLAB after every pre-determined delay from the web-cam? Its really important please help.
2 views (last 30 days)
David Sanchez on 8 Aug 2013
you need to use the built-in function getsnapshot:
obj = videoinput('matrox', 1);
while 1 % endless loos
%Acquire and display a single frame of data.
frame = getsnapshot(obj); % take an image
image(frame); % show the image
pause(5); % wait for 5 seconds