hands are not faces and faces are not hands

This commit is contained in:
kijai
2024-08-15 11:26:09 +03:00
parent 818b62a444
commit 6227d71b16
+2 -2
View File
@@ -452,9 +452,9 @@ class ControlNextGetPoses:
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: if include_hand:
detected_pose['faces'] = detected_pose['faces'] * a + b
if include_face:
detected_pose['hands'] = detected_pose['hands'] * a + b detected_pose['hands'] = detected_pose['hands'] * a + b
if include_face:
detected_pose['faces'] = detected_pose['faces'] * 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))