diff --git a/.gitignore b/.gitignore index b6ab4538..be92906a 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,6 @@ debug_utils/ # sphinx docs _build/ + + +output/ \ No newline at end of file diff --git a/README.md b/README.md index 7dd08e03..ca9a44a3 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,10 @@
  • Usage
  • TODO
  • -
  • Known Issues
  • -
  • FAQ
  • All Thanks To Our Contributors
  • License Information
  • Acknowledgments
  • @@ -113,89 +109,12 @@ Compared to well-known commercial products, MinerU is still young. If you encoun https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c -## Key Features - -- Remove headers, footers, footnotes, page numbers, etc., to ensure semantic coherence. -- Output text in human-readable order, suitable for single-column, multi-column, and complex layouts. -- Preserve the structure of the original document, including headings, paragraphs, lists, etc. -- Extract images, image descriptions, tables, table titles, and footnotes. -- Automatically recognize and convert formulas in the document to LaTeX format. -- Automatically recognize and convert tables in the document to LaTeX or HTML format. -- Automatically detect scanned PDFs and garbled PDFs and enable OCR functionality. -- OCR supports detection and recognition of 84 languages. -- Supports multiple output formats, such as multimodal and NLP Markdown, JSON sorted by reading order, and rich intermediate formats. -- Supports various visualization results, including layout visualization and span visualization, for efficient confirmation of output quality. -- Supports both CPU and GPU environments. -- Compatible with Windows, Linux, and Mac platforms. - ## Quick Start -If you encounter any installation issues, please first consult the FAQ.
    -If the parsing results are not as expected, refer to the Known Issues.
    -There are three different ways to experience MinerU: +There are multiple different ways to experience MinerU: - [Online Demo (No Installation Required)](#online-demo) - [Quick CPU Demo (Windows, Linux, Mac)](#quick-cpu-demo) -- [Linux/Windows + CUDA](#Using-GPU) - -> [!WARNING] -> **Pre-installation Notice—Hardware and Software Environment Support** -> -> To ensure the stability and reliability of the project, we only optimize and test for specific hardware and software environments during development. This ensures that users deploying and running the project on recommended system configurations will get the best performance with the fewest compatibility issues. -> -> By focusing resources on the mainline environment, our team can more efficiently resolve potential bugs and develop new features. -> -> In non-mainline environments, due to the diversity of hardware and software configurations, as well as third-party dependency compatibility issues, we cannot guarantee 100% project availability. Therefore, for users who wish to use this project in non-recommended environments, we suggest carefully reading the documentation and FAQ first. Most issues already have corresponding solutions in the FAQ. We also encourage community feedback to help us gradually expand support. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Operating System
    Ubuntu 22.04 LTSWindows 10 / 11macOS 11+
    CPUx86_64(unsupported ARM Linux)x86_64(unsupported ARM Windows)x86_64 / arm64
    Memory16GB or more, recommended 32GB+
    Python Version3.10(Please make sure to create a Python 3.10 virtual environment using conda)
    Nvidia Driver Versionlatest (Proprietary Driver)latestNone
    CUDA EnvironmentAutomatic installation [12.1 (pytorch) + 11.8 (paddle)]11.8 (manual installation) + cuDNN v8.7.0 (manual installation)None
    GPU Hardware Support ListMinimum Requirement 8G+ VRAM3060ti/3070/4060
    - 8G VRAM enables layout, formula recognition acceleration and OCR acceleration
    None
    Recommended Configuration 10G+ VRAM3080/3080ti/3090/3090ti/4070/4070ti/4070tisuper/4080/4090
    - 10G VRAM or more can enable layout, formula recognition, OCR acceleration and table recognition acceleration simultaneously -
    ### Online Demo @@ -253,85 +172,8 @@ You can modify certain configurations in this file to enable or disable features } ``` -### Using GPU - -If your device supports CUDA and meets the GPU requirements of the mainline environment, you can use GPU acceleration. Please select the appropriate guide based on your system: - -- [Ubuntu 22.04 LTS + GPU](docs/README_Ubuntu_CUDA_Acceleration_en_US.md) -- [Windows 10/11 + GPU](docs/README_Windows_CUDA_Acceleration_en_US.md) -- Quick Deployment with Docker -> [!IMPORTANT] -> Docker requires a GPU with at least 16GB of VRAM, and all acceleration features are enabled by default. -> -> Before running this Docker, you can use the following command to check if your device supports CUDA acceleration on Docker. -> -> ```bash -> docker run --rm --gpus=all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi -> ``` - ```bash - wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile - docker build -t mineru:latest . - docker run --rm -it --gpus=all mineru:latest /bin/bash - magic-pdf --help - ``` - ## Usage -### Command Line - -```bash -magic-pdf --help -Usage: magic-pdf [OPTIONS] - -Options: - -v, --version display the version and exit - -p, --path PATH local pdf filepath or directory [required] - -o, --output-dir PATH output local directory [required] - -m, --method [ocr|txt|auto] the method for parsing pdf. ocr: using ocr - technique to extract information from pdf. txt: - suitable for the text-based pdf only and - outperform ocr. auto: automatically choose the - best method for parsing pdf from ocr and txt. - without method specified, auto will be used by - default. - -l, --lang TEXT Input the languages in the pdf (if known) to - improve OCR accuracy. Optional. You should - input "Abbreviation" with language form url: ht - tps://paddlepaddle.github.io/PaddleOCR/latest/en - /ppocr/blog/multi_languages.html#5-support-languages- - and-abbreviations - -d, --debug BOOLEAN Enables detailed debugging information during - the execution of the CLI commands. - -s, --start INTEGER The starting page for PDF parsing, beginning - from 0. - -e, --end INTEGER The ending page for PDF parsing, beginning from - 0. - --help Show this message and exit. - - -## show version -magic-pdf -v - -## command line example -magic-pdf -p {some_pdf} -o {some_output_dir} -m auto -``` - -`{some_pdf}` can be a single PDF file or a directory containing multiple PDFs. -The results will be saved in the `{some_output_dir}` directory. The output file list is as follows: - -```text -├── some_pdf.md # markdown file -├── images # directory for storing images -├── some_pdf_layout.pdf # layout diagram (Include layout reading order) -├── some_pdf_middle.json # MinerU intermediate processing result -├── some_pdf_model.json # model inference result -├── some_pdf_origin.pdf # original PDF file -├── some_pdf_spans.pdf # smallest granularity bbox position information diagram -└── some_pdf_content_list.json # Rich text JSON arranged in reading order -``` -> [!TIP] -> For more information about the output files, please refer to the [Output File Description](docs/output_file_en_us.md). - ### API Processing files from local disk @@ -388,24 +230,6 @@ TODO - [ ] [Chemical formula recognition](docs/chemical_knowledge_introduction/introduction.pdf) - [ ] Geometric shape recognition -# Known Issues - -- Reading order is determined by the model based on the spatial distribution of readable content, and may be out of order in some areas under extremely complex layouts. -- Vertical text is not supported. -- Tables of contents and lists are recognized through rules, and some uncommon list formats may not be recognized. -- Only one level of headings is supported; hierarchical headings are not currently supported. -- Code blocks are not yet supported in the layout model. -- Comic books, art albums, primary school textbooks, and exercises cannot be parsed well. -- Table recognition may result in row/column recognition errors in complex tables. -- OCR recognition may produce inaccurate characters in PDFs of lesser-known languages (e.g., diacritical marks in Latin script, easily confused characters in Arabic script). -- Some formulas may not render correctly in Markdown. - -# FAQ - -[FAQ in Chinese](docs/FAQ_zh_cn.md) - -[FAQ in English](docs/FAQ_en_us.md) - # All Thanks To Our Contributors diff --git a/README_zh-CN.md b/README_zh-CN.md index 76cc383b..fcba5efb 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -15,8 +15,8 @@ [![Downloads](https://static.pepy.tech/badge/magic-pdf/month)](https://pepy.tech/project/magic-pdf) [![OpenDataLab](https://img.shields.io/badge/Demo_on_OpenDataLab-blue?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0ibm9uZSI+CiA8ZGVmcz4KICA8bGluZWFyR3JhZGllbnQgeTI9IjAuNTMzNjciIHgyPSIxLjAwMDQiIHkxPSIwLjI5MjE5IiB4MT0iLTAuMTEyNjgiIGlkPSJhIj4KICAgPHN0b3Agc3RvcC1jb2xvcj0iIzE1NDNGRSIvPgogICA8c3RvcCBzdG9wLWNvbG9yPSIjOEM0NkZGIiBvZmZzZXQ9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxsaW5lYXJHcmFkaWVudCB5Mj0iMC41OTc1NyIgeDI9IjEuMDExMzciIHkxPSIwLjExMDIzIiB4MT0iLTAuMDg0NzQiIGlkPSJiIj4KICAgPHN0b3Agc3RvcC1jb2xvcj0iIzE1NDNGRSIvPgogICA8c3RvcCBzdG9wLWNvbG9yPSIjOEM0NkZGIiBvZmZzZXQ9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogPC9kZWZzPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxw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MjlsMC42MTEsMGwwLDAuNjExbC0wLjYxLDBsMCwtMC42MWwtMC4wMDEsLTAuMDAxeiIvPgogPC9nPgo8L3N2Zz4=&labelColor=white)](https://opendatalab.com/OpenSourceTools/Extractor/PDF) -[![ModelScope](https://img.shields.io/badge/Demo_on_ModelScope-purple?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTUiIGZpbGw9IiM2MjRhZmYiIGQ9Im05OS4xNCwxMTUuNDlsMjUuNjUsMGwwLDI1LjY1bC0yNS42NSwwbDAsLTI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTYiIGZpbGw9IiM2MjRhZmYiIGQ9Im0xNzYuMDksMTQxLjE0bC0yNS42NDk5OSwwbDAsMjIuMTlsNDcuODQsMGwwLC00Ny44NGwtMjIuMTksMGwwLDI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTciIGZpbGw9IiMzNmNmZDEiIGQ9Im0xMjQuNzksODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTgiIGZpbGw9IiMzNmNmZDEiIGQ9Im0wLDY0LjE5bDI1LjY1LDBsMCwyNS42NWwtMjUuNjUsMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzE5IiBmaWxsPSIjNjI0YWZmIiBkPSJtMTk4LjI4LDg5Ljg0bDI1LjY0OTk5LDBsMCwyNS42NDk5OWwtMjUuNj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zDkThr23zqrVfAMFT33Nx1RJsx1k5zuWILLnG/vsH+Fv5D4NTVcp1Gzo8AAAAAElFTkSuQmCC&labelColor=white)](https://huggingface.co/spaces/opendatalab/MinerU) +[![ModelScope](https://img.shields.io/badge/Demo_on_ModelScope-purple?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTUiIGZpbGw9IiM2MjRhZmYiIGQ9Im05OS4xNCwxMTUuNDlsMjUuNjUsMGwwLDI1LjY1bC0yNS42NSwwbDAsLTI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTYiIGZpbGw9IiM2MjRhZmYiIGQ9Im0xNzYuMDksMTQxLjE0bC0yNS42NDk5OSwwbDAsMjIuMTlsNDcuODQsMGwwLC00Ny44NGwtMjIuMTksMGwwLDI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTciIGZpbGw9IiMzNmNmZDEiIGQ9Im0xMjQuNzksODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTgiIGZpbGw9IiMzNmNmZDEiIGQ9Im0wLDY0LjE5bDI1LjY1LDBsMCwyNS42NWwtMjUuNjUsMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzE5IiBmaWxsPSIjNjI0YWZmIiBkPSJtMTk4LjI4LDg5Ljg0bDI1LjY0OTk5LDBsMCwyNS42NDk5OWwtMjUuNjQ5OTksMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIwIiBmaWxsPSIjMzZjZmQxIiBkPSJtMTk4LjI4LDY0LjE5bDI1LjY0OTk5LDBsMCwyNS42NWwtMjUuNjQ5OTksMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIxIiBmaWxsPSIjNjI0YWZmIiBkPSJtMTUwLjQ0LDQybDAsMjIuMTlsMjUuNjQ5OTksMGwwLDI1LjY1bDIyLjE5LDBsMCwtNDcuODRsLTQ3Ljg0LDB6Ii8+CiAgPHBhdGggaWQ9InN2Z18yMiIgZmlsbD0iIzM2Y2ZkMSIgZD0ibTczLjQ5LDg5Ljg0bDI1LjY1LDBsMCwyNS42NDk5OWwtMjUuNjUsMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIzIiBmaWxsPSIjNjI0YWZmIiBkPSJtNDcuODQsNjQuMTlsMjUuNjUsMGwwLC0yMi4xOWwtNDcuODQsMGwwLDQ3Ljg0bDIyLjE5LDBsMCwtMjUuNjV6Ii8+CiAgPHBhdGggaWQ9InN2Z18yNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTQ3Ljg0LDExNS40OWwtMjIuMTksMGwwLDQ3Ljg0bDQ3Ljg0LDBsMCwtMjIuMTlsLTI1LjY1LDBsMCwtMjUuNjV6Ii8+CiA8L2c+Cjwvc3ZnPg==&labelColor=white)](https://www.modelscope.cn/studios/OpenDataLab/MinerU) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/gist/myhloli/3b3a00a4a0a61577b6c30f989092d20d/mineru_demo.ipynb) [![Paper](https://img.shields.io/badge/Paper-arXiv-green)](https://arxiv.org/abs/2409.18839) @@ -77,12 +77,10 @@
  • 使用方式