Nodes/ComfyUI-CoachBate/CoachBate H3 Subject Count
ComfyUI Node

CoachBate H3 Subject Count

Runs a YOLO detector over sampled frames and returns the number of subjects the clip shows - the largest per-frame count that holds on at least min_fraction of the sampled frames, capped by max_subjects. Wire to Pixaroma Loop Start 'total' so a per-subject pass (select_index = loop index) runs once for each.

By CoachBate·Created 2 months ago·Updated a day ago· 0
CoachBate H3 Subject Count
  • images
  • subjects
  • report
◄detector▾►
◄confidence0.30►
◄sample_every1►
◄min_fraction0.05►
◄max_subjects20►
CategoryCoachBate/H3

Inputs (6)

NameTypeDefaultDescription
imagesIMAGE—
detectorCOMBOThe same detector the tracker uses.
confidenceFLOAT0.300.05–0.95—
sample_everyINT11–60Detect on every nth frame. 1 = every frame.
min_fractionFLOAT0.050.01–1A count must appear on at least this fraction of the sampled frames to be believed, so a single-frame false positive does not add a whole extra render pass.
max_subjectsINT201–50Cap. Each subject is a full H3 render of the clip. 1 forces a single pass.

Outputs (2)

NameTypeDescription
subjectsINT—
reportSTRING—