Detect multiple USB cameras
17 views (last 30 days)
Show older comments
I am trying to acquire movies with several identical USB cameras (at least two), but Matlab only detects one at a time.
imaqhwinfo('winvideo')
finds one of the cameras only, but if I unplug the one that is currently detected, and rerun imaqhwinfo, then the other one just "replaces it" (without changing its USB port). It is also the same with the Image Acquisition Toolbox GUI.
When both cameras are plugged, they both show up in Windows' device manager (but they have the exact same name).
Is there a way to get Matlab to detect more than one of these cameras?
Thank you
0 Comments
Answers (2)
Urmila Rajpurohith
on 2 Aug 2019
Hi;
You can follow the below steps for MATLAB to detect multiple cameras
1.first you connect single camera and execute
“imaqwinfo”
2.now connect the second camera
To force the toolbox to search for new hardware that might have been installed while MATLAB was running, use
“imaqreset”.
You can refer to this documentation link for more details on Setting Up Image Acquisition Hardware:
2 Comments
Greg Klein
on 6 Dec 2019
Hi Jeremy,
Did you ever get this to work? I am using two ps3eyes and I cannot see the second one either
Thanks
Greg
Jeremy
on 7 Dec 2019
2 Comments
Greg Klein
on 7 Dec 2019
Yea, i've still not made it work. Maybe someone from Mathworks could weigh in?
What was the second camera you ended up using, if you dont mind me asking?
See Also
Categories
Find more on MATLAB Support Package for IP Cameras 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!