ComfyUI Node
RapidOCR JSON Polygon Extend
Expands each RapidOCR polygon outward independently, optionally keeps new expansion away from image edges, and preserves JSON metadata.
RapidOCR JSON Polygon Extend
- image
- json_data
◄json_data—►
◄expand8►
◄image_edge_margin0►
◄image_width0►
◄image_height0►
◄coord_base0►
◄clip_to_imagetrue►
CategoryRapidOCR
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| json_data | STRING | — | |
| expand | INT | 80–10000 | — |
| image_edge_margin | INT | 00–10000 | — |
| image_width | INT | 00–100000 | — |
| image_height | INT | 00–100000 | — |
| coord_base | INT | 00–100000 | — |
| clip_to_image | BOOLEAN | true | — |
| imageopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| json_data | STRING | — |