Deploy findface-facerouter in FindFace Security

To deploy the findface-facerouter component, do the following:

  1. Install findface-facerouter either from the console installer or from the apt repository as such:

    sudo apt update
    sudo apt install -y findface-facerouter
  2. Open the /etc/ configuration file.

    sudo vi /etc/
  3. If the findface-facerouter and findface-sf-api components are installed on different hosts, uncomment the sfapi_url parameter and specify the findface-sf-api host IP address.

    sfapi_url                      = 'http://localhost:18411'
  4. Open the /etc/ffsecurity/ configuration file. In the ROUTER_URL parameter, actualize the findface-facerouter IP address and port (18820 by default). Specify either external or internal IP address, subject to the network through which findface-video-worker interacts with findface-facerouter.

    sudo vi /etc/ffsecurity/
       'ROUTER_URL': '',
  5. Open the /etc/findface-video-manager.conf configuration file. In the router_url parameter, specify the IP address and port of the findface-facerouter host to receive detected faces from findface-video-worker.

    sudo vi /etc/findface-video-manager.conf
  6. Enable the findface-facerouter service autostart and launch the service.

    sudo systemctl enable findface-facerouter.service && sudo systemctl start findface-facerouter.service
  7. Restart the findface-security service.

    sudo systemctl restart findface-security.service