提交 99e3939d 编写于 作者: P Peter Rekdal Khan-Sunde 提交者: GitHub

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

上级 c97242ce
......@@ -51,7 +51,7 @@ if __name__ == '__main__':
# Instantiate SFace for face recognition
recognizer = SFace(modelPath=args.model, disType=args.dis_type, backendId=args.backend, targetId=args.target)
# Instantiate YuNet for face detection
detector = YuNet(modelPath='../face_detection_yunet/face_detection_yunet_2021dec.onnx',
detector = YuNet(modelPath='../face_detection_yunet/face_detection_yunet_2022mar.onnx',
inputSize=[320, 320],
confThreshold=0.9,
nmsThreshold=0.3,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册