Skip to content

Commit

Permalink
optimize face emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Feb 25, 2025
1 parent ed902b4 commit f8ce8ff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/doc/en/vision/face_emotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ detect_conf_th = 0.5
detect_iou_th = 0.45
emotion_conf_th = 0.5
max_face_num = -1
crop_scale = 1.2
crop_scale = 0.9

# detect face model
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff=False)
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/zh/vision/face_emotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ detect_conf_th = 0.5
detect_iou_th = 0.45
emotion_conf_th = 0.5
max_face_num = -1
crop_scale = 1.2
crop_scale = 0.9

# detect face model
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff = False)
Expand Down
2 changes: 1 addition & 1 deletion examples/vision/ai_vision/nn_face_emotion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
detect_iou_th = 0.45
emotion_conf_th = 0.5
max_face_num = -1
crop_scale = 1.2
crop_scale = 0.9

# detect face model
detector = nn.YOLOv8(model="/root/models/yolov8n_face.mud", dual_buff = False)
Expand Down
2 changes: 1 addition & 1 deletion projects/app_face_emotion/app.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: face_emotion
name: Face Emotion
name[zh]: 人脸情绪
version: 1.0.0
version: 1.0.1
icon: icon.png
author: neucrack@Sipeed Ltd
desc: Detect face emotion
Expand Down
2 changes: 1 addition & 1 deletion projects/app_face_emotion/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def main(disp):
detect_iou_th = 0.45
emotion_conf_th = 0.5
max_face_num = -1
crop_scale = 1.2
crop_scale = 0.9

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

0 comments on commit f8ce8ff

Please sign in to comment.