Configure findface-facerouter to Use Plugins

Important

Be sure to change the Tarantool database structure prior, according to the processing directive in the plugin.

Important

The findface-facerouter component must be installed and configured.

To configure findface-facerouter to use plugins, do the following:

  1. Put a plugin into a directory of your choice. All plugins in use have to be in the same directory.

  2. Open the /etc/findface-facerouter.py configuration file. Uncomment the plugin_dir parameter and specify the plugin directory.

    Warning

    The findface-facerouter.py content must be correct Python code.

    sudo vi /etc/findface-facerouter.py
    
    plugin_dir                   = '/etc/findface/plugins/'
    
  3. Restart findface-facerouter.

    sudo systemctl restart findface-facerouter.service