Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 630 Bytes

File metadata and controls

33 lines (23 loc) · 630 Bytes

ComfyUI-SAM3-JSON-Boxes-API v2

Supports these JSON formats:

{ "regions": [{ "x1": 78, "y1": 0, "x2": 312, "y2": 119 }] }
{ "regions": [{ "x1": 78, "y1": 0, "width": 234, "height": 119 }] }
{ "regions": [{ "x": 78, "y": 0, "w": 234, "h": 119 }] }
{ "regions": [{ "x": 78, "y": 0, "width": 234, "height": 119 }] }

The node converts everything into normalized SAM3 box format: center_x, center_y, width, height.

Install folder should be renamed/placed as:

ComfyUI/custom_nodes/ComfyUI-SAM3-JSON-Boxes-API

Search node:

JSON Regions to SAM3 Boxes API