Skip to main content

sprintfacedetection 0.1.0 copy "sprintfacedetection: ^0.1.0" to clipboard
sprintfacedetection: ^0.1.0 copied to clipboard

Native face liveness detection and attendance photo capture for Android (ML Kit) and iOS (Apple Vision). Standalone package with zero location or mapping dependencies.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/face_detection_home_screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const SprintfacedetectionExampleApp());
}

class SprintfacedetectionExampleApp extends StatelessWidget {
  const SprintfacedetectionExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SprintFace Detection',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF6750A4),
          brightness: Brightness.light,
        ),
        useMaterial3: true,
      ),
      darkTheme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFFD0BCFF),
          brightness: Brightness.dark,
        ),
        useMaterial3: true,
      ),
      themeMode: ThemeMode.system,
      home: const FaceDetectionHomeScreen(),
    );
  }
}
0
likes
150
points
54
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native face liveness detection and attendance photo capture for Android (ML Kit) and iOS (Apple Vision). Standalone package with zero location or mapping dependencies.

Homepage

License

MIT (license)

Dependencies

camera, flutter, permission_handler, plugin_platform_interface, vector_math

More

Packages that depend on sprintfacedetection

Packages that implement sprintfacedetection