Nodes/PoseCapture/Pad Still to Pose
ComfyUI Node

Pad Still to Pose

Crops the figure out of a side still on plain white, scales it to the pose figure's height and pastes it on a white 768x768 canvas, so SCAIL starts from the same framing as pose frame 0. cx = horizontal centre, y0/y1 = top/bottom of the figure on the 768 canvas. keep_size: no resampling, a bigger square canvas instead. mode 'auto' reads cx/y0/y1 off pose frame 0 (connect pose_frames) with the head/feet margins.

By Eloque·Created about 9 hours ago·Updated about 9 hours ago· 0
Pad Still to Pose
  • image
  • pose_frames
  • padded
  • info
◄cx384.0►
◄y040►
◄y1691►
◄keep_sizefalse►
◄modemanual►
◄head_margin0.067►
◄feet_margin0.022►
CategoryPosed Sprite Sheet

Inputs (9)

NameTypeDefaultDescription
imageIMAGEside still, figure on plain white
cxFLOAT384.0-4096–4096—
y0INT40-4096–4096—
y1INT691-4096–4096—
keep_sizeBOOLEANfalse—
modeCOMBOmanual2 options: manual, auto from pose frame 0
pose_framesoptIMAGEonly for mode auto: the pose frames (frame 0 is used)
head_marginoptFLOAT0.0670–1—
feet_marginoptFLOAT0.0220–1—

Outputs (2)

NameTypeDescription
paddedIMAGE—
infoSTRING—