Page History
...
Command | Description |
---|---|
GET_IMAGE | Getting the image by its ID |
SET_SOURCES | Rearranging the Recognition channel objects in the Intellect objects tree. The existing Recognition channel objects will be deleted, the new ones will be created and configured for the face detection objects whose IDs are specified in the sources<> parameter. Note. If the sources<> parameter contains non-existing IDs of face detection objects, the Recognition channel objects will be created with the default settings (as configured in Intellect) |
VERIFY_START | User verification. It compares the face captured in the frame with the user's photo, which is stored on the disk at the path: <Intellect installation directory>\Bmp\<Person> |
ADD_PERSON_FROM_FILE | Addings of a reference face from a file to the reference face database |
PHOTO_ADDED | Updating a photo for an existing face in the reference face database |
START_CAM_FACECAPTURE | Starting the face detection |
STOP_CAM_FACECAPTURE | Stopping the face detection |
The list of the commands parameters:
Parameter | Parameter description |
---|---|
requestId<> | The request ID (is required to uniquely associate the request with the response on the client side) |
id<> | The image ID |
sources<> | The list of existing Face detection objects IDs |
biggestFace<1> | If there are several faces in the added photo, then the reference face with the biggest size in the frame will be added to the database |
person_id<> | The face identifier in the reference face database |
image<> | The image in the "base64" format |
delay<> | The command execution delay in seconds |
cam_id<> | The camera ID |
p_id<> | The name of the photo file in the <Intellect installation directory>\Bmp\<Person> folder without permission |
wait<> | Timeout in seconds |
filename<> | The full name of the photo file. Files with the jpg, bmp, gif, png extensions are allowed |
name<> | First name of the added user |
surname<> | Last name of the added user |
department<> | The department to which the user will be added |
comment<> | Commentary |
cam_facecapture<> | Face detection |
The command example for getting the image by its ID:
...
Code Block |
---|
DoReactStr("FIRSERVER","1","ADD_PERSON_FROM_FILE","filename<c:\\iso_small.jpg>,name<Jane>,surname<Kramer>,department<Department 1>,comment<>"); |
The command example for stopping the face detection:
Code Block |
---|
FIRSERVER|1|STOP_CAM_FACECAPTURE|cam_facecapture<3.1> |
The command example for starting the face detection:
Code Block |
---|
FIRSERVER|1|START_CAM_FACECAPTURE|cam_facecapture<3.1> |