Ooredoo-Group commited on
Commit
fe71eee
·
verified ·
1 Parent(s): 1fd015f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - ocr
5
+ - rapidocr
6
+ - computer-vision
7
+ - onnx
8
+ ---
9
+
10
+ # RapidOCR Models
11
+
12
+ This repository contains RapidOCR ONNX model files for optical character recognition.
13
+
14
+ ## Models Included
15
+
16
+ - `arabic_PP-OCRv3_rec_infer.onnx`
17
+ - `ch_PP-OCRv4_det_infer.onnx`
18
+ - `ch_PP-OCRv4_rec_infer.onnx`
19
+ - `ch_ppocr_mobile_v2.0_cls_infer.onnx`
20
+
21
+ ## Usage
22
+
23
+ Download these models and use them with RapidOCR:
24
+
25
+ ```python
26
+ from rapidocr_onnxruntime import RapidOCR
27
+
28
+ # Initialize engine with custom model paths
29
+ engine = RapidOCR(
30
+ det_model_path='path/to/ch_PP-OCRv4_det_infer.onnx',
31
+ rec_model_path='path/to/ch_PP-OCRv4_rec_infer.onnx',
32
+ cls_model_path='path/to/ch_ppocr_mobile_v2.0_cls_infer.onnx',
33
+ )
34
+
35
+ # Use the engine
36
+ result, elapse = engine('path/to/image.jpg')
37
+ ```
38
+
39
+ ## License
40
+
41
+ These models are provided under Apache 2.0 license. Please check the original PaddleOCR repository for specific model licenses.