Technical specifications
1. Introduction
This document describes the technical requirements for integrating FacePhi SelphID SDK into your systems.
The components provided and the steps required to install the SDK on the following operating systems are described below: Windows and Linux.
2. Technical specifications
The following sections describe the recommended hardware and software requirements for installing the SDK on the server side.
2.1 Hardware requirements
The following tables show the recommended hardware requirements for installing SelphID SDK on different operating systems:
2.1.1. CPU version requirements
Recommended hardware requirements for SelphID SDK, equivalent to AWS c5.4xlarge:
16 vCPU Intel Xeon Platinum 3.6 GHz
32 GB
20 GB SSD
2.1.2. GPU version requirements
Recommended hardware requirements for SelphID SDK with GPU acceleration, equivalent to AWS g4dn.4xlarge:
16 vCPU Intel Xeon 2.5 GHz
1x NVIDIA T4 (16 GB GDDR6)
64 GB
20 GB SSD
2.2 Software requirements
The following tables show the minimum software requirements for installing SelphID SDK on different operating systems:
2.2.1 SelphID SDK software requirements
Windows 11 / Windows Server 2025
Visual C++ 2026 x64
Java 1.8 (Oracle JDK recommended)
.Net Framework 4.0
2.2.2 SelphID SDK software requirements (Linux Ubuntu)
Ubuntu 18.10 / Red Hat 8 or compatible
glibc 2.28
GCC 7.5.0 (only for the C++ SDK version)
Java 1.8 (Oracle JDK recommended)
2.3 Facial Recognition algorithm reliability statistics
The following tests evaluate the reliability of SelphID SDK 6.22.0. The goal is to understand the SDK's operation and behavior by obtaining objective measures of the reliability and accuracy of facial recognition software. To this end, experiments were conducted using a widely used public database: NIST Face Recognition Grand Challenge ( FRGC ) [1].
The experiments show results for authentication or verification processes:
Verification (1:1): 'Are you who you say you are?': Determines whether comparing two biometric samples (facial templates) produces a score above a threshold, meaning that the system has positively verified that you are who you say you are. These systems are known as 1:1 because the facial pattern being evaluated is compared only with your facial template, returning a 'yes' or 'no' answer.
Verification (1:N): 'Who are you?': In this operating mode, the biometric sample is compared against a list of patterns stored in a database. This is also known as 1:N because the identity must be correctly identified among a number N of patterns belonging to different identities against which it is compared.
Two sets of images are used to evaluate these operating modes: a test set (Query set) that simulates unknown users attempting to access the system, and a registration set containing previously registered legitimate users (Target set) against which the comparison is performed.
The results obtained in these experiments follow the standard measures defined in the international standard ISO 19795-1 [2].
2.3.1 1:1 Verification
2.3.1.1 Uncontrolled conditions (FRGC Exp 4)
This experiment measures the technology's robustness against images captured under uncontrolled conditions. The image sets used are taken from the FRGC v2.0 database [3]. The evaluation consists of a 'target set' of images captured under controlled conditions and a 'query set' of images captured under uncontrolled conditions. These are the same sets used in Experiment 4 predefined in the aforementioned database [4]:
The 'Target Set' for FRGC Experiment 4 consists of 16,028 images belonging to 466 users.
The 'Query Set' for FRGC is a test set containing a total of 8,014 images.
The total number of comparisons performed exceeds 128 million.
The following table shows the most important aspects of the experiment, as well as the True Match Rate (TMR) with the False Match Rate (FMR) set to 0.1%:
ROC I
99.9999%
ROC II
99.9999%
ROC III
99.9999%
Table 1. Experiment results using images captured under uncontrolled conditions.
The following chart shows the results obtained in the experiment using Receiver Operating Characteristic (ROC) curves. Three ROC curves are shown, evaluating the algorithm's performance using images captured over time. In addition to the TMR at FMR=0.1%, additional markers have been added to each ROC curve to highlight the high-security operating points.

2.3.2 1:N Identification
2.3.2.1 Searching for subjects in a list
This experiment evaluates the reliability of the SDK for a Closed-Set Identification application (see note below). To do so, the Experiment 1 from the FRGC 2.0 database will be used. In this case, a single image will be used to create the biometric template. The sizes of the Test and Enrollment sets are 16,028 samples each (257 million comparisons).
For each example in the test set, the system will be asked to return the N biometric samples from the enrollment set with the highest similarity. Two conditions must be met for the system to correctly identify the user:
The correct identity must be ranked within R (Rank) of the Candidate List L (Candidate List).
The similarity must be greater than the security threshold T (Threshold). These thresholds correspond to the Security Thresholds provided by FacePhi.
To make the test more demanding, Rank has been reduced to its minimum (R=1), and the largest possible list has been used, i.e., L=16,028 (the search is performed against the entire database). In short, to count as a hit, the person must be ranked within the Candidate List for the entire database, which is more commonly known as Rank 1 Hit Rate 4 (Rank One is defined in reference [4]).
Reliability measures are based on the True Positive Identification Rate True Positive Identification Rate (TPIR) for different security levels set by the threshold.
Biometric template size
1322 bytes
TPIR(R=1), Rank1
NIST FRGC Exp 1
98.7272%
Table 2. Rank 1 of the identification experiment.
2.4 Performance statistics
The following figure shows performance statistics measured for SelphID SDK, in terms of the times obtained for the following modules:
Passive liveness
Biometric template extraction.
Facial matching (1:1) using templates and images.
Facial matching (1:N) using templates.
To measure liveness, extraction, 1:1 matching, and 1:N matching, a device with the following specifications was used:
Intel Xeon Platinum 3.6 GHz
16-core processor
32 GB RAM
Linux Ubuntu 18.04.6 LTS
Biometric extraction (imagen 640x480)
Matching (1:1) using raw templates
Matching (1:1) using images (640x480)
Performance
65 ms
129 ms
121 ms
Figure 1. Data obtained with SelphID SDK for Linux.
The following are the performance statistics for the liveness check:
Image 640x480
192 ms
165 ms
Image 1280x720
400 ms
249 ms
Figure 3. Data obtained with the Linux version of SelphID SDK.
The following are the performance data for gallery creation and 1:N identification.
templates/second
65.000
6.500.000
Figure 4. Data obtained with SelphID SDK Linux.
3. Passive Liveness Check Detection
The techniques used by fraudsters to impersonate legitimate users are constantly evolving and are known as attacks. Since these applications are integrated into critical security systems, they must be equipped with security measures for Presentation Attack Detection (PAD) and Manipulation Attack Detection (MAD), as it is vital to determine whether the biometric patterns presented to the application come from a genuine ("bona fide") user or not. (A genuine user is a legitimate system user who is present in front of the camera at the time of biometric measurement.)
The main objective is to provide facial recognition algorithms with the level of security needed to prevent the fraudulent use of a user's facial features obtained from photographs and/or videos during identification, thereby preventing large-scale fraud.
Facephi technology ensures that the biometric pattern obtained from the user's face has been extracted from a bona fide biometric presentation, ruling out patterns obtained from an attacker presenting paper, photographs, videos, masks and/or injecting manipulated images into the capture system.
Facephi has implemented a secure and easy-to-use system that lets users access the system in less than a second with complete security, faster and easier than memorizing a username and password. The perfect balance between security and ease of access.


Using Facephi's Deep Learning techniques, this new tool determines whether an image comes from a genuine user login or, instead, from a reproduction using printed photos, manipulated images, or images displayed on a mobile device, tablet, or PC. This tool complements the robust facial recognition system provided by Selphi and SelphID. Its main advantage is that it greatly improves the user experience: users only need to stand in front of the camera and take a selfie, with no additional cooperation required.
FaceLiveness is based on Machine Learning algorithms trained to extract features contained in a selfie image (for example, artifacts, distortions, texture, depth, light reflectance, resolution inconsistencies, blood pulse, etc.) that allow the classification module to distinguish between a bona fide (also known as genuine) presentation and an attack (for example, paper, photo, selfie/video replay, mask, etc.).
A passive Presentation Attack Detection system requires no action from the user and relies entirely on Deep Learning techniques. Therefore, it adds no friction to the verification and authentication process and is faster than active systems. At the same time, capturing a simple selfie (or a few frames extracted from a short video) adds complexity to the system, resulting in a greater ability to detect a wide range of attacks, whether handcrafted or digitally manipulated.
3.1 Presentation Attack Detection
The passive Presentation Attack Detection (PAD) system from Facephi (FaceLiveness) determines whether access is being attempted by a genuine (bona fide) user or by an attacker presenting a piece of paper, photo, video, or mask that depicts the target's biometric features in an attempt to impersonate them.
3.2. Manipulation Attack Detection
The Manipulation Attack Detection (MAD) system from Facephi (FaceLiveness) determines whether access is being attempted by a genuine (bona fide) user or by an attacker injecting a modified, manipulated image into the system.
Facephi's new technology can prevent:
Face swap manipulation: Overlaying one person's face onto another person's photo or video.
Synthetic face (deepfake): A synthetic face generated using deep learning methods, such as generative adversarial networks (GANs) or diffusion networks.
3.3. Coercion Attack Detection
Starting with version 6.20.0, the liveness engine includes support for coercion attack detection. This includes threats involving weapons (guns, knives), as well as forcing the eyes open with one's hands.
Initially, this is experimental support, provided in addition to FMAD and FPAD tests, but it does not affect the final result (Live, NoLive). For now, coercion must be checked using NoLiveDetails::CoercionScore.
3.4. Metrics based on ISO/IEC 30107
The ISO/IEC 30107-1:2023 (Information technology — Biometric presentation attack detection — Part 1: Framework) and ISO/IEC 30107-3:2023 (Part 3: Testing and reporting) establish the standards for determining the specifications, characterizations, and evaluations of presentation attacks (Type 1) that occur at the sensor (whether on a smartphone or a desktop camera) during the capture of biometric traits (for example, a selfie or a video). The most important metrics for evaluating the performance of a Presentation Attack Detection (PAD) system are:
APCER - Attack Presentation Classification Error Rate: proportion of attack presentations using the same species of presentation attack instrument (PAI) that are incorrectly classified as bona fide presentations by a presentation attack detection (PAD) subsystem in a specific scenario.
BPCER - Bona Fide Presentation Classification Error Rate: proportion of bona fide presentations incorrectly classified as presentation attacks in a specific scenario.
PAIs - Presentation Attack Instrument: a biometric characteristic or object used in a biometric presentation attack.
Bona fide Presentation: a biometric presentation made without the intent to interfere with the operation of the biometric system.
Presentation Attack: presentation to the biometric capture subsystem with the intent to interfere with the operation of the biometric system.
Paper print
109637
0.40 %
Screen replay
304582
0.12 %
Simple mask
46503
0.01 %
Advanced mask
5184
0.75 %
Attack Presentation Classification Error Rate and Manipulation (APCER) using test samples of paper, mask, and device (photo on screen). Metrics calculated as the average across internal and public datasets.
Bona fide access attempts
396230
1.10 %
Bona Fide Presentation and Manipulation Classification Error Rate (BPCER) using genuine test samples
Bona fide access attempts
370671
6.85 %
Bona Fide Coercion Detector Error Rate (BPCER) using genuine test samples
4. Technology usage requirements
Resolution
1080P
-
-
IOD
IOD>80
IOD>60
IOD > 30px
Compression
Uncompressed format
JPEG with low compression (70%) (*)
-
Color
Color
Color
Grayscale
Pose
< 5° (Yaw, Pitch, Roll)
< 15° (Yaw, Pitch, Roll)
< 45° (Yaw, Pitch, Roll)
Face position relative to the background
Full frontal token image
> 5% of the face width
> 8% of the face width
(*) Estimated values
5. References
[1] B. P. J. Phillips, P. J. Rauss, and S. Z. Der, 'FERET (Face Recognition Technology) Recognition Algorithm Development and Test Results', October 1996. Army Research Lab technical report 995.
[2] ISO/IEC 19795-1 standard: 'Information technology – Biometric performance testing and reporting – Part 1: Principles and framework', 2006
[3] P. J. Phillips, P. J. Flynn, T. Scruggs, K. W. Bowyer, J. Chang, K. Hoffman, J. Marques, J. Min, and W. Worek, ' Overview of the Face Recognition Grand Challenge' , 2005. IEEE Conference on Computer Vision and Pattern Recognition.
[4] PJ Phillips, et al. 'Preliminary Face Recognition Grand Challenge Results' , 2006 - 7th International Conference on Automatic Face and Gesture Recognition.
Last updated