Prechádzať zdrojové kódy

feat: 更新README,修改命令行参数为--input_file和--pdf_dpi,并新增示例

zhch158_admin 1 mesiac pred
rodič
commit
edbb682ccb
1 zmenil súbory, kde vykonal 23 pridanie a 4 odobranie
  1. 23 4
      zhch/README.md

+ 23 - 4
zhch/README.md

@@ -197,12 +197,12 @@ output_dir/
 ```bash
 # 处理年度报告
 python mineru2_vllm_multthreads.py \
-    --input_dir /Users/zhch158/workspace/data/至远彩色印刷工业有限公司/2023年度报告母公司.img \
+    --input_file /Users/zhch158/workspace/data/至远彩色印刷工业有限公司/2023年度报告母公司.pdf \
     --output_dir /Users/zhch158/workspace/data/至远彩色印刷工业有限公司/mineru-vlm-2.5.3_Results \
     --server_url http://10.192.72.11:8121 \
     --timeout 300 \
     --batch_size 1 \
-    --dpi 200 \
+    --pdf_dpi 200 \
     --debug
 ```
 
@@ -229,7 +229,7 @@ python mineru2_vllm_multthreads.py \
     --server_url http://10.192.72.11:8121 \
     --timeout 300 \
     --batch_size 1 \
-    --dpi 200
+    --pdf_dpi 200
 
 # B用户流水分析(VLM模式)
 python mineru2_vllm_multthreads.py \
@@ -238,7 +238,26 @@ python mineru2_vllm_multthreads.py \
     --server_url http://10.192.72.11:8121 \
     --timeout 300 \
     --batch_size 1 \
-    --dpi 200
+    --pdf_dpi 200
+
+# 德_内蒙古银行照(VLM模式)
+python mineru2_vllm_multthreads.py \
+    --input_file /Users/zhch158/workspace/data/流水分析/德_内蒙古银行照.pdf \
+    --output_dir /Users/zhch158/workspace/data/流水分析/德_内蒙古银行照/mineru-vlm-2.5.3_Results \
+    --server_url http://10.192.72.11:8121 \
+    --timeout 300 \
+    --batch_size 1 \
+    --pdf_dpi 200
+
+# 对公_招商银行图(VLM模式)
+python mineru2_vllm_multthreads.py \
+    --input_file /Users/zhch158/workspace/data/流水分析/对公_招商银行图.pdf \
+    --output_dir /Users/zhch158/workspace/data/流水分析/对公_招商银行图/mineru-vlm-2.5.3_Results \
+    --server_url http://10.192.72.11:8121 \
+    --timeout 300 \
+    --batch_size 1 \
+    --pdf_dpi 200
+
 ```
 
 ### 5.3 评测数据集处理