live_photo_detector
카메라에 보이는 얼굴이 살아있는 얼굴인지 여부를 감지하는 단일 함수 패키지입니다.
hoenkava/live_photo_detector open-source repository details.
^3.0.2^0.11.0+1^1.18.0^2.0.5{"sdk":"flutter"}^0.13.1^4.1.3^3.1.2^2.0.2^2.0.0{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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.
https://img.shields.io/badge/meet7-open--source-purple?style=for-the-badge https://img.shields.io/pub/publisher/m7_livelyness_detection?color=purple&style=for-the-badge https://img.shields.io/github/issues-raw/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&&logo=github https://img.shields.io/github/languages/count/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&&logo=github https://img.shields.io/pub/likes/m7_livelyness_detection?style=for-the-badge&logo=dart https://img.shields.io/pub/points/m7_livelyness_detection?style=for-the-badge&logo=dart https://img.shields.io/pub/popularity/m7_livelyness_detection?style=for-the-badge&logo=dart https://img.shields.io/pub/publisher/m7_livelyness_detection?style=for-the-badge https://img.shields.io/pub/v/m7_livelyness_detection?style=for-the-badge&logo=dart https://img.shields.io/github/directory-file-count/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&logo=github https://img.shields.io/github/repo-size/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&logo=github https://img.shields.io/github/commit-activity/w/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&logo=github https://img.shields.io/github/contributors/Meet-7-dating/m7_livelyness_detection?style=for-the-badge&logo=github
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.
| iOS | Android | MacOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✔️ | ✔️ |
First, we have to install the package on flutter.
Add live_photo_detector to your pubspec.yaml dependencies.
flutter pub add live_photo_detector
Next comes the native setup on both android and iOS
ios/Runner/Info.plist file as Source Code.<dict> tag. <key>NSCameraUsageDescription</key>
<string>Camera Access for Scanning</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone for playing instructions audio.</string>
ios/Runner/Podfile and uncomment the second line. platform :ios, '14.0' # <---------- Uncomment this line
example/android/app/build.gradle file and set the minSdkVersion as 21.A call to a single line function will return a temporary path to the captured image.
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,
),
);
https://user-images.githubusercontent.com/106381741/210200724-ae4af9cc-ffeb-49e4-a3f9-9971b2f256b6.MP4
https://iili.io/dFJJhNV.png
Puneet Raj