Parenthases

This commit is contained in:
hesham 2019-01-18 02:30:19 +03:00
parent 4441616ef1
commit a82b98154f

View File

@ -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')