Detection

data class Detection(val boundingBox: LiteRTExt.BoundingBox, val categories: List<LiteRTExt.Category>)

Represents a single detection result.

Constructors

Link copied to clipboard
constructor(boundingBox: LiteRTExt.BoundingBox, categories: List<LiteRTExt.Category>)

Properties

Link copied to clipboard

The bounding box of the detected object.

Link copied to clipboard

A list of possible categories for the detected object, sorted by score.