Comments (17)
@evermeer, @punto2018, @sahar12345. Here is a MRZ parser with support of all official documents. On top of that it does some OCR cleaning too. All you need to do is just set it up as a pod. Enjoy
https://github.com/Mattijah/QKMRZParser
from passportscanner.
Hi can I talk to u about the programe
from passportscanner.
@sahar12345 sure
from passportscanner.
I want to make programe in phone app like netbeans and xamrine must make iOS and android separate and I want connect to server can u the programe read I don't understand good to the folder code u put and how communicate with server that make confused
from passportscanner.
Netbeans in java programe
from passportscanner.
If that reading for national I'd card like Japan or negirea national card like this programe of passport
from passportscanner.
And so thank you so much
from passportscanner.
Passport scanner is a complete native iOS only solution. There is no support for Android. There is no server required. The OCR is done on the phone itself.
If you want to make an iOS app that sends the result of a scan to your own server, then you have to create your own logic for that. In the demo app you will have the file ViewController.swift which calls the PassportScanner interface. There in the function processMRZ you can add logic for handling the MRZ information.
from passportscanner.
Thank you but in my opinion that netbeans can make programe to all kinds iOS and android and its supported,that idea of logic server I will make today and show you and am glad if reply on results that from ur kind,thnx to u.
from passportscanner.
Any news for this topic?
Currently I'm working with 3 lines passports so I'm starting to develop the validator.
I can't find technical infos (checksum, char position semantic, etc) in order to integrate the support.
from passportscanner.
@punto2018
For the password MRZ I was able to create the logic based on what was described on wikipedia. See https://en.wikipedia.org/wiki/Machine-readable_passport as you can see there is also a description for official travel documents with 3 lines. That should be enough information.
from passportscanner.
Thanks for your reply. I'm using the official specifications document for a better parsing (https://www.icao.int/publications/Documents/9303_p5_cons_en.pdf).
I'm able to acquire and parse a 3 lines MRZ, but I'm experimenting some issues with the camera.
I don't want mix topics here, I will open a new issue.
Thanks
from passportscanner.
Good news, resolving the camera issues it seem that the parsing is working fine. If you agree I can share my changes and generate a pull request. The idea is to add a property in order to easily switch MRZ parsing type (2 lines or 3 lines), using the 2 lines as default for retrocompatibility reasons.
from passportscanner.
A PR for that is definitely welcome!
Maybe it's possible to autodetect it it's a MRZ 2 or 3? If you have an OCR result where 3 lines have more than 30 characters, then it's probably a MRZ 3?
from passportscanner.
This approach can be used, my only concern is in the performance in trying both parsers.
It is not possible make simple assumptions in the number of lines.
Italian ID Card for example have a barcode on top of MRZ and often the user also frame it, resulting in a 4 lines OCR result, where the first line is something like "I 1 III 1 || \ 1 .....".
In this case filtering the first line is an important improvement in MRZ scan.
Anyway, I suggest a 3 value parsing type: auto, 2 lines, 3 lines, where auto can use a sort of "smart" choice in order to select the first parser to try.
What do you think?
from passportscanner.
Sounds good
from passportscanner.
The PR has been merged, pushed and published. There is now support for 3 line MRZ. Thanks @punto2018 !
from passportscanner.
Related Issues (20)
- Open just white view
- Tesseract crashed: Failed loading language 'eng' HOT 3
- How to validate 3-lines MRZ? HOT 4
- Objective C Code HOT 1
- Xamarin iOS HOT 3
- could not build the project HOT 13
- Camera freeze in white screen HOT 4
- Feature request: Disable camera filters in the preview HOT 5
- CGImageCreate: invalid image HOT 2
- Not an issue.. but a request.. HOT 1
- Issue cropping the image HOT 2
- DOB Format HOT 12
- Reduce Tesseract delay? HOT 5
- 'Camera' cannot be constructed because it has no accessible initializers HOT 5
- Possible memory leak or normal behavior HOT 3
- I want to read MZR form USA passport how can I do it HOT 7
- Taking too much time to load first. HOT 3
- Swift 5 - It doesn't compile HOT 2
- How can I add in Objective-C Project HOT 2
- When scanning a real passport, it has a hard time to scan the MRZ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passportscanner.