| Model | CER ↓ | WER ↓ | Char Accuracy |
|---|---|---|---|
| Tesseract (baseline) | ~0.45 | ~0.60 | ~55% |
| EasyOCR default | ~0.25 | ~0.40 | ~75% |
| BengaliCRNN (ours) | 0.0348 | 0.1020 | 96.5% |
bengali_crnn.pth — EasyOCR-ready weights (module. prefix)phase1_best.pth — clean weights for further trainingbengali_crnn.py — EasyOCR network definitionbengali_crnn.yaml — EasyOCR configvocab.json — character vocabularyconfig.json — model config1import easyocr
2reader = easyocr.Reader(
3 lang_list=["bn"],
4 recog_network="bengali_crnn",
5 model_storage_directory="./bengali_ocr_model",
6 user_network_directory="./bengali_ocr_model",
7 gpu=True
8)
9results = reader.readtext("bengali_doc.jpg")