Documentation for Face Intellect 7.3. 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 »


In this section:
 

The requests are used to send commands and receive the data from the FIRSERVER object using the HTTP requests (for details, see Intellect HTTP API).

CreatePerson -the request for creating a person in the reference face database

Example:

POST http://127.0.0.1:10000/firserver/CreatePerson
{
  "server_id": "1",
  "id": "",
  "name": "",
  "surname": "40567259",
  "patronymic": "",
  "department": "Отдел 1",
  "comment": "",
  "createPersonInIntellect": 0,
  "image": "base64 image"
  "fir": "base64 fir"
}

Attention!

If the "fir" parameter contains a template, then the face will be added to the database without any checking (face search, face vector generation); in addition, there should be an "image" parameter.

DeletePersons - the request for clearing the reference face database

Example:

POST http://127.0.0.1:10000/firserver/DeletePersons
{
  "server_id": "1",
  "id": [
    "*all*"
  ]
}
  • No labels