Example of a request:
https://192.168.1.200:8080/fr_events?sid=zxRc8Y7w
As a response to the fr_events query, TRASSIR can return duplicate events for the same person. To receive only one event, you can use the filter parameter. This parameter is optional, and has the following values available:
- all - several events can be received for one person;
- no_duplicates - only one event will be received for one person.
Example of a request:
https://192.168.1.200:8080/fr_events?sid=zxRc8Y7w&filter=no_duplicates
Example of a server response:
[
{
"channel_guid": "MhZYJMtI",
"liveness": "1"
"persons": [
{
"ext_person_id": "",
"ext_system_id": "",
"folder": "",
"name": "Andy",
"person_guid": "v9HGCU0A",
"person_server": "wcR21ALR",
"score": 7128
},
{
"ext_person_id": "",
"ext_system_id": "",
"name": "Michael",
"folder": "",
"person_guid": "larD5BXn",
"person_server": "wcR21ALR",
"score": 6735
}
],
"server": "wcR21ALR",
"track_guid": "u5gah7rpBQB0AAACCCAABA=="
"ts_appeared": "1576083863830093",
"ts_best_view": "1576083871632610",
"ts_disappeared": "1576083871632610"
}
]
Table 158.
| Properties | Values | Description | Software version |
|---|---|---|---|
| "channel_guid" | Channel GUID | ≥4.1 | |
| "liveness" | 0 - photo, 1 - human | Face liveness | ≥4.2 |
| "persons" | Information on the recognized person (if the person added to the database) | ≥4.1 | |
| "ext_person_id" | ≥4.1 | ||
| "ext_system_id" | ≥4.1 | ||
| "folder" | The path to the folder where the recognized person is located | ≥4.2 | |
| "name" | Name of person from the database | ≥4.1 | |
| "person_guid" | GUID of person in the database | ≥4.1 | |
| "person_server" | GUID of server in the database of which information about the person is stored | ≥4.1 | |
| "score" | from 0 to 10000 | The degree of similarity between the recognized person and the person from the DB | ≥4.1 |
| "server" | GUID of server from which the event was received | ≥4.1 | |
| "track_guid" | Track identifier | ≥4.2 | |
| "ts_appeared" | The time the face was recognized | ≥4.1 | |
| "ts_best_view" | The time the face was recognized most qualitatively | ≥4.1 | |
| "ts_disappeared" | The time of the recognized face last appearance in the frame | ≥4.1 |
Tip
The response time is indicated in microseconds in UNIX-time format according to time zone configured on the server.

