소스 검색

feat(新增YUSYS MinerU本地处理器配置): 添加YUSYS(local) Wired UNET OCR MinerU-VL处理器配置及相关参数

zhch158_admin 1 주 전
부모
커밋
226a59b4b6
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      ocr_tools/ocr_batch/processor_configs.yaml

+ 16 - 0
ocr_tools/ocr_batch/processor_configs.yaml

@@ -94,6 +94,22 @@ processors:
     venv: "conda activate mineru2"
     description: "YUSYS(local) Wired UNET OCR PaddleOCR-VL"
 
+  yusys_mineru_local:
+    script: "/Users/zhch158/workspace/repository.git/ocr_platform/ocr_tools/universal_doc_parser/main_v2.py"
+    input_arg: "--input"
+    output_arg: "--output_dir"
+    scene_arg: "--scene"
+    extra_args:
+      - "--config=/Users/zhch158/workspace/repository.git/ocr_platform/ocr_tools/universal_doc_parser/config/bank_statement_mineru_vl_local.yaml"
+      - "--pages=1-35"
+      - "--streaming"
+      - "--debug"
+      - "--log_level=DEBUG"
+    output_subdir: "bank_statement_yusys_mineru_local"
+    log_subdir: "logs/bank_statement_yusys_mineru_local"
+    venv: "conda activate mineru2"
+    description: "YUSYS(local) Wired UNET OCR MinerU-VL"
+
   # -------------------------------------------------------------------------
   # PaddleOCR-VL 处理器
   # -------------------------------------------------------------------------