Iranian Credit card and National card Deep Optical Character Recognition (OCR) using Keras.
Dataset is synthesized using OpenCV.
Mellat Bank | Melli Bank |
---|---|
Synthesized credit cards images
Old ones | New ones |
---|---|
Synthesized national cards images
- Synthesizing data and pre-processing [Notebook]
- Classify the image (Credit or National) [Notebook]
- Feed images to OCR network [Notebook]
- Wrapping the pipeline [Notebook]
For testing open E2E_Wrapper.ipynb
inside Google Colab or open e2e_wrapper.py
Predict on a single image
predict_single_path(path, label=None)
Predict on a single image and show image, ground truth
single_file_show(path, label)
Predict on all images inside a folder path and report some metrics:
predict_folder(folder_path)
Credit cards | National cards |
---|---|