id_ocr 0.1.3 copy "id_ocr: ^0.1.3" to clipboard
id_ocr: ^0.1.3 copied to clipboard

A robust Flutter plugin for CNIC (Computerized National Identity Card) OCR with specialized support for Urdu and Sindhi scripts using Google ML Kit and Tesseract.

0.1.3 #

  • Fixed Native Crash: Added PlatformException handling for the "No cropped images returned" error in the document scanner, preventing app termination in integrated projects.
  • Internal Fallback: Moved the image_picker fallback logic from the example app directly into ScannerService for better out-of-the-box stability.
  • Integration Documentation: Added a critical guide for Android MainActivity setup and dependency conflict resolution.

0.1.2 #

  • Fixed Android Crash (SIG 9): Resolved native process termination in internalDispatchActivityResult by optimizing resource management in the ScannerService.
  • Enhanced Data Extraction:
    • Added Gender extraction with automatic normalization (Male/Female).
    • Added support for Date of Issue.
    • Improved Expiry Date extraction with more robust label detection (e.g., "Valid Upto").
  • Fallback Mechanisms:
    • Preliminary support for manual capture in the sample app.

0.1.1 #

  • Added Gender extraction with automatic normalization (Male/Female).
  • Added Date of Issue extraction support.
  • Improved Date of Expiry extraction with expanded labels (e.g., "Valid Upto").
  • Enhanced Tesseract diagnostic logging.

0.1.0 #

  • Initial release of id_ocr.
  • CNIC OCR support for Urdu and Sindhi.
  • Integration with Google ML Kit Document Scanner.
  • Integration with Tesseract OCR for Urdu/Sindhi fallback.
  • Robust date and CNIC number extraction.
1
likes
140
points
106
downloads

Documentation

API reference

Publisher

verified publisherabulkalam.dev

Weekly Downloads

A robust Flutter plugin for CNIC (Computerized National Identity Card) OCR with specialized support for Urdu and Sindhi scripts using Google ML Kit and Tesseract.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, google_mlkit_document_scanner, google_mlkit_text_recognition, image_picker, path, path_provider, tesseract_ocr

More

Packages that depend on id_ocr