Skip to main content

Region

A polygonal area in which EyesOnIt evaluates detections.

Example

{
"name": "Front Entrance",
"enabled": true,
"polygon": [
{ "x": 528, "y": 175 },
{ "x": 876, "y": 166 },
{ "x": 896, "y": 285 },
{ "x": 506, "y": 279 }
],
"motion_detection": {
"enabled": true,
"detection_threshold": 300,
"regular_check_frame_interval": 5
},
"detection_configs": []
}

Fields

FieldTypeDescription
idnumberRegion identifier when returned by the server.
enabledbooleanEnable or disable the region.
namestringRegion name used in results and alerts.
polygonVertex[]Vertices that define the polygon.
detection_configsDetection Configuration[]Detection rules for the region.
motion_detectionMotion DetectionMotion-detection settings for the region.