Clear Filters
Clear Filters

Stereo camera preview in same panel at same time

1 view (last 30 days)
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);

Answers (0)

Community Treasure Hunt

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

Start Hunting!