cv2.CAP_DSHOW
时间: 2023-10-10 22:12:07 浏览: 292
cv2.CAP_DSHOW是OpenCV中的一个参数,用于指定在使用cv2.VideoCapture()函数打开摄像头时使用DirectShow作为后端。DirectShow是Microsoft Windows平台上的多媒体框架,用于处理音频和视频数据。通过指定cv2.CAP_DSHOW参数,可以保证OpenCV在打开摄像头时与Dshow相关的配置和摄像头顺序保持一致,以解决与dshow相关的问题。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Dshow Capture](https://download.csdn.net/download/mhjcumt/4890362)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [opencv打开摄像头与DShow相关](https://blog.csdn.net/martinkeith/article/details/89383640)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文