Dual webcam image acquisition

2 Ansichten (letzte 30 Tage)
Brendan
Brendan am 31 Mär. 2012
Kommentiert: Obed Rios am 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

Antworten (3)

ht yang
ht yang am 24 Feb. 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 Kommentar
Obed Rios
Obed Rios am 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.

Melden Sie sich an, um zu kommentieren.


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

omar mohamed
omar mohamed am 12 Aug. 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