Git Product home page Git Product logo

Comments (17)

Mattijah avatar Mattijah commented on June 28, 2024 3

@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.

sahar12345 avatar sahar12345 commented on June 28, 2024

Hi can I talk to u about the programe

from passportscanner.

evermeer avatar evermeer commented on June 28, 2024

@sahar12345 sure

from passportscanner.

sahar12345 avatar sahar12345 commented on June 28, 2024

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.

sahar12345 avatar sahar12345 commented on June 28, 2024

Netbeans in java programe

from passportscanner.

sahar12345 avatar sahar12345 commented on June 28, 2024

If that reading for national I'd card like Japan or negirea national card like this programe of passport

from passportscanner.

sahar12345 avatar sahar12345 commented on June 28, 2024

And so thank you so much

from passportscanner.

evermeer avatar evermeer commented on June 28, 2024

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.

sahar12345 avatar sahar12345 commented on June 28, 2024

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.

punto2018 avatar punto2018 commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

@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.

punto2018 avatar punto2018 commented on June 28, 2024

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.

punto2018 avatar punto2018 commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

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.

punto2018 avatar punto2018 commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

Sounds good

from passportscanner.

evermeer avatar evermeer commented on June 28, 2024

The PR has been merged, pushed and published. There is now support for 3 line MRZ. Thanks @punto2018 !

from passportscanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.