Skip to main content

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

NameTypeDescription
prompt_valuesobjectconfidence levels for each object description when the detection occurred
alerting_promptstringthe object description whose alert threshold was exceeded to generate the detection
alert_timestringthe time (UTC) of the last detection
imagestringthe video frame from the time of the detection. The image is encoded as a base64 string.