Skip to main content

Crate face_verification_core

Crate face_verification_core 

Source
Expand description

Core types for an on-device face liveness and verification engine.

This crate is intentionally UI-agnostic and Flutter-agnostic. It should be usable from Flutter, Tauri, native Rust apps, servers, or any host that can call Rust/WASM.

Structs§

BoundingBox
CapturedPhotoAnalysis
FaceAnalysis
FrameAnalysis
HandAnalysis
ImageInput
Landmarks
LivenessChallenge
A complete liveness challenge.
NsfwScores
Point
PoseCheck
Result of validating one frame or one captured photo against a step.
SessionTickJsonResult
VerificationChecks
VerificationResult
VerificationSession
VerificationThresholds
Runtime knobs used by the liveness pipeline.

Enums§

ChallengeStep
One step in a liveness challenge.
FaceVerificationError
Public error type for the core.
SessionDecision
TouchTarget
Facial target used by hand-to-face liveness checks.

Constants§

EXPECTED_PHOTO_COUNT
FRAMES_OK_TO_CAPTURE
TICK_MS

Traits§

Analyzer

Functions§

compute_yaw
face_distance
generate_challenge_json
new_session_json
tick_session_json
validate_pose
validate_pose_json
verify_captured_photos
verify_captured_photos_json

Type Aliases§

Embedding