- Area of motion is a list of bounding boxes showing where the motion or motions occurred in the image. This will improve our detection accuracy.
- Occupied state has changed. Three states are sent in the field; Alert, Occupied and Vacant.
- Person bounding boxes are sent whenever a person is found, even if the state is Occupied. (This was not the case in the previous version.) "Alert" is sent when a person or people appear when the state was Vacant.
- The intent is to send alerts on "Alert", and not send alerts and show the reason as Occupied when the state field returns "Occupied".
With Area of Motion and Image and Event Timestamps:
{
'body': {
'Site_Id': '5FBUD6-B',
'Camera_Name': 'Cam1',
'Area_Of_Motion': [[44,34,56,21]],
'Image_Timestamp': 1234567890, # Timestamp in milliseconds.
'Motion_Event_Timestamp': 1234567890-1, #Future Plan
'Image_Bytes': "/9j/2wCEAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDIBCQkJDAsMGA0NGDIhHCEyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIAZABkAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RUQlmCgdycV89fFmTTZ/E5ew2Z8sCZkHBcZ/pisSbxXqs0ex7+4ZT2MhrDubhpmJckknqTXCp1Jtcysd………………………………………."
}
}
{
'Marketing_Message': 'SIGN UP AT Smartsentry.ai/register TO RECEIVE YOUR CAMERA(S) DAILY SMART REPORT.',
'Person_Results': {
'Bounding_Box': [[41, 2, 1360, 908]],
'Occupied_State': 'Alert'
},
'Face_Results': {
'Face_Bounding_Boxes': [[67, 520, 506, 889]],
'Labels': ['Person 14'],
'Categories': ['Safe']
},
'Vehicle_Results': {
'Vehicle_Bounding_Boxes': [[12,243,123,454]],
'Vehicle_Occupied_State': 'Alert'
},
'Pet_Results': {
'Pet_Bounding_Boxes': [[12,243,123,454]],
'Pet_Occupied_State': 'Occupied’
}
}