System Requirements

In this chapter:

General Requirements

Hosts

Prior to installing FindFace Enterprise Server SDK, ensure that the host(s) meet the following minimum requirements:

Примечание

Standalone installation of FindFace Enterprise Server SDK is recommended when the number of faces in the database does not exceed some 1,000,000. Otherwise you should install Findface Enterprise Server SDK in a cluster environment and configure fast index search. See Архитектура for details.

Requirement

Description

CPU

x86-64 CPU (Intel), >2.0 Ghz, >2 cores. The CPU AVX support is required for operation of all the components, except findface-upload.

RAM

RAM consumption depends on the number of faces in your dataset. Use the benchmark results below to calculate the memory size you need. Note that if there are 2 or more galleries with facens, you have to multiply the given MongoDB and Tarantool RAM consumption by the relevant number of galleries. As a rule, 10,000,000 faces require 20Gb RAM for Tarantool. MongoDB does not need much RAM as it uses HDD as RAM when needed.

HDD

10,000,000 faces require ~20x[number of snapshots for each shard] GB for Tarantool (by default 20x3=60 GB) and 24 GB for MongoDB. To store all uploaded images via findface-upload: size of all uploaded images + 10%

Operating system

Ubuntu 16.04 LTS (only x64)

Virtual machine support

VMware

Here you can see the FindFace Enterprise Server SDK memory usage benchmark results. Use these data to calculate the RAM size you need.

Примечание

Memory usage may slightly vary from test to test.

Примечание

Depending on your needs, adjust the Tarantool maximum memory usage at /etc/tarantool/instances.enabled/FindFace.lua.

Примечание

Starting with version 2.6, the nnapi component is deprecated, and extraction-api is used as a default facen extractor (as well as a default face detector).

The testing setup is the following:

  • Facen model: apricot_320

  • Models for gender, age and emotions recognition (GAE in the table): fr_1_gender0, fr_1_age0, emotion_1

  • Models used in extraction-api: apricot_320, fr_1_gender0, fr_1_age0, emotion_1

  • MongoDB, Tarantool: facens are stored in one gallery. If there are 2 or more galleries with facens, multiply the given RAM amount by the relevant number of galleries.

Number of faces

RAM consumption by components, MB

MongoDB

Tarantool

nnapi

nnapi + GAE

extraction-api

0 (own needs)

~70

~77

~265

~1000

~1GB (1 Core)/~7GB (8 Cores) (up to 10,5 under load)

50,000

~181

~189

~400

~1400

100,000

~294

~263

~400

~1400

500,000

~1190

~1013

~400

~1400

1,000,000

~2310

~1943

~400

~1400

Supported Images

FindFace Enterprise Server SDK supports the following image formats:

  • JPEG,

  • PNG,

  • WebP.

The maximum image size is 10 MB. The minimum distance between pupils is 40 px.

Video Face Detection

Video Face Detector Host

A host for the video face detection component must meet the following requirements (given that a video stream is 1 x 720p (1280×720) at 25FPS playback speed):

Примечание

Requirements depend on motion activity and the number of faces in video, the video face detector settings and FindFace Enterprise Server SDK overall load. To select an optimal configuration, contact our experts by info@ntechlab.com.

Requirement

Description

CPU

≥ INTEL Core i5 6400 (2 physical core CPU). AVX support required.

RAM

4 GB in the real-time mode.

Operating system

Ubuntu 16.04 LTS (only x64).

Supported Video File Formats and Codecs

The fkvideo_detector component supports all video file formats and codecs that can be decoded by FFmpeg.

FindFace Web User Interface

To process video in the FindFace Enterprise Server SDK web user interface, its host should meet the same requirements as for the video face detector.