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

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. Stopping the server).

    Note
    titleAttention!

    If the system has the software running on GPU, it is necessary to stop its operation. 

  6. Create the GPU_CACHE_DIR system variable (see Appendix 9. Creating system variable). In the Variable value field,

  7. specify the
  8. 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

  9. detection tools
  10. detectors and neural networks.

  11. Run the command line as administrator.
  12. To call the utility, enter in the command line: C:\Program Files\Common Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.exe.

    Info
    titleNote
    • Starting with Detector Pack 3.14, if necessary, you can enter a query specifying the required resolution of the video stream in XxX or [XxX ...] format, for example:
      Code Block
      C:\Program Files\Common Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.exe -r 3840×2160 2688×1520
      In this case, you don't need to specify further the resolution of the video stream.
    • To get help information, you can enter a query in the command line:
      Code Block
      C:\Program Files\Common Files\AxxonSoft\DetectorPack\VaFaceGpuCacheGenerator.exe --help
  13. Press Enter.

  14. Specify the ID of the required GPU (

  15. see 
  16. see Selecting Nvidia GPU when configuring detectors).

  17. Press Enter.

  18. If you want to change the resolution of the video stream for the Face

  19. Detection
  20. detector VA:

    1. Enter y.

    2. Specify the required resolution. For example, 3840×2160 2688×1520. The GPU uses the default video stream resolutions. Changing the resolution of the video stream from 1920*1080 and higher

  21. ,
    1. increases the percentage of face detection.

  22. If you don't want to change the resolution of the video stream for the Face
  23. Detection
  24. detector VA, enter n
  25. Press Enter.

  26. The
  27. The cache creation process starts. The cache creation is successful if the result value is "0".

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

Note
titleAttention!

The cache must be recreated in the following cases:

    if
  • if you
  • update the
  • update the VA Face Recognition Pack add-on (
  • see 
  • see Installing DetectorPack add-ons),
  • if you change the Nvidia GPU model,
  • if you update the Nvidia GPU drivers.