Nodes/ComfyUI_DWposeDeluxe/DWposeDeluxe PoseResize
ComfyUI Node

DWposeDeluxe PoseResize

<div id="dwpdlx_short_desc">Rescales, crops and pads pose keypoint coordinates.</div> **Function:** Loss-less rescale, crop, move and add padding to pose keypoint coordinates. ### Inputs - **pose_keypoints:** The keypoint data to resize. ### Parameters - **width:** Initial width re-scale for the pose content. - **height:** Initial height re-scale for the pose content. - **resize_method:** (stretch,crop/pad) Type of canvas transform. - **left, right, top, bottom:** Specific padding for each side. - **extra_padding:** Uniform padding added to all sides. - **x_offset:** Moves all keypoints left or right. - **y_offset:** Moves all keypoints up or down. - **divisible_by:** Rounds target W and H up to nearest multiple of value. ### Outputs - **pose_keypoints:** The rescaled and padded keypoint data. ### Notes - Use '0' in either W or H to keep original canvas aspect ratio. - Negative padding values work as cropping.

By hobinrude·Created 9 months ago·Updated 8 months ago· 10
DWposeDeluxe PoseResize
  • pose_keypoints
  • pose_keypoints
crop_to_posefalse
width0
height0
resize_method
left0
right0
top0
bottom0
extra_padding0
x_offset0
y_offset0
divisible_by2
CategoryDWposeDeluxe

Inputs (13)

NameTypeDefaultDescription
pose_keypointsPOSE_KEYPOINT
crop_to_poseBOOLEANfalse
widthINT0
heightINT0
resize_methodCOMBO2 options: stretch, pad/crop
leftINT0-8192–8192
rightINT0-8192–8192
topINT0-8192–8192
bottomINT0-8192–8192
extra_paddingINT0-8192–8192
x_offsetINT0-8192–8192
y_offsetINT0-8192–8192
divisible_byINT21–64

Outputs (1)

NameTypeDescription
pose_keypointsPOSE_KEYPOINT