newlogic / smartscanner-core

ID scanning Android app and library. Supports MRZ, NFC, Barcodes, and ID PASS Lite cards.
Apache License 2.0
70 stars 19 forks source link

MRZ Improvement #134

Closed nicholemnl closed 1 year ago

nicholemnl commented 1 year ago

Current Behavior

Currently MRZ scan does not work sometimes. It works fast on some cards and others it will not.

Upon investigation, we found out that the cropped scanned image is not accurate enough and cuts off the MRZ code makes it harder to decode it.

Expected Behaviour

  1. Create a bounding box as a guide for the user to focus on the MRZ code
  2. Fast scanning
  3. Accurate as much as possible
  4. API for the bounding box guide so it can be use in other APP

Context

This happens even in the release version

nicholemnl commented 1 year ago

After initial test build, a few bugs created :