File size: 465 Bytes
d348bc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
pipeline_tag: image-to-text       
library_name: mistralai          
license: apache-2.0
language: ar
---

# OCR Arabic Model
موديل OCR قادر على استخراج النصوص من الصور باللغة العربية.

## Usage
```python
from mistralai import Mistral, ImageURLChunk
client = Mistral(api_key="HF_TOKEN")
result = client.ocr.process(
    document=ImageURLChunk(image_url="data:image/jpeg;base64,..."),
    model="ocr"
)
print(result)