Skip to content
Projects

FaceOnLive/Face-Recognition-SDK-iOS

View on GitHub

FaceOnLive/Face-Recognition-SDK-iOS has 98 GitHub stars and 8 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-16 20:03 UTC. Last push 2026-07-02.

How these counts are measured

What you can do

  • Face detection with landmarks and a liveness score (blocks photos, videos, masks).
  • Face template extraction and similarity comparison for verification & identification.
  • Fully on-device and offline; camera and image input.

Measured star growth

in 24h
0
in 7 days
Update delayed
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

Fast, Accurate, Mask-Aware Face Recognition SDK with Liveness Detection

Developer Tools

README.md

Original

FaceOnLive — Face Recognition & Liveness SDK for iOS

On-device face detection, face liveness (anti-spoofing), and 1:1 / 1:N face matching for iOS. All processing runs locally — no image ever leaves the device.

Part of the FaceOnLive on-premises biometric SDK suite.

Features

  • Face detection with landmarks and a liveness score (blocks photos, videos, masks).
  • Face template extraction and similarity comparison for verification & identification.
  • Fully on-device and offline; camera and image input.

Requirements

Min iOS 13.0+
Language Swift
IDE Xcode 14+
Framework facesdk.framework (included)

Setup

  1. Open FaceDemo.xcodeproj (or the workspace) in Xcode.
  2. Get a license key — free trial at https://faceonlive.com.
  3. In FaceDemo/ViewController.swift, replace <YOUR_LICENSE_KEY> in FaceSDK.setActivation(...).
  4. Build and run on a device.

Quick start

var ret = FaceSDK.setActivation("<YOUR_LICENSE_KEY>")
if ret == SDK_SUCCESS.rawValue {
    ret = FaceSDK.initSDK()
}

let faces = FaceSDK.faceDetection(image)          // detect + liveness
let t1 = FaceSDK.templateExtraction(image1, faces1[0])
let t2 = FaceSDK.templateExtraction(image2, faces2[0])
let similarity = FaceSDK.similarityCalculation(t1, t2)   // 0.0 – 1.0

API reference

Method Description Returns
setActivation(license) Activate with your license key. SDK_SUCCESS or error
initSDK() Load the face models. SDK_SUCCESS or error
faceDetection(image) Detect faces (box, landmarks, liveness score). array of faces
templateExtraction(image, face) Extract a face's feature template. template
similarityCalculation(t1, t2) Compare two templates. 0.0–1.0

Status codes: SDK_SUCCESS, SDK_LICENSE_KEY_ERROR, SDK_LICENSE_APPID_ERROR, SDK_LICENSE_EXPIRED, SDK_NO_ACTIVATED, SDK_INIT_ERROR.

License & support

Requires a valid license key — get one at faceonlive.com. Never commit your key. 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.