Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ pipeline_tag: image-to-text
|
|
10 |
---
|
11 |
A CRNN model for Persian OCR. This model is based on a simple CNN + LSTM architecture inspired by [this paper](https://arxiv.org/abs/1507.05717).
|
12 |
|
13 |
-
This is a successor model to our previous model [hezarai/crnn-base-fa-
|
14 |
The improvements include:
|
15 |
- 5X larger dataset
|
16 |
- Change input image size from 64x256 to 32x384
|
@@ -29,7 +29,7 @@ pip install hezar
|
|
29 |
```python
|
30 |
from hezar.models import Model
|
31 |
|
32 |
-
crnn = Model.load("hezarai/crnn-fa-
|
33 |
texts = crnn.predict(["sample_image.jpg"])
|
34 |
print(texts)
|
35 |
```
|
|
|
10 |
---
|
11 |
A CRNN model for Persian OCR. This model is based on a simple CNN + LSTM architecture inspired by [this paper](https://arxiv.org/abs/1507.05717).
|
12 |
|
13 |
+
This is a successor model to our previous model [hezarai/crnn-base-fa-v1](https://huggingface.co/hezarai/crnn-base-fa-v1).
|
14 |
The improvements include:
|
15 |
- 5X larger dataset
|
16 |
- Change input image size from 64x256 to 32x384
|
|
|
29 |
```python
|
30 |
from hezar.models import Model
|
31 |
|
32 |
+
crnn = Model.load("hezarai/crnn-base-fa-v2")
|
33 |
texts = crnn.predict(["sample_image.jpg"])
|
34 |
print(texts)
|
35 |
```
|