JustinePP commited on
Commit
c5eb180
·
verified ·
1 Parent(s): 8e19c11

Update modeles/insightface_facialRecognition_livenessVerification.py

Browse files
modeles/insightface_facialRecognition_livenessVerification.py CHANGED
@@ -53,8 +53,8 @@ def verify_face_and_liveness(image_path, template_path, threshold=0.5):
53
 
54
  def verify_identity(image_path, template_path) :
55
  result = DeepFace.verify(
56
- img1_path="/kaggle/working/frames_dataset/default/IMG_3955_frame005.jpg",
57
- img2_path="/kaggle/working/frames_dataset_test/default/IMG_3957_frame006.jpg",
58
  enforce_detection=False,
59
  anti_spoofing=True
60
  )
 
53
 
54
  def verify_identity(image_path, template_path) :
55
  result = DeepFace.verify(
56
+ image_path,
57
+ template_path,
58
  enforce_detection=False,
59
  anti_spoofing=True
60
  )