Versions Compared

Key

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

Configuring the Face detector VL

The VL Face Recognition Pack add-on (see Installing DetectorPack add-ons) includes a utility that allows you to create GPU neural network caches without using Axxon One. The presence of the cache speeds up the initialization, optimizes video memory consumption, and ensures the start and correct operation of the Face detector VL on the GPU

To activate a license for Face detection (VL) (see Installing DetectorPack addons, Configuring Face detection (VL)), do the following:

...

.

Note
titleAttention!

You must recreate the cache when:

  • updating the VL face recognition pack add-on (see Installing DetectorPack add-ons),
  • changing the resolution of the video stream for which the cache is created,
  • changing the Nvidia GPU model,
  • updating Nvidia GPU drivers.

To optimize the operation of the Face detector VL on GPU, do the following:

  1. Stop the server (see Stop the server)

  2. EID and ProductID are linked with the MAC address of the server. If the MAC address changes, you need to request EID and ProductID again.

    Go to the website
  3. .

    Note
    titleAttention!

    If

  4. you fail to login to the website, please contact technical support.
  5. Log in using the received EID.
  6. Fill in the user registration data.
    Image Removed
  7. Click the Save button (1).
  8. Click the Activate button (2) to activate the license.
    Image Removed
  9. the system uses the software that is running on the GPU, you must stop its operation. 

  10. Create the GPU_CACHE_DIR system variable (see Creating system variable). In the Variable value field, specify the path to the cache location in Latin characters only. For example, D:\GPU_cache. The specified directory will store the cache for all used detectors and neural networks.

  11. Run the command line as administrator.
  12. Starting with Detector Pack 3.14:

    1. Call the utility, specifying the required video stream resolutions in the XxX or XxX XxX format via the -r key. In this case you must not further specify the video stream resolution.
      Example:

      Code Block
      languageshell
      C:\Program Files\Common 
  13. On the command line, run the following file as administrator: C:\Program Files\Common
    1. Files\AxxonSoft\DetectorPack\
  14. VLSdk\gpu\FingerprintViewer
    1. VlFaceGpuCacheGenerator.exe
  15. .
    Image Removed
  16. To confirm the license activation, specify the Email address (4). The licenseFile.v2c file with license data will be sent to the specified Email address.
    Image Removed
  17. In the Device FingerPrint field (5) specify the FingerPrint data (3).
  18. Click the Activate button (6).
  19. Make sure the license is successfully activated (7).
    Image Removed
    1.  -r 3840x2160 2688x1520

      If you don't specify the resolution explicitly, the utility uses the default 1920x1080 resolution for creating the cache.

      Info
      titleNote

      To get help information, you can enter the query in the command line:

      Code Block
      C:\Program Files\Common 
  20. Open the following file in a text editor: C:\Program Files\Common
    1. Files\AxxonSoft\DetectorPack\
  21. VLSdk\gpu\data\license.conf.
    1. VlFaceGpuCacheGenerator.exe --help
    2. Press Enter.

    3. Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).

    4. Press Enter. As a result, the process of creating the cache starts. If you get the "0" value, it means that the cache is created successfully.

  22. Enter the received EID (8) and ProductID (9).

    Code Block
    <param name="EID" type="Value::String" text="received EID"/>
    <param name="ProductID" type="Value::String" text="received ProductID"/>

    Image Removed

  23. Save the file:
  24. For Detector Pack 3.13 and older:
    1. In the command line, enter the
    1. C:\Program Files\Common Files\AxxonSoft\DetectorPack\
  25. VLSdk\gpu\data\license.conf.

Face Detector (VL) license is activated.

...

titleNote

If the Server is connected to the Internet, the license will be checked automatically on the license server.

If the Server does not have an Internet connection, do the following:

  1. Perform step 7, and steps 12—14 on the Server where the license will be used.
  2. Perform steps 3—6, and steps 8—10 on any PC connected to the Internet.
  3. Click the View License button (10).
    Image Removed
  4. Download the license file by clicking the Save To File button (11).
    Image Removed
  5. Place the downloaded licenseFile.v2c file on the Server to the folder: C:\Program Files\Common Files\AxxonSoft\DetectorPack\VLSdk\<licenseFile.v2c>.
    1. VlFaceGpuCacheGenerator.exe query to call the utility.
    2. Press Enter.

    3. Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).

    4. Press Enter.

    5. If you want to change the resolution of the video stream:

      1. Enter y. If you don't want to change the resolution of the video stream, enter n
      2. Specify the required resolution. For example, 3840x2160 2688x1520. The GPU uses the default 1920x1080 video stream resolution. If you change the resolution of the video stream from 1920x1080 and higher, it increases the percentage of face detection.

  1. Press Enter. As a result, the process of creating the cache starts. If you get the 0 value, it means that the cache is created successfully.

Optimizing the operation of the Face detector Vl on the GPU is complete

...

.