face_guidance 0.0.3 copy "face_guidance: ^0.0.3" to clipboard
face_guidance: ^0.0.3 copied to clipboard

A Flutter package for face guidance and automatic face capture using Google ML Kit. Perfect for KYC, attendance, and identity verification apps.

face_guidance #

Flutter package for real-time face guidance, frame alignment, and automatic face capture using Google ML Kit. Perfect for KYC, attendance, and identity verification apps.

Features #

  • Real-time face detection
  • Guidance to align face in frame
  • Automatic photo capture when face is stable
  • Configurable frame size, timeout, and colors
  • Supports multiple languages

Installation #

Add to your android/app/src/main/AndroidManifest.xml:

<uses-permission android:name="android.permission.CAMERA" />

Usage

import 'package:face_guidance/face_guidance.dart';

FaceGuidanceView(
  config: CaptureConfig(
    timeoutSeconds: 20,
    language: "id",
  ),
  onSuccess: (file) {
    # handle captured image
  },
  onTimeout: () {
    # handle timeout
  },
  onError: (err) {
    # handle error
  },
)

3
likes
125
points
192
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for face guidance and automatic face capture using Google ML Kit. Perfect for KYC, attendance, and identity verification apps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

camera, flutter, google_mlkit_face_detection

More

Packages that depend on face_guidance