---
title: "Object Detection"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/transformers/objectdetection
markdown: https://docs.nodetool.ai/nodes/transformers/objectdetection.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/transformers/objectdetection.md
---

# Object Detection

**Type:** `transformers.ObjectDetection`

**Namespace:** `transformers`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| image | `image` | Image to run detection on. | `{"type":"image"}` |
| model | `any` | Transformers.js model (ONNX-compatible). | - |
| threshold | `float` | Minimum confidence score required to keep a detection. | `0.9` |
| percentage | `bool` | Return bounding boxes as fractions of image size. | `true` |
| dtype | `enum` | Model dtype / quantization level. | `auto` |
| device | `enum` | Inference device. | `auto` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| detections | `list` |  |

## Related Nodes

Browse other nodes in the [transformers](./) namespace.
