Versions Compared

Key

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

Configuring the Face detector VA

The VA 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 The presence of the cache speeds up the initialization, optimizes video memory consumption, and ensures the start and correct operation of the Face detector VA on the GPU.

Note
titleAttention!

You must recreate the cache when:

  • updating the VA 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 VA on GPU, do the following:

  1. Stop the server (see

  2. Stopping
  3. Stop the server).

    Note
    titleAttention!

    If the system

  4. has
  5. uses the software that is running on the GPU,

  6. it is necessary to
  7. you must stop its operation. 

  8. Create the GPU_CACHE_DIR system variable (see

  9. Appendix 9.
  10. 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. To call the utility, enter
  13. 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 Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.exe -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 Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.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.

  14. For Detector Pack 3.13 and older:
    1. In the command line, enter the C:\Program Files\Common Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.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

  15. for the Face detector VA
    1. :

  16. Enter y.
      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,

  17.  3840×2160 2688×1520.
      1. 3840x2160 2688x1520. The GPU uses the

  18. default
      1. default 1920x1080 video stream

  19. resolutions
      1. resolution.

  20. Changing
      1. If you change the resolution of the video stream from

  21. 1920*1080
      1. 1920x1080 and higher, it increases the percentage of face detection

  22. .
    If you don't want to change the resolution of the video stream for the Face detector VA, enter n
      1. .

  23.  
  24. Press Enter.

  25. The cache creation process starts. The cache creation is successful if the result value is "0"
  26. As a result, the process of creating the cache starts. If you get the 0 value, it means that the cache is created successfully.

The cache must be recreated in the following cases:

...

Optimizing the operation of the Face detector VA on the GPU is complete.

...

titleAttention!

.