패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.0.6

live_photo_detector

카메라에 보이는 얼굴이 살아있는 얼굴인지 여부를 감지하는 단일 함수 패키지입니다.

AndroidiOS
30일 다운로드
25
좋아요
32
Pub 점수
115

패키지 설치

flutter pub add live_photo_detector

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

카메라를 통해 캡처한 얼굴이 살아 있는지 사진인지 판단하는 가벼운 플러터 패키지입니다. 머신 러닝을 활용하여 얼굴 특징을 분석하고 미세한 움직임과 깊이 정보와 같은 생명 징후를 탐지합니다. 신원 확인, 안전한 인증 또는 위조 방지 시스템에 사용되는 앱에 빠르게 통합할 수 있도록 설계되었으며, 안드로이드 및 iOS 플랫폼을 모두 지원합니다. 단일 함수 인터페이스를 제공하여 구현이 간편합니다.

사용 사례

  • 인증에서 얼굴 생체 인식
  • 신원 확인에서 사진 위조 방지
  • 실시간 얼굴 인증을 통한 안전한 로그인
  • 모바일 앱에서의 생체 인식 검증
  • 디지털 온보딩의 보안 강화

주요 기능

  • 단기능 API
  • 크로스 플랫폼 지원 (Android 및 iOS)
  • 머신러닝 기반 탐지
  • 가볍고 빠름
  • 최소한의 설정 필요

적합한 대상

  • 얼굴 생체 인식 검사를 필요로 하는 앱 개발자
  • 보안 중심 애플리케이션
  • 신원 확인 서비스
  • 생체 인식 로그인을 지원하는 모바일 앱
  • 안전한 사용자 온보딩을 구축하는 스타트업

고려 사항

  • 카메라 접근 권한이 필요합니다
  • 오래된 기기에서는 성능이 다를 수 있습니다
  • 기초 머신러닝 모델 정확도에 따라 다름
  • 얼굴 생체 인식 기능만 제한
  • 오프라인 모드에 대한 언급 없음

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.