Versions Compared

Key

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

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:

...

ParameterRequiredParameter description
server_idYesIdentifier of the Face Recognition Server in Face Intellect (see Configuring the Face Recognition Server object);
minAge

...

NoMinimum 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 (see Creating and configuring the Camera object).

...

Example request:

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

Response example:

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"
 ]
}


Example answer:

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
Петр",
 "
Gender
Surname": 
1,
"
Age
Петров"
: 31.4372
,
 "
Camera
Patronymic": "
1
Петрович"
}
,
{

 "
Id
Department": "
60438F6B-41BB-E811-8D01-005056C00008
Отдел 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": {
 "Status": "SUCCESS"
 }
}



Parameter

where:

...

Parameter description
PassAndLikesList
MainPassFirst

...

pass of a unique face

...

BestPerson

...

Face in the database, if it exists

...

LikePasses

...

Array of similar passes. No more than 5 elements

...

Total
Males
Females
ProcessedTotal

...

Total number of processed faces

...

ProcessedDuration

...

Execution time of the faces processing in milliseconds

...

CompareCount

...

Total number of the face comparisons

...

Responce
Status