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§
- Bounding
Box - Captured
Photo Analysis - Face
Analysis - Frame
Analysis - Hand
Analysis - Image
Input - Landmarks
- Liveness
Challenge - A complete liveness challenge.
- Nsfw
Scores - Point
- Pose
Check - Result of validating one frame or one captured photo against a step.
- Session
Tick Json Result - Verification
Checks - Verification
Result - Verification
Session - Verification
Thresholds - Runtime knobs used by the liveness pipeline.
Enums§
- Challenge
Step - One step in a liveness challenge.
- Face
Verification Error - Public error type for the core.
- Session
Decision - Touch
Target - Facial target used by hand-to-face liveness checks.
Constants§
Traits§
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