Skip to main content

Webhooks

People Tracker On-Premise uses webhooks to send notifications when people are detected in the video stream.

danger

The People Tracker does not implement a webhook queue. If the program encounters a failure in the webhook call, it will exit.

Example webhook JSON data:

{
"hook": {
"target": "https://webhook.site/12345",
"event": "people_detected"
},
"data": {
"processing_time": 0.021006107330322266,
"timestamp": "2023-11-15T09:21:49.730709Z",
"results": [
{
"box": {
"xmin": 282,
"ymin": 39,
"xmax": 305,
"ymax": 103
},
"type": "person",
"score": 0.9957417249679565,
"track_id": 1
}
],
"filename": "image.jpg",
"version": 1,
"camera_id": null
}
}
Floating button icon
CTRL + .