Documentation for Face Intellect 8.0-8.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 11 Next »

General request format:

POST http://IP-address:port/firserver/CreatePerson

Request parameters:

ParameterRequiredParameter description
server_idYes

ID of Face Recognition Server in the face-Intellect software package

objectTypeNoObject type
idNo

ID of the user in GUID format

If the ID is not specified, then it will be automatically generated for the newly added user and returned in the response;

nameNo

Name

If not specified, the person will be added without a name

surnameYes

Surname

patronymicNo

Patronymic

If not specified, the person will be added without a patronymic

departmentYesDepartment
commentNo

Comment

If not specified, the person will be added without a comment

createPersonInIntellect

No

This parameter defines whether to create a person on behalf of the Intellect operator or not

imageYesJPEG image in the base64 format
firNo

Face pattern (vector)

If specified, the face will be added to the database without any verification (face search, face vector generation)

Request example:

POST http://localhost:10000/firserver/CreatePerson

{
 "server_id" : "1",
 "objectType" : "PERSON",
 "id" : "7BC06491-C30D-450F-BF45-F9F5D680A501",
 "name" :"John",
 "surname" : "Kramer",
 "patronymic" : "",
 "department" : "Department 1",
 "comment" : "Some comment",
 "createPersonInIntellect": 1,
 "image": "",
 "fir": ""
}

Response example:

{
    "Status": "SUCCESS",
    "Result": "7BC06491-C30D-450F-BF45-F9F5D680A501",
    "Description": ""
}

Response parameters:

ParameterParameter description
StatusCompleted request status: SUCCESS - successful
ResultAdded user ID in GUID format
DescriptionRequest Description
  • No labels