Downloads · 30 days
11
3% of all-time downloads
hezarai/trocr-base-fa-v1
trocr-base-fa-v1 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.
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!
Downloads · 30 days
11
3% of all-time downloads
All-time downloads
437
Public
Repo size
933 MB
Likes
1
Public
Click a slice to open those files.
.pt933 MB · 100%
From the Hugging Face model README
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!
from hezar.models import Model
model = Model.load("trocr-base-fa-v1")
text = model.predict(["image.jpg"])
print(text)