ComfyUI Node
RapidOCR JSON Polygon A-B Based Extend
Expands RapidOCR JSON B while avoiding A - B obstacles and optionally keeps new expansion away from image edges. Preserves B's JSON structure.
RapidOCR JSON Polygon A-B Based Extend
- image
- json_data_b
◄json_data_a—►
◄json_data_b—►
◄max_expand100►
◄safety_margin0►
◄image_edge_margin0►
◄image_width0►
◄image_height0►
◄coord_base0►
◄ignore_empty_text_in_atrue►
◄clip_to_imagetrue►
CategoryRapidOCR
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| json_data_a | STRING | — | |
| json_data_b | STRING | — | |
| max_expand | INT | 1000–10000 | — |
| safety_margin | INT | 00–10000 | — |
| image_edge_margin | INT | 00–10000 | — |
| image_width | INT | 00–100000 | — |
| image_height | INT | 00–100000 | — |
| coord_base | INT | 00–100000 | — |
| ignore_empty_text_in_a | BOOLEAN | true | — |
| clip_to_image | BOOLEAN | true | — |
| imageopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| json_data_b | STRING | — |