ObjectDetectionTrait.Objects

class ObjectDetectionTrait.Objects


Categorization of the objects detected.

Summary

Public constructors

Objects(
    unfamiliar: Int,
    named: List<String>,
    unclassified: Int,
    familiar: Int,
    objects: List<ObjectDetectionTrait.Object>
)

Creates the Objects class.

Public properties

Int

Count of objects recognized by the user that have no label.

List<String>

List of objects recognized by the user that have been tagged with a label.

List<ObjectDetectionTrait.Object>

List of objects detected.

Int

Count of objects detected that the device was unable to classify.

Int

Count of objects detected by the device that the user may not recognize.

Public constructors

Objects

Objects(
    unfamiliar: Int = 0,
    named: List<String> = emptyList(),
    unclassified: Int = 0,
    familiar: Int = 0,
    objects: List<ObjectDetectionTrait.Object> = emptyList()
)

Creates the Objects class.

Public properties

familiar

val familiarInt

Count of objects recognized by the user that have no label.

named

val namedList<String>

List of objects recognized by the user that have been tagged with a label.

objects

val objectsList<ObjectDetectionTrait.Object>

List of objects detected.

unclassified

val unclassifiedInt

Count of objects detected that the device was unable to classify.

unfamiliar

val unfamiliarInt

Count of objects detected by the device that the user may not recognize.