General request format:
POST httpPOST http://localhostIP-address:10000port/firserver/GetAnalityc
...
Request 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:
...
Parameter | Required | Parameter description |
---|
server_id | Yes | Identifier of the Face Recognition Server in Face Intellect |
...
|
minAge | No | Minimum age of persons |
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 |
...
...
| No | Type of persons whose data should be obtained: 0 - all faces, 1 - only recognized faces, 2 - only unrecognized faces |
...
...
| No | Threshold value of the faces similarity degree |
...
...
| No | Filter by the minimum number of passes |
...
...
| No | Filter by the maximum number of passes |
...
|
cameraIds | No | Camera IDs in Face Intellect |
...
Request example:
POST http://localhost:10000/firserver/GetAnalityc
...
|
---|
PassAndLikesList[
{MainPass{Id53952CAF3BBB-E811-8D01-005056C00008Timestamp18T120932848Camera "1" "Gender":"Age": 31.4502}BestPerson{Id"5CC71799-48BB-E811-8D01-005056C00008"Name"13"Surname"Johnson"Patronymic"",Department
|
Response example:
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.907Gender 1,
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,
" | ResponceResponse": {
"Status": "SUCCESS"
}
} |
|
where:
...
Response parameters:
Parameter | Parameter description |
---|
PassAndLikesList | List of passes of unique faces |
MainPass | Data on |
...
the first pass of a unique face |
...
...
...
from the face database and the degree of similarity of the reference face with a unique face, if |
...
such a person exists (for more details, see Getting information about users) |
LikePasses | List with data of similar passes (similar to MainPass). Cannot be larger than 5 elements |
Total | Total number of unique faces |
Males | Number of males |
Females | Number of females |
ProcessedTotal | Total |
...
number of processed faces |
...
...
| Execution time of the faces processing in milliseconds |
...
...
| Total number of the face comparisons |
...
|
Response | Response |
Status | Completed request status: SUCCESS - successful |