File size: 394 Bytes
f4a1864
 
 
 
1fb97f7
 
 
 
f4a1864
8642645
 
 
 
40b1476
8642645
34afc66
8642645
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
language:
- fa
library_name: hezar
tags:
- image-to-text
- hezar
pipeline_tag: image-to-text
---
A TrOCR model for Persian. This is just a preview to verify the model works in Hezar. This model will be trained on more and better datasets soon!

#### Example
```python
from hezar.models import Model

model = Model.load("trocr-base-fa-v1")
text = model.predict(["image.jpg"])
print(text)
```