Wwupup
commited on
Commit
·
7fb916a
1
Parent(s):
e83641f
update yunet to v2 (#151)
Browse files
demo.py
CHANGED
|
@@ -57,7 +57,7 @@ if __name__ == '__main__':
|
|
| 57 |
backendId=backend_id,
|
| 58 |
targetId=target_id)
|
| 59 |
# Instantiate YuNet for face detection
|
| 60 |
-
detector = YuNet(modelPath='../face_detection_yunet/
|
| 61 |
inputSize=[320, 320],
|
| 62 |
confThreshold=0.9,
|
| 63 |
nmsThreshold=0.3,
|
|
|
|
| 57 |
backendId=backend_id,
|
| 58 |
targetId=target_id)
|
| 59 |
# Instantiate YuNet for face detection
|
| 60 |
+
detector = YuNet(modelPath='../face_detection_yunet/face_detection_yunet_2023mar.onnx',
|
| 61 |
inputSize=[320, 320],
|
| 62 |
confThreshold=0.9,
|
| 63 |
nmsThreshold=0.3,
|