Skip to content

@camera.ui/sdk / camera / DetectionZone

Interface: DetectionZone

Defined in: camera/detection.ts:52

Detection zone configuration. Defines areas for detection filtering or privacy masking.

Properties

color

color: string

Defined in: camera/detection.ts:66

Zone display color (hex)


filter

filter: ZoneFilter

Defined in: camera/detection.ts:60

Include/exclude filter mode


isPrivacyMask

isPrivacyMask: boolean

Defined in: camera/detection.ts:64

Whether this is a privacy mask (blur/block area)


labels

labels: ("motion" | "audio" | "person" | "vehicle" | "animal" | "package")[]

Defined in: camera/detection.ts:62

Labels to filter (empty = all labels)


name

name: string

Defined in: camera/detection.ts:54

Zone display name


points

points: Point[]

Defined in: camera/detection.ts:56

Polygon points (0-100 percentage coordinates)


type

type: ZoneType

Defined in: camera/detection.ts:58

Intersection detection type