修改画线
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user