Image-to-Text
Hezar
Persian
arxyzan's picture
Update README.md
820b26f
|
raw
history blame
1.07 kB
metadata
license: apache-2.0
language:
  - fa
library_name: hezar
tags:
  - hezar
  - image-to-text
pipeline_tag: image-to-text

A CRNN model for Persian OCR. This model is based on a simple CNN + LSTM architecture inspired by this paper. This is a successor model to our previous model hezarai/crnn-base-fa-64x256. The dataset for training this model was almost 5 times larger and the maximum output length supported by this model has been increased from 32 to 48 characters. (The model can actually output 96 characters including blank but to tackle CTC decoding challenges no samples longer than 48 characters have been fed to the model).

Note that this model is only optimized for printed/scanned documents and supports up to 50-ish characters. (For an end-to-end OCR pipeline, use a text detector model first to extract text boxes preferrably in word-level and then use this model), but it can be used to be fine-tuned on other domains like license plate or handwritten texts.