Skip to content

AmosKorir/MRZ-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

10134c1 Β· May 3, 2022

History

2 Commits
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022
May 3, 2022

Repository files navigation

MRZ Scannner

🚧 ___🚧 ___🚧 __🚧 - Ongoing Construction

Android Library for scanning document MRZ documents.

Current Supported documents

  1. Nation ID
  2. Passport ->development

Installation

Add the Following to your gradle file.

      //add jitpack
        allprojects {
            repositories {
              ...
              maven { url 'https://jitpack.io' }
            }
          }

          //add dependency, check on the lastest release tag
        implementation 'com.github.AmosKorir:mrz_scanner:Tag'

How to start reading

     MrzBuilder(this, this.activityResultRegistry)
            .setOnCardDetailsResponse(object : CardDetailResponse {
                override fun onCardRead(card: IdData) {
                    Toast.makeText(this@MainActivity, card.toString(), Toast.LENGTH_SHORT).show()

                }

                override fun onCardReadingCancelled() {
                    Toast.makeText(this@MainActivity, "Cancelled", Toast.LENGTH_SHORT).show()
                }

                override fun onFailed(e: Exception) {
                    Toast.makeText(this@MainActivity, e.toString(), Toast.LENGTH_SHORT).show()
                }

            })
            .start()

βš™οΈ βš™οΈ βš™οΈ βš™οΈ MRZ reading Algorithms

Depend on a jar that is currently maintained in a separate private repository

About

Android Library to Scan MRZ code

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages