Reputation: 19
import cv2
data = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
returns:
Can't open file: 'haarcascade_frontalface_default.xml' in read mode
I'm new to all this and not quite sure what this error means.
Tried to open haarcascade_frontalface_default.xml
using cv2.CascadeClassifier('haarcascade_frontalface_default.xml'
)
I've looked everywhere. Any suggestions?
Upvotes: 1
Views: 1970