mimoha commited on
Commit
d348bc6
·
verified ·
1 Parent(s): 74c264e

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: image-to-text
3
+ library_name: mistralai
4
+ license: apache-2.0
5
+ language: ar
6
+ ---
7
+
8
+ # OCR Arabic Model
9
+ موديل OCR قادر على استخراج النصوص من الصور باللغة العربية.
10
+
11
+ ## Usage
12
+ ```python
13
+ from mistralai import Mistral, ImageURLChunk
14
+ client = Mistral(api_key="HF_TOKEN")
15
+ result = client.ocr.process(
16
+ document=ImageURLChunk(image_url="data:image/jpeg;base64,..."),
17
+ model="ocr"
18
+ )
19
+ print(result)