aqeelanwar / SocialDistancingAI

Using Python to monitor social distancing
MIT License
105 stars 71 forks source link

OpenCV(4.2.0) CAP_IMAGES: can't find starting number #18

Open chuasonglin opened 4 years ago

chuasonglin commented 4 years ago

[ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (415) cv::VideoWriter::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): pedestrian_detect.avi in function 'cv::icvExtractPattern'

[ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (415) cv::VideoWriter::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): pedestrian_bird.avi in function 'cv::icvExtractPattern'

Anyone facing this problem? Would need some help here. Thank you

renziver commented 4 years ago

were you able to resolve this? @chuasonglin