Last Detection
The JSON last_detection element encapsulates alert status for the last alert that are provided as output by EyesOnIt.
Example
"alerting": {
"alert_seconds_count": 2,
"reset_seconds_count": 10.0,
"phone_number": "+11234567890",
"image_notification": true,
"last_detection": {
"prompt_values": {
"vehicle": 91,
"driveway": 97
},
"alerting_prompt": "vehicle",
"alert_time": "2024-07-13 21:22:31",
"image":"<base64 encoded image string>"
},
"alerting": true
}
Attributes
Name | Type | Description |
---|---|---|
prompt_values | object | confidence levels for each object description when the detection occurred |
alerting_prompt | string | the object description whose alert threshold was exceeded to generate the detection |
alert_time | string | the time (UTC) of the last detection |
image | string | the video frame from the time of the detection. The image is encoded as a base64 string. |