修改椭圆尺寸

This commit is contained in:
Tian jianyong 2025-12-28 18:10:26 +08:00
parent 0297bfdc5d
commit fdf2f311f1

View File

@ -1836,7 +1836,7 @@ class FaceRecognitionSystem:
center_x = w // 2
center_y = h // 2
# 椭圆参数:中心点、宽半轴、高半轴、旋转角度、起始角度、结束角度
cv2.ellipse(display_frame, (center_x, center_y), (180, 240), 0, 0, 360, (0, 200, 0), 2)
cv2.ellipse(display_frame, (center_x, center_y), (150, 200), 0, 0, 360, (0, 200, 0), 2)
# 添加提示文字(使用中文支持函数)
guide_text = "请将脸部对准圆圈内"