Go to documentation repository
Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.
To get tracks using GO, do the following:
- Install GO (see Go programming language).
Run the code example:
As a result, you will get the possible response options.
Response examples:
Message about the received tracks:
{ "sample": { "timestamp": "20230914T133656.981000", "tracklets": { "tracklets": [ { "id": 70, "state": "OBJECT_STATE_NORMAL", "rectangle": { "x": 0.10248079895973206, "y": 0.3568287789821625, "w": 0.17517775297164917, "h": 0.257714182138443 }, "logicalCenter": { "x": 0.19006967544555664, "y": 0.6145429611206055 }, "color": { "hue": 222.47191011235952, "saturation": 0.3093524946210368, "value": 0.49719319611902735 } } ] } } }
where
- timestamp—time corresponding to the video frame for which tracks are formed;
- tracklets—list of tracks.
Message about the Server activity when the Server has no other messages:
{ "heartbeat": {} }
Message about the time during which the Server is active and you can receive data from it:
{ "configUpdate": { "maxChannelIdleMs": 15000 } }
Overview
Content Tools