Parenthases
This commit is contained in:
parent
4441616ef1
commit
a82b98154f
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user