ttpPOST h http://localhost:10000IP-address:port/prefix/firserver/GetAnalityc
JSON parameters:
Code Block |
---|
{
"server_id": "1",
"minAge": 0,
"maxAge": 1000,
"dateTimeFrom": "2018-08-17T21:00:00.000",
"dateTimeTo": "2018-09-18T20:59:59.000",
"genders": [
0,
1,
2
],
"faceMode": 0,
"threshold": 0.8,
"minPasses": 1,
"maxPasses": 10000,
"cameraIds": [
"1"
]
} |
where:
...
...
...
|
maxAge | No | Maximum age of persons |
dateTimeFrom | Yes | Time |
...
in UTC format, starting from which the data should be obtained |
...
...
UTC format, up to which the data should be obtained |
...
|
genders | No | Gender of persons whose data should be obtained: 0 - Unknown, 1 - Males, 2 - Females; |
faceMode |
...
| No | Type of persons whose data should be obtained: 0 - all faces, 1 - only recognized faces, 2 - only unrecognized faces; |
threshold |
...
| No | Threshold value of the faces similarity degree; |
minPasses |
...
| No | Filter by the minimum number of passes; |
maxPasses |
...
| No | Filter by the maximum number of passes; |
...
...
Example request:
POST http://localhost:10000/firserver/GetAnalityc
Response example:
PassAndLikesList[{MainPass{Id53952CAF3BBB-E811-8D01-005056C00008Timestamp18T120932848Camera "1""Gender": "Age": 31.4502}BestPerson{Id"5CC71799-48BB-E811-8D01-005056C00008"Name"13"Surname"Johnson"Patronymic"",Department
|
Example answer:
Expand |
---|
: "0",
"Comment": "",Sim0.550095},LikePasses[
1E1483A541BB3BBB-E811-8D01-005056C00008",
"Timestamp": "2018-09-18T12: | 5208987GenderAge31.4372Camera"1"31.4502
},
"BestPerson": {
"Id": " | F10CD78D41BB48BB-E811-8D01-005056C00008",
" | Timestamp2018-09-18T12:51:33.907Gender1,
Age: 31.4372Camera1
}
{Id60438F6B-41BB-E811-8D01-005056C00008Timestamp2018-09-18T12:50:33.901Gender1,"Age": 31.4372Camera"1"
},924A4A461E1483A5-41BB-E811-8D01-005056C00008",
"Timestamp": "2018-09-18T12: | 4933868987",
"Gender": 1,
"Age": 31.4372,
"Camera": "1"
},
{
"Id": " | E9990024F10CD78D-41BB-E811-8D01-005056C00008",
"Timestamp": "2018-09-18T12: | 48839907",
"Gender": 1,
"Age": 31.4372,
"Camera": "1"
}
],
"Total": 40,
"Males": 40,
"Females": 0
}
],
"ProcessedTotal": 1346,
"ProcessedDuration": 83,
"CompareCount": 18555,
"Responce": {
"Status": "SUCCESS"
}
} |
|
where:
...
Parameter description |
---|
PassAndLikesList |
|
MainPass | First |
...
...
...
| Face in the database, if it exists |
...
...
| Array of similar passes. No more than 5 elements |
...
|
Total |
|
Males |
|
Females |
|
ProcessedTotal |
...
| Total number of processed faces |
...
...
| Execution time of the faces processing in milliseconds |
...
...
| Total number of the face comparisons |
...