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 |
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:
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_DIR system variable:
Go to the /opt/AxxonSoft/AxxonOne/ folder:
cd /opt/AxxonSoft/AxxonOne |
For the Axxon One server in the failover mode, go to the /etc/AxxonSoft/AxxonOne/ directory. |
Open the instance.conf file for editing:
nano instance.conf |
Add the following line to the file:
export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache" |
If you change the server configuration (see Changing the configuration of the Axxon One Server in Linux OS) or update to a new version of Axxon One, the system variables previously added to the instance.conf file will be deleted (see Creating system variables in Linux OS). |
Save the file using the Ctrl+O keyboard shortcut.
Exit file editing mode using the Ctrl+X keyboard shortcut.
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 |
ad (Andorra) |
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.
Cache must be recreated:
|