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 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)
| Note | ||
|---|---|---|
| ||
Starting with Detector Pack 3.11, a demo license has been added to the Face Recognition Pack (VL) add-on. Demo license is valid for 30 days after installation on one Server or a virtual machine. |
To activate a license for the Face detection (VL) (see Installing DetectorPack add-ons, Configuring Face Detection VL), do the following:
- Request EID and ProductID from 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:
Code Block language bash sudo 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/DetectorPack/VLSdk/gpu/data/license.confAxxonOne/gpucacheChange folder permissions:
Code Block language bash chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucacheGo to the /opt/AxxonSoft/AxxonOne folder:
Code Block language bash cd /opt/AxxonSoft/AxxonOneOpen the server configuration file for editing:
Code Block language bash nano instance.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.
Code Block sudo /opt/AxxonSoft/DetectorPack/VLSdk/gpu/FingerprintViewerGo to the website.Note 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 Address, 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 Activate button.
Activate the license.
Code Block sudo /opt/AxxonSoft/DetectorPack/VLSdk/gpu/FingerprintViewer /opt/AxxonSoft/DetectorPack/VLSdk/gpu/data/license.conf- Make sure the license is successfully activated.
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.
Open the license.conf file.
If you fail to log in to the website, please contact technical support.
Place the licenseFile.v2c in the required directory.
| Code Block |
|---|
sudo cp /opt/AxxonSoft/DetectorPack/VLSdk/gpu/data/licenses-archive/license.conf /opt/AxxonSoft/DetectorPack/VLSdk/gpu/data/license.conf |
Face detection (VL) license is activated.
...
| title | Note |
|---|
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
If the Server is connected to the Internet, the license will be checked automatically on the license server.
If the Server doesn't have an Internet connection, do the following:
- Do steps 2–5, 14–15 on the Server where the license will be used.
- Do steps 1, 6–13, 16 on any computer connected to the Internet.
- Click the View License button.
- Download the license file by clicking the Save To File button.
...
.






