peterks commited on
Commit
6c778a5
·
1 Parent(s): 62917b7

Bugfix: Incorrect path to face detection model. (#47)

Browse files
models/face_recognition_sface/demo.py CHANGED
@@ -51,7 +51,7 @@ if __name__ == '__main__':
51
  # Instantiate SFace for face recognition
52
  recognizer = SFace(modelPath=args.model, disType=args.dis_type, backendId=args.backend, targetId=args.target)
53
  # Instantiate YuNet for face detection
54
- detector = YuNet(modelPath='../face_detection_yunet/face_detection_yunet_2021dec.onnx',
55
  inputSize=[320, 320],
56
  confThreshold=0.9,
57
  nmsThreshold=0.3,
 
51
  # Instantiate SFace for face recognition
52
  recognizer = SFace(modelPath=args.model, disType=args.dis_type, backendId=args.backend, targetId=args.target)
53
  # Instantiate YuNet for face detection
54
+ detector = YuNet(modelPath='../face_detection_yunet/face_detection_yunet_2022mar.onnx',
55
  inputSize=[320, 320],
56
  confThreshold=0.9,
57
  nmsThreshold=0.3,