パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.0.6

live_photo_detector

カメラに表示される顔が生きている顔かどうかを検出するための単一関数パッケージです。

AndroidiOS
30日間ダウンロード
25
いいね数
32
Pub ポイント
115

パッケージをインストール

flutter pub add live_photo_detector

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

カメラでキャプチャされた顔が生体か写真かを判断する軽量なFlutterパッケージです。機械学習を活用して顔の特徴を分析し、微細な動きや奥行きの手がかりといった生命の兆候を検出します。顔の生体確認が必要なアプリへの迅速な統合を目的としており、AndroidおよびiOSの両方のプラットフォームをサポートしています。単一の関数インターフェースを提供しており、本人確認、セキュアな認証、またはスプーフィング防止システムへの実装が容易です。

用途

  • 認証における顔の生体検出
  • 本人確認における写真スプーフィングの防止
  • リアルタイム顔認証によるセキュアなログイン
  • モバイルアプリにおけるバイオメトリック認証
  • デジタルオンボーディングにおけるセキュリティの強化

主な機能

  • 単機能API
  • クロスプラットフォーム対応(AndroidおよびiOS)
  • 機械学習ベースの検出
  • 軽量で高速
  • 最小限のセットアップが必要

適している対象

  • 顔の生体検証が必要なアプリ開発者
  • セキュリティを重視したアプリケーション
  • 本人確認サービス
  • バイオメトリックログイン付きモバイルアプリ
  • セキュアなユーザーオンボーディングを構築するスタートアップ

注意事項

  • カメラアクセス権限が必要です
  • 古いデバイスではパフォーマンスが異なる場合があります
  • 下位のMLモデルの精度に依存します
  • 顔の生体検出のみに制限
  • オフラインモードについて言及されていません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

live_photo_detector

A Flutter package to detect livelyness of a face. This package is extension of m7_livelyness_detection. This package was no longer maintained so I have updated the package.

Index

What is the Livelyness Detection?

Liveness detection for face recognition in biometrics is a technique where an algorithm detects if the person in front of the camera is alive and real. The algorithm is able to recognize a live person from presentation attacks - where a bad actor, or fraud perpetrator, uses someone else's physical characteristics or biometric data (known as "spoofs") for impersonation.

Spoofing attempts using printed photos, recordings, deep fake pictures, and 3D masks poses a serious threat. Facial Liveness Detection incorporates specialized features to identify biometric spoofing attacks, which could be an imitation emulating a person’s unique biometrics scanned through the biometric detector to deceive or bypass the identification and authentication steps provided by the system. Even though face recognition can reliably answer the question, “Is this the right person?” but not the question, “Is this a live person?” This is where liveness detection technology plays a significant role in fraud detection and mitigation. Face biometric matching must be able to detect spoofs in order to be trusted, and to maintain the integrity of biometric data.

Platform Support

iOS Android MacOS Web Linux Windows
✔️ ✔️

Installation

First, we have to install the package on flutter.

Flutter Setup

Add live_photo_detector to your pubspec.yaml dependencies.

Using command-line
flutter pub add live_photo_detector

Native Setup

Next comes the native setup on both android and iOS

iOS
iOS Setup
  1. Open the project in Xcode and set the deployment
  2. Open the ios/Runner/Info.plist file as Source Code.
  3. Add the below-mentioned code inside the <dict> tag.
  <key>NSCameraUsageDescription</key>
  <string>Camera Access for Scanning</string>
  <key>NSMicrophoneUsageDescription</key>
  <string>Microphone for playing instructions audio.</string>
  1. Open the ios/Runner/Podfile and uncomment the second line.
  platform :ios, '14.0' # <---------- Uncomment this line
  1. Set the deployment target in the Xcode project
Screenshot 2023-01-02 at 11 03 17 AM

Android
Android Setup
  1. Open the example/android/app/build.gradle file and set the minSdkVersion as 21.

Example

A call to a single line function will return a temporary path to the captured image.

Code
    final String? response =
        await M7LivelynessDetection.instance.detectLivelyness(
      context,
      config: M7DetectionConfig(
        steps: [
          M7LivelynessStepItem(
            step: M7LivelynessStep.blink,
            title: "Blink",
            isCompleted: false,
          ),
          M7LivelynessStepItem(
            step: M7LivelynessStep.smile,
            title: "Smile",
            isCompleted: false,
          ),
        ],
        startWithInfoScreen: true,
      ),
    );

Example Video

https://user-images.githubusercontent.com/106381741/210200724-ae4af9cc-ffeb-49e4-a3f9-9971b2f256b6.MP4

Contributors


Puneet Raj

カテゴリー

依存関係

依存関係一覧 8 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。