I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can scan and get data. is any package in a flutter, which can help me.
how i can scan ID Card(NIC) in flutter and also get data from it?
2.8k Views Asked by Muhammad Luqman Asif At
2
There are 2 best solutions below
0
Boommeister
On
This package does exactly what you want: https://pub.dev/packages/flutter_mrz_scanner
I implemented it today in my flutter app. First it didn't start with this error:
Class 'MRZScannerFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory
But after following this issue by replacing this it worked:
In FlutterMrzScannerPlugin.kt
class MRZScannerFactory(private val messenger: BinaryMessenger) : PlatformViewFactory(StandardMessageCodec.INSTANCE) {
override fun create(context: Context?, id: Int, o: Any?): PlatformView {
return MRZScannerView(context!!, messenger, id)
}
}
(context!! instead of context?)
However, on my phone Xiaomi Mi9T takes very long until it works and the plugin recognizes my German ID, so it's almost unusable. But it's the only free plugin I found for scanning IDs. I'll try it with an iPhone and another ID in the next days, maybe that works better.
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in FLUTTER-DEPENDENCIES
- Adding new package in a flutter project does not work untill the android studio is restarted
- How does flutter scroll to an item position in the listview according to its index?
- In Flutter, is there a way to determine the user's skin color settings for their emojis?
- Fused Location does not work when i turn GPS off , it does not work with Wifi or cellular data?
- Turn on(Enable) GPS programmatically in flutter - android
- I am trying to connect firebase with my flutter project but unable to do so
- Implementing PDF generation and then From Local Notification Open the Pdf that is Saved to Download
- Flutter Jitsi Meet Dependency
- The chat functionality with 'Read more and Read less' functionality not working
- Google Play Games failing with specific user
- How to create under the label in Textformfield, not a border, in Flutter
- Private native dependencies in Flutter plugin
- How to navigate flutter screen on tap of any home_widget widgets
- Flutter Web: Make Button Scroll with Page and then Show in App Bar
- implementing multi qr code scanning in a stepper, flutter
Related Questions in IMAGE-SCANNER
- How to correct the incomplete rotated text
- How to handle damaged barcodes in ml kit barcode scanner
- How to search for and connect to a scanner in flutter windows app?
- How to create a QR code Scanner which automatically fetches UPI IDs like Paytm, WhatsApp etc.?
- How to generate WSQ file from fingerprint template in Android
- Compare 2 Fingerprint templates generated from mantra scanner
- How to check if trivy is up and running
- how i can scan ID Card(NIC) in flutter and also get data from it?
- How Can I write a java code which scan a image from physical scanner device?
- react-native-perspective-image-cropper outside of image crop add white background in IOS
- generator QR code scanner by passing link in image tag
- Android Runtime Error while trying to save Image
- invoke flatbed paper scanner in Flutter App
- Decoding Binary From A Printer Scan
- Autocrop greyscale image after scanned in browser
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
U can use MLKIT to extract data from ID into input field