Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我习惯于在 OpenCV 中使用罗技相机。显然,VideoCapture( ) 函数将 /dev/video 中的摄像头设备编号作为参数。但是,当使用 Ueye 相机时,设备的条目是 /dev/ueye 而不是 /dev/video* 。有没有一种简单的方法可以从 ueye 相机中检索视频流?最好保留 VideoCapture 功能。
通常你只需要使用像 0 这样的 id 来调用捕获。
VideoCapture(0)在 Linux 和 Windows 上为我工作
VideoCapture(0)