Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Video from IP camera can't find starting number cv::icvExtractPattern

Hello, I have working C++ project for openCV 3.4.7 with GPU and CPU object detection with USB camera. Now I try use IP camera via http request. In openCV version 4.1.1 it's works but in 3.4.7 I get error:

OpenCV(3.4.7) Error: Bad argument (CAP_IMAGES: can't find starting number (in the name of file): in cv::icvExtractPattern, file C:\openCV\opencv-3.4.7\modules\videoio\src\cap_images.cpp, line 246 [ERROR:0] VIDEOIO(cvCreateFileCapture_Images(filename.c_str())): raised OpenCV exception:

OpenCV(3.4.7) C:\openCV\opencv-3.4.7\modules\videoio\src\cap_images.cpp:246: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): in function 'cv::icvExtractPattern'

This is camera from android app "IP webcam" and "DroidCam".

I use this camera with python scirpt and via web browser and it works.

I looked for this error but i didn't found any information about it.

Regards, Adrian