Skip to content

@camera.ui/sdk / camera / EventDetection

Interface: EventDetection ​

Defined in: camera/events.ts:50

Aggregated object detection within a segment.

Properties ​

alert? ​

optional alert?: boolean

Defined in: camera/events.ts:64

Whether this detection may raise a notification. Alert zones decide it, the camera's own reports pass.


label ​

label: string

Defined in: camera/events.ts:52

Detection label (e.g. "person", "car").


maxCount ​

maxCount: number

Defined in: camera/events.ts:56

Maximum simultaneous count in a single frame.


moving? ​

optional moving?: boolean

Defined in: camera/events.ts:58

Whether the object was moving (true) or stationary (false).


path? ​

optional path?: DetectionPath

Defined in: camera/events.ts:60

Where the tracked object entered and left the frame within this segment.


score ​

score: number

Defined in: camera/events.ts:54

Best confidence score.


zones? ​

optional zones?: string[]

Defined in: camera/events.ts:62

Names of detection/alert zones any object of this label overlapped during the segment.