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
39
Inference Examples
Inference API (serverless) does not yet support hezar models for this pipeline type.