...
To optimize the operation of the License plate recognition RR—Search in archive detector on GPU, do the following:
Stop the server (see Starting and stopping the Axxon One Server in Linux OS).
Note title Attention! If the system has the software running on GPU, you must stop its operation.
Login as ngp superuser:
In the command prompt, run the command:
Code Block language bash sudo su ngp
- Enter the password for the root superuser.
Create a folder with a custom name to store the cache. For example:
Code Block language bash mkdir /opt/AxxonSoft/AxxonOne/gpucache
Change folder permissions:
Code Block language bash chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucache
Go to the /opt/AxxonSoft/AxxonOne/ folder:
Code Block language bash cd /opt/AxxonSoft/AxxonOne
Open the server configuration file for editing:
Code Block language bash sudo nano instance.conf
Note title Attention! When you use the server in failover mode, you must:
- Open the /etc/AxxonSoft/ folder:
Code Block cd /etc/AxxonSoft/
- Open the server configuration file for editing:
Code Block sudo nano axxon-one.conf
Info title Note Before you make the changes to the axxon-one.conf file, we recommend reading the instructions on the page Creating system variables for the Axxon One server in the failover mode in Linux OS.
- Add the GPU_CACHE_DIR system variable in the configuration file, wherethevaluewillspecify the pathto the cachelocationfolder. For example:
Code Block export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
- Save the changes in the file.
- Add the GPU_CACHE_DIR system variable in the /etc/profile file.
Code Block export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
- Run the command:
Code Block source /etc/profile
When you change the server configuration (see Changing the configuration of the Axxon One Server in Linux OS) or update to the new Axxon One version, the system variables previously added to the instance.conf configuration file will be deleted (see Creating system variables for the Axxon One server in Linux OS).
- Open the /etc/AxxonSoft/ folder:
Create the GPU_CACHE_DIR system variable,wherethevaluewillspecify the pathto the cachelocationfolder. For example:
Code Block export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Save the server configuration file using the Ctrl+O keyboard shortcut.
Exit file editing mode using the Ctrl+X keyboard shortcut.
- In the command prompt, run the command that was usedtoadd the systemvariablewiththepathto the cache location folder. For example:
Code Block export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Go to the /opt/AxxonSoft/DetectorPack/ folder:
Code Block cd /opt/AxxonSoft/DetectorPack
Run the following command:
Code Block language bash ./RRGpuCacheGenerator
Select the required cache sets by specifying the y value:
- lpr recognition—recognition of a vehicle license plate;
- vehicle recognition—recognition of a vehicle.
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.Expand title Expand the list of countries AM (Armenia)
AR (Argentina)
AT (Austria)
AZ (Azerbaijan)
BE (Belgium)
BG (Bulgaria)
BN (Brunei)
BR (Brazil)
BY (Belarus)
CI (Ivory Coast)
CN (China)
CO (Colombia)
CY (Cyprus)
CZ (Czech Republic)
DE (Germany)
DK (Denmark)
EE (Estonia)
EG (Egypt)
ES (Spain)
FI (Finland)
FR (France)
GE (Georgia)
GR (Greece)
HR (Croatia)
HU (Hungary)
ID (Indonesia)
IE (Ireland)
IT (Italy)
KG (Kyrgyzstan)
KZ (Kazakhstan)
LT (Lithuania)
LU (Luxembourg)
LV (Latvia)
MD (Moldova)
MM (Myanmar)
MT (Malta)
MX (Mexico)
MY (Malaysia)
NL (Netherlands)
PE (Peru)
PL (Poland)
PT (Portugal)
PA (Panama)
PY (Paraguay)
RO (Romania)
RS (Serbia)
RU (Russia)
SE (Sweden)
SI (Slovenia)
SK (Slovakia)
TJ (Tajikistan)
TM (Turkmenistan)
UA (Ukraine)
UZ (Uzbekistan)
UY (Uruguay)
VN (Venezuela)
VN (Vietnam)
US (USA)
LK (Sri Lanka)
CL (Chile)
TN (Tunisia) - When you select the vehicle recognition cache set without lpr recognition, you must specify the territory where vehicle recognition is going to be performed:
- CIS countries—1;
- Other countries—2.
- Select one of the accuracy and performance values by specifying the corresponding number:
- Medium accuracy, high performance—1, provides medium recognition accuracy and high performance of the GPU (less load on the GPU);
- High accuracy, medium performance—2, provides high recognition accuracy and medium performance of the GPU (high load on the GPU).
- Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).
- Press Enter.
...