taking input from two cameras at a same time in Matlab
99 次查看（过去 30 天）
David Tarkowski 2011-5-11
In general working with two cameras is the same as working with a single camera. You create a videoinput object for each device that you wish to capture from and the call start on each device:
vid1 = videoinput('winvideo', 1);
vid2 = videoinput('winvideo', 2);
These devices will be started at roughly the same time, but will not by synchronized due to delays imposed by the operating system and drivers in actually starting them. To synchronize multiple devices precisely, you generally need to use devices that support hardware triggering.
Hassan Mehmood Khan 2017-9-17
i did this to get snapshot from two cams at same time:
% webcamlist identification
'Logitech HD Webcam C270'
Andrei Ursache 2018-6-2
Also refer to the following example which uses Parallel Computing Toolbox with Image Acquisition Toolbox