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

ParameterTypeDefault
imageOneOf([FieldOf(Raster)])
qualityString"fast"
confidence_thresholdNumber0.500
nms_thresholdNumber0.450
enabledBooleantrue
line_widthNumber2
colorColorrgba(0.00, 1.00, 0.00, 1.00)
opacityNumber1

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)