File size: 286 Bytes
4eab14c e6575aa 4eab14c 6cf9af8 4eab14c |
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 (V2)
#### Example
```python
from hezar.models import Model
model = Model.load("hezarai/trocr-base-fa-v2")
text = model.predict(["image.jpg"])
print(text)
``` |