|
Download README.md from AmneHaffar/ocr: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/AmneHaffar/ocr/resolve/main/README.md
- Command line
-
hf download hf://AmneHaffar/ocr/README.md
-
curl -L -o README.md https://huggingface.co/AmneHaffar/ocr/resolve/main/README.md
465 Bytes
| 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) | |