Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

ParameterRequiredParameter description
server_idYesIdentifier of the Face Recognition Server in Face Intellect

...

minAgeNoMinimum age of persons
maxAge NoMaximum age of persons
dateTimeFrom YesTime

...

in UTC format, starting from which the data should be obtained

...

dateTimeTo YesTime  in

...

UTC format, up to which the data should be obtained

...

genders NoGender of persons whose data should be obtained: 0 - Unknown, 1 - Males, 2 - Females

...

faceMode

...

NoType of persons whose data should be obtained: 0 - all faces, 1 - only recognized faces, 2 - only unrecognized faces

...

threshold

...

NoThreshold value of the faces similarity degree

...

minPasses

...

NoFilter by the minimum number of passes

...

maxPasses

...

NoFilter by the maximum number of passes

...

cameraIds NoCamera IDs in Face Intellect

...

Request example:

POST http://localhost:10000/firserver/GetAnalityc

Expand

...


Code Block
{
 "
PassAndLikesList
server_id": 
[ {
"1",
 "minAge": 0,
 "
MainPass
maxAge": 
{
1000,
 "
Id
dateTimeFrom": "
53952CAF
2018-
3BBB-E811-8D01-005056C00008
08-17T21:00:00.000",
 "
Timestamp
dateTimeTo": "2018-09-
18T12
18T20:
09
59:
32
59.
848
000",
 "
Camera
genders":
"1"
 [
 0,
"Gender":
 1,
 
"Age": 31.4502
2
 
}
],
 "
BestPerson
faceMode": 
{
0,
 "
Id
threshold": 
"5CC71799-48BB-E811-8D01-005056C00008"
0.8,
 "
Name
minPasses": 
"13"
1,
 "
Surname
maxPasses": 
"Johnson"
10000,
 "
Patronymic
cameraIds": 
"",
[
 "
Department
1"
 ]
}


Response example:

Expand


Code Block
{
: "0", "Comment": "",

 "
Sim
PassAndLikesList": 
0.550095
[
 
},
{
 "
LikePasses
MainPass":
[
 {
 "Id": "
1E1483A5
53952CAF-
41BB
3BBB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:
52
09:
08
32.
987
848",
 "
Gender
Camera": "1",
 "
Age
Gender": 
31.4372
1,
 "
Camera
Age": 
"1"
31.4502
 },
 "BestPerson": {
 "Id": "
F10CD78D
5CC71799-
41BB
48BB-E811-8D01-005056C00008",
 "
Timestamp
Name": "
2018-09-18T12:51:33.907
John",
 "
Gender
Surname":
1,
 "
Age
Wick"
: 31.4372
,
 "
Camera
Patronymic": "
1
"
}
,
{

 "
Id
Department": "
60438F6B-41BB-E811-8D01-005056C00008
Department 1",
 "
Timestamp
Comment": "
2018-09-18T12:50:33.901
",
 "
Gender
Sim": 
1,
0.850095
 
"Age": 31.4372
},
 "
Camera
LikePasses": 
"1" },
[
 {
 "Id": "
924A4A46
1E1483A5-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:
49
52:
33
08.
868
987",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 },
 {
 "Id": "
E9990024
F10CD78D-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:
48
51:33.
839
907",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 }
 ],
 "Total": 40,
 "Males": 40,
 "Females": 0
 }
 ],
 "ProcessedTotal": 1346,
 "ProcessedDuration": 83,
 "CompareCount": 18555,
 "
Responce
Response": {
 "Status": "SUCCESS"
 }
}

where:

...


Response parameters:

ParameterParameter description
PassAndLikesListList of passes of unique faces
MainPassData on

...

the first pass of a unique face

...

(for more details, see Getting the recognition protocol)
BestPerson

...

Data about the 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)
LikePassesList with data of similar passes (similar to MainPass). Cannot be larger than 5 elements
TotalTotal number of unique faces
MalesNumber of males
FemalesNumber of females
ProcessedTotal

Total

...

number of processed faces

...

ProcessedDuration

...

Execution time of the faces processing in milliseconds

...

CompareCount

...

Total number of the face comparisons

...

ResponseResponse
StatusCompleted request status: SUCCESS - successful