Nodes/Mickmumpitz-Nodes/Face Area Batch Splitter
ComfyUI Node

Face Area Batch Splitter

A ComfyUI node in Mickmumpitz/ConsistentCharacterCreator with 7 inputs and 5 outputs.

By mickmumpitz·Created 7 months ago·Updated 22 days ago· 32
Face Area Batch Splitter
  • images
  • bbox_detector
  • images_to_detail
  • images_passthrough
  • detail_indices
  • total_count
  • face_masks
area_threshold0.50
confidence0.50
no_face_actionpassthrough
model_pathface_yolov8m.pt
max_faces0
CategoryMickmumpitz/ConsistentCharacterCreator

Inputs (7)

NameTypeDefaultDescription
imagesIMAGE
area_thresholdFLOAT0.500–1Route to detail branch when the largest face fills LESS than this fraction of the image area (0.5 = 50%).
confidenceFLOAT0.500–1
no_face_actionCOMBOpassthrough2 options: passthrough, detail
bbox_detectoroptBBOX_DETECTORConnect an UltralyticsDetectorProvider node here (recommended). That node requires the ComfyUI Impact Subpack to be installed. With it connected, this node does not load the model itself. If left empty, it falls back to the 'model_path' below (needs ultralytics).
model_pathoptSTRINGface_yolov8m.pt
max_facesoptINT00–100Keep only the N largest faces per image (largest first) for the mask. 0 = all faces.

Outputs (5)

NameTypeDescription
images_to_detailIMAGE
images_passthroughIMAGE
detail_indicesSTRING
total_countINT
face_masksMASK