face_detector_flutter 1.0.1
face_detector_flutter: ^1.0.1 copied to clipboard
A Flutter plugin for real-time face detection using Google ML Kit and Camera. Provides a simple API to detect faces, validate alignment, and capture the face image as bytes (Uint8List) for authenticat [...]
import 'package:example/screens/home_screen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const FaceRecognitionDemoApp());
}
class FaceRecognitionDemoApp extends StatelessWidget {
const FaceRecognitionDemoApp({super.key});
@override
Widget build(BuildContext context) => MaterialApp(
title: 'Face Recognition Auth Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
useMaterial3: true,
appBarTheme: const AppBarTheme(centerTitle: true, elevation: 0),
),
home: const HomeScreen(),
debugShowCheckedModeBanner: false,
);
}