Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
docs(tutorial): update magic-pdf command with output directory
myhloli6bf83a82b52b
diff --git a/docs/README_Ubuntu_CUDA_Acceleration_en_US.md b/docs/README_Ubuntu_CUDA_Acceleration_en_US.mdindex 010cc729..d5266831 100644--- a/docs/README_Ubuntu_CUDA_Acceleration_en_US.md+++ b/docs/README_Ubuntu_CUDA_Acceleration_en_US.md@@ -90,7 +90,7 @@ Download a sample file from the repository and test it.```shwget https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```### 9. Test CUDA Acceleration@@ -105,7 +105,7 @@ If your graphics card has at least **8GB** of VRAM, follow these steps to test C```2. Test CUDA acceleration with the following command:```sh- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```### 10. Enable CUDA Acceleration for OCR@@ -116,5 +116,5 @@ If your graphics card has at least **8GB** of VRAM, follow these steps to test C```2. Test OCR acceleration with the following command:```sh- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```diff --git a/docs/README_Ubuntu_CUDA_Acceleration_zh_CN.md b/docs/README_Ubuntu_CUDA_Acceleration_zh_CN.mdindex e64b0220..fd14111a 100644--- a/docs/README_Ubuntu_CUDA_Acceleration_zh_CN.md+++ b/docs/README_Ubuntu_CUDA_Acceleration_zh_CN.md@@ -91,7 +91,7 @@ pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i h```bashwget https://gitee.com/myhloli/MinerU/raw/master/demo/small_ocr.pdf-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```## 9. 测试CUDA加速@@ -109,7 +109,7 @@ magic-pdf -p small_ocr.pdf**2.运行以下命令测试cuda加速效果**```bash-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```> 提示:CUDA加速是否生效可以根据log中输出的各个阶段cost耗时来简单判断,通常情况下,`layout detection cost` 和 `mfr time` 应提速10倍以上。@@ -125,7 +125,7 @@ python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.**2.运行以下命令测试ocr加速效果**```bash-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```> 提示:CUDA加速是否生效可以根据log中输出的各个阶段cost耗时来简单判断,通常情况下,`ocr cost`应提速10倍以上。diff --git a/docs/README_Windows_CUDA_Acceleration_en_US.md b/docs/README_Windows_CUDA_Acceleration_en_US.mdindex e258011d..56a8f465 100644--- a/docs/README_Windows_CUDA_Acceleration_en_US.md+++ b/docs/README_Windows_CUDA_Acceleration_en_US.md@@ -53,7 +53,7 @@ Download a sample file from the repository and test it.```powershellwget https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf -O small_ocr.pdf- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```### 8. Test CUDA Acceleration@@ -85,7 +85,7 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA-3. **Run the following command to test CUDA acceleration**:```- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```### 9. Enable CUDA Acceleration for OCR@@ -96,5 +96,5 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA-```2. **Run the following command to test OCR acceleration**:```- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```diff --git a/docs/README_Windows_CUDA_Acceleration_zh_CN.md b/docs/README_Windows_CUDA_Acceleration_zh_CN.mdindex a8647aac..238d8c9f 100644--- a/docs/README_Windows_CUDA_Acceleration_zh_CN.md+++ b/docs/README_Windows_CUDA_Acceleration_zh_CN.md@@ -54,7 +54,7 @@ pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i h```powershellwget https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf -O small_ocr.pdf- magic-pdf -p small_ocr.pdf+ magic-pdf -p small_ocr.pdf -o ./output```## 8. 测试CUDA加速@@ -86,7 +86,7 @@ pip install --force-reinstall torch==2.3.1 torchvision==0.18.1 --index-url https**3.运行以下命令测试cuda加速效果**```bash-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```> 提示:CUDA加速是否生效可以根据log中输出的各个阶段的耗时来简单判断,通常情况下,`layout detection time` 和 `mfr time` 应提速10倍以上。@@ -102,7 +102,7 @@ pip install paddlepaddle-gpu==2.6.1**2.运行以下命令测试ocr加速效果**```bash-magic-pdf -p small_ocr.pdf+magic-pdf -p small_ocr.pdf -o ./output```> 提示:CUDA加速是否生效可以根据log中输出的各个阶段cost耗时来简单判断,通常情况下,`ocr time`应提速10倍以上。