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

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

POST http://localhost:10000/firserver/GetProtocols

JSON parameters:

{
 "server_id": "1",
 "onlineRefresh": 1,
 "genders": [
 0,
 1,
 2
 ],
 "dateTimeFrom": "2017-05-11T16:25:55.687",
 "dateTimeTo": "2017-05-12T16:26:55.687",
 "cameraIds": [
 "1",
 "2"
 ],
 "minAge": 0,
 "maxAge": 1000,
 "page": 1,
 "pageSize": 2,
 "sim_min": -1
}

where:

  • server_id - face recognition server ID in the Intellect object tree
  • onlineRefresh - this parameter must be set to 1
  • genders - 0 - unknown, 1- male, female
  • page, pageSize - paging parameters (number and size)
  • cameraIds - camera IDs (GUID or the ID in the Intellect object tree)
  • sim_min - face types:  -1 - all faces, 1 - only recongnized, 0 - only unrecognized
  • minAge, maxAge - age fiilter
  • dateTimeFrom, dateTimeTo - time filter in format yyyy-mm-ddThh:nn:ss.fff

Example of response:

{
 "Protocols": [
 {
 "id": "E0E4A8BA-1137-E711-9E4B-9C5C8E763A8F",
 "camera_id": "1",
 "camera_name": "Camera 1",
 "timestamp": "2017-05-12T12:51:36.427",
 "age": 47.9494,
 "gender": 1,
 "Hits": [
 {
 "id": "B38CCB8F-1137-E711-9E4B-9C5C8E763A8F",
 "sim": 0.589775,
 "timestamp": "2017-05-12T12:50:28.307",
 "surname": "liam",
 "name": "neeson",
 "patronymic": "",
 "comment": "",
 "department": "Department 1"
 }
 ]
 },
 {
 "id": "C4B585B4-1137-E711-9E4B-9C5C8E763A8F",
 "camera_id": "1",
 "camera_name": " Camera 1",
 "timestamp": "2017-05-12T12:51:34.951",
 "age": 24.9269,
 "gender": 1,
 "Hits": [
 {
 "id": "718CCB8F-1137-E711-9E4B-9C5C8E763A8F",
 "sim": 0.691023,
 "timestamp": "2017-05-12T12:50:27.950",
 "surname": "jude",
 "name": "law",
 "patronymic": "",
 "comment": "",
 "department": "Department 1"
 }
 ]
 }
 ],
 "ProtocolsTotal": 34,
 "Status": "OK"
}

where:

  • Protocols.id - captured image ID
  • Hits.id - recognized image ID
  • No labels