TRE Faceverify

Production face verification API for identity workflows

A production-grade face verification API and SaaS platform that compares two face images and returns a reliable match/no-match decision — purpose-built for KYC, onboarding, proctoring, and fraud prevention.

Product Overview

What TRE Faceverify does

A complete identity verification platform — from face detection and quality checks to embedding comparison, billing, and analytics.

Face Detection & Embedding

SCRFD face detection + AdaFace 512-D embeddings for accurate comparison across challenging image conditions.

REST API

Single POST endpoint with API-key auth, clear error codes, multipart upload, and no-charge on error responses.

Customer Dashboard

Credit balance, usage logs, API key management, payment history, and webhook configuration in one place.

Usage-Based Billing

10 free signup credits, 1 credit per verification, Razorpay-powered purchases — credits only consumed on valid decisions.

The Problem

Businesses need reliable identity verification without building an ML stack from scratch.

Building production-ready face verification requires expertise in computer vision, deep learning model deployment, API engineering, scalable infrastructure, and SaaS platform development — a significant investment that diverts resources from core product work.

Our Solution

TRE Faceverify — a complete, ready-to-integrate verification platform.

From face detection and quality assessment to embedding comparison and calibrated decision-making, the platform handles the entire pipeline. The customer dashboard, billing system, and webhook integration make it a drop-in solution for teams that need identity verification without ML overhead.

  • SCRFD face detection with 5-point landmark localisation
  • AdaFace quality-aware 512-D facial embeddings
  • Configurable confidence bands from lenient to high-security
  • Comprehensive quality gates for spoof resistance
  • Full SaaS platform with dashboard, billing, and webhooks
Platform Capabilities

Everything you need to run identity verification at scale

A full-stack SaaS platform with developer-friendly APIs and enterprise-grade management tools.

Verification API

POST /api/v1/verify-face with multipart upload, API-key auth, and configurable operating modes.

Batch Verification

Up to 50 face pairs in a single request with independent processing and per-pair credit charging.

API Key Management

Create, rename, and revoke keys with SHA-256 hashing at rest and prefix-only visibility.

Usage Logs

Filterable logs with date range, endpoint, and success/failure status for every request.

Credit Billing

Razorpay-powered purchases, transaction history, and 10 free signup credits to start.

Webhooks

Event-driven notifications for verification results, batch completion, low credits, and payments.

Admin Monitoring

Global analytics, user management, credit adjustments, and system settings from a dedicated admin panel.

Technical Architecture

Engineered for reliability and performance

A lean, production-hardened stack deployed on dedicated ARM infrastructure.

Backend API

Python 3.14 · FastAPI 0.138 · Uvicorn

ML Inference

ONNX Runtime 1.27 (CPU) · SCRFD-34G · AdaFace (512-D)

Image Processing

OpenCV 4.13 · Pillow · EXIF correction · Adaptive sharpening

Database

PostgreSQL 17 · SQLAlchemy 2.0

Frontend

Next.js 15 · React 18 (static export via Nginx)

Payments

Razorpay 2.0 with signature validation

Infrastructure

Raspberry Pi 5 (ARM64) · Ubuntu · Nginx · Systemd

Security

SHA-256 (API keys) · HS256 (JWT) · HMAC (webhooks) · CORS

Security

Security built into every layer

Authentication, data protection, and infrastructure hardening across the platform.

Hashed API Keys

SHA-256 hashed at rest with prefix-only plain-text visibility. Keys shown only once at creation.

JWT Dashboard Auth

HS256 tokens with 24h expiry for web dashboard access. Password security with salted SHA-256.

HMAC Webhook Signing

Every webhook payload signed with HMAC-SHA256 using per-webhook secrets for verification.

Hardened Deployment

Systemd sandboxing (NoNewPrivileges, PrivateTmp, ProtectHome), security headers, CORS restriction, and zero stack trace leakage.

Use Cases

Built for real-world identity workflows

From fintech KYC to healthcare identity — TRE Faceverify integrates into existing processes with a single API.

KYC & Identity Verification

Verify user identity against government-issued ID photos during account creation and onboarding.

Account Onboarding

Prevent duplicate accounts by checking new profile photos against existing user images.

Exam Proctoring

Verify test-taker identity at login and during periodic checkpoints throughout online examinations.

Access Control

Biometric check-in for physical access, time tracking, and visitor management systems.

Fraud Prevention

Detect identity fraud in account recovery flows, high-value transactions, and sensitive action authorisation.

Healthcare Identity

Verify patient identity against medical records during telemedicine consultations and prescription fulfilment.

Ready to integrate face verification?

Try TRE Faceverify for your identity workflows, or get in touch to build a custom AI/API/SaaS platform tailored to your business.