Răsfoiți Sursa

feat(config): add MinerU tool configurations for OCR processing

- Introduced new configurations for the MinerU tool, including result and image directories for both standard and cell bbox versions.
- Updated descriptions to clarify the purpose of each configuration, enhancing the overall functionality of the OCR tools.
- Enabled both configurations to improve processing capabilities in OCR tasks.
zhch158_admin 9 ore în urmă
părinte
comite
f95eb551b5
1 a modificat fișierele cu 14 adăugiri și 0 ștergeri
  1. 14 0
      ocr_validator/config/提取自赤峰黄金2023年报.yaml

+ 14 - 0
ocr_validator/config/提取自赤峰黄金2023年报.yaml

@@ -9,4 +9,18 @@ document:
       result_dir: "bank_statement_wired_unet"
       image_dir: "bank_statement_wired_unet/{{name}}"
       description: "YUSYS Wired UNET OCR 框架"
+      enabled: true
+
+     # MinerU
+    - tool: "mineru"
+      result_dir: "mineru_vllm_results"
+      image_dir: "mineru_vllm_results/{{name}}"
+      description: "MinerU 图片合成结果"
+      enabled: true
+    
+    # MinerU (带 cell bbox)
+    - tool: "mineru"
+      result_dir: "mineru_vllm_results_cell_bbox"
+      image_dir: "mineru_vllm_results/{{name}}"
+      description: "MinerU + PaddleOCR 坐标"
       enabled: true