mask_detection视频文件识别出错
Created by: Nasturtium-yyc
输入video_path进行视频文件识别,出现报错: C:\Windows\System32\PaddleHub\demo\mask_detection\python\pyramidbox_lite_server_mask [ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (116) cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): C:\Windows\System32\PaddleHub\demo\mask_detection\python\videos in function 'cv::icvExtractPattern'
Traceback (most recent call last): File "infer.py", line 277, in predict_video(args) File "infer.py", line 267, in predict_video print("include read time:", (end_time - start_time) / index) ZeroDivisionError: float division by zero
不过发现result文件夹中出现了测试video的文件,但是打不开。