Nodes/ComfyUI-HappNodeSet/Hole Counter (Robust)
ComfyUI Node

Hole Counter (Robust)

A ComfyUI node in Laser/Path with 13 inputs and 3 outputs.

By mikemojen·Created 8 months ago·Updated 3 months ago· 0
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)

NameTypeDefaultDescription
imageIMAGE
binary_thresholdINT1280–255
min_hole_areaINT501–50000
max_hole_area_pctFLOAT0.400.01–0.99
morph_close_sizeINT50–31
morph_dilate_sizeINT00–15
dedup_radiusINT150–100
invert_imageBOOLEANfalse
use_adaptive_thresholdBOOLEANfalse
adaptive_block_sizeINT513–201
adaptive_cINT10-30–60
annotate_imageBOOLEANtrue
show_debug_binaryBOOLEANfalse

Outputs (3)

NameTypeDescription
output_imageIMAGE
hole_countINT
hole_infoSTRING