Tip
In order to get the neural detector events, set the Deep Events or Neural detector events flags in the server settings.
In order to obtain the events of the neural detector from all channels of the server, the /deep_detector command, with the ip address of the server and a unique session ID sid is used:
Example of the request:
https://192.168.1.200:8080/deep_detector?sid=zxRc8Y7w
In order to get neural detector events from the specific channel, use the /deep_detector command and specify the server IP address, the unique session ID sid, and the channel GUID channel_guid:
Example of the request:
https://192.168.1.200:8080/deep_detector?channel_guid=xV7uyAl9&sid=zxRc8Y7w
Example of the server response:
[
{
"channel_guid": "xV7uyAl9",
"zones": [
{
"objects_inside": [
{
"class_id": "vehicle",
"confidence": "1.0000",
"id": "1"
}
],
"tracking_state": {
"current_people_number": "1"
},
"zone_name": "Zone 1"
},
{
"objects_inside": [],
"tracking_state": {
"current_people_number": "0"
},
"zone_name": "Zone 2"
},
]
}
]
Table 159.
| Parameters | Values | Parameter description | Software version |
|---|---|---|---|
| "channel_guid" | Channel GUID | ≥4.4 | |
| "zones" | List of zones and their states | ≥4.4 | |
| "objects_inside" | List of records of recognized objects in a zone | ≥4.4 | |
| "class_id" | Class of object: human, vehicle, etc. | ≥4.4 | |
| "confidence" | Confidence of the neural network that it can see exactly the specified object | ≥4.4 | |
| "id" | Unique object ID | ≥4.4 | |
| "current_people_number" | Number of objects in a zone, the zone state | ≥4.4 | |
| "zone_name" | Zone name as set in the detector settings | ≥4.4 |

