Laravel National ID OCR
Budget: $30 – $250 USD
I have a Laravel-based application that needs to read Nigerian-style National ID cards supplied as JPEG images and automatically pull out two fields only: the holder’s Name and their numeric ID Number.
Here’s what I’m looking for:
• A clean PHP/Laravel service class or small package that accepts a JPEG upload (via controller or API endpoint you add) and returns the extracted Name and ID Number as JSON.
• You are free to wire in Tesseract, Google Vision, AWS Textract or any OCR engine you trust, provided it can be installed on Ubuntu and called from PHP.
• The code must isolate the two target strings reliably even when the card is slightly rotated or lighting is imperfect. Regular expressions or whatever post-processing you prefer are fine as long as the final values are trimmed and machine-readable.
• Deliver the working source, composer dependencies, and a short README that lets me reproduce the result locally with one command line for installation and another for testing.
Acceptance test: I will supply five sample JPEG National ID cards. If the script returns the correct Name and ID Number on at least four of them, the milestone passes. A short comment in the code noting where to expand later for passports or driver’s licenses would be appreciated, but is not required for this phase.
Here’s what I’m looking for:
• A clean PHP/Laravel service class or small package that accepts a JPEG upload (via controller or API endpoint you add) and returns the extracted Name and ID Number as JSON.
• You are free to wire in Tesseract, Google Vision, AWS Textract or any OCR engine you trust, provided it can be installed on Ubuntu and called from PHP.
• The code must isolate the two target strings reliably even when the card is slightly rotated or lighting is imperfect. Regular expressions or whatever post-processing you prefer are fine as long as the final values are trimmed and machine-readable.
• Deliver the working source, composer dependencies, and a short README that lets me reproduce the result locally with one command line for installation and another for testing.
Acceptance test: I will supply five sample JPEG National ID cards. If the script returns the correct Name and ID Number on at least four of them, the milestone passes. A short comment in the code noting where to expand later for passports or driver’s licenses would be appreciated, but is not required for this phase.
Related categories:
PHP
Software Architecture
MySQL
OCR
Laravel
Regular Expressions
API Development
AWS Textract