Neural Network Models InstallationΒΆ

To detect and identify faces and face attributes (gender, age, emotions, beard, glasses, etc.), findface-extraction-api needs neural networks.

If you have to manually initiate the models installation, use the console installer as follows:

  1. Execute the prepared <findface-security-and-server-xxx>.run file.

    sudo ./<findface-security-and-server-xxx>.run
    
  2. Select the installation type: Fully customized installation.

  3. Select a component to install: findface-data. To do so, first, deselect all the listed components by entering -* in the command line, then select the required component by entering its sequence number (keyword): 1. Enter done to save your selection and proceed to another step.

  4. In the same manner, select models to install. After that, the installation process will automatically begin.

Note

You can find installed face recognition models at /usr/share/findface-data/models/face/, face features recognition models at /usr/share/findface-data/models/faceattr/.

ls /usr/share/findface-data/models/face/
grapefruit_160.cpu.fnk  grapefruit_160.gpu.fnk  grapefruit_480.cpu.fnk  grapefruit_480.gpu.fnk

ls /usr/share/findface-data/models/faceattr/
age.v1.cpu.fnk  age.v1.gpu.fnk  beard.v0.cpu.fnk  beard.v0.gpu.fnk  emotions.v1.cpu.fnk  emotions.v1.gpu.fnk  gender.v2.cpu.fnk  gender.v2.gpu.fnk  glasses3.v0.cpu.fnk  glasses3.v0.gpu.fnk  liveness.v3.gpu.fnk