A TrOCR model for Persian (V2)

Example

from hezar.models import Model

model = Model.load("hezarai/trocr-base-fa-v2")
text = model.predict(["image.jpg"])
print(text)
Downloads last month
38
Inference Examples
Inference API (serverless) does not yet support hezar models for this pipeline type.