Go to documentation repository
Page History
Cache affects the initialization speed-up Starting from DetectorPack 3.8, a utility was added to the Face Recognition Pack add-on (see Installing DetectorPack addons), which allows you to create GPU network caches without using Axxon Next. The presence of the cache speeds up the initialization and optimizes video memory consumption.
To optimize the operation of the Face detection operation on GPU, do the following:
Shut down Stop the Server (see Shutting down a Server).
Note title Attention! If the system uses has the software running on GPU, it is necessary to stop its operation.
- The cache of all
Create the GPU_CACHE_DIR system variable (see Appendix 10. Creating system variable) . Specify by specifying in the Variable value field the path to the cache location with an arbitrary folder name. For example, D:\AN_GPU_cache.
Info title Note The specified directory will store the cache for all used detection tools and neural networks
will be stored in the specified directory.
Run To call the utility, open in the command line as administrator.Open the : C:\Program Files\Common Files\AxxonSoft\DetectorPack\TvaFaceGpuCacheGenerator.exe file (1) in the command line.
Note TvaFaceGpuCacheGenerator.exe requires at least 1.4 GB of free video memory to run on GPUtitle Attention! and press Enter.
Specify the ID of the required GPU (2, see General Information on Configuring Detection) and press Enter.
If you want to change the resolution of the video stream for the Face detection, you should enter y (3) and specify the required resolution (4).
Info title Note GPU uses the default video stream resolutions. Changing the resolution of the video stream will increase the percentage of face detection when using the resolutions from 1920*1080 and higher.
Press Enter. The cache creation process will start. It will take about 20 minutes. The cache creation was successful, if the result value is “0”.
Optimization Optimizing the operation of Face detection on GPU is complete.
Note | ||
---|---|---|
| ||
When If you update the Face Recognition Pack add-on Face Recognition Pack (see Installing DetectorPack addons) or change the NVIDIA GPU model, you need to recreate the cache must be recreated. |