---
title: "Detection"
sidebar_label: "Detection"
description: "Kotlin binding reference: Detection."
---

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

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[Detection](index.md)

# Detection

[common]\
data class [Detection](index.md)(val label: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val labelId: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val score: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), val box: [Box](../Box/index.md))

One detected object: the label (empty when the model's table names none for the id), its id, the score in 0 to 1, and the box in the input picture's pixels.

## Constructors

| | |
|---|---|
| [Detection](Detection.md) | [common]<br>constructor(label: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), labelId: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), score: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), box: [Box](../Box/index.md)) |

## Properties

| Name | Summary |
|---|---|
| [box](box.md) | [common]<br>val [box](box.md): [Box](../Box/index.md) |
| [label](label.md) | [common]<br>val [label](label.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [labelId](labelId.md) | [common]<br>val [labelId](labelId.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [score](score.md) | [common]<br>val [score](score.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) |