Go to documentation repository
Page History
| Tip |
|---|
Configuring the Face detector VL 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 |
The
...
| title | Attention! |
|---|
...
VL Face Recognition Pack add-on (
...
see Installing DetectorPack add-ons)
...
includes a utility that allows you to create GPU neural network caches without using Axxon One. The presence of the cache speeds up the initialization, optimizes video memory consumption, and ensures the start and correct operation of the Face detector VL on the GPU.
| Note | ||
|---|---|---|
| ||
You must recreate the cache when:
|
To optimize the operation of the Face detector VL on GPU, do the following:
- Stop the server (see Starting and stopping the Axxon One Server in Linux OS)
To activate a license for the Face detector VL (see Configuring the Face detector VL), do the following:
- Request EID and ProductID from the technical support
- .
Note title Attention! If the system uses the software that is running on the GPU, you must stop its operation.
Login as ngp superuser:
In the command prompt, run the command:
Open the license.conf file.Code Block language bash sudo
nano /opt/AxxonSoft/DetectorPack/VLSdk/gpu/data/license.confEnter the received EID and ProductID.
Code Block <param name="EID" type="Value::String" text="received EID"/> <param name="ProductID" type="Value::String" text="received ProductID"/>- Save the file. Run the FingerprintViewer file. You will receive the FingerPrint data.
su ngpEnter the password for the superuser.
Create a folder with a custom name to store the cache. For example:
Code Block language bash mkdir /opt/AxxonSoft/AxxonOne/gpucacheChange folder permissions:
Code Block language bash sudochmod -R 777 /opt/AxxonSoft/
DetectorPack/VLSdk/gpu/FingerprintViewerAxxonOne/gpucacheGo to the /opt/AxxonSoft/AxxonOne folder:
Code Block language bash cd /opt/AxxonSoft/
DetectorPack/VLSdk/gpu/data/license.confAxxonOneOpen the server configuration file for editing:
Code Block language bash nano instance.confNote title Attention! - Log in using the received EID.
- Fill in the user registration data.
- Click the Save button.
- Click the Activate button to activate the license.
- In the Activatee Email field, specify the email address to confirm the license activation. The licenseFile.v2c file with license data will be sent to the specified email address.
- In the Device FingerPrint field, specify the FingerPrint data.
- Click the Complete Activation button.
Place the licenseFile.v2c file in the required directory: /opt/AxxonSoft/DetectorPack/VLSdk/.
- Make sure the license is successfully activated. If the server is connected to the internet, the license will be checked automatically.
EID and ProductID are linked with the MAC address of the server. If the MAC address changes, you need to request EID and ProductID again.
If you fail to log in to the website, contact the technical support.
| Tip |
|---|
| Info | ||
|---|---|---|
| ||
If the server doesn't have an internet connection, do the following:
The license is activated on the server with no internet connection. |
When you use the server in the failover mode, you must:
- Open the /etc/AxxonSoft folder:
Code Block cd /etc/AxxonSoft - Open the server configuration file for editing:
Code Block nano axxon-one.confInfo title Note Before you make 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
- Open the /etc/AxxonSoft folder:
Add 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 the file editing mode using the Ctrl+X keyboard shortcut.
Note title Attention! 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).
- In the terminal, 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/DetectorPackRun the following command:
Code Block language bash ./VlFaceGpuCacheGeneratorPress Enter.
Specify the ID of the required GPU (see Selecting Nvidia GPU when configuring detectors).
Press Enter.
If you want to change the resolution of the video stream:
Enter y. If you don't want to change the resolution of the video stream, enter n
Specify the required resolution. For example, 3840x2160 2688x1520. The GPU uses the default 1920x1080 video stream resolution. If you change the resolution of the video stream from 1920x1080 and higher, it increases the percentage of face detection
Press Enter. As a result, the process of creating the cache starts. If you get the 0 value, it means that the cache is created successfully.
Optimizing the operation of the Face detector VL on the GPU is complete
...
.






