---
title: "Detections"
sidebar_label: "Detections"
description: "The clika_runtime.modelverse Detections class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

The detections of one image, with the image size they refer to.

## `image_height` (property)

(self) -> int

## `image_width` (property)

(self) -> int

## `items` (property)

(self) -> list[clika_runtime.modelverse._modelverse.Detection]

## `__init__`

```python
__init__(self, /, *args, **kwargs)
```

Initialize self.  See help(type(self)) for accurate signature.

## `to_json`

```python
to_jsonto_json(self) -> str
```

to_json(self) -> str

The detections as a JSON document (image size plus one entry per box).
