From b5591ff18637c330ed557e8c59bee6129eeccb3d Mon Sep 17 00:00:00 2001 From: Arpit Solanki Date: Thu, 7 Sep 2017 12:14:58 +0530 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a54136b..97a9b74 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.LBPHFaceRecognizer_create() +recognizer = cv2.face.createLBPHFaceRecognizer() count=0 def detect_people(frame):