Label

class Label

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of potential aliases for a given label.

Link copied to clipboard

A list of the categories associated with a given label.

Link copied to clipboard

Level of confidence.

Link copied to clipboard

If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

Link copied to clipboard
val name: String?

The name (label) of the object or scene.

Link copied to clipboard

The parent labels for a label. The response includes all ancestor labels.

Functions

Link copied to clipboard
inline fun copy(block: Label.Builder.() -> Unit = {}): Label
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String