Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You forgot to add plural not singular. haarcascades

face_cascade = cv2.CascadeClassifier('data/haarcascades/haarcascade_frontalface_alt2.xml')