|
|
@@ -33,6 +33,12 @@ python batch_process_pdf.py \
|
|
|
-s /path/to/script.py \
|
|
|
--venv "conda activate myenv" \
|
|
|
-f pdf_list.txt
|
|
|
+
|
|
|
+# 7. 指定文件
|
|
|
+python batch_process_pdf.py -p mineru_vllm -l 施博深.pdf
|
|
|
+python batch_process_pdf.py -p paddleocr_vl_single_process -l 施博深.pdf
|
|
|
+python batch_process_pdf.py -p dotsocr_vllm -l 施博深.pdf
|
|
|
+python batch_process_pdf.py -p ppstructurev3_single_client -l 施博深.pdf
|
|
|
```
|
|
|
|
|
|
## 实际执行的命令示例
|
|
|
@@ -40,7 +46,7 @@ python batch_process_pdf.py \
|
|
|
### DotsOCR:
|
|
|
```bash
|
|
|
conda activate py312 && python /path/to/dotsocr_vllm_multthreads.py \
|
|
|
- --input_file /path/to/file.pdf \
|
|
|
+ --input /path/to/file.pdf \
|
|
|
--output_dir /path/to/output \
|
|
|
--ip=10.192.72.11 --port=8101 --dpi=200
|
|
|
```
|
|
|
@@ -48,7 +54,7 @@ conda activate py312 && python /path/to/dotsocr_vllm_multthreads.py \
|
|
|
### MinerU:
|
|
|
```bash
|
|
|
conda activate mineru2 && python /path/to/mineru2_vllm_multthreads.py \
|
|
|
- --input_file /path/to/file.pdf \
|
|
|
+ --input /path/to/file.pdf \
|
|
|
--output_dir /path/to/output \
|
|
|
--server_url=http://10.192.72.11:8121
|
|
|
```
|