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() )