Multiple USB Cameras plugged in, only one found - Image Acquisition Toolbox
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I have 3 PS3EYE usb cameras plugged in. I am able to grab frames from one of the cameras, but I cannot get the toolbox to find the other two.
I have tried imaqreset and rebooting the computer, but it will not find the other two.
Device manager shows:
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/253345/image.png)
How do I get it to see the other two?
Thanks
Greg
0 个评论
采纳的回答
Urmila Rajpurohith
2020-1-10
It seems like the issue is with the identical names of USB cameras connected. You can rename the USB webcams by following below steps.
Here is the instance where I have a test device and USB Video device and I am changing the names and passing them back to the “webcamlist” function so that it’ll assign new names to the usb drivers. Then pass those values to the Image Acquisition Toolbox.
>> webcamlist %gets the device names of web cams connected to the pc
ans = 2×1 cell array
{'USB Video Device'}
{'Webcam Test Device'}
Renaming the 1stdevice
>> webcamlist{1} = 'sony'
webcamlist =
1×1 cell array
{'sony'}
Renaming the 2nddevice
>> webcamlist{2} = 'nikon'
webcamlist =
1×2 cell array
{'sony'} {'nikon'}
Final Camera Devices list will be then:
>> webcamlist %reassigned values
webcamlist =
1×2 cell array
{'sony'} {'nikon'}
Now, since the names are changed, MATLAB will take them as two different variables and won’t override.
1 个评论
Mert Karakaya
2020-3-23
Dear Urmila,
This does not work. I chaged the names of the identical webcams to 'left' and 'right' following your suggestion but, I keep getting The camera did not return a frame for this resolution. error.
更多回答(0 个)
另请参阅
类别
在 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!