Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

to download these files directly on the opencv github.

that's probably the failure. the error clearly shows, that the file exists, but that it is empty (0 bytes)

please check your folder again, and to download files from github you need a raw url, not a blob, like:

https://github.com/opencv/opencv/raw/master/data/haarcascades/haarcascade_frontalface_alt.xml

to download these files directly on the opencv github.

that's probably the failure. the error clearly shows, that the file exists, but that it is empty (0 bytes)

please check your folder again, and to download files from github you need a raw url, not a (html) blob, like:

https://github.com/opencv/opencv/raw/master/data/haarcascades/haarcascade_frontalface_alt.xmlhttps://raw.githubusercontent.com/opencv/opencv/master/data/haarcascades/haarcascade_frontalface_alt.xml