Skip to content

@camera.ui/sdk / camera / ObjectZone

Interface: ObjectZone

Defined in: camera/detection.ts:54

Object zone configuration. With at least one include object zone, an object counts only inside such a zone and only when its label is listed there. No object zone means every label counts everywhere.

Properties

color

color: string

Defined in: camera/detection.ts:68

Zone display color (hex).


labels

labels: ZoneLabel[]

Defined in: camera/detection.ts:66

Labels that count in this zone. Besides the detection labels, face and license_plate decide whether an object here is identified at all, so a zone can watch a street without recognizing anyone on it.


name

name: string

Defined in: camera/detection.ts:56

Zone display name.


points

points: Point[]

Defined in: camera/detection.ts:58

Polygon points (0-100 percentage coordinates).


type

type: ZoneType

Defined in: camera/detection.ts:60

Intersection detection type.