diff --git a/main.py b/main.py index e154c19..a54136b 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ face_cascade = cv2.CascadeClassifier(cascade_path) hog = cv2.HOGDescriptor() hog.setSVMDetector(cv2.HOGDescriptor_getDefaultPeopleDetector()) -recognizer = cv2.face.createLBPHFaceRecognizer_create() +recognizer = cv2.face.LBPHFaceRecognizer_create() count=0 def detect_people(frame):