Skip to content

Commit f8ce8ff

Browse files
committed
optimize face emotion
1 parent ed902b4 commit f8ce8ff

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/doc/en/vision/face_emotion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ detect_conf_th = 0.5
4545
detect_iou_th = 0.45
4646
emotion_conf_th = 0.5
4747
max_face_num = -1
48-
crop_scale = 1.2
48+
crop_scale = 0.9
4949

5050
# detect face model
5151
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff=False)

docs/doc/zh/vision/face_emotion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ detect_conf_th = 0.5
4747
detect_iou_th = 0.45
4848
emotion_conf_th = 0.5
4949
max_face_num = -1
50-
crop_scale = 1.2
50+
crop_scale = 0.9
5151

5252
# detect face model
5353
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff = False)

examples/vision/ai_vision/nn_face_emotion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
detect_iou_th = 0.45
55
emotion_conf_th = 0.5
66
max_face_num = -1
7-
crop_scale = 1.2
7+
crop_scale = 0.9
88

99
# detect face model
1010
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff = False)

projects/app_face_emotion/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id: face_emotion
22
name: Face Emotion
33
name[zh]: 人脸情绪
4-
version: 1.0.0
4+
version: 1.0.1
55
icon: icon.png
66
author: neucrack@Sipeed Ltd
77
desc: Detect face emotion

projects/app_face_emotion/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main(disp):
1818
detect_iou_th = 0.45
1919
emotion_conf_th = 0.5
2020
max_face_num = -1
21-
crop_scale = 1.2
21+
crop_scale = 0.9
2222

2323
# detect face model
2424
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff = False)

0 commit comments

Comments
 (0)