Unverified 提交 1b6dee52 authored 作者: Shachar Honig's avatar Shachar Honig 提交者: GitHub

Fix typo nodes

include_hand was swapped with include_face
上级 f9f02386
...@@ -463,9 +463,9 @@ class MimicMotionGetPoses: ...@@ -463,9 +463,9 @@ class MimicMotionGetPoses:
for detected_pose in detected_poses_np_list: for detected_pose in detected_poses_np_list:
if include_body: if include_body:
detected_pose['bodies']['candidate'] = detected_pose['bodies']['candidate'] * a + b detected_pose['bodies']['candidate'] = detected_pose['bodies']['candidate'] * a + b
if include_hand:
detected_pose['faces'] = detected_pose['faces'] * a + b
if include_face: if include_face:
detected_pose['faces'] = detected_pose['faces'] * a + b
if include_hand:
detected_pose['hands'] = detected_pose['hands'] * a + b detected_pose['hands'] = detected_pose['hands'] * a + b
im = draw_pose(detected_pose, height, width, include_body=include_body, include_hand=include_hand, include_face=include_face) im = draw_pose(detected_pose, height, width, include_body=include_body, include_hand=include_hand, include_face=include_face)
output_pose.append(np.array(im)) output_pose.append(np.array(im))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论