https://github.com/liangludev/face_collect_native
A plugin for liveness face recognition and capture. support Android and iOS
https://github.com/liangludev/face_collect_native
face-detection face-liveness-detection face-recognition google-ml liveness-detection
Last synced: 5 months ago
JSON representation
A plugin for liveness face recognition and capture. support Android and iOS
- Host: GitHub
- URL: https://github.com/liangludev/face_collect_native
- Owner: LiangLuDev
- License: mit
- Created: 2024-07-02T06:02:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-10T17:08:14.000Z (over 1 year ago)
- Last Synced: 2024-11-10T17:41:10.611Z (over 1 year ago)
- Topics: face-detection, face-liveness-detection, face-recognition, google-ml, liveness-detection
- Language: Dart
- Homepage:
- Size: 2 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Liveness face collect native
A plugin for liveness face recognition and capture. support Android and iOS
### Features
- To recognize a face, keep still within the face recognition frame to ensure clarity and accuracy.
- Determine if you are a real person through blinking and smiling.
- Animation during facial scanning.
- Return a clear and accurate image of the face.
### Screenshot
### How to use
```dart
PermissionStatus status = await Permission.camera.request();
if (status.isGranted) {
Uint8List? faceBytes = await FaceCollectScreen.show(context);
if (faceBytes != null) {
setState(() {
this.faceBytes = faceBytes;
});
}
}
/// show face image
Image.memory(faceBytes!, width: 300, fit: BoxFit.cover),
```