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)

  7. by specifying in
  8. . 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

  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
  13. (1).
    •  -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
  14. Press Enter.

  15. Image Removed
  16. Specify the ID of the required GPU (

  17. 2, see 
  18. see Selecting Nvidia GPU when configuring

  19. detection tools
  20. detectors).

  21. Press Enter.

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

  23. Detection
  24. detector VA:

    1. Enter y

  25. (3)
    1. .

    2. Specify the required resolution

  26. (4).
    1. . 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

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

  28. If you don't want to change the resolution of the video stream for the Face detector VA, enter n. 
  29.  Press
  30. Press Enter.

  31. The
  32. The cache creation process starts. The cache creation is successful

  33. ,
  34. 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.