Points Editor

PointsEditor

# WORK IN PROGRESS Do not count on this as part of your workflow yet, probably contains lots of bugs and stability is not guaranteed!! ## Graphical editor to create coordinates **Shift + click** to add a positive (green) point. **Shift + right click** to add a negative (red) point. **Ctrl + click** to draw a box. **Right click on a point** to delete it. Note that you can't delete from start/end of the points array. To add an image select the node and copy/paste or drag in the image. Or from the bg_image input on queue (first frame of the batch). **THE IMAGE IS SAVED TO THE NODE AND WORKFLOW METADATA** you can clear the image from the context menu by right clicking on the canvas

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (10)

NameTypeRequired
points_storeSTRINGrequired
coordinatesSTRINGrequired
neg_coordinatesSTRINGrequired
bbox_storeSTRINGrequired
bboxesSTRINGrequired
bbox_formatCOMBOrequired
widthINTrequired
heightINTrequired
normalizeBOOLEANrequired
bg_imageIMAGEoptional

Outputs (5)

NameType
positive_coordsSTRING
negative_coordsSTRING
bboxBBOX
bbox_maskMASK
cropped_imageIMAGE