Auther Embedded

Device usage

During the launch, the device has to be connected to the internet to check its license.

3D Scanner license activation

API is used for faces` database management along with facial recognition.

1. Register on the https://auther.com website.

2. Log into your Account.

3. Go to the License section and press "Add license" button.

4. Choose "I have activation code", and provide your activation code

5. Special installation command is generated now. Copy software installation command from the license line, which will be later used for software installation on the Up-Board single-board computer.

License grants

Depending on the grants which were added to the license on License tab, single-board computer may fulfill the following requests in Facecard Cloud:

Software installation on the UP-board

API is used for faces` database management along with facial recognition.

Software configuration

Only two parameters can be managed:

API description

Below you will find a description of working with the local API of the device. Communication with the local API occurs through communication via the local HTTP protocol.

Parameters description

Image description

Below are the requirements for the image that sent to our API. Also, with the help of the request "Get face image" you can get an automatically prepared image taken from the camera, which will meet the requirements below.

Image requirements

For a successful preparation of the photo, before the update, touch the offensive crocs

Image verification criteria

To successfully create a customer ID, the image of the person that you send for registration will be checked for compliance with the following criteria:

Get face image

URL:
POST /person/face/add

Receive the face which is in front of the camera or was no longer than 1 sec ago. As a result, you will receive an image that will meet the requirement above.

Request body

Response body

http status 200

Request body

{
   “faceKey”:”17362cd0c”,
   “facePhoto”:Base64format_string”
}

http status 400

Request body

{
   “code”:”R_400”,
   “message”:“Сamera is not connected”
}

Codes and messages for response 400

Codes
R_400
R_404
Messages
“Сamera is not connected”
“Face not found / face didn't pass liveness check"

Create customer

Adding the face into the database

URL:
POST /person/face/add

Request body

Request body

{
   “personId”:”000391”,
   “facePhoto”:”base64format_string”
}

Response body

http status 200

http status 400

Request body

{
   “code”:”F_012”,
   “message”:”Face exists”
}

Codes and messages for response 400

Codes
F_012
F_011
F_010
F_009
F_008
F_007
F_006
F_005
F_004
F_003
F_002
F_001
CP_002
R_002
R_003
Messages
“Face exists”
“Wrong face size when image check"
“Wrong face yaw”
“Wrong face pitch”
“Wrong face roll”
“Sharpness is bad”
“Brightness is bad”
“Sunglasses exists”
“Mouth is open”
“Eyes are closed”
“Most likely face doesn’t exist”
“Should be one face”
“Customer profile already exists with id %s”
“Request body exception”
“Fields validation exception”

Update customer

Replace face in the database

URL:
POST  /person/face/add

Request body

Request body

{
   “personId”:”000391”,
   “facePhoto”:”base64format_string”
}

Response body

http status 200

http status 400

Request body

{
   “code”:”F_012”,
   “message”:”Face exists”
}

Codes and messages for response 400

Codes
F_012
F_011
F_010
F_009
F_008
F_007
F_006
F_005
F_004
F_003
F_002
F_001
CP_002
R_002
R_003
Messages
“Face exists”
“Wrong face size when image check"
“Wrong face yaw”
“Wrong face pitch”
“Wrong face roll”
“Sharpness is bad”
“Brightness is bad”
“Sunglasses exists”
“Mouth is open”
“Eyes are closed”
“Most likely face doesn’t exist”
“Should be one face”
“Customer profile already exists with id %s”
“Request body exception”
“Fields validation exception”

Delete customer

Delete the face

Request body

Request body

{
   “personId”:”000391”
}

Response body

http status 200

http status 400

Request body

{
   “code”:”R_002”,
   “message”:”Request body exception”
}

Codes and messages for response 400

Codes
R_002
R_003
Messages
“Request body exception”
“Fields validation exception”

Identify customer

Facial recognition in the cloud. If the “faceKey” parameter isn’t null, then the parameter facePhoto in that request is ignored and can be null.

URL:
POST  /person/face/recognize

The request /person/face/recognize could be submitted only with the last “faceKey” parameter, which was received in face/get request.

In that case the video module stores the last received image.

After the /person/face/recognize is submitted - the image is deleted from the memory.

Request body

Request body

{
   “faceKey”:”17362cd0c”,
   “facePhoto”:”base64format_string”
}

Response body

http status 200

Request body

{
   “personId”:”000391”
}

http status 400

Request body

{
   “code”:”R_002”,
   “message”:”Request body exception”
}

Codes and messages for response 400

Codes
R_002
R_003
Messages
“Request body exception”
“Fields validation exception”