Nodes/comfyui-dsocr-bbox/GLM BBox JSON Protected Expand
ComfyUI Node

GLM BBox JSON Protected Expand

Interprets A and B with independent coordinate orders, expands every B bbox by image-size percentages, then removes all protected A regions.

By maomaozi·Created about a month ago·Updated about a month ago· 0
GLM BBox JSON Protected Expand
  • image
  • bbox_json
bbox_json_a
bbox_json_b
horizontal_expand0.0
vertical_expand0.0
safety_margin0
coord_base0
coordinate_order_a
coordinate_order_b
Categorydsocr_bbox/GLM Vision BBox

Inputs (9)

NameTypeDefaultDescription
imageIMAGE
bbox_json_aSTRING
bbox_json_bSTRING
horizontal_expandFLOAT0.00–100
vertical_expandFLOAT0.00–100
safety_marginINT00–10000
coord_baseINT00–100000
coordinate_order_aCOMBO2 options: x1,y1,x2,y2, y1,x1,y2,x2
coordinate_order_bCOMBO2 options: x1,y1,x2,y2, y1,x1,y2,x2

Outputs (1)

NameTypeDescription
bbox_jsonSTRING