flutter_liveness_detection_randomized_plugin 1.0.7
flutter_liveness_detection_randomized_plugin: ^1.0.7 copied to clipboard
A Flutter plugin for liveness detection with randomized challenge response method
Flutter Liveness Detection Randomized Plugin #
A Flutter plugin for liveness detection with randomized challenge response method with an interaction mechanism between the user and the system in the form of a movement challenge that indicates life is detected on the face. This plugin helps implement secure biometric authentication by detecting real human presence through dynamic facial verification challenges.
Preview πͺ #
https://github.com/user-attachments/assets/f7266dc9-c4a2-4fba-8684-0ead2f678180
Update 1.0.6 #
Face stretching already fixed on this version
Features β¨ #
- π± Real-time face detection
- π² Randomized challenge sequence generation
- π« Cross-platform support (iOS & Android)
- π¨ Light and dark mode support
- β High accuracy liveness verification
- π Simple integration API
- π Customizable liveness challenge labels
- β³ Flexible security verification duration
- π² Adjustable number of liveness challenges
- π οΈ Adjustable image quality result
Getting Started π #
Add this to your package's pubspec.yaml
file:
dependencies:
flutter_liveness_detection_randomized_plugin: ^1.0.6
Customized Steps Label #
You can customized steps label or use certain step only of liveness challenge with this example :
config: LivenessDetectionConfig(
customizedLabel: LivenessDetectionLabelModel(
blink: '', // add empty string to skip/pass this liveness challenge
lookDown: '',
lookLeft: '',
lookRight: '',
lookUp: 'Tengok Atas', // example of customize label name for liveness challenge. it will replace default 'look up'
smile: null, // null value to use default label name
),
),
Platform Setup #
Android #
Add camera permission to your AndroidManifest.xml:
<uses-permission android:name="android.permission.CAMERA"/>
Minimum SDK version: 23
iOS #
Add camera usage description to Info.plist:
<key>NSCameraUsageDescription</key>
<string>Camera access is required for liveness detection</string>