Skip to content

@camera.ui/sdk / sensor / TrackedDetection

Interface: TrackedDetection

Defined in: sensor/object.ts:23

Detection enriched with tracking metadata (stable IDs, velocity).

Extends

Properties

attribute?

optional attribute?: "face" | "license_plate" | string & object

Defined in: sensor/detection.ts:37

Optional sub-detection attribute ('face', 'license_plate', or a classifier-specific value).

Inherited from

Detection.attribute


box

box: BoundingBox

Defined in: sensor/detection.ts:35

Bounding box in normalized coordinates.

Inherited from

Detection.box


confidence

confidence: number

Defined in: sensor/detection.ts:33

Confidence score in the range 0–1.

Inherited from

Detection.confidence


label

label: "motion" | "audio" | "person" | "vehicle" | "animal" | "package"

Defined in: sensor/detection.ts:31

Detection label (e.g. 'person', 'vehicle').

Inherited from

Detection.label


trackAge?

optional trackAge?: number

Defined in: sensor/object.ts:27

Number of frames this object has been continuously tracked.


trackId?

optional trackId?: number

Defined in: sensor/object.ts:25

Stable sequential ID for this object across frames.


trackLost?

optional trackLost?: boolean

Defined in: sensor/object.ts:38

True if the object was not matched in the current frame.


trackSpeed?

optional trackSpeed?: number

Defined in: sensor/object.ts:29

Velocity magnitude in normalized units per frame. 0 = stationary.


trackVelocity?

optional trackVelocity?: object

Defined in: sensor/object.ts:36

Signed centroid velocity vector in normalized units per frame. Positive x = moving right, positive y = moving down. Consumers doing motion prediction (PTZ autotrack, trajectory estimation) should use this instead of deriving velocity from frame-to-frame position deltas.

x

x: number

y

y: number