Dual webcam image acquisition
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (3)
ht yang
on 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 Comment
Obed Rios
on 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.
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!