https://github.com/bagussubagja/flutter-liveness-detection-randomized-plugin
A Flutter plugin for liveness detection with randomized challenge response method
https://github.com/bagussubagja/flutter-liveness-detection-randomized-plugin
android dart face-detection flutter flutter-apps flutter-package flutter-plugin ios liveness liveness-detection secure security
Last synced: about 1 year ago
JSON representation
A Flutter plugin for liveness detection with randomized challenge response method
- Host: GitHub
- URL: https://github.com/bagussubagja/flutter-liveness-detection-randomized-plugin
- Owner: bagussubagja
- License: mit
- Created: 2024-11-02T16:22:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-02T09:22:56.000Z (about 1 year ago)
- Last Synced: 2025-04-02T09:25:21.671Z (about 1 year ago)
- Topics: android, dart, face-detection, flutter, flutter-apps, flutter-package, flutter-plugin, ios, liveness, liveness-detection, secure, security
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_liveness_detection_randomized_plugin
- Size: 187 KB
- Stars: 11
- Watchers: 1
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
[](https://pub.dev/packages/flutter_liveness_detection_randomized_plugin)
[](https://app.codacy.com/gh/bagussubagja/flutter-liveness-detection-randomized-plugin/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
## Preview 🪟

https://github.com/user-attachments/assets/f7266dc9-c4a2-4fba-8684-0ead2f678180
## 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
## Getting Started 🌟
Add this to your package's `pubspec.yaml` file:
```yaml
dependencies:
flutter_liveness_detection_randomized_plugin: ^1.0.5
```
## 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:
```
```
Minimum SDK version: 23
### iOS
Add camera usage description to Info.plist:
```
NSCameraUsageDescription
Camera access is required for liveness detection
```