设备路径和 USB 设备
我在 Windows 7 上使用 OpenCV 和 videoInput 库。我的电脑连接了更多网络摄像头,并且它们的类型相同。 VideoInput 库可以根据设备路径或友好名称来区分它们;不幸的是我不能使用后者,因为它对所有人来说都是相同的。我想知道 C++ 中是否有一种简单的方法来扫描我的所有 USB 设备,并将每个设备的设备路径关联到 USB 3 内的位置,即例如
设备路径 -> 。 root 1,端口 4
我提前谢谢你! 最好的 G。
I am using OpenCV and videoInput library on Windows 7. My PC has more webcams connected and they are of the same type. VideoInput library can differentiate them according to their device path or by their friendly name; unfortunately I cannot use the latter, since it is identical for all. I wonder if there is a simple way in C++ to scan all my USB devices and associate for each of them its device path to the position inside USB three, namely for example
device path -> root 1, port 4
I thank you in advance!
Best
G.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论