3,072
edits
Efernandez (talk | contribs) No edit summary |
Efernandez (talk | contribs) |
||
Line 101: | Line 101: | ||
*'''message_expiration:''' This is the amount of seconds used for engagement messages expiration. If a person is not seen for this configured amount of time, the entry will automatically disappear from redis. | *'''message_expiration:''' This is the amount of seconds used for engagement messages expiration. If a person is not seen for this configured amount of time, the entry will automatically disappear from redis. | ||
== | == Statistics == | ||
The | The service reads detection/direction statistics from redis with the following format: | ||
< | <syntaxhighlight lang=JSON> | ||
" | { | ||
</ | "id": 1, | ||
"cameraid": "cam1", | |||
"timestamp": "2025-01-01T00:00:00Z", | |||
"width": 1920, | |||
"height": 1080, | |||
"detections": [ | |||
{ | |||
"objectid": "object1", | |||
"position": { | |||
"x": 10, | |||
"y": 20 | |||
}, | |||
"direction": { | |||
"x": 1, | |||
"y": 0 | |||
} | |||
} | |||
] | |||
} | |||
</syntaxhighlight> | |||
== Running the Service == | == Running the Service == |