Thursday 28 November 2013

Accessing webcam via MATLAB

imaqhwinfo
"Image Acquisition Hardware Info" tells you what cameras you have available.

vid = videoinput('macvideo', 1, 'YCbCr422_1280x720')
Specify the video channel and the output format.

preview(vid)
Display the video stream.

No comments:

Post a Comment