four_fingerprint 1.0.5
four_fingerprint: ^1.0.5 copied to clipboard
Contactless slap fingerprint capture plugin — 4-4-2 sequencing, minutiae extraction, and matching via phone camera.
four_fingerprint #
Contactless slap fingerprint capture for Flutter — 4-4-2 sequencing, minutiae extraction, and matching via phone camera.
Installation #
dependencies:
four_fingerprint: ^2.0.0
Run flutter pub get.
Usage #
import 'package:four_fingerprint/four_fingerprint.dart';
await FourFingerprint.instance.initialize();
final controller = FpCaptureController();
await controller.initialize();
// Start 4-4-2 capture
controller.startCapture();
cam.startImageStream((image) async {
await controller.processFrame(image);
});
// Save enrollment
final enrollment = controller.buildEnrollment('user_001');
await FpSecureStorage().storeEnrollment(enrollment!);
Screenshots #
| [screenshots/left_slap.png] | [screenshots/right_slap.png] | [screenshots/thumbs.png] |
API #
| Class | Purpose |
|---|---|
FourFingerprint |
Plugin entry point. Initializes native processing. |
FpCaptureController |
4-4-2 capture state machine with burst frame selection. |
FpSecureStorage |
Encrypted template storage via flutter_secure_storage. |
FpEnrollmentRecord |
Enrollment data model. |
FpMatchResult |
Verification result with score and match decision. |
Platform support #
| Platform | Supported |
|---|---|
| Android | Yes |
| iOS | Yes |
| Linux | Yes (requires system OpenCV) |