FLUTTER ECOSYSTEM

olexale/flutter_mrz_scanner

신분증에서 MRZ(기계로 판독 가능한 영역)를 스캔합니다.

flutter_mrz_scanner 프로젝트 이미지
Stars
62
Forks
71
최근 푸시(UTC)
2025. 10. 28.
프로젝트 상태
활성
Oleksandr Leushchenko GitHub avatar
GITHUB User

Oleksandr Leushchenko ↗

Engineering Leader scaling high-impact teams | Google Developer Expert (Flutter & Dart)

언어SwiftKotlinDartRubyObjective-CPython

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • mrz_parser^2.0.1

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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.