Go to documentation repository
Page History
...
- Stop the Server (see Shutting down a Server).
Note title 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:
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
Create the GPU_CACHE_DIR system variable:
Go to the /opt/AxxonSoft/AxxonOne/ folder:
Code Block language bash cd /opt/AxxonSoft/AxxonOne
Open the instance.conf file for editing:
Code Block language bash nano instance.conf
Add the following line to the file:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Note title Attention! 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:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Go to the /opt/AxxonSoft/DetectorPack/ folder:
Code Block language bash cd /opt/AxxonSoft/DetectorPack
Run the following command:
Code Block language bash ./VTGpuCacheGenerator
- Enter the required countries in alphabetic form.
Expand title Expand the list of countries ad (Andorra)
al (Albania)
am (Armenia)
ar (Argentina)
at (Austria)
au (Australia)
az (Azerbaijan)
ba (Bosnia and Herzegovina)
be (Belgium)
bg Bulgaria
bh (Bahrain)
bn (Brunei)
bo (Bolivia)
br (Brazil)
bw (Botswana)
by (Belarus)
ca (Canada)
ch (Switzerland)
cl (Chile)
co (Colombia)
cz (Czech Republic)
de (Germany)
dk (Denmark)
dz (Algeria)
ec (Ecuador)
ee (Estonia)
es (Spain)
fi (Finland)
fr (France)
gb (Great Britain)
ge (Georgia)
gr (Greece)
gt (Guatemala)
hk (Hong Kong)
hn (Honduras)
hr (Croatia)
hu (Hungary)
id (Indonesia)
il (Israel)
in (India)
ir (Iran)
it (Italy)
jo (Jordan)
ke (Kenya)
kg (Kyrgyzstan)
kr (Republic of Korea)
kz (Kazakhstan)
li (Liechtenstein)
lk (Sri Lanka)
lt (Lithuania)
lu (Luxembourg)
lv (Latvia)
mc (Monaco)
md (Moldavia)
me (Montenegro)
mn (Mongolia)
mt (Malta)
mx (Mexico)
my (Malaysia)
ng (Nigeria)
ni (Nicaragua)
nl (Netherlands)
no (Norway)
nz (New Zealand)
pa (Panama)
pe (Peru)
ph (Philippines)
pl (Poland)
pt (Portugal)
py (Paraguay)
ro (Romania)
rs (Serbia)
ru (Russia)
se (Sweden)
sg (Singapore)
si (Slovenia)
sk (Slovakia)
su (USSR)
sv (El Salvador)
tj (Tajikistan)
tm (Turkmenistan)
tn (Tunisia)
tr (Turkey)
tw (Taiwan)
ua (Ukraine)
us (USA)
uy (Uruguay)
uz (Uzbekistan)
vn (Vietnam)
za (Republic of South Africa)
zm (Jamaica) - After you selected 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 detection tools).
- Press Enter.
...
Optimizing the operation of the License Plate Recognition plate recognition VT on GPU is complete.
Note | ||
---|---|---|
| ||
Cache must be recreated:
|
...