Deploy findface-facerouter
in FindFace Multi
To deploy the findface-facerouter
component, do the following:
Install
findface-facerouter
either from the console installer or from the apt repository as such:sudo apt update sudo apt install -y findface-facerouter
Open the
/etc/findface-facerouter.py
configuration file.sudo vi /etc/findface-facerouter.py
If the
findface-facerouter
andfindface-sf-api
components are installed on different hosts, uncomment thesfapi_url
parameter and specify thefindface-sf-api
host IP address.sfapi_url = 'http://localhost:18411'
Open the
/etc/findface-security/config.py
configuration file. In theROUTER_URL
parameter, actualize thefindface-facerouter
IP address and port (18820 by default). Specify either external or internal IP address, subject to the network through whichfindface-video-worker
interacts withfindface-facerouter
.sudo vi /etc/findface-security/config.py ... FFSECURITY = { 'ROUTER_URL': 'http://127.0.0.1:18820/v0/frame?',
Enable the
findface-facerouter
service autostart and launch the service.sudo systemctl enable findface-facerouter.service && sudo systemctl start findface-facerouter.service
Restart the
findface-security
service.sudo systemctl restart findface-security.service