修改画线

This commit is contained in:
xsl
2026-06-23 22:29:41 +08:00
parent 8cd44848d6
commit 85f1ca521d
3 changed files with 164 additions and 84 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ async def _face_measure_impl(image_file, image_url, image_base64):
# 8. 测量 + 标注图
result = measure_face(landmarks, hair_mask, w, h, head_pose=head_pose)
annotated = create_annotated_image(image, result)
annotated = create_annotated_image(image, result, hair_mask=hair_mask)
buf = BytesIO()
annotated.save(buf, format="PNG")