ObjectDetectionTrait.Object

class ObjectDetectionTrait.Object


Information about a specific object that has been detected.

Summary

Public constructors

Object(
    type: ObjectDetectionTrait.ObjectType,
    startTimestampMillis: Long,
    endTimestampMillis: Long,
    name: String,
    imageUrl: String
)

Creates the Object class.

Public properties

Long

The Unix Epoch timestamp in milliseconds at which the object was last detected.

String

The URL of the object's image.

String

Label of the object.

Long

The Unix Epoch timestamp in milliseconds at which the object was first detected.

ObjectDetectionTrait.ObjectType

Type of the object.

Public constructors

Object

Object(
    type: ObjectDetectionTrait.ObjectType = ObjectType.Unknown,
    startTimestampMillis: Long = 0,
    endTimestampMillis: Long = 0,
    name: String = "",
    imageUrl: String = ""
)

Creates the Object class.

Public properties

endTimestampMillis

val endTimestampMillisLong

The Unix Epoch timestamp in milliseconds at which the object was last detected.

imageUrl

val imageUrlString

The URL of the object's image.

name

val nameString

Label of the object.

startTimestampMillis

val startTimestampMillisLong

The Unix Epoch timestamp in milliseconds at which the object was first detected.

type

val typeObjectDetectionTrait.ObjectType

Type of the object.