FaceOnLive/Face-Liveness-Detection-SDK-Linux
FaceOnLive/Face-Liveness-Detection-SDK-Linux has 143 GitHub stars and 27 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-18 07:46 UTC. Last push 2026-07-02.
What you can do
- Passive liveness — no user action required; a single frame is enough.
- Detects print, replay (screen), and mask spoofing.
- On-premises and offline; ideal for backend verification pipelines.
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Face Liveness Detection (Face Anti Spoofing) Server SDK
Developer ToolsREADME.md
OriginalFaceOnLive — Face Liveness Detection SDK for Linux
Server-side passive face liveness detection (anti-spoofing) for Linux, exposed through a Python interface over the native engine. Detects presentation attacks — printed photos, screen replays, and masks.
Part of the FaceOnLive on-premises biometric SDK suite.
Features
- Passive liveness — no user action required; a single frame is enough.
- Detects print, replay (screen), and mask spoofing.
- On-premises and offline; ideal for backend verification pipelines.
Requirements
| OS | Linux x86-64 |
| Runtime | Python 3.8+ |
| Engine | native liveness engine (included under engine/) |
Setup
- Get a license key — free trial at https://faceonlive.com.
- Provide the key via the
LICENSE_KEYenvironment variable, orlicense.txt(replace the<YOUR_LICENSE_KEY>placeholder). - Install Python dependencies and run the provided demo.
Quick start (Python)
from engine.header import *
init_sdk() # ttv_init
result = detect_face_rgb(image) # ttv_detect_face → face box + liveness score
API reference (Python bindings → native)
| Binding | Native | Description |
|---|---|---|
get_version() |
ttv_version |
SDK version. |
get_deviceid() |
ttv_get_hwid |
Machine hardware ID (for offline licensing). |
init_sdk() / init_sdk_offline() |
ttv_init / ttv_init_offline |
Initialize online or offline. |
detect_face_rgb(image) |
ttv_detect_face |
Detect a face and return its liveness score. |
License & support
Requires a valid license key — get one at faceonlive.com. Keep license.txt out of version control. Questions: [email protected]
📦 Full SDK download
This repository contains the source/demo code only. Download the complete SDK — engine libraries and models, with full project structure — from the Releases page and extract it over this project.