myhr_facescan 0.0.2 copy "myhr_facescan: ^0.0.2" to clipboard
myhr_facescan: ^0.0.2 copied to clipboard

Enroll face using luxand, verify real people by using active liveness detection

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:myhr_facescan/enroll/index.dart';
import 'package:myhr_facescan/myhr_facescan.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return const GetMaterialApp(home: HomePage());
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Test'),
      ),
      body: Column(
        children: [
          ElevatedButton(
              onPressed: () => Get.to(const EnrollPage()),
              child: const Text('Enroll'))
        ],
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Enroll Face'),
      ),
      body: SafeArea(
          child: SingleChildScrollView(
        child: EnrollFace(
          licenseKey: '',
        ),
      )),
    );
  }
}
1
likes
0
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

Enroll face using luxand, verify real people by using active liveness detection

Homepage

License

unknown (license)

Dependencies

camera, flutter, get, image, plugin_platform_interface

More

Packages that depend on myhr_facescan

Packages that implement myhr_facescan