face_recognition_engine 1.0.0
face_recognition_engine: ^1.0.0 copied to clipboard
On-device face recognition for Flutter using MobileFaceNet embeddings and cosine matching, with multi-angle enrollment storage and anti-spoofing hooks.
1.0.0 #
First public release.
FaceRecognitionKit.enroll(context, ...)— opens a guided multi-angle camera and returns the captured embeddings (+ a front-pose JPEG) as anEnrollmentResult.FaceRecognitionKit.detect(context, candidates: ...)— opens a live camera, runs the configured liveness / anti-spoofing checks, and returns the matchedFaceProfileas aDetectionResult.EnrollmentScreen/DetectionScreenwidgets for custom navigation.FaceRecognizer— headless engine: load a model, embed a frame, identify probes.FaceProfileStore— file-backed multi-angle enrollment storage.RecognitionConfig— immutable, JSON-serialisable thresholds for recognition and liveness / anti-spoofing; drives both flows.SpoofDetector— passive texture/CNN anti-spoofing (bring your own model).FaceRecognitionUtil— low-level NV21 decode, crop, embed and cosine-match primitives.- No model is bundled — supply a MobileFaceNet
.tflite(112×112 → 192-d) viamodelAsset:ormodelBytes:. See the README "Model & license" section.