A tiny project codes

by

 

I've developed a tiny project mainly using IPT toolbox. I'm providing it for othhers reference

f=getsnap1
function f=getsnap1
vid = videoinput('winvideo',1,'YUY2_640x480');
set(vid,'ReturnedColorSpace','RGB');
preview(vid);
f=getsnapshot(vid);
closepreview(vid);
end

Contact us