ComfyUI Node
Fast Mosaic Detector
A ComfyUI node in fast-mosaic-detector with 28 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| hsv_skin_h_low | INT | 350–180 | — |
| hsv_skin_h_high | INT | 1600–180 | — |
| hsv_skin_s_threshold | INT | 250–255 | — |
| gradient_threshold | FLOAT | 2.500–20 | — |
| ratio_threshold | FLOAT | 2.740–20 | — |
| histogram_threshold | FLOAT | 0.100–1 | — |
| mosaic_length_min | INT | 42–64 | — |
| mosaic_length_max | INT | 403–128 | — |
| intersection_margin | INT | 50–50 | — |
| gradient_band_height | INT | 11–8 | — |
| gradient_band_half_width | INT | 151–64 | — |
| mode | COMBO | HYBRID | 3 options: FAST, ACCURATE, HYBRID |
| processing_backend | COMBO | AUTO | 3 options: AUTO, CPU, TORCH |
| max_workers | INT | 80–32 | — |
| fast_recall_boost | FLOAT | 0.900.1–2 | — |
| roi_margin_px | INT | 240–128 | — |
| refine_logic | COMBO | replace | 3 options: replace, union, intersect |
| refine_frame_stride | INT | 31–12 | — |
| roi_merge_dilate_px | INT | 80–64 | — |
| roi_max_count | INT | 51–32 | — |
| min_mask_pixels | INT | 2000–10000 | — |
| frame_cover_threshold | FLOAT | 0.300.05–0.95 | — |
| adaptive_roi_area_ratio | FLOAT | 0.250–1 | — |
| adaptive_roi_min_side | INT | 484–512 | — |
| roi_downscale_large | FLOAT | 0.750.4–1 | — |
| roi_aspect_ratio_max | FLOAT | 3.01–10 | — |
| roi_min_short_side | INT | 121–128 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MASK | MASK | — |
| INT | INT | — |