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库不提供打开指定相机的功能,所以我使用了带有DirectShow的CCameraDS类实现。不幸的是,当我同时打开超过 3 个摄像头时,程序死机了!!!我该怎么办?有没有和我一样的人?
对于多个 USB 摄像头,您需要注意有限的 USB 带宽 - 这是意外视频捕获行为的最可能原因。一定要搜索,这是十几个类似问题的重复。
解决方案可能是降低视频分辨率、帧速率、使用压缩捕获格式、尝试使用不同的集线器或只是切换到非 USB 硬件。