Back to Projects
05 // AI & Intelligent SystemsIMPLEMENTED
VerifyIdentity — Zero-Copy Edge Face Liveness
Two-stage native Kotlin ML inference pipeline (BlazeFace + INT8 MobileFaceNet) for <3GB RAM devices.
Native Kotlin Android/React Native Vision Camera V4 implementation.
Engineering Problem Statement
Running real-time face detection, 128-D embedding extraction, and anti-spoofing liveness checks on budget (<3GB RAM) mobile hardware typically triggers severe GC pauses and frame drops.
Technical Approach
Built a zero-copy native Kotlin frame processor integrated with React Native Vision Camera V4 and Worklets Core. Pre-allocates direct native `ByteBuffer` memory at startup and fuses hardware camera rotation into the YUV-to-RGB downscaling transform.
Architecture & Implementation Notes
- Stage 1: Google MediaPipe BlazeFace (Full-Range) for SSD face detection and 6-point landmark alignment.
- Stage 2: Quantized INT8 MobileFaceNet for 128-D facial embeddings and single-frame liveness classification.
Technical Limitations & Scope
- Single-frame passive liveness has known accuracy boundaries against high-resolution replay attacks compared to multi-frame depth/challenge-response.