Section |
---|
Column |
---|
|
Panel |
---|
borderColor | #CCCCCC |
---|
bgColor | #FFFFFF |
---|
titleBGColor | #F0F0F0 |
---|
borderStyle | solid |
---|
title | 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:
Code Block |
---|
|
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"
} |
Note |
---|
|
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:
Code Block |
---|
|
POST http://127.0.0.1:10000/firserver/DeletePersons
{
"server_id": "1",
"id": [
"*all*"
]
} |