Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit1997 authored Sep 2, 2017
1 parent 8721ea9 commit ea6e8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ea6e8fa

Please sign in to comment.