Go to documentation repository
Page History
...
To optimize the operation of the Face detector VL on GPU, do the following:
Stop the server (see Stopping Stop the server).
Note title Attention! 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 Appendix 9. 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.
- Run the command line as administrator.
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:Code Block language shell C:\Program Files\Common Files\AxxonSoft\DetectorPack\VlFaceGpuCacheGenerator.exe -r 3840x2160 2688x1520
If you don't specify the resolution explicitly, the utility uses the default 1920x1080 resolution for creating the cache.
Info title Note To get help information, you can enter the query in the command line:
Code Block C:\Program Files\Common Files\AxxonSoft\DetectorPack\VlFaceGpuCacheGenerator.exe --help
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.
- For Detector Pack 3.13 and older:
- In the command line, enter the C:\Program Files\Common Files\AxxonSoft\DetectorPack\VlFaceGpuCacheGenerator.exe query to call the utility.
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:
- Enter y. If you don't want to change the resolution of the video stream, enter n.
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.
...