Skip to content

@camera.ui/sdk / sensor / TrackedDetection

Interface: TrackedDetection ​

Defined in: sensor/object.ts:22

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

Extends ​

Properties ​

attribute? ​

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

Defined in: sensor/detection.ts:43

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

Inherited from ​

Detection.attribute


box ​

box: BoundingBox

Defined in: sensor/detection.ts:41

Bounding box in normalized coordinates.

Inherited from ​

Detection.box


confidence ​

confidence: number

Defined in: sensor/detection.ts:39

Confidence score in the range 0-1.

Inherited from ​

Detection.confidence


label ​

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

Defined in: sensor/detection.ts:37

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

Inherited from ​

Detection.label


stationarySince? ​

optional stationarySince?: number

Defined in: sensor/object.ts:37

Epoch ms since the object has been still. Only present while it is settled.


trackAge? ​

optional trackAge?: number

Defined in: sensor/object.ts:26

Number of frames this object has been continuously tracked.


trackId? ​

optional trackId?: number

Defined in: sensor/object.ts:24

Stable sequential ID for this object across frames.


trackLost? ​

optional trackLost?: boolean

Defined in: sensor/object.ts:35

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


trackSpeed? ​

optional trackSpeed?: number

Defined in: sensor/object.ts:28

Velocity magnitude in normalized units per second.


trackVelocity? ​

optional trackVelocity?: object

Defined in: sensor/object.ts:33

Signed centroid velocity in normalized units per second. Positive x = moving right, positive y = moving down. Prefer this over deriving velocity from position deltas.

x ​

x: number

y ​

y: number