Face Liveness That Actually Works
Drop-in Flutter SDK for on-device face verification. No server, no API key, minimal dependencies. Just blink, smile, and verify.
dependencies:
vivd: ^0.0.1
Demo is watermarked for privacy protection
Everything you need for face verification
Built for Flutter developers who need reliable, privacy-preserving liveness detection.
6 Liveness Actions
Blink, smile, head turn left/right, look up/down — Fisher-Yates shuffled each session.
Session Security
HMAC-SHA256 frame signing with nonce replay protection.
Cross-Platform
iOS and Android. Front camera support out of the box.
Privacy-First
100% on-device. No server. No data leaves the device.
Lightweight
Minimal deps — camera, ML Kit, crypto only.
Face ID
Register & identify up to 20 faces. Adaptive template blending.
Get running in minutes
Add the dependency
Add vivd: ^0.0.1 to your pubspec.yaml.
Initialize & start liveness
Create a Vivd() instance, call initialize(), then startLiveness() with camera frame stream.
Check the result
Verify with result.isLive and the confidence score. Dispose when done.
Or use the drop-in widget
Use VivdLivenessDetector widget — camera handling built-in. See the example app.
import 'package:vivd/vivd.dart';
final vivd = Vivd();
await vivd.initialize();
// Start liveness with camera frames
final result = await vivd.startLiveness(
frameStream: cameraStream,
actions: [
VivdAction.blink,
VivdAction.smile,
VivdAction.headTurnLeft,
],
);
if (result.isLive) {
print('Face verified!');
print('Score: ${result.score}');
}
await vivd.dispose();import 'package:vivd/vivd.dart';
// Drop-in widget — camera included
VivdLivenessDetector(
onResult: (result) {
if (result.isLive) {
print('Verified!');
}
},
)Why Vivd?
See how Vivd stacks up against building in-house or using closed-source alternatives.
| Feature | Vivd | Build In-House | Closed SDKs |
|---|---|---|---|
| Integration Time | ~10 min | 3–6 months | 1–2 weeks |
| Liveness Actions | 6 actions | Custom | 2–3 actions |
| On-Device | |||
| Offline Support | |||
| No API Key | |||
| Lightweight Deps | |||
| Session Signing | Optional | ||
| Face ID (20 faces) | Custom | ||
| Open Source | |||
| Price | Free | $50K+ | $$/mo |
Need server-backed verification?
Vivd Pro adds ML-based Presentation Attack Detection (PAD), compliance features, face management, and JWT-signed server-verified results. Upgrade when you need enterprise-grade security.
Ready to verify?
Start with the free core SDK. Add Pro when you need server-backed security.