Date: Nov 15, 2012 8:50 AM
Author: kinor
Subject: change webcam resolution
Hi all,
the attempt to use the image acquisition toolbox for using a webcam was really fast:
video = videoinput('winvideo',1);
preview(video)
foto = getsnapshot(video);
however the desired resolution was not achieved.
how is it possible to change the resolution?
k = imaqhwinfo('winvideo');
k.DeviceInfo.SupportedFormats
gives me the desired Format:
'RGB24_1600x1200'
the attempt to use it fails:
video = videoinput('winvideo',1, 'VideoResolution', [1600 1200]);
Error using videoinput (line 319)
The FORMAT specified is not supported by this device. See IMAQHWINFO(ADAPTORNAME).
thanks for any hint
kinor