【发布时间】:2019-12-07 21:25:35
【问题描述】:
我想运行我的 opencv3.1 程序,但是当我尝试使用 cv2.VideoCapture 读取文件时显示错误:
错误:(-5:错误参数)CAP_IMAGES:找不到起始编号(在文件名中):./../images/walking.avi in function 'icvExtractPattern'
但是,当我将相机与 cv2.VideoCapture(0) 一起使用时,它可以完美运行。我验证了文件路径并使用了相对路径和绝对路径,但仍然无法正常工作。
我会等你的答案。
非常感谢
【问题讨论】:
标签: python-3.x opencv artificial-intelligence opencv3.1 opencv4