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

Add OCR feature #156

Closed jlduragos closed 9 months ago

jlduragos commented 9 months ago

Issue

153 Capture and return text from image using OCR

Changes

  1. Add a way to get the text from scanned image.
  2. Updated IDPassManager as it's already deprecated and some classes are missing.
  3. Updated main view to have better symmetry.
  4. Add OCROptions class for plugins to be able to communicate thru the SmartScanner app.
  5. Link OCROptions config values to SmartScanner & OCR related screens.
  6. Added image extension to check if the image being analyzed by OCR is blurry.
  7. Updated the target are UI for MRZ and OCR.
  8. Created and OCRChecker class to check if OCR results are matching the given regex.