Recognition

open class Recognition

An immutable result returned by a Classifier describing what was recognized.

Constructors

Link copied to clipboard
open fun Recognition(    id: String,     title: String,     confidence: Float,     location: RectF)
Link copied to clipboard
open fun Recognition(    id: String,     title: String,     confidence: Float,     location: RectF,     detectedClass: Int)

Functions

Link copied to clipboard
open fun getxPos(): Int
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
val confidence: Float
A sortable score for how good the recognition is relative to others.
Link copied to clipboard
open var detectedClass: Int
Link copied to clipboard
val id: String
A unique identifier for what has been recognized.
Link copied to clipboard
open var location: RectF
Optional location within the source image for the location of the recognized object.
Link copied to clipboard
val title: String
Display name for the recognition.