Browse Source

feat(config): update OCR tool configurations for bank statement processing

- Modified the image directory path for the existing "mineru" tool in the bank_statement_yusys_v2 configuration.
- Added a new configuration file for the "mineru" tool specific to bank_statement_wired_unet, including its result and image directories, along with a description and enablement option.
zhch158_admin 1 day ago
parent
commit
f4ec65b6b3

+ 1 - 1
ocr_validator/config/山西云集科技有限公司.yaml

@@ -7,7 +7,7 @@ document:
     # bank_statement_yusys_v2
     - tool: "mineru"
       result_dir: "bank_statement_yusys_v2"
-      image_dir: "mineru_vllm_results/{{name}}"
+      image_dir: "bank_statement_yusys_v2/{{name}}"
       description: "YUSYS统一OCR框架"
       enabled: true
 

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

@@ -0,0 +1,12 @@
+document:
+  name: "提取自赤峰黄金2023年报"
+  base_dir: "/Users/zhch158/workspace/data/流水分析/提取自赤峰黄金2023年报"
+  
+  # 🎯 关键改进:定义该文档使用的 OCR 工具及其结果目录
+  ocr_results:
+    # bank_statement_wired_unet
+    - tool: "mineru"
+      result_dir: "bank_statement_wired_unet"
+      image_dir: "bank_statement_wired_unet/{{name}}"
+      description: "YUSYS Wired UNET OCR 框架"
+      enabled: true