Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- fa
|
4 |
+
pipeline_tag: image-to-text
|
5 |
+
library_name: hezar
|
6 |
+
---
|
7 |
+
A TrOCR model for Persian (V2)
|
8 |
+
|
9 |
+
#### Example
|
10 |
+
```python
|
11 |
+
from hezar import Model
|
12 |
+
|
13 |
+
model = Model.load("hezarai/trocr-base-fa-v2")
|
14 |
+
text = model.predict(["image.jpg"])
|
15 |
+
print(text)
|
16 |
+
```
|