Axxon Next¶
FindFace Security integration with Axxon Next allows you to detect and identify faces in video streams from an Axxon-based security system.
Important
One FindFace Security instance supports interaction with only one Axxon Next server.
Integration with Axxon Next is implemented via the ffsecurity_axxon
plugin.
To configure the FindFace Security integration with Axxon Next in Ubuntu, do the following:
Activate the plugin by appending the
INSTALLED_APPS.append(‘ffsecurity_axxon’)
line to the/etc/ffsecurity/config.py
configuration file.sudo vi /etc/ffsecurity/config.py ... # integration plugins INSTALLED_APPS.append('ffsecurity_axxon') # remove or comment out this line to disable
Add the
FFSECURITY->AXXON
section to the configuration file. Fill it out as shown in the example below. In the api parameter, specify the IP address of the Axxon Next server that will provide FindFace Security with Axxon API and HLS-archive streams. In thertsp
parameter, specify the common segment of Axxon video stream addresses.FFSECURITY = { 'AXXON': { 'api': 'http://user:[email protected]/', 'rtsp': 'rtsp://user:[email protected]:554/', } }
(Optional). If facial recognition events are required to contain video from Axxon Next, edit the
FFSECURITY_UI_CONFIG
section as shown in the example below.FFSECURITY_UI_CONFIG = { 'dossier': { 'video': True, } }
Create representations of Axxon Next cameras in FindFace Security (see Camera Management). A camera representation URL must be specified in the format
axxon:<friendlyNameLong>
, wherefriendlyNameLong
is a camera name on the Axxon Next server. Find out this name in the Axxon user interface, or via Axxon API by executing:curl http://user:password@127.0.0.1/video-origins/ { "OLOLOE-DEV/DeviceIpint.vhod_1/SourceEndpoint.video:0:0" : { "friendlyNameLong" : "vhod_1.Vhod_1", "friendlyNameShort" : "Vhod_1", "origin" : "OLOLOE-DEV/DeviceIpint.vhod_1/SourceEndpoint.video:0:0", "state" : "signal_restored" } }
For the camera from the example above, URL must be specified as
axxon:vhod_1.Vhod_1
.
The configuration is now finished. If the integration is properly configured, FindFace Security will be detecting and identifying faces in Axxon Next video streams, and facial recognition events will be featuring video clips from Axxon Next (upon relevant settings).