marsena commited on
Commit
06c3603
·
verified ·
1 Parent(s): 266e861

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md CHANGED
@@ -18,6 +18,64 @@ base_model:
18
 
19
  PaddleOCR PP-OCRv5 models converted to ONNX format for efficient OCR inference.
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ## Model Files
22
 
23
  | File | Description |
 
18
 
19
  PaddleOCR PP-OCRv5 models converted to ONNX format for efficient OCR inference.
20
 
21
+ [English](#english) | [中文說明](#中文說明)
22
+
23
+ ## 中文說明
24
+
25
+ 這是 PaddleOCR PP-OCRv5 模型的 ONNX 格式版本,用於高效率的文字辨識推理。
26
+
27
+ ### 模型檔案說明
28
+
29
+ | 檔案名稱 | 說明 |
30
+ |---------|------|
31
+ | `PP-OCRv5_server_det_infer.onnx` | 文字檢測模型 - 偵測圖片中文字的位置 |
32
+ | `PP-OCRv5_server_rec_infer.onnx` | 文字辨識模型 - 辨識文字內容 |
33
+ | `PP-LCNet_x1_0_textline_ori_infer.onnx` | 文字方向分類模型 |
34
+ | `PP-LCNet_x1_0_doc_ori_infer.onnx` | 文件方向修正模型 |
35
+ | `UVDoc_infer.onnx` | 文件展平模型 |
36
+ | `PP-OCRv5_server_rec_infer.yml` | 字符字典配置檔 |
37
+
38
+ ### 快速使用
39
+
40
+ ```python
41
+ from huggingface_hub import hf_hub_download
42
+
43
+ # 下載文字檢測模型
44
+ det_model_path = hf_hub_download(
45
+ repo_id="marsena/paddleocr-onnx-models",
46
+ filename="PP-OCRv5_server_det_infer.onnx"
47
+ )
48
+
49
+ # 下載文字辨識模型
50
+ rec_model_path = hf_hub_download(
51
+ repo_id="marsena/paddleocr-onnx-models",
52
+ filename="PP-OCRv5_server_rec_infer.onnx"
53
+ )
54
+ ```
55
+
56
+ ### 一次下載所有模型
57
+
58
+ ```python
59
+ from huggingface_hub import snapshot_download
60
+
61
+ # 下載所有模型檔案到本地資料夾
62
+ snapshot_download(
63
+ repo_id="marsena/paddleocr-onnx-models",
64
+ local_dir="./paddleocr_onnx"
65
+ )
66
+ ```
67
+
68
+ ### 支援的語言和文字類型
69
+
70
+ - **語言支援**: 簡體中文、繁體中文、英文、日文
71
+ - **文字類型**: 印刷體、手寫體、直書文字、旋轉文字、彎曲文字
72
+ - **輸入格式**: 圖片檔案 (JPEG, PNG)
73
+ - **運行環境**: 支援 CPU 和 GPU 推理
74
+
75
+ ---
76
+
77
+ ## English
78
+
79
  ## Model Files
80
 
81
  | File | Description |