Skip to content

@camera.ui/sdk / camera / EventSegment

Interface: EventSegment

Defined in: camera/events.ts:88

A contiguous object detection phase within an event.

Properties

attributes

attributes: EventAttribute[]

Defined in: camera/events.ts:98

Unified attributes (faces, plates, classifications)


description?

optional description?: EventDescription

Defined in: camera/events.ts:102

AI-generated description for this segment


detections

detections: EventDetection[]

Defined in: camera/events.ts:96

Object detections in this segment


firstSeen

firstSeen: number

Defined in: camera/events.ts:90

Segment start time (Unix ms)


lastSeen

lastSeen: number

Defined in: camera/events.ts:92

Segment end time (Unix ms)


thumbnail?

optional thumbnail?: Uint8Array<ArrayBufferLike>

Defined in: camera/events.ts:94

Best-selected JPEG scene thumbnail for this segment. Only present on 'end' events.


zones?

optional zones?: string[]

Defined in: camera/events.ts:100

Names of detection zones any detection in this segment overlapped (deduplicated)