瀏覽代碼

feat(更新MinerU本地OCR配置): 修改main_v2.py中的输出目录、配置文件和日志文件路径,以支持新的MinerU处理方式,提升文档解析的灵活性与准确性。

zhch158_admin 1 月之前
父節點
當前提交
9413ec2600
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ocr_tools/universal_doc_parser/main_v2.py

+ 3 - 3
ocr_tools/universal_doc_parser/main_v2.py

@@ -660,9 +660,9 @@ if __name__ == "__main__":
             # "log_file": "./output/logs/陈3_微信图/bank_statement_yusys_local/process.log",
 
             "input": "/Users/zhch158/workspace/data/流水分析/陈3_微信图.pdf",
-            "output_dir": "/Users/zhch158/workspace/data/流水分析/陈3_微信图/bank_statement_paddle_vl_local",
-            "config": "./config/bank_statement_paddle_vl_local.yaml",
-            "log_file": "./output/logs/陈3_微信图/bank_statement_paddle_vl_local/process.log",
+            "output_dir": "/Users/zhch158/workspace/data/流水分析/陈3_微信图/bank_statement_mineru_vl_local",
+            "config": "./config/bank_statement_mineru_vl_local.yaml",
+            "log_file": "./output/logs/陈3_微信图/bank_statement_mineru_vl_local/process.log",
 
             # "input": "/Users/zhch158/workspace/data/流水分析/彭_广东兴宁农村商业银行.pdf",
             # "output_dir": "/Users/zhch158/workspace/data/流水分析/彭_广东兴宁农村商业银行/bank_statement_yusys_local",