DWposeDeluxe PoseResize

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.

Pack: ComfyUI_DWposeDeluxe

custom_nodes.ComfyUI_DWposeDeluxe

Inputs (13)

NameTypeRequired
pose_keypointsPOSE_KEYPOINTrequired
crop_to_poseBOOLEANrequired
widthINTrequired
heightINTrequired
resize_methodCOMBOrequired
leftINTrequired
rightINTrequired
topINTrequired
bottomINTrequired
extra_paddingINTrequired
x_offsetINTrequired
y_offsetINTrequired
divisible_byINTrequired

Outputs (1)

NameType
pose_keypointsPOSE_KEYPOINT