Wanli
commited on
Commit
·
9464ab9
1
Parent(s):
2965475
Update palm detection model from MediaPipe (2023feb) (#128)
Browse files* update to the latest palm detection model
* quantize palm detection model
* make palm aligned to center when resize
* update benchmark for palm detection
* update benchmark data
* update readme
* update a new quantized model
* update readme
demo.py
CHANGED
|
@@ -91,7 +91,7 @@ def visualize(image, hands, print_result=False):
|
|
| 91 |
|
| 92 |
if __name__ == '__main__':
|
| 93 |
# palm detector
|
| 94 |
-
palm_detector = MPPalmDet(modelPath='../palm_detection_mediapipe/
|
| 95 |
nmsThreshold=0.3,
|
| 96 |
scoreThreshold=0.8,
|
| 97 |
backendId=args.backend,
|
|
|
|
| 91 |
|
| 92 |
if __name__ == '__main__':
|
| 93 |
# palm detector
|
| 94 |
+
palm_detector = MPPalmDet(modelPath='../palm_detection_mediapipe/palm_detection_mediapipe_2023feb.onnx',
|
| 95 |
nmsThreshold=0.3,
|
| 96 |
scoreThreshold=0.8,
|
| 97 |
backendId=args.backend,
|