python3使用opencv的VideoCapture读取视频文件遇到Error opening file,要怎么办?

2025-04-08 11:13:04
推荐回答(1个)
回答1:

Thanks for your share^

a=r"D:\Desktop\py\1.avi"   #another way to fix the warning

a=r"D:\Desktop\py\1.avi".replace('\\','/')   #this may be better