OpenCV 4 TypeError: Expected cv::UMat for argument ‘labels’
I am writing a facial recognition program and I keep getting this error when I try to train my recognizer TypeError: Expected cv::UMat for argument ‘labels’ my code is def detect_face(img): …