DetectionModel

data class DetectionModel(val id: Long, val score: Float, val left: Float, val top: Float, val right: Float, val bottom: Float)

Detection result

Constructors

Link copied to clipboard
constructor(id: Long, score: Float, left: Float, top: Float, right: Float, bottom: Float)

Create empty Detection result

Functions

Link copied to clipboard
fun toRect(): RectF

To rect

Properties

Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
val left: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val top: Float