Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User scripts are designed for partial automation of processes while configuring Face PSIM software package. In the Programming Guide document there is the description of programming objects and methods which are in use for scripts creation in Intellect Axxon PSIM.

Script for photo verification

The verification mode enables comparison of the face captured in the frame with the user photo stored on the disk at <Intellect Axxon PSIM installation folder>\Bmp\<Person>.

...

  1. 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>");
    //1 - id firserver, p_id<15> - name of the file with photo in the IntellectAxxon PSIM\Bmp\Person folder without resolution(e.g., 15 for 15.bmp file), wait<10> - time in seconds
    }


  2. Perform 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 appearance the Successful verification event will be displayed immediately showing the similarity percentage of the captured face with the user photo stored on the disk. 

...