Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your program is running on windows, but you try to use a linux path to the cascade xml file, so it was not loaded.

try to replace the

/home/user_name/.local/lib/python3.6/

part with the path to the python version you really use here. (and ofc. check if the file is there!)

you'll get this error, until you get the path to the haarcascade_frontalface_default.xml right.