From a82b98154fdf3c6080f35fe3722d33db35fe5ebd Mon Sep 17 00:00:00 2001 From: hesham Date: Fri, 18 Jan 2019 02:30:19 +0300 Subject: [PATCH] Parenthases --- trainer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trainer.py b/trainer.py index 3e92e13..d72ddbc 100644 --- a/trainer.py +++ b/trainer.py @@ -45,9 +45,9 @@ def addPerson(label, newFileName, oldFileName): face_recognizer = cv2.createLBPHFaceRecognizer() global new if new: - print 'new file. skipping load function' + print ('new file. skipping load function') else: - print 'loading old file' + print ('loading old file') face_recognizer.load(faceFile) except: print('[ Error ] Problem in init/loading LBPHfacerecognizer')