@camera.ui/sdk / camera / DetectionLine
Interface: DetectionLine
Defined in: camera/detection.ts:21
Detection line configuration. Defines a virtual tripwire for line crossing detection. The two points define grab-handle positions; the actual crossing line is perpendicular through their midpoint.
Properties
color
color:
string
Defined in: camera/detection.ts:31
Line display color (hex).
direction
direction:
LineDirection
Defined in: camera/detection.ts:27
Which crossing direction(s) trigger events.
labels
labels: (
"motion"|"audio"|"person"|"vehicle"|"animal")[]
Defined in: camera/detection.ts:29
Labels to filter (empty = all labels).
name
name:
string
Defined in: camera/detection.ts:23
Line display name.
points
Defined in: camera/detection.ts:25
Grab-handle positions (0-100%). Crossing line is perpendicular through midpoint.