Open Source • Apache 2.0 • v0.0.1

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.

pubspec.yaml
dependencies:
  vivd: ^0.0.1
Vivd liveness detection demo

Demo is watermarked for privacy protection

Features

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.

100%
On-Device
6
Actions
20
Faces
59
Unit Tests
Quick Start

Get running in minutes

1

Add the dependency

Add vivd: ^0.0.1 to your pubspec.yaml.

2

Initialize & start liveness

Create a Vivd() instance, call initialize(), then startLiveness() with camera frame stream.

3

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.

liveness_check.dart
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();
widget_example.dart
import 'package:vivd/vivd.dart';

// Drop-in widget — camera included
VivdLivenessDetector(
  onResult: (result) {
    if (result.isLive) {
      print('Verified!');
    }
  },
)
Compare

Why Vivd?

See how Vivd stacks up against building in-house or using closed-source alternatives.

Feature VivdBuild In-HouseClosed SDKs
Integration Time~10 min3–6 months1–2 weeks
Liveness Actions6 actionsCustom2–3 actions
On-Device
Offline Support
No API Key
Lightweight Deps
Session SigningOptional
Face ID (20 faces)Custom
Open Source
PriceFree$50K+$$/mo
Vivd Pro Coming Soon

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.

ML PAD DetectionJWT VerificationFace ManagementCompliance Ready
Learn about Pro BSL 1.1 License

Ready to verify?

Start with the free core SDK. Add Pro when you need server-backed security.

Apache 2.0 Licensed
Privacy-First
10 Minute Setup
Lightweight