Python code to perform Masking on First 8 digits of Aadhar and also perform OCR to return UID Packages used: Tesseract, OpenCV, Scipy
Usage:
python aadhar_mask_ocr.py --image images/img1.jpeg
Output:
Masked digits in given image. Displaying...
UID : 3429 2099 3643
Press q over output window to close
Unmasked Image | Masked Image |
---|---|