hezarai / crnn-base-fa-v2

huggingface.co
Total runs: 2.5K
24-hour runs: 0
7-day runs: -1.1K
30-day runs: -519
Model's Last Updated: April 14 2025
image-to-text

Introduction of crnn-base-fa-v2

Model Details of crnn-base-fa-v2

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-v1 . The improvements include:

  • 5X larger dataset
  • Change input image size from 64x256 to 32x384
  • Increase max output length from 64 to 96 (Max length of the samples in the dataset was 48 to handle CTC loss issues)
  • Support numbers and special characters (see id2label in model_config.yaml )
  • Auto-handling of LTR characters like digits in between the text

Note that this model is only optimized for printed/scanned documents and works best on texts with a length of up to 50-ish characters. (For an end-to-end OCR pipeline, use a text detector model first like https://huggingface.co/hezarai/CRAFT 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.

Usage
pip install hezar
from hezar.models import Model

crnn = Model.load("hezarai/crnn-base-fa-v2")
texts = crnn.predict(["sample_image.jpg"])
print(texts)

Runs of hezarai crnn-base-fa-v2 on huggingface.co

2.5K
Total runs
0
24-hour runs
-256
3-day runs
-1.1K
7-day runs
-519
30-day runs

More Information About crnn-base-fa-v2 huggingface.co Model

More crnn-base-fa-v2 license Visit here:

https://choosealicense.com/licenses/apache-2.0

crnn-base-fa-v2 huggingface.co

crnn-base-fa-v2 huggingface.co is an AI model on huggingface.co that provides crnn-base-fa-v2's model effect (), which can be used instantly with this hezarai crnn-base-fa-v2 model. huggingface.co supports a free trial of the crnn-base-fa-v2 model, and also provides paid use of the crnn-base-fa-v2. Support call crnn-base-fa-v2 model through api, including Node.js, Python, http.

crnn-base-fa-v2 huggingface.co Url

https://huggingface.co/hezarai/crnn-base-fa-v2

hezarai crnn-base-fa-v2 online free

crnn-base-fa-v2 huggingface.co is an online trial and call api platform, which integrates crnn-base-fa-v2's modeling effects, including api services, and provides a free online trial of crnn-base-fa-v2, you can try crnn-base-fa-v2 online for free by clicking the link below.

hezarai crnn-base-fa-v2 online free url in huggingface.co:

https://huggingface.co/hezarai/crnn-base-fa-v2

crnn-base-fa-v2 install

crnn-base-fa-v2 is an open source model from GitHub that offers a free installation service, and any user can find crnn-base-fa-v2 on GitHub to install. At the same time, huggingface.co provides the effect of crnn-base-fa-v2 install, users can directly use crnn-base-fa-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

crnn-base-fa-v2 install url in huggingface.co:

https://huggingface.co/hezarai/crnn-base-fa-v2

Url of crnn-base-fa-v2

crnn-base-fa-v2 huggingface.co Url

Provider of crnn-base-fa-v2 huggingface.co

hezarai
ORGANIZATIONS

Other API from hezarai

huggingface.co

Total runs: 1.1K
Run Growth: -1.1K
Growth Rate: -95.76%
Updated:November 14 2024
huggingface.co

Total runs: 890
Run Growth: -735
Growth Rate: -83.24%
Updated:November 14 2024
huggingface.co

Total runs: 649
Run Growth: -843
Growth Rate: -134.66%
Updated:February 06 2025
huggingface.co

Total runs: 97
Run Growth: -155
Growth Rate: -159.79%
Updated:November 14 2024