Package-level declarations
Types
2D anchor box for SSD detection.
Pure Kotlin decoder for Google MediaPipe BlazeFace detection tensors.
Detection result from BlazeFace detector containing bounding box, 6 facial landmarks, confidence score, and estimated head pose.
Embedded binary data for Google MediaPipe BlazeFace short-range face detection model (face_detection_short_range.tflite, Apache-2.0 license).
Head pose directions requested during active liveness challenges.
Common pose interface for detected faces across platforms.
2D bounding box representation for detected faces.
Normalized multidimensional face embeddings vector.
A face matcher implementation based on Google FaceNet and MobileFaceNet models.
Base class containing the shared liveness verification and sequential pose capture state machine for FaceNet.
Configuration parameters for FaceNet and MobileFaceNet models.
Base class containing the shared biometric verification state machine for FaceNet.
2D point representation for facial landmarks.
Filter that smoothes 3D head pose angles (yaw, pitch, roll) over time using OneEuroFilter.
Embedded binary data for MiniFASNetV2 passive face anti-spoofing model (2.7_80x80_MiniFASNetV2 from Silent-Face-Anti-Spoofing, Apache-2.0 license, converted to FP16 TFLite with RGB 0, 255 input and 3-class softmax output).
Preprocessing normalization method for face image tensors.
1€ (One-Euro) Filter for real-time signal smoothing with adaptive cutoff frequency.
Visual feedback segment in the biometric verification prompt overlay.
2D similarity transform (uniform scale, rotation, and translation) mapping source image coordinates (x, y) to aligned target crop coordinates (x', y'):
Functions
Computes the expanded, image-clamped bounding box for passive face anti-spoofing (MiniFASNetV2).
Computes the optimal 2D similarity transform (Umeyama / Procrustes least-squares alignment) from the 4 central BlazeFace landmarks (rightEye, leftEye, noseTip, mouthCenter) to a canonical square target face template of size targetSize x targetSize.