For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Minimum requirement
Recommended requirement

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/authentication

  • GET /api/v1/health

  • GET /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_enabled

  • auth_jwt_secret

  • auth_accept_authorization_header

  • auth_accept_api_key_header

  • auth_api_key_header_name

Environment variable overrides:

  • FACEPHI_INE_REST_AUTH_ENABLED

  • FACEPHI_INE_REST_AUTH_JWT_SECRET

  • FACEPHI_INE_REST_AUTH_ACCEPT_AUTHORIZATION_HEADER

  • FACEPHI_INE_REST_AUTH_ACCEPT_API_KEY_HEADER

  • FACEPHI_INE_REST_AUTH_API_KEY_HEADER_NAME

Public endpoints accessible without authentication:

  • GET /api/v1/health

  • GET /api/v1/version

  • Preflight 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