How to use multiple USB webcam in Matlab working simutaneously?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jianhong Mei
el 11 de Mayo de 2012
Comentada: Walter Roberson
el 14 de Mzo. de 2016
I would like to capture the live video with two USB webcams (Philips SPC 900NC), but I found that they cannot work simutaneously on my laptop. Either of the two USB webcams could work alone or work with another webcam (mounted on my laptop originally).
When I use the simulink block 'From video device', Matlab gave the error message with ' Multiple VIDEOINPUT objects cannot access the same device simultaneously.'. Then I checked the video input device with command 'imaqhwinfo', only one of the USB Philips webcam could be detected.
I would like to know that,
1. what's the reason of this situation? is it because the hardware limitation (USB bus bandwidth) or just matlab video object don't support same multiple video devices?
2. what's the solution of this? could anyone give me some suggestions?
thank you very much.
0 comentarios
Respuesta aceptada
Walter Roberson
el 11 de Mayo de 2012
This is not a bandwidth problem, since a camera that is detected but not in active use consumes (almost) no bandwidth.
There is also no USB limitation about having multiple cameras on the same bus.
There are potential difficulties about getting acceptable frame rates when the two cameras are on the same USB bus.
I do not know why only one of the cameras would be detected. Which MATLAB version are you using?
Más respuestas (1)
Danilo Sabino
el 10 de Dic. de 2014
Hi Walter, I am using 4 webcams simultaneously, however, I bought a USB HUB of 4 channels and I can not see a video preview using only 2 webcams that are plugged in the USB HUB (same USB bar).
Can you use 2 webcams in the same USB port? Because I just can use the webcams simultaneously in different port.
Thank you
2 comentarios
Chau Trung
el 14 de Mzo. de 2016
Editada: Chau Trung
el 14 de Mzo. de 2016

I have same problem. Can you help me ? Please.
Walter Roberson
el 14 de Mzo. de 2016
User posted same question as http://www.mathworks.com/matlabcentral/answers/273344-how-to-use-multiple-usb-webcam-in-matlab
Ver también
Categorías
Más información sobre C4ISR en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!