Skip to main content

Crate tauri_plugin_rekognition_liveness

Crate tauri_plugin_rekognition_liveness 

Source

Structs§

DetectLivenessError
DetectLivenessRequest
DetectLivenessResponse
Result of a single Liveness session run on-device. The reference image, confidence score, and audit images are not returned through this channel — the consuming app’s backend retrieves them via GetFaceLivenessSessionResults using the same sessionId.
LivenessCredentials
Short-lived AWS credentials minted by the consuming app’s backend (e.g. via STS:AssumeRole against a role with rekognition:StartFaceLivenessSession). The plugin passes these straight through to the native Amplify SDK.
LivenessDisplayText
Optional UI-text overrides applied to the Amplify Liveness UI on this session only. Useful when the operator-handed-the-device wording (“Center your face”) doesn’t match the third-party-being-scanned context (e.g. rear-camera gate verification — the camera doesn’t face the user holding the phone, it faces a driver).

Enums§

Error

Traits§

RekognitionLivenessExt
Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the rekognition-liveness APIs.

Functions§

init
Initializes the plugin. Call this from your Tauri app’s lib.rs:

Type Aliases§

Result