Starting with DetectorPack 3.10, a utility was added to the RR LPR add-on (see Installing DetectorPack add-ons), which allows you to create GPU neural network caches without using Axxon One. The presence of the cache speeds up the initialization and optimizes video memory consumption.
To optimize the operation of the License plate recognition RR—Search in archive detector on GPU, do the following:
Stop the server (see Stopping the server).
Attention!
If the system has the software running on GPU, you must stop its operation.
Create the GPU_CACHE_DIR system variable (see Appendix 9. Creating system variable) by specifying in the Variable value field the path to the cache location with an arbitrary folder name. For example, D:\AO_GPU_cache. The specified directory will store the cache for all used detectors and neural networks.
To call the utility, open in the command line: C:\Program Files\Common Files\AxxonSoft\DetectorPack\RRGpuCacheGenerator.exe and press Enter.
Select the required cache sets by specifying the y or n value:
- lpr recognition—recognition of a vehicle license plate;
- vehicle recognition—recognition of a vehicle;
Attention!
Vehicle recognition isn't available for the License plate recognition RR—Search in archive. Specify the n value for this item.
- When you select the lpr recognition cache set, you need to specify the required countries in the numeric or alphabetic form. After you select all required countries, enter the done value.
- Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).
- Press Enter.
As a result, the process of creating cache starts, which takes about 30 minutes. The duration of the process depends on the selected types of cache, number of countries, and Nvidia GPU model.
Optimizing the operation of the License plate recognition RR—Search in archive detector on GPU is complete.
Attention!
You must recreate the cache:
- if you update the RR LPR add-on (see Installing DetectorPack add-ons),
- if you change the Nvidia GPU model,
- if you update Nvidia GPU drivers,
- if you change the previously specified parameters (for example, the list of countries, accuracy value, and so on).