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 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.
You must recreate the cache when:
|
To optimize the operation of the Face detector VA on GPU, do the following:
Stop the server (see Stop the server).
If the system uses the software that is running on the GPU, you must stop its operation. |
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.
Starting with Detector Pack 3.14:
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:
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.
To get help information, you can enter the query in the command line:
|
Press Enter.
Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).
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.
Press Enter.
Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).
Press Enter.
If you want to change the resolution of the video stream:
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.
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 VA on the GPU is complete.