@camera.ui/sdk / sensor / TrackedDetection
Interface: TrackedDetection
Defined in: sensor/object.ts:26
Detection enriched with tracking metadata (stable IDs, velocity).
Extends
Properties
attribute?
optionalattribute?:"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
box
box:
BoundingBox
Defined in: sensor/detection.ts:41
Bounding box in normalized coordinates.
Inherited from
confidence
confidence:
number
Defined in: sensor/detection.ts:39
Confidence score in the range 0-1.
Inherited from
label
label:
"motion"|"audio"|"person"|"vehicle"|"animal"
Defined in: sensor/detection.ts:37
Detection label (e.g. 'person', 'vehicle').
Inherited from
stationarySince?
optionalstationarySince?:number
Defined in: sensor/object.ts:41
Epoch ms since the object has been still. Only present while it is settled.
trackAge?
optionaltrackAge?:number
Defined in: sensor/object.ts:30
Number of frames this object has been continuously tracked.
trackId?
optionaltrackId?:number
Defined in: sensor/object.ts:28
Stable sequential ID for this object across frames.
trackLost?
optionaltrackLost?:boolean
Defined in: sensor/object.ts:39
True if the object was not matched in the current frame.
trackSpeed?
optionaltrackSpeed?:number
Defined in: sensor/object.ts:32
Velocity magnitude in normalized units per frame. 0 = stationary.
trackVelocity?
optionaltrackVelocity?:object
Defined in: sensor/object.ts:37
Signed centroid velocity in normalized units per frame. Positive x = moving right, positive y = moving down. Prefer this over deriving velocity from position deltas.
x
x:
number
y
y:
number