ComfyUI Node
Hole Counter (Robust)
A ComfyUI node in Laser/Path with 13 inputs and 3 outputs.
Hole Counter (Robust)
- image
- output_image
- hole_count
- hole_info
◄binary_threshold128►
◄min_hole_area50►
◄max_hole_area_pct0.40►
◄morph_close_size5►
◄morph_dilate_size0►
◄dedup_radius15►
◄invert_imagefalse►
◄use_adaptive_thresholdfalse►
◄adaptive_block_size51►
◄adaptive_c10►
◄annotate_imagetrue►
◄show_debug_binaryfalse►
CategoryLaser/Path
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| binary_threshold | INT | 1280–255 | — |
| min_hole_area | INT | 501–50000 | — |
| max_hole_area_pct | FLOAT | 0.400.01–0.99 | — |
| morph_close_size | INT | 50–31 | — |
| morph_dilate_size | INT | 00–15 | — |
| dedup_radius | INT | 150–100 | — |
| invert_image | BOOLEAN | false | — |
| use_adaptive_threshold | BOOLEAN | false | — |
| adaptive_block_size | INT | 513–201 | — |
| adaptive_c | INT | 10-30–60 | — |
| annotate_image | BOOLEAN | true | — |
| show_debug_binary | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| output_image | IMAGE | — |
| hole_count | INT | — |
| hole_info | STRING | — |