Stereo camera preview in same panel at same time

1 visualizzazione (ultimi 30 giorni)
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);

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by