Downloads · 30 days
94
5% of all-time downloads
hezarai/trocr-base-fa-v2
trocr-base-fa-v2 is a image-to-text model from hezarai. Use it when you need a caption or text from an image. It is set up for hezar.
Downloads · 30 days
94
5% of all-time downloads
All-time downloads
1.7K
Public
Repo size
933 MB
Likes
5
Public
Click a slice to open those files.
.pt933 MB · 100%
From the Hugging Face model README
A TrOCR model for Persian (V2)
from hezar.models import Model
model = Model.load("hezarai/trocr-base-fa-v2")
text = model.predict(["image.jpg"])
print(text)