From 6227d71b16602c55a159316a0f72b0b4bf281e7f Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:26:09 +0300 Subject: [PATCH] hands are not faces and faces are not hands --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 6de721a..dc8ac56 100644 --- a/nodes.py +++ b/nodes.py @@ -452,9 +452,9 @@ class ControlNextGetPoses: if include_body: detected_pose['bodies']['candidate'] = detected_pose['bodies']['candidate'] * a + b if include_hand: - detected_pose['faces'] = detected_pose['faces'] * a + b - if include_face: 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) output_pose.append(np.array(im))