Cut And Drag On Path

CutAndDragOnPath

Cuts the masked area from the image, and drags it along the path. If inpaint is enabled, and no bg_image is provided, the cut area is filled using cv2 TELEA algorithm.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (7)

NameTypeRequired
imageIMAGErequired
coordinatesSTRINGrequired
maskMASKrequired
frame_widthINTrequired
frame_heightINTrequired
inpaintBOOLEANrequired
bg_imageIMAGEoptional

Outputs (2)

NameType
imageIMAGE
maskMASK