Nodes/Akatz Custom Nodes/Blob Track | Akatz
ComfyUI Node

Blob Track | Akatz

# AK Blob Track (SimpleBlobDetector) 1. Uses frame differencing (with 'cache_frames') plus a threshold to isolate movement. 2. Feeds the threshold image to OpenCV's SimpleBlobDetector. 3. For each detected blob, draws: - An alpha-blended square outline in the composite. - A fully filled white rectangle for the blob in the mask. 4. Also draws connecting lines between blob centers in composite. - If line_alpha > 0, the lines are drawn in the mask; otherwise, they are skipped.

By akatz-ai·Created 2 years ago·Updated 8 months ago· 32
Blob Track | Akatz
  • image
  • IMAGE
  • MASK
cache_frames1
diff_threshold30
min_threshold50
max_threshold220
threshold_step10
filter_by_areatrue
min_area25.00
max_area100000.00
detect_bright_blobsfalse
max_blobs10
blob_outline_thickness2
blob_outline_color#ff0000
blob_outline_alpha1.00
line_thickness2
line_color#00ff00
line_alpha1.00
Category💜Akatz Nodes/Tracking

Inputs (17)

NameTypeDefaultDescription
imageIMAGE
cache_framesINT11–120
diff_thresholdFLOAT300–255
min_thresholdINT500–255
max_thresholdINT2201–255
threshold_stepINT101–50
filter_by_areaCOMBOtrue2 options: false, true
min_areaFLOAT25.000–1000000
max_areaFLOAT100000.001–100000000
detect_bright_blobsCOMBOfalse2 options: false, true
max_blobsINT101–100
blob_outline_thicknessINT21–20
blob_outline_colorSTRING#ff0000
blob_outline_alphaFLOAT1.000–1
line_thicknessINT21–20
line_colorSTRING#00ff00
line_alphaFLOAT1.000–1

Outputs (2)

NameTypeDescription
IMAGEIMAGE
MASKMASK