harshagarwal10 / abandoned-object-detection

Detection of abandoned objects in a video frame
31 stars 7 forks source link

Error executing the file main.py #3

Closed jmudy closed 3 years ago

jmudy commented 4 years ago

When I run the code I get the following error and I don't know how to fix it:

(base) jesus@jesus-GL552VW:~/repos/abandoned-object-detection$ python main.py [ERROR:0] global /io/opencv/modules/videoio/src/cap.cpp (116) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.2.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /home/jesus/repos/abandoned-object-detectionvideo.avi in function 'icvExtractPattern'

jmudy commented 4 years ago

[solved]