Go to documentation repository
Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.
Previous page Next page
Starting with DetectorPack 3.10, a utility was added to the VT 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 VT on GPU, do the following:
- Stop the server (see Stopping the server).
Attention!
If the system has the software running on GPU, it is necessary to stop its operation.
Login as ngp superuser:
In the command prompt, run the command:
sudo su ngp
Enter the password for the root superuser.
Create a folder with a custom name to store the cache. For example:
mkdir /opt/AxxonSoft/AxxonOne/gpucache
Change folder permissions:
chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucache
Create the GPU_CACHE system variable (see Creating system variables for the Axxon One server in Linux OS, Creating system variables for the Axxon One server in the failover mode in Linux OS).
Run the following command in the terminal:
export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Go to the /opt/AxxonSoft/DetectorPack/ folder:
cd /opt/AxxonSoft/DetectorPack
Run the following command:
./VTGpuCacheGenerator
- Enter the required countries in alphabetic form.
- After you select all required countries, enter done.
- The default resolution is 1920x1080 pixels. If you want to change the resolution, enter y and the required resolution. For example, 2048.
- To leave the default value, enter n.
- Specify the minimum width of the license plate according to the actual size of the license plate in the frame as a percentage. The minimum allowed value is 0, the maximum value is 100.
- 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 VT on GPU is complete.
Attention!
Cache must be recreated:
- if you update the VT 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, resolution, and so on).