learnopencv
learnopencv copied to clipboard
why the input file name must include numbers?
Hi @vikasgupta-github I found this error when I run AgeGender :
/opencv4/opencv-4.x/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): sample-output.jpeg in function 'icvExtractPattern'
why the input file name must include numbers?
Sounds like gstreamer's "multifilesrc" is used underneath, expecting a series of files: From "https://gstreamer.freedesktop.org/documentation/multifile/multifilesrc.html?gi-language=c":
gst-launch-1.0 multifilesrc location="img.%04d.png" ...