Versions Compared

Key

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

Configuring the Face Detection detector VA

The VA Face Recognition Pack add-on (see see Installing DetectorPack add-ons) includes a utility that allows 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 Detection VA on GPUdetector 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 of the Face Detection detector VA on GPU, do the following:

  1. Stop the

  2. Server
  3. server (see

  4. Shutting down a Server
  5. Stop the server).

    Note
    titleAttention!

    If the system

  6. has
  7. uses the software that is running on the GPU,

  8. it is necessary to
  9. you must stop its operation. 

  10. Create the GPU_CACHE_DIR system variable (see

  11. Appendix 9.
  12. Creating system variable). In the Variable value field,

  13. specify the
  14. 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

  15. detection tools
  16. detectors and neural networks.

  17. Run the command line as administrator.
  18. Starting with Detector Pack 3.

  19. To call the utility, enter in the command line:
  20. 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.

  21. 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 (

  22. see 
    1. see Selecting Nvidia GPU when configuring detectors).

    2. Press Enter.

    3. If you want to change the resolution of the video stream

  23. for the Face Detection VA
    1. :

  24. 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,

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

  26. default
      1. default 1920x1080 video stream

  27. resolutions
      1. resolution.

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

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

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

  31.  
  32. Press Enter.

  33. The cache creation process starts. The cache creation is successful if the result value is "0"
  34. 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 of the Face Detection detector VA on the GPU is complete.

...

titleAttention!

.