搜尋套件、儲存庫與 APP 分類

套件詳情v2.3.0

flutter_mrz_scanner

從身分證明文件中掃描機器可讀區域(MRZ)以支援 iOS 和 Android。

AndroidiOS
近 30 天下載
227
喜歡數
42
Pub 分數
160

安裝套件

flutter pub add flutter_mrz_scanner

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,可在 Android 與 iOS 上掃描身分文件中的機器可讀區(MRZ)。它利用原生相機 API 來偵測並提取護照號碼、姓名與到期日期等資料。專為需要身分驗證之應用程式設計,以確保安全且準確的文件驗證。此套件可輕鬆整合至 Flutter 項目,支援即時掃描,設定簡單。

適用情境

  • 旅行應用中的護照驗證
  • 銀行服務的身份驗證
  • 自動登記系統
  • 政府服務中的文件認證
  • 安全的用戶入職工作流程

主要特色

  • 即時MRZ檢測
  • 同時支援 iOS 和 Android
  • 提取結構化身份資料
  • 所需設定最少
  • 高精度低延遲

適合對象

  • 旅行和移民應用
  • 金融機構
  • 政府數位服務
  • 入職平台
  • 注重安全的應用程式

使用建議

  • 需要相機權限
  • 性能取決於照明條件
  • 可能需要手動對齊以獲得最佳效果
  • 僅限符合MRZ的文件
  • 不支援離線處理

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

flutter_mrz_scanner

Scan MRZ (Machine Readable Zone) from identity documents (passport, id, visa) using iOS and Android. Heavily insipred by QKMRZScanner.

To plugin users

Hello,

Sorry that the plugin didn’t work well for all of you. Unfortunately, I don’t have testing devices and time for investigations and fixing issues at the moment. Please feel free to create new tickets. I would be even more grateful for pull requests. I’m not abandoning the plugin and promise to merge contributions with fixes and new functionality, hence I would kindly ask for help with the development 🙂

Thanks in advance!

Supported formats:
  • TD1
  • TD2
  • TD3
  • MRV-A
  • MRV-B

Usage

Import the package

Add to pubspec.yaml

dependencies:
  flutter_mrz_scanner: <latest_version_here>
For iOS

Set iOS deployment target to 12. The plugin uses the device camera, so do not forget to provide the NSCameraUsageDescription. You may specify it in Info.plist like that:

    <key>NSCameraUsageDescription</key>
    <string>May I scan a MRZ please?</string>
For Android

Camera permission will be automatically added to your AndroidManifest.xml. Do not forget to request this permission.

Use the widget

Use MRZScanner widget:

MRZScanner(
  withOverlay: true, // optional overlay
  onControllerCreated: (controller) =>
    onControllerCreated(controller),
  )

Refer to example project for the complete app sample.

Acknowledgements

License

flutter_mrz_scanner is released under a MIT License. See LICENSE for details.

所屬分類

依賴

依賴清單 1 項

  • mrz_parser^2.0.1

原始碼儲存庫

使用此套件的專案

暫無相關資料。