Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

this means, that the CascadeClassifier did not find the cascade.xml file. either put it into the same place, where you run the python script, or adjust the path. also check again after loading like:

print( faceCascade.empty() )