taking input from two cameras at a same time in Matlab
Mostrar comentarios más antiguos
how can i use and take input from two cameras at the same time?
Respuesta aceptada
Más respuestas (3)
Hassan Mehmood Khan
el 17 de Sept. de 2017
i did this to get snapshot from two cams at same time:
% webcamlist identification
clc;
clearvars;
webcamlist
cam=webcam;
cam2=webcam(2);
cam.AvailableResolutions;
cam2.AvailableResolutions;
cam.Resolution='640x480';
cam2.Resolution='640x480';
% preview(cam);
% preview(cam2);
img=snapshot(cam);
img2=snapshot(cam2);
img3=snapshot(cam);
img4=snapshot(cam2);
figure;
subplot(3,3,1);
imshow(img3);
subplot(3,3,2);
imshow(img4);
output
ans =
'Webcam C170'
'Logitech HD Webcam C270'
1 comentario
Thao Pham
el 25 de Mzo. de 2020
It work, thank you
Andrei
el 2 de Jun. de 2018
1 voto
Also refer to the following example which uses Parallel Computing Toolbox with Image Acquisition Toolbox
Walter Roberson
el 9 de Mayo de 2011
0 votos
Categorías
Más información sobre GigE Vision Hardware en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!