...
The verification mode compares the face captured in the frame with the user photo stored on the disk at <Axxon PSIM installation folder>\Bmp\<Person>. It also determines the face parameters: emotions, temperature, face concealment (mask), gender, facial hair.
...
Create the script:
Code Block |
---|
if(Event.SourceType == "MACRO" && Event.Action == "RUN" && Event.SourceID == "1")
{
DoReactStr("FIRSERVER","1","VERIFY_START","cam_id<1>,p_id<15>,wait<10>");
} |
Info |
---|
|
- 1 — the identifier of the Face Recognition Serverrecognition server object;
- VERIFY_START — user verification command;
- cam_id<1> — camera identifier. If you use the VisionLabs face recognition module, instead of camera identifier, specify the identifier of the Face detection object;
- p_id<15> — the name of the file with photo in the <Axxon PSIM installation folder>\Bmp\<Person> folder <Person> folder without resolution (for example, 15 for the 15.bmp file);
- wait<10> — the waiting time in seconds for the face to appear.
|
- Run the first macro. If the user from the photo does not appear in front of the camera in 10 seconds, the Verification declined event will be displayed. In case the user appears, the Successful verification event will be displayed immediately showing the similarity percentage of the captured face with the user photo stored on the disk.
...