Events that come in from the FIRSERVER object are listed in the table. The procedures are initiated when the corresponding event occurs. FIRSERVER events have the following format:

OnEvent("FIRSERVER","_id_","_event_")

FIRSERVER events are described in the table.

EventDescription
GET_IMAGE A request to get the image by the ID
PERSON_NOT_FOUNDThe face was captured but not recognized (cannot be found in the Face-Intellect database)
FIND_PERSONThe face is recognized
ADD_PERSON_FROM_FILE_OKThe reference face file is added to the Face-Intellect database
ADD_PERSON_FROM_FILE_ERRORThere is an error while adding the reference face file to the Face-Intellect database
IDENTIFY_ACCEPTThe verification is accepted
IDENTIFY_DECLINEThe verification is declined

Action statement format for describing the actions with the Face Recognition Server:

DoReact("FIRSERVER","_id_","_command_" [,"_parameters_"]);

FIRSERVER parameters are described in the table.

ParametersDescription
requestId<>The ID of the request
fraction<>The millisecond when the face was captured
owner<>The server name for the PERSON_NOT_FOUND event
protocol_id<>The captured face ID (the link to the image)
date<>

The date of the recognition completion

id<>The ID of the person added to the Face-Intellect database
imageBase64<>

The face vector image in "base64" format

guid_pk<>The event ID (is generated randomly for every event)
confidence<>

The quality percentage of the added face image, it has the double type and the 0.0-1.0 range of values

capture_fraction<>The millisecond when the face was added to the Face-Intellect database
capture_date<>

The date of the image capture

sim<>The similarity percentage
surname<>

The last name of the person who looks similar to the recognized face

comment<>

The comment on adding the use (the face)

capture_time<>

The time of the image capture

cam_name<>The name of the camera that captured the face
patronymic<>The middle name of the person
filename<>

The full name of the image file

department<>

The department the user (the face) is added to

name<>

The name of the added user (face)

obj_id<>The face ID. The value is empty if there was no face match
error<>

The explanation of why the error occured

gender<>The gender of the recognized or unrecognized face (unknown, male, female)
age<>The age of the recognized or unrecognized face
param0<>The similarity percentage during the verification