Dual webcam image acquisition

2 vues (au cours des 30 derniers jours)
Brendan
Brendan le 31 Mar 2012
Commenté : Obed Rios le 16 Sep 2021
Hi All,
I have two identical usb webcams (Philips SPZ2000) and am trying to access them simultaneously using the MATLAB image acquisition toolbox. I also have a webcam built into my laptop.
MATLAB can see both of the webcams, and can capture data from them individually without any problems. However, when I want to preview both of them simultaneously I get the following error:
winvideo: Image acquisition device is not accessible.
Insufficient system resources exist to complete the requested
service.
Make sure no other objects or applications are accessing the same
device.
If I try to use one of the Phillips webcams at the same time as the one built-in to my laptop then I don't get this error. All three webcams use the winvideo adaptor.
Could someone please advise me how to get around this problem?
Regards,
B

Réponses (3)

ht yang
ht yang le 24 Fév 2017
I met the same problem. I finally solved it by using 2 single USB cables to connect each webcam. If you used a hub, the problem might occur. Maybe you can try to use 2 USB cables instead, it may help.
  1 commentaire
Obed Rios
Obed Rios le 16 Sep 2021
Indeed, I had the same problem because two cameras connected to a hub. Later, I connected both cameras to a single port, and preview() works without problem.
Thank you.

Connectez-vous pour commenter.


Jianhong Mei
Jianhong Mei le 14 Mai 2012
I also have this problem, expecting the answers.

omar mohamed
omar mohamed le 12 Août 2019
i am facing the same problem someone please help

Community Treasure Hunt

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

Start Hunting!

Translated by