Skip to content

Detect Objects

Find objects and their bounding boxes in an image, running locally in your browser (COCO-SSD on TensorFlow.js, DETR on transformers.js). Private, offline, no cost.

Runs the image through the selected on-device detector and returns every object found — its label, confidence, and box — sorted by confidence and filtered by a threshold.

Count or locate things in an image: how many people are in a photo, where a product sits, whether a frame contains a given object — then branch or annotate downstream.

SettingNotes
ModelAny installed object-detection model, across engines.
ImageImage URL, data URL, or $binary from a previous node.
Confidence thresholdDrop detections below this score (default 0.5).
Max objectsKeep at most this many objects, highest score first (default 20).

Returns { objects, count, top }:

  • objects — array of { label, score, box }, highest confidence first. box holds the bounding-box coordinates.
  • count — number of objects returned (after the threshold and Max objects).
  • top — label of the most confident detection (or null).
  • Nothing detected — lower the threshold, or use a model trained on the objects you expect.
  • Fewer objects than expected in a busy image — raise Max objects.
  • Empty picker — install an object-detection model first.