Search packages, repositories and app categories

GitHub repositorymncinnovation/mnc_identifier_face

mnc_identifier_face

mncinnovation/mnc_identifier_face open-source repository details.

mnc_identifier_face project cover
Stars
12
Forks
13
Last push (UTC)
Aug 23, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

mnc_identifier_face

banner liveness

Flutter package for liveness detection using mlkit face recognition to detect live person present at the point of capture.

Installation


Android

This plugin requires Android SDK 21 or higher.

iOS

This plugin requires iOS 11.0 or higher.

Add this code to your Info.plist

    <key>NSPhotoLibraryUsageDescription</key>               
	<string>(Reason to use Photo Library)</string> 
	<key>NSCameraUsageDescription</key> <!-- added this for camera permission -->
	<string>(Reason to use camera access)</string>

Usage

import 'package:mnc_identifier_face/mnc_identifier_face.dart';
import 'package:mnc_identifier_face/model/liveness_detection_result_model.dart';

...

 Future<void> startDetection() async {
    try {
      LivenessDetectionResult livenessResult =
                      await MncIdentifierFace().startLivenessDetection();
      debugPrint("result is $livenessResult");
    } catch (e) {
      debugPrint('Something goes unexpected with error is $e');
    }
  }

Bugs or Contributing

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket. Pull request are also welcome.

MNC Innovation Center GitHub avatar
GitHub author

MNC Innovation Center ↗

Jakarta
LanguagesDartKotlinRubySwiftObjective-C

Packages published by this repository

Dependencies used

Dependency list 4 items

  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^2.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗