Nodes/ComfyUI Fast Mosaic Detector/Fast Mosaic Detector
ComfyUI Node

Fast Mosaic Detector

A ComfyUI node in fast-mosaic-detector with 28 inputs and 2 outputs.

By yano·Created 9 months ago·Updated 9 months ago· 3
Fast Mosaic Detector
  • image
  • MASK
  • INT
hsv_skin_h_low35
hsv_skin_h_high160
hsv_skin_s_threshold25
gradient_threshold2.50
ratio_threshold2.74
histogram_threshold0.10
mosaic_length_min4
mosaic_length_max40
intersection_margin5
gradient_band_height1
gradient_band_half_width15
modeHYBRID
processing_backendAUTO
max_workers8
fast_recall_boost0.90
roi_margin_px24
refine_logicreplace
refine_frame_stride3
roi_merge_dilate_px8
roi_max_count5
min_mask_pixels200
frame_cover_threshold0.30
adaptive_roi_area_ratio0.25
adaptive_roi_min_side48
roi_downscale_large0.75
roi_aspect_ratio_max3.0
roi_min_short_side12
Categoryfast-mosaic-detector

Inputs (28)

NameTypeDefaultDescription
imageIMAGE
hsv_skin_h_lowINT350–180
hsv_skin_h_highINT1600–180
hsv_skin_s_thresholdINT250–255
gradient_thresholdFLOAT2.500–20
ratio_thresholdFLOAT2.740–20
histogram_thresholdFLOAT0.100–1
mosaic_length_minINT42–64
mosaic_length_maxINT403–128
intersection_marginINT50–50
gradient_band_heightINT11–8
gradient_band_half_widthINT151–64
modeCOMBOHYBRID3 options: FAST, ACCURATE, HYBRID
processing_backendCOMBOAUTO3 options: AUTO, CPU, TORCH
max_workersINT80–32
fast_recall_boostFLOAT0.900.1–2
roi_margin_pxINT240–128
refine_logicCOMBOreplace3 options: replace, union, intersect
refine_frame_strideINT31–12
roi_merge_dilate_pxINT80–64
roi_max_countINT51–32
min_mask_pixelsINT2000–10000
frame_cover_thresholdFLOAT0.300.05–0.95
adaptive_roi_area_ratioFLOAT0.250–1
adaptive_roi_min_sideINT484–512
roi_downscale_largeFLOAT0.750.4–1
roi_aspect_ratio_maxFLOAT3.01–10
roi_min_short_sideINT121–128

Outputs (2)

NameTypeDescription
MASKMASK
INTINT