> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes/object-detection.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Object detection

Fixed-class detectors for everyday objects, animals, vehicles, license plates, devices and sports equipment

* **`eyepop.common-objects:latest`** — common everyday objects\
  Labels: `person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, fire hydrant, stop sign, parking meter, cat, dog, horse, umbrella, handbag, suitcase, sports ball, baseball bat, baseball glove, skateboard, surfboard, tennis racket, bottle, wine glass, cup, bowl, hot dog, chair, couch, potted plant, bed, dining table, toilet, tv, microwave, sink, refrigerator, book, laptop, mouse, remote, keyboard, cell phone, clock, scissors, hair drier, toothbrush`\
  [Sized variants](https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes.md#sized-variants): `eyepop.common-objects.large`, `.medium`, `.small`, `.nano`
* **`eyepop.animal:latest`** — animal detection and classification\
  Labels: `bird, cat, dog, horse, sheep, cow, elephant, bear, zebra, giraffe`
* **`eyepop.vehicle:latest`** — vehicle detection\
  Labels: `bicycle, car, motorcycle, bus, train, truck`\
  [Sized variants](https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes.md#sized-variants): `eyepop.vehicle.large`, `.medium`, `.small`, `.nano`
* **`eyepop.vehicle.license-plate:latest`** — license plate detection\
  Labels: `license-plate`
* **`eyepop.device:latest`** — electronic device detection\
  Labels: `clock, laptop, mouse, remote, keyboard, cell phone`
* **`eyepop.sports:latest`** — sports equipment and activity detection\
  Labels: `frisbee, skis, snowboard, sports ball, kite, baseball bat, baseball glove, skateboard, surfboard, tennis racket`\
  [Sized variants](https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes.md#sized-variants): `eyepop.sports.large`, `.medium`, `.small`, `.nano`

The example runs on a street photo, 810 x 1080, of a blue electric minibus with four people walking past it. The output was captured from production; your numbers may differ slightly.

### Example: find common objects

`eyepop.common-objects` finds the bus and the people:

{% tabs %}
{% tab title="JSON" %}

```json
{
  "components": [
    { "type": "inference", "ability": "eyepop.common-objects:latest" }
  ]
}
```

{% endtab %}

{% tab title="Python" %}

```python
from eyepop import EyePopSdk
from eyepop.worker.worker_types import InferenceComponent, Pop

pop = Pop(components=[
    InferenceComponent(ability="eyepop.common-objects:latest"),
])

with EyePopSdk.sync_worker(pop=pop) as endpoint:
    result = endpoint.upload("street.jpg").predict()

for obj in result.get("objects", []):
    print(f"{obj['classLabel']:7} {obj['confidence']:.2f}  x={obj['x']:.0f} y={obj['y']:.0f} w={obj['width']:.0f} h={obj['height']:.0f}")
```

{% endtab %}

{% tab title="Node" %}

```typescript
import { EyePop, PopComponentType } from '@eyepop.ai/eyepop'

const endpoint = await EyePop.workerEndpoint({
    pop: {
        components: [
            { type: PopComponentType.INFERENCE, ability: 'eyepop.common-objects:latest' },
        ],
    },
}).connect()

try {
    const results = await endpoint.process({ source: { path: 'street.jpg' } })
    for await (const result of results) {
        for (const obj of result.objects ?? []) {
            console.log(
                obj.classLabel.padEnd(7), obj.confidence?.toFixed(2),
                ` x=${obj.x.toFixed(0)} y=${obj.y.toFixed(0)} w=${obj.width.toFixed(0)} h=${obj.height.toFixed(0)}`,
            )
        }
    }
} finally {
    await endpoint.disconnect()
}
```

{% endtab %}
{% endtabs %}

```
bus     0.96  x=10 y=226 w=797 h=523
person  0.94  x=224 y=406 w=128 h=439
person  0.88  x=678 y=385 w=132 h=499
person  0.88  x=45 y=394 w=186 h=518
person  0.77  x=0 y=552 w=74 h=319
```

<figure><img src="https://1072321683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDoCvfjveqiJFmk0cnXCp%2Fuploads%2Fgit-blob-64955a59484a59e00a1913b1f74ab2366bb55561%2Fpretrained-detect.jpg?alt=media" alt="The street photo with boxes around the bus and the four people" width="400"><figcaption><p>Every object of a class the model knows, with its box.</p></figcaption></figure>

### Next steps

* [Pretrained, fixed classes](https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes.md) — every category, and sized variants
* [Open vocabulary](https://docs.eyepop.ai/platform/abilities/open-vocabulary.md) — models that find and classify what you describe in words

Questions about building a Pop? Reach us at <help@eyepop.ai>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/platform/abilities/pretrained-fixed-classes/object-detection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
