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/
|
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,
|