how to capture an image using usb webcamera in matlab

Photo of author

By Jackson Taylor

YouTube video
code 
imaqhwinfo
imaqhwinfo('winvideo')
imaqhwinfo('winvideo',1)
vid = videoinput('winvideo',1,'RGB24_640x480');
frame=getsnapshot(vid);
imshow(frame)
See also
12V TO 24V BOOST CONVERTER SIMULATION USING FUZZY LOGIC IN MATLAB SIMULINK (CLOSED LOOP)