pitapo commited on
Commit
f2a4d3e
·
0 Parent(s):

rehost rapidocr

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +53 -0
  2. .gitignore +1 -0
  3. README.md +64 -0
  4. configuration.json +1 -0
  5. cvt_model.py +101 -0
  6. onnx/PP-OCRv4/cls/ch_ppocr_mobile_v2.0_cls_infer.onnx +3 -0
  7. onnx/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer.onnx +3 -0
  8. onnx/PP-OCRv4/det/ch_PP-OCRv4_det_infer.onnx +3 -0
  9. onnx/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer.onnx +3 -0
  10. onnx/PP-OCRv4/det/en_PP-OCRv3_det_infer.onnx +3 -0
  11. onnx/PP-OCRv4/rec/arabic_PP-OCRv4_rec_infer.onnx +3 -0
  12. onnx/PP-OCRv4/rec/ch_PP-OCRv4_rec_infer.onnx +3 -0
  13. onnx/PP-OCRv4/rec/ch_PP-OCRv4_rec_server_infer.onnx +3 -0
  14. onnx/PP-OCRv4/rec/ch_doc_PP-OCRv4_rec_server_infer.onnx +3 -0
  15. onnx/PP-OCRv4/rec/chinese_cht_PP-OCRv3_rec_infer.onnx +3 -0
  16. onnx/PP-OCRv4/rec/cyrillic_PP-OCRv3_rec_infer.onnx +3 -0
  17. onnx/PP-OCRv4/rec/devanagari_PP-OCRv4_rec_infer.onnx +3 -0
  18. onnx/PP-OCRv4/rec/en_PP-OCRv4_rec_infer.onnx +3 -0
  19. onnx/PP-OCRv4/rec/japan_PP-OCRv4_rec_infer.onnx +3 -0
  20. onnx/PP-OCRv4/rec/ka_PP-OCRv4_rec_infer.onnx +3 -0
  21. onnx/PP-OCRv4/rec/korean_PP-OCRv4_rec_infer.onnx +3 -0
  22. onnx/PP-OCRv4/rec/latin_PP-OCRv3_rec_infer.onnx +3 -0
  23. onnx/PP-OCRv4/rec/ta_PP-OCRv4_rec_infer.onnx +3 -0
  24. onnx/PP-OCRv4/rec/te_PP-OCRv4_rec_infer.onnx +3 -0
  25. onnx/PP-OCRv5/det/ch_PP-OCRv5_mobile_det.onnx +3 -0
  26. onnx/PP-OCRv5/det/ch_PP-OCRv5_server_det.onnx +3 -0
  27. onnx/PP-OCRv5/rec/ch_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  28. onnx/PP-OCRv5/rec/ch_PP-OCRv5_rec_server_infer.onnx +3 -0
  29. onnx/PP-OCRv5/rec/el_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  30. onnx/PP-OCRv5/rec/en_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  31. onnx/PP-OCRv5/rec/eslav_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  32. onnx/PP-OCRv5/rec/korean_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  33. onnx/PP-OCRv5/rec/latin_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  34. onnx/PP-OCRv5/rec/th_PP-OCRv5_rec_mobile_infer.onnx +3 -0
  35. paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdiparams +3 -0
  36. paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdiparams.info +3 -0
  37. paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdmodel +3 -0
  38. paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdiparams +3 -0
  39. paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdiparams.info +3 -0
  40. paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdmodel +3 -0
  41. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdiparams +3 -0
  42. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdiparams.info +3 -0
  43. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdmodel +3 -0
  44. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdiparams +3 -0
  45. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdiparams.info +3 -0
  46. paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdmodel +3 -0
  47. paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdiparams +3 -0
  48. paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdiparams.info +3 -0
  49. paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdmodel +3 -0
  50. paddle/PP-OCRv4/rec/arabic_PP-OCRv4_rec_infer/arabic_dict.txt +161 -0
.gitattributes ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *.tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ *.db* filter=lfs diff=lfs merge=lfs -text
29
+ *.ark* filter=lfs diff=lfs merge=lfs -text
30
+ **/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
31
+ **/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
32
+ **/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
33
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
34
+ *.ttf filter=lfs diff=lfs merge=lfs -text
35
+ *.ttc filter=lfs diff=lfs merge=lfs -text
36
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
37
+ *.info filter=lfs diff=lfs merge=lfs -text
38
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
39
+ *.gguf* filter=lfs diff=lfs merge=lfs -text
40
+ *.ggml filter=lfs diff=lfs merge=lfs -text
41
+ *.llamafile* filter=lfs diff=lfs merge=lfs -text
42
+ *.pt2 filter=lfs diff=lfs merge=lfs -text
43
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
44
+ *.npy filter=lfs diff=lfs merge=lfs -text
45
+ *.npz filter=lfs diff=lfs merge=lfs -text
46
+ *.pickle filter=lfs diff=lfs merge=lfs -text
47
+ *.pkl filter=lfs diff=lfs merge=lfs -text
48
+ *.tar filter=lfs diff=lfs merge=lfs -text
49
+ *.wasm filter=lfs diff=lfs merge=lfs -text
50
+ *.zst filter=lfs diff=lfs merge=lfs -text
51
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
52
+ *.pdmodel filter=lfs diff=lfs merge=lfs -text
53
+ *.pdiparams filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .DS_Store
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ frameworks:
3
+ - Pytorch
4
+ license: Apache License 2.0
5
+ tasks:
6
+ - ocr-detection
7
+
8
+ #model-type:
9
+ ##如 gpt、phi、llama、chatglm、baichuan 等
10
+ #- gpt
11
+
12
+ #domain:
13
+ ##如 nlp、cv、audio、multi-modal
14
+ #- nlp
15
+
16
+ #language:
17
+ ##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
18
+ #- cn
19
+
20
+ #metrics:
21
+ ##如 CIDEr、Blue、ROUGE 等
22
+ #- CIDEr
23
+
24
+ #tags:
25
+ ##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
26
+ #- pretrained
27
+
28
+ #tools:
29
+ ##如 vllm、fastchat、llamacpp、AdaSeq 等
30
+ #- vllm
31
+ - ocr-recognition
32
+ language:
33
+ - zh
34
+ tags:
35
+ - ocr
36
+ - dbnet
37
+ - paddleocr
38
+ - rapidocr
39
+ ---
40
+
41
+ ### RapidOCR模型托管仓库
42
+
43
+ Rehosting from Model scope
44
+
45
+ 本仓库用来托管[RapidOCR](https://github.com/RapidAI/RapidOCR)项目中个各个模型文件。
46
+
47
+ 大家可以根据自己需要单独下载使用。
48
+
49
+
50
+ #### SDK下载
51
+ ```bash
52
+ #安装ModelScope
53
+ pip install modelscope
54
+ ```
55
+ ```python
56
+ #SDK模型下载
57
+ from modelscope import snapshot_download
58
+ model_dir = snapshot_download('RapidAI/RapidOCR')
59
+ ```
60
+ #### Git下载
61
+ ```
62
+ #Git模型下载
63
+ git clone https://www.modelscope.cn/RapidAI/RapidOCR.git
64
+ ```
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"ocr-detection"}
cvt_model.py ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- encoding: utf-8 -*-
2
+ # @Author: SWHL
3
+ # @Contact: liekkaskono@163.com
4
+
5
+ from pathlib import Path
6
+ from typing import List, Union
7
+
8
+ import onnxruntime as ort
9
+
10
+ # 0.0.19
11
+ from paddleocr_convert import PaddleOCRModelConvert
12
+
13
+ import onnx
14
+ from onnx import ModelProto
15
+
16
+
17
+ class ONNXMetaOp:
18
+ @classmethod
19
+ def add_meta(
20
+ cls,
21
+ model_path: Union[str, Path],
22
+ key: str,
23
+ value: List[str],
24
+ delimiter: str = "\n",
25
+ ) -> ModelProto:
26
+ model = onnx.load_model(model_path)
27
+ meta = model.metadata_props.add()
28
+ meta.key = key
29
+ meta.value = delimiter.join(value)
30
+ return model
31
+
32
+ @classmethod
33
+ def get_meta(
34
+ cls, model_path: Union[str, Path], key: str, split_sym: str = "\n"
35
+ ) -> List[str]:
36
+ sess = ort.InferenceSession(model_path)
37
+ meta_map = sess.get_modelmeta().custom_metadata_map
38
+ key_content = meta_map.get(key)
39
+ key_list = key_content.split(split_sym)
40
+ return key_list
41
+
42
+ @classmethod
43
+ def del_meta(cls, model_path: Union[str, Path]) -> ModelProto:
44
+ model = onnx.load_model(model_path)
45
+ del model.metadata_props[:]
46
+ return model
47
+
48
+ @classmethod
49
+ def save_model(cls, save_path: Union[str, Path], model: ModelProto):
50
+ onnx.save_model(model, save_path)
51
+
52
+
53
+ model_list = [
54
+ # (
55
+ # "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/korean_PP-OCRv4_rec_infer.tar",
56
+ # "paddle/PP-OCRv4/rec/korean_PP-OCRv4_rec_infer/korean_dict.txt",
57
+ # ),
58
+ # (
59
+ # "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/japan_PP-OCRv4_rec_infer.tar",
60
+ # "paddle/PP-OCRv4/rec/japan_PP-OCRv4_rec_infer/japan_dict.txt",
61
+ # ),
62
+ # (
63
+ # "https://paddleocr.bj.bcebos.com/PP-OCRv3/multilingual/chinese_cht_PP-OCRv3_rec_infer.tar",
64
+ # "paddle/PP-OCRv4/rec/chinese_cht_PP-OCRv3_rec_infer/chinese_cht_dict.txt",
65
+ # ),
66
+ (
67
+ "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/ta_PP-OCRv4_rec_infer.tar",
68
+ "paddle/PP-OCRv4/rec/ta_PP-OCRv4_rec_infer/ta_dict.txt",
69
+ ),
70
+ (
71
+ "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/te_PP-OCRv4_rec_infer.tar",
72
+ "paddle/PP-OCRv4/rec/te_PP-OCRv4_rec_infer/te_dict.txt",
73
+ ),
74
+ (
75
+ "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/ka_PP-OCRv4_rec_infer.tar",
76
+ "paddle/PP-OCRv4/rec/kannada_PP-OCRv4_rec_infer/ka_dict.txt",
77
+ ),
78
+ (
79
+ "https://paddleocr.bj.bcebos.com/PP-OCRv3/multilingual/latin_PP-OCRv3_rec_infer.tar",
80
+ "paddle/PP-OCRv4/rec/latin_PP-OCRv3_rec_infer/latin_dict.txt",
81
+ ),
82
+ (
83
+ "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/arabic_PP-OCRv4_rec_infer.tar",
84
+ "paddle/PP-OCRv4/rec/arabic_PP-OCRv4_rec_infer/arabic_dict.txt",
85
+ ),
86
+ (
87
+ "https://paddleocr.bj.bcebos.com/PP-OCRv3/multilingual/cyrillic_PP-OCRv3_rec_infer.tar",
88
+ "paddle/PP-OCRv4/rec/cyrillic_PP-OCRv3_rec_infer/cyrillic_dict.txt",
89
+ ),
90
+ (
91
+ "https://paddleocr.bj.bcebos.com/PP-OCRv4/multilingual/devanagari_PP-OCRv4_rec_infer.tar",
92
+ "paddle/PP-OCRv4/rec/devanagari_PP-OCRv4_rec_infer/devanagari_dict.txt",
93
+ ),
94
+ ]
95
+
96
+ converter = PaddleOCRModelConvert()
97
+ save_dir = "onnx/PP-OCRv4/rec"
98
+
99
+ for model in model_list:
100
+ url, txt_url = model
101
+ converter(url, save_dir, txt_path=txt_url)
onnx/PP-OCRv4/cls/ch_ppocr_mobile_v2.0_cls_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e47acedf663230f8863ff1ab0e64dd2d82b838fceb5957146dab185a89d6215c
3
+ size 585532
onnx/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5475c6c7f4d84a6c4f32241b487435d59f126a40c023387af99732258844cdc3
3
+ size 2421639
onnx/PP-OCRv4/det/ch_PP-OCRv4_det_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2a7720d45a54257208b1e13e36a8479894cb74155a5efe29462512d42f49da9
3
+ size 4745517
onnx/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa39a3f298f6d3fc71789834d15da36d11a6c59b489fc16ea4733728012f786
3
+ size 113352104
onnx/PP-OCRv4/det/en_PP-OCRv3_det_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea07c15d38ac40cd69da3c493444ec75b44ff23840553ff8ba102c1219ed39c2
3
+ size 2421707
onnx/PP-OCRv4/rec/arabic_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a9011bef71687bb84288dc86ad2471bd5d37b717ddf672dd156f9e7a5601bac
3
+ size 7685206
onnx/PP-OCRv4/rec/ch_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48fc40f24f6d2a207a2b1091d3437eb3cc3eb6b676dc3ef9c37384005483683b
3
+ size 10857958
onnx/PP-OCRv4/rec/ch_PP-OCRv4_rec_server_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a2676219be9907c7fc9cf61ebaa843bf2898777def567925b78886fcd90c07a
3
+ size 90530732
onnx/PP-OCRv4/rec/ch_doc_PP-OCRv4_rec_server_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7062242cd57ec40b6583c3e0a5d4a674accbd710eed90bad9f52b9dd341d43b3
3
+ size 94927308
onnx/PP-OCRv4/rec/chinese_cht_PP-OCRv3_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:779656d044ce388045e02ea9244724616194e63928606436cdfc6dc3c9528cc6
3
+ size 11152536
onnx/PP-OCRv4/rec/cyrillic_PP-OCRv3_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1efb65bdc460af1c0e8733d005b20952b17ca5aac10ddb56c968333791c5eaa3
3
+ size 8972413
onnx/PP-OCRv4/rec/devanagari_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a62b6148303187907aa0b0d3a0125bdc62557d07966468cab9056949e36035e8
3
+ size 7688213
onnx/PP-OCRv4/rec/en_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8770c967605983d1570cdf5352041dfb68fa0c21664f49f47b155abd3e0e318
3
+ size 7653044
onnx/PP-OCRv4/rec/japan_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1075a67dba758ecfc7ebc78a10ae61c95ac8fb66a9c86fab5541e33f085cb7a
3
+ size 9753335
onnx/PP-OCRv4/rec/ka_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c1e186ea1d13cf6c853e57b42d382c3961fdd6acc2409e0d0dc44defc9f152b
3
+ size 7681381
onnx/PP-OCRv4/rec/korean_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab151ba9065eccd98f884cf4d927db091be86137276392072edd4f9d43ad7426
3
+ size 24067780
onnx/PP-OCRv4/rec/latin_PP-OCRv3_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9d7a33667e8aaa702862975186adf2012e3f390cc0f9422865957125f8071cf
3
+ size 8978191
onnx/PP-OCRv4/rec/ta_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f78d752148873c5fa6e4294002bfd162dbba54236e406a39665ebbda766161b5
3
+ size 22330612
onnx/PP-OCRv4/rec/te_PP-OCRv4_rec_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e608c3be00c8a9ea2f5c667d90f379403e2568bd5c8183308a49ca093def8eff
3
+ size 22341821
onnx/PP-OCRv5/det/ch_PP-OCRv5_mobile_det.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d97c44a20d30a81aad087d6a396b08f786c4635742afc391f6621f5c6ae78ae
3
+ size 4819576
onnx/PP-OCRv5/det/ch_PP-OCRv5_server_det.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8846b1d4bba223a2a2f9d9b44022fbc22cc019051a602b41a7fda9667e4cad
3
+ size 88118768
onnx/PP-OCRv5/rec/ch_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5825fc7ebf84ae7a412be049820b4d86d77620f204a041697b0494669b1742c5
3
+ size 16631306
onnx/PP-OCRv5/rec/ch_PP-OCRv5_rec_server_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e09385400eaaaef34ceff54aeb7c4f0f1fe014c27fa8b9905d4709b65746562a
3
+ size 84577022
onnx/PP-OCRv5/rec/el_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4368bccd557123c702b7549fee6cd1e94b581337d1c9b65310f109131542b7f
3
+ size 7832350
onnx/PP-OCRv5/rec/en_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3461add59bb4323ecba96a492ab75e06dda42467c9e3d0c18db5d1d21924be8
3
+ size 7872351
onnx/PP-OCRv5/rec/eslav_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08705d6721849b1347d26187f15a5e362c431963a2a62bfff4feac578c489aab
3
+ size 7911802
onnx/PP-OCRv5/rec/korean_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd6e2ea50f6943ca7271eb8c56a877a5a90720b7047fe9c41a2e541a25773c9b
3
+ size 13488748
onnx/PP-OCRv5/rec/latin_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b20bd37c168a570f583afbc8cd7925603890efbcdc000a59e22c269d160b5f5a
3
+ size 7904513
onnx/PP-OCRv5/rec/th_PP-OCRv5_rec_mobile_infer.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de541dd83161c241ff426f7ecfd602a0ba77d686cf3ab9a6c255ea82fd08006e
3
+ size 7915294
paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1efda1b80e174b4fcb168a035ac96c1af4938892bd86a55f300a6027105d08c
3
+ size 539978
paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdiparams.info ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee0c2eaa4c09814802bf520c01dfdbc1345dc2879dc9e67424d32c7b0ee88e59
3
+ size 18545
paddle/PP-OCRv4/cls/ch_ppocr_mobile_v2_cls_infer/inference.pdmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c4337ec61722a20b1dca2e5bfaffc313c0592bc89ad6e0d45168224186f6683
3
+ size 1624487
paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6119e639cade15873ac32eb4bee121b63c811c4d007d9f618baf680aef8b857
3
+ size 2377917
paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdiparams.info ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe414d9eadf914bf44e3f9ba212988a6f26f364e4f87c6d0af57438ffffc0c4
3
+ size 26392
paddle/PP-OCRv4/det/Multilingual_PP-OCRv3_det_infer/inference.pdmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c49f664c75549678deedcaff8d11f8f2b9f1303ef6c72deccdb98a5ea2104381
3
+ size 1441206
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49ee815e30cff43cb1057d33bf0d94193e4d4f1ae28451cad15b40be830df915
3
+ size 4692937
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdiparams.info ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e0f29e5fa476126f9efe0dc69f7ca7be960705ad549385d30c9604193463e69
3
+ size 23580
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_infer/inference.pdmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad68ed2768fe6c41166a5bc64680cc9f445390acb6528da449a4db2f7b90e14
3
+ size 166367
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48cecf9e30e9261a634126bc5211a2736508ae89d2d6199ef2ede06cdebe678f
3
+ size 113295054
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdiparams.info ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:231d32f0fc329cffcd3f756ef6ab6899663222a6b655b577400a2dd9cb8d2ac8
3
+ size 31168
paddle/PP-OCRv4/det/ch_PP-OCRv4_det_server_infer/inference.pdmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fec18291e9994c66a8c6877c7194c094071f115f7fd9f48b4da40e966749b03a
3
+ size 148803
paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83676ec730627ab4502f401410a4b6a3ce1c0bb98fa249b71db055b6bddae051
3
+ size 2377917
paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdiparams.info ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe414d9eadf914bf44e3f9ba212988a6f26f364e4f87c6d0af57438ffffc0c4
3
+ size 26392
paddle/PP-OCRv4/det/en_PP-OCRv3_det_infer/inference.pdmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4bfb1b05d9d1d5a760801eaf6d20180ef7e47bcc675fb17d1f3a89da5fef427
3
+ size 1590133
paddle/PP-OCRv4/rec/arabic_PP-OCRv4_rec_infer/arabic_dict.txt ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !
2
+ #
3
+ $
4
+ %
5
+ &
6
+ '
7
+ (
8
+ +
9
+ ,
10
+ -
11
+ .
12
+ /
13
+ 0
14
+ 1
15
+ 2
16
+ 3
17
+ 4
18
+ 5
19
+ 6
20
+ 7
21
+ 8
22
+ 9
23
+ :
24
+ ?
25
+ @
26
+ A
27
+ B
28
+ C
29
+ D
30
+ E
31
+ F
32
+ G
33
+ H
34
+ I
35
+ J
36
+ K
37
+ L
38
+ M
39
+ N
40
+ O
41
+ P
42
+ Q
43
+ R
44
+ S
45
+ T
46
+ U
47
+ V
48
+ W
49
+ X
50
+ Y
51
+ Z
52
+ _
53
+ a
54
+ b
55
+ c
56
+ d
57
+ e
58
+ f
59
+ g
60
+ h
61
+ i
62
+ j
63
+ k
64
+ l
65
+ m
66
+ n
67
+ o
68
+ p
69
+ q
70
+ r
71
+ s
72
+ t
73
+ u
74
+ v
75
+ w
76
+ x
77
+ y
78
+ z
79
+ É
80
+ é
81
+ ء
82
+ آ
83
+ أ
84
+ ؤ
85
+ إ
86
+ ئ
87
+ ا
88
+ ب
89
+ ة
90
+ ت
91
+ ث
92
+ ج
93
+ ح
94
+ خ
95
+ د
96
+ ذ
97
+ ر
98
+ ز
99
+ س
100
+ ش
101
+ ص
102
+ ض
103
+ ط
104
+ ظ
105
+ ع
106
+ غ
107
+ ف
108
+ ق
109
+ ك
110
+ ل
111
+ م
112
+ ن
113
+ ه
114
+ و
115
+ ى
116
+ ي
117
+ ً
118
+ ٌ
119
+ ٍ
120
+ َ
121
+ ُ
122
+ ِ
123
+ ّ
124
+ ْ
125
+ ٓ
126
+ ٔ
127
+ ٰ
128
+ ٱ
129
+ ٹ
130
+ پ
131
+ چ
132
+ ڈ
133
+ ڑ
134
+ ژ
135
+ ک
136
+ ڭ
137
+ گ
138
+ ں
139
+ ھ
140
+ ۀ
141
+ ہ
142
+ ۂ
143
+ ۃ
144
+ ۆ
145
+ ۇ
146
+ ۈ
147
+ ۋ
148
+ ی
149
+ ې
150
+ ے
151
+ ۓ
152
+ ە
153
+ ١
154
+ ٢
155
+ ٣
156
+ ٤
157
+ ٥
158
+ ٦
159
+ ٧
160
+ ٨
161
+ ٩