Meet-7-dating/m7_livelyness_detection
Meet-7-dating/m7_livelyness_detection open-source repository details.
- Stars
- 12
- Forks
- 41
- 최근 푸시(UTC)
- 2024. 6. 9.
- 프로젝트 상태
- 활성
사용 중인 의존성
의존성 목록 11 개
- animate_do
^3.0.2 - camera
^0.10.1 - collection
^1.16.0 - equatable
^2.0.5 - flutter
{"sdk":"flutter"} - google_mlkit_face_detection
^0.5.0 - image
^3.0.2 - lottie
^2.1.0 - plugin_platform_interface
^2.0.2 - flutter_test개발 의존성
{"sdk":"flutter"} - flutter_lints개발 의존성
^2.0.0
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
m7_livelyness_detection
drawinghttps://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
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 m7_livelyness_detection to your pubspec.yaml dependencies.
Using command-line
flutter pub add m7_livelyness_detection
Native Setup
Next comes the native setup on both android and iOS
iOS
iOS Setup
- Open the project in Xcode and set the deployment
- Open the
ios/Runner/Info.plistfile asSource Code. - 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>
- Open the
ios/Runner/Podfileand uncomment the second line.
platform :ios, '14.0' # <---------- Uncomment this line
- Set the deployment target in the Xcode project
Android
Android Setup
- Open the
example/android/app/build.gradlefile and set theminSdkVersionas21.
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
| Developers | |
|---|---|
| Sagar Ghag | https://contrib.rocks/image?repo=Meet-7-dating/m7_livelyness_detection |
| Omkar Tralsawala | https://storage.googleapis.com/meet7_assets/archive/omkar-tralsawala-modified.png |