Detect multiple USB cameras
조회 수: 12 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Urmila Rajpurohith
2019년 8월 2일
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
Greg Klein
2019년 12월 6일
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
2019년 12월 7일
댓글 수: 2
Greg Klein
2019년 12월 7일
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?
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!