A plugin for liveness face recognition and capture. support Android and iOS
- 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.
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),