Object Detect

Detect and classify objects in images with YOLO models.

What it does

Object Detect runs a YOLO model over an image, draws a box around each object found and reports what it takes each object to be. Three quality levels trade speed for accuracy: Fast keeps up with a live camera feed, Accurate takes longer per frame but catches more objects and misclassifies less.

Alongside the visual boxes it reports how many objects were found, their class labels, and a confidence per object, so other nodes can be driven from the count or the labels without touching the image.

When to use it

ParameterTypeDefaultWhat it does
imageRaster—Image to detect objects in
qualityString"fast"Quality: fast (~8ms), balanced (~15ms), accurate (~30ms). One of: fast, balanced, accurate.
confidence_thresholdNumber0.500Minimum confidence threshold for detections
nms_thresholdNumber0.450NMS IoU threshold (lower = fewer overlapping boxes)
enabledBooleantrueEnable object detection
line_widthNumber2Line thickness for bounding boxes
colorColorrgba(0.00, 1.00, 0.00, 1.00)Color for bounding boxes
opacityNumber1Layer opacity (0 = transparent, 1 = opaque). Editable, wirable, keyframable.

Gotchas

Worked example

  1. Wire a camera or image into Object Detect.

  2. Leave Quality on Fast for a live feed, or switch to Accurate for a still image where speed doesn't matter.

  3. Raise Confidence Threshold if detections are turning up that you don't trust.

  4. Use the boxes output as a visual overlay, or read count / labels / confidences to drive other nodes, for example triggering an effect only when count is greater than zero.

See also

Vision Analyze · Vision Segment · Vision Tracker · Rasters (images)