Technical specifications
1. Introduction
Facephi INE Service is a REST API service in C++ that accepts image files for processing and returns the result of the facial recognition process. The service provides an endpoint for authenticating two facial photos.
2. Hardware requirements
CPU
2 cores with support for the SSE4.2 instruction set, >=2GHz
16 cores with AVX2 ISA support
RAM
4 GB
8 GB
Disk
4 GB
4 GB SSD
Network
100 Mbps
1 Gbps
3. Software requirements
Linux x86_64 (Ubuntu 24.04 or later) with Docker 24.0 or later.
Runtime container image based on Ubuntu 26.04.
4. SDK version
The current SDK version is SelphID SDK 6.20.0.
5. REST endpoints
The service exposes the following endpoints:
POST /api/v1/facial/authenticationGET /api/v1/healthGET /api/v1/version
The service does not expose GET/POST /config endpoints at runtime.
6. JWT authentication
JWT authentication is optional and disabled by default. When enabled, the service validates HS256 tokens with a non-expired exp claim.
Startup keys:
auth_enabledauth_jwt_secretauth_accept_authorization_headerauth_accept_api_key_headerauth_api_key_header_name
Environment variable overrides:
FACEPHI_INE_REST_AUTH_ENABLEDFACEPHI_INE_REST_AUTH_JWT_SECRETFACEPHI_INE_REST_AUTH_ACCEPT_AUTHORIZATION_HEADERFACEPHI_INE_REST_AUTH_ACCEPT_API_KEY_HEADERFACEPHI_INE_REST_AUTH_API_KEY_HEADER_NAME
Public endpoints accessible without authentication:
GET /api/v1/healthGET /api/v1/versionPreflight requests
OPTIONS
Protected endpoint:
POST /api/v1/facial/authentication
JWT authentication settings can only be configured at startup, since the service does not expose runtime configuration endpoints.
Last updated