Stereo camera preview in same panel at same time

preview two webcams in the same figure at same Time
C = webcamlist;
if length(C)>2
fprintf('All three WebCam is Working' );
else
fprintf('Not All three WebCam is Working' );
end
load('webcamsSceneReconstruction.mat');
vid1 = videoinput('macvideo', 1);
vid2 = videoinput('macvideo', 2);
start([vid1 vid2]);
% Preview(vid1,vid2) in the same panel at same time
img1 = getsnapshot(vid1);
img2 = getsnapshot(vid2);

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by