Nodes/PoseCapture/Fit Track to Character
ComfyUI Node

Fit Track to Character

Re-proportions a source skeleton track to a character: every bone keeps its direction per frame and takes the character's bone length (measured on the character's DWPose keypoints), the move is placed on a canvas of width 'canvas' and height 1024 + pad_top, and the hips are held at hip_x (fixed_shift: one shift for the whole clip, for walks). Character keypoints: connect a DWPose POSE_KEYPOINT, or give the keypoints json file (relative to ComfyUI/input).

By Eloque·Created about 9 hours ago·Updated about 9 hours ago· 0
Fit Track to Character
  • track
  • char_keypoints
  • fitted_track
  • check
  • fit_info
◄char_keypoints_jsonscail_cop/cop/cop_keypoints.json►
◄canvas768►
◄hip_x384►
◄fixed_shiftfalse►
◄pad_top0►
◄scale_frame0►
CategoryPosed Sprite Sheet

Inputs (8)

NameTypeDefaultDescription
trackPSS_SCAIL_TRACKsource track (needs keypoints, feet and contact)
char_keypoints_jsonSTRINGscail_cop/cop/cop_keypoints.jsonused when char_keypoints is not connected
canvasINT76864–8192canvas width; the height is 1024 + pad_top
hip_xFLOAT384-8192–8192—
fixed_shiftBOOLEANfalseone shift for every frame (walks keep the feet locked)
pad_topINT00–8192extra canvas above the 1024 px (moves that rise high)
scale_frameINT00–100000a STANDING frame for clips that start crouched
char_keypointsoptPOSE_KEYPOINTDWPose output of the character picture

Outputs (3)

NameTypeDescription
fitted_trackPSS_SCAIL_TRACK—
checkIMAGE—
fit_infoSTRING—