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
A Novel High Step-Up DC–DC Converter for a Microgrid System-SIMULATION IN MATLAB (SIMULINK )

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works