ArcFaceEmbedder

class ArcFaceEmbedder(engine: InferenceEngine, model: ByteArray, options: SessionOptions = SessionOptions()) : FaceEmbedder

ArcFace-family embedder (e.g. MobileFaceNet trained with ArcFace loss). Model I/O contract: [1,3,112,112] RGB normalised to (v - 127.5) / 127.5, output a single embedding vector (typically 512-d).

Faces are aligned with a similarity transform fitted to the five landmarks and the standard 112x112 template.

Licensing: Faktel bundles no embedding weights. The popular InsightFace buffalo weights are restricted to non-commercial research; verify the licence of the exact weights you ship (see models/MODELS.md).

Constructors

Link copied to clipboard
constructor(engine: InferenceEngine, model: ByteArray, options: SessionOptions = SessionOptions())

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun embed(image: RgbImage, face: Face): FaceEmbedding