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
2 | No.2 Revision |
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