CNIC OCR (v4 MySQL)
Auto OCR • Urdu+English • MySQL
Login

Admin can upload/delete/edit. Viewer can only search/view.

Install (first time)

Default: admin/admin123 and viewer/viewer123 (change later by editing users table).
How it works
  • Upload CNIC front image (best results).
  • System runs preprocessing (contrast + deskew if ImageMagick installed).
  • Tesseract OCR (eng+urd) extracts text + coordinates.
  • Smart parser auto-fills: Name, Father, CNIC, DOB, Issue, Expiry.
  • Duplicate CNIC blocked automatically.