trocr-base-fa-v2 / README.md
arxyzan's picture
Update README.md
6cf9af8
|
raw
history blame
286 Bytes
metadata
language:
  - fa
library_name: hezar
tags:
  - image-to-text
  - hezar
pipeline_tag: image-to-text

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)