Skip to content

Drop-in face age verification for Flutter. Any model. Any platform. Compliant by default.

License

Notifications You must be signed in to change notification settings

FlutterPlaza/face_gate

FaceGate

Drop-in face age verification for Flutter. Any model. Any platform. Compliant by default.

Packages

Package Description pub.dev
face_gate Core interfaces, widgets, and API -
face_gate_tflite TensorFlow Lite provider (Android, Linux) -
face_gate_coreml CoreML provider (iOS, macOS) -
face_gate_onnx ONNX Runtime provider (all platforms) -
face_gate_mlkit Google ML Kit provider (Android, iOS) -
face_gate_cloud FaceGate Cloud provider (all platforms) -
face_gate_id_cloud FaceGate Cloud ID verification -

Quick Start

import 'package:face_gate/face_gate.dart';

// Face-only age verification
AgeGateWidget(
  minimumAge: 18,
  onVerified: (result) => print('Age verified: ${result.estimatedAge}'),
  onDenied: (result) => print('Denied'),
)

// ID + Face verification (premium)
AgeGateWidget(
  minimumAge: 21,
  mode: VerificationMode.idAndFace,
  idProvider: FaceGateCloudIDProvider(config: FaceGateApiConfig(apiKey: 'your_key')),
  onVerified: (result) => print('Verified!'),
  onDenied: (result) => print('Denied'),
)

Architecture

Provider-agnostic: swap models with one line.

AgeGateWidget / FaceGateAPI
        |
  AgeEstimationProvider (abstract)    IDVerificationProvider (abstract)
        |                                      |
  TFLite | CoreML | ONNX | Cloud        Cloud | ML Kit

License

MIT

About

Drop-in face age verification for Flutter. Any model. Any platform. Compliant by default.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published