📌  相关文章
📜  [警告:0] 全局 C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wwma2wne\o pencv\modules\videoio\src\cap_msmf.cpp (677) CvCapture_MSMF::initStream 失败set mediaType (stream 0, (640x480 @ 30) MFVideoFormat_RGB24(codec not found) 代码示例

📅  最后修改于: 2022-03-11 14:47:16.877000             🧑  作者: Mango

代码示例1
The following code resolved this issue for me:

video = cv2.VideoCapture(0,cv2.CAP_DSHOW)