Documentation for Face Intellect 7.3. Documentation for other versions of Intellect is available too.

Previous page Next page

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

JSON parameters:

{
 "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:

  • server_id is the identifier of the Face Recognition Server in Face Intellect (see Configuring the Face Recognition Server object);
  • minAge is the minimum age of persons whose data should be obtained;
  • maxAge is the maximum age of persons whose data should be obtained;
  • dateTimeFrom is the time in UTC format, starting from which the data should be obtained;
  • dateTimeTo is the time in UTC format, up to which the data should be obtained;
  • genders is the gender of persons whose data should be obtained: 0 - Unknown, 1 - Males, 2 - Females;
  • faceMode is the type of persons whose data should be obtained: 0 - all faces, 1 - only recognized faces, 2 - only unrecognized faces;

  • threshold is the threshold value of the faces similarity degree;

  • minPasses is the filter by the minimum number of passes;

  • maxPasses is the filter by the maximum number of passes;

  • cameraIds is the camera IDs in Face Intellect (see Creating and configuring the Camera object).

Response example:

{
 "PassAndLikesList": [
 {
 "MainPass": {
 "Id": "53952CAF-3BBB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:09:32.848",
 "Camera": "1",
 "Gender": 1,
 "Age": 31.4502
 },
 "BestPerson": {
 "Id": "5CC71799-48BB-E811-8D01-005056C00008",
 "Name": "13",
 "Surname": "Johnson",
 "Patronymic": "",
 "Department": "0",
 "Comment": "",
 "Sim": 0.550095
 },
 "LikePasses": [
 {
 "Id": "1E1483A5-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:52:08.987",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 },
 {
 "Id": "F10CD78D-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:51:33.907",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 },
 {
 "Id": "60438F6B-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:50:33.901",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 },
 {
 "Id": "924A4A46-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:49:33.868",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 },
 {
 "Id": "E9990024-41BB-E811-8D01-005056C00008",
 "Timestamp": "2018-09-18T12:48:33.839",
 "Gender": 1,
 "Age": 31.4372,
 "Camera": "1"
 }
 ],
 "Total": 40,
 "Males": 40,
 "Females": 0
 }
 ],
 "ProcessedTotal": 1346,
 "ProcessedDuration": 83,
 "CompareCount": 18555,
 "Responce": {
 "Status": "SUCCESS"
 }
}

where:

  • Id is the image identifier (see Getting image by ID);
  • MainPass is the first pass of a unique face;
  • BestPerson is the face in the database, if it exists;
  • LikePasses is the array of similar passes. No more than 5 elements;
  • ProcessedTotal is the total number of processed faces;
  • ProcessedDuration is the execution time of the faces processing in milliseconds;
  • CompareCount is the total number of the face comparisons.
  • No labels