The Push mechanism allows you to specify an HTTP or HTTPS endpoint where the Toolkit can send the JSON output data to. This is the main method of sending data to our DeepSight Data Studio dashboard.

To use this you just need to enable the Push type you want to use and specify the endpoint URL in the Toolkit’s Settings File.

Examples of JSON outputs:

Raw data:

{
    "instance_name":"location_1",
    "timestamp":"2023-01-06 15:39:22.266+01:00",
    "frame_number":3026,
    "status":1,
    "people":[
        {
            "id":1,
            "age":32,
            "gender":-99,
            "smile":4,
            "face_mask":0,
            "world_position":{
                "x":3,
                "y":14,
                "z":93
            },
            "position":{
                "x":294,
                "y":72,
                "w":105,
                "h":130
            },
            "rotation":{
                "yaw":1,
                "pitch":1,
                "roll":1
            },
            "detection_confidence":1.000,
            "distance_from_camera":95,
            "viewing":true,
            "dwelling":true,
            "gaze":{
                "x":-1,
                "y":1
            },
            "detection_duration":102491,
            "total_viewing_duration":102491,
            "current_viewing_duration":102491,
            "total_dwell_duration":102491,
            "current_dwell_duration":102491
        }
    ]
}

Aggregated data:

{
    "aggregation_time":"2023-01-06 15:40:05+01:00",
    "instance_name":"location_1",
    "aggregation_freq":30000,
    "status":1,
    "aggregated_data":[
        {
            "id":1,
            "initial_detection_time":"2023-01-06 15:37:36+01:00",
            "age":34,
            "gender":"m",
            "dweller":1,
            "viewer":1,
            "viewing_sessions":1,
            "average_viewing_duration":135472,
            "viewing_duration":135472,
            "dwell_sessions":1,
            "average_dwell_duration":135541,
            "dwell_duration":135541,
            "detection_duration":135541,
            "smile_viewing":96,
            "smile_maximum":96,
            "face_mask":0
        }
    ]
}

People count data:

{
    "timestamp":"2023-01-06 15:42:05+01:00",
    "state":1,
    "instance_name":"location_1",
    "current_count":0,
    "total_count":1,
    "total_detection_time":138477,
    "current_detection_time":0
}

Proof of Play data:

{
	"time_start": "2023-01-06 15:42:05+01:00",
	"content_duration": 4502,
	"instance_name": "location_1",
	"ots": 1,
	"viewers": 1,
	"impressions": 1,
	"average_viewing_duration": 4402,
	"total_viewing_duration": 4402,
	"average_detection_duration": 4402,
	"total_detection_duration": 4402,
	"average_dwell_duration": 4402,
	"total_dwell_duration": 4402,
	"female_count": 0,
	"male_count": 1,
	"unknown_count": 0,
	"content_id": "84664758-90ac-483a-9a03-7ee3198edc9d",
	"content_name": "Ad1",
	"campaign_id": "Playlist1",
	"display_id": "Raydiant Office",
	"metadata": "",
	"aggregated_data": [
{
	"id": 1,
	"initial_detection_time": "2022-09-09 13:54:54+02:00",
	"age": 34,
	"gender": "m",
	"dweller": 1,
	"viewer": 1,
	"viewing_sessions": 1,
	"average_viewing_duration": 4402,
	"viewing_duration": 4402,
	"dwell_sessions": 1,
	"average_dwell_duration": 4402,
	"dwell_duration": 4402,
	"detection_duration": 4402,
	"smile_viewing": 40,
	"smile_maximum": 40,
	"face_mask": 0
}
]
}