|
42 | 42 | </div>
|
43 | 43 |
|
44 | 44 | # Changelog
|
45 |
| -- 2024/11/06 0.9.1 released. Integrated the [StructTable-InternVL2-1B](https://huggingface.co/U4R/StructTable-InternVL2-1B) model for table recognition functionality. |
| 45 | +- 2024/11/06 0.9.2 released. Integrated the [StructTable-InternVL2-1B](https://huggingface.co/U4R/StructTable-InternVL2-1B) model for table recognition functionality. |
46 | 46 | - 2024/10/31 0.9.0 released. This is a major new version with extensive code refactoring, addressing numerous issues, improving performance, reducing hardware requirements, and enhancing usability:
|
47 | 47 | - Refactored the sorting module code to use [layoutreader](https://github.com/ppaanngggg/layoutreader) for reading order sorting, ensuring high accuracy in various layouts.
|
48 | 48 | - Refactored the paragraph concatenation module to achieve good results in cross-column, cross-page, cross-figure, and cross-table scenarios.
|
@@ -138,13 +138,14 @@ There are three different ways to experience MinerU:
|
138 | 138 | - [Quick CPU Demo (Windows, Linux, Mac)](#quick-cpu-demo)
|
139 | 139 | - [Linux/Windows + CUDA](#Using-GPU)
|
140 | 140 |
|
141 |
| -**⚠️ Pre-installation Notice—Hardware and Software Environment Support** |
142 |
| - |
143 |
| -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. |
144 |
| - |
145 |
| -By focusing resources on the mainline environment, our team can more efficiently resolve potential bugs and develop new features. |
146 |
| - |
147 |
| -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. |
| 141 | +> [!WARNING] |
| 142 | +> **Pre-installation Notice—Hardware and Software Environment Support** |
| 143 | +> |
| 144 | +> 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. |
| 145 | +> |
| 146 | +> By focusing resources on the mainline environment, our team can more efficiently resolve potential bugs and develop new features. |
| 147 | +> |
| 148 | +> 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. |
148 | 149 |
|
149 | 150 | <table>
|
150 | 151 | <tr>
|
@@ -224,11 +225,13 @@ Refer to [How to Download Model Files](docs/how_to_download_models_en.md) for de
|
224 | 225 | After completing the [2. Download model weight files](#2-download-model-weight-files) step, the script will automatically generate a `magic-pdf.json` file in the user directory and configure the default model path.
|
225 | 226 | You can find the `magic-pdf.json` file in your 【user directory】.
|
226 | 227 |
|
| 228 | +> [!TIP] |
227 | 229 | > The user directory for Windows is "C:\\Users\\username", for Linux it is "/home/username", and for macOS it is "/Users/username".
|
228 | 230 |
|
229 | 231 | You can modify certain configurations in this file to enable or disable features, such as table recognition:
|
230 | 232 |
|
231 | 233 |
|
| 234 | +> [!NOTE] |
232 | 235 | > If the following items are not present in the JSON, please manually add the required items and remove the comment content (standard JSON does not support comments).
|
233 | 236 |
|
234 | 237 | ```json
|
@@ -257,13 +260,14 @@ If your device supports CUDA and meets the GPU requirements of the mainline envi
|
257 | 260 | - [Ubuntu 22.04 LTS + GPU](docs/README_Ubuntu_CUDA_Acceleration_en_US.md)
|
258 | 261 | - [Windows 10/11 + GPU](docs/README_Windows_CUDA_Acceleration_en_US.md)
|
259 | 262 | - Quick Deployment with Docker
|
260 |
| - > Docker requires a GPU with at least 16GB of VRAM, and all acceleration features are enabled by default. |
261 |
| - > |
262 |
| - > Before running this Docker, you can use the following command to check if your device supports CUDA acceleration on Docker. |
263 |
| - > |
264 |
| - > ```bash |
265 |
| - > docker run --rm --gpus=all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi |
266 |
| - > ``` |
| 263 | +> [!IMPORTANT] |
| 264 | +> Docker requires a GPU with at least 16GB of VRAM, and all acceleration features are enabled by default. |
| 265 | +> |
| 266 | +> Before running this Docker, you can use the following command to check if your device supports CUDA acceleration on Docker. |
| 267 | +> |
| 268 | +> ```bash |
| 269 | +> docker run --rm --gpus=all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi |
| 270 | +> ``` |
267 | 271 | ```bash
|
268 | 272 | wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile
|
269 | 273 | docker build -t mineru:latest .
|
@@ -325,8 +329,8 @@ The results will be saved in the `{some_output_dir}` directory. The output file
|
325 | 329 | ├── some_pdf_spans.pdf # smallest granularity bbox position information diagram
|
326 | 330 | └── some_pdf_content_list.json # Rich text JSON arranged in reading order
|
327 | 331 | ```
|
328 |
| - |
329 |
| -For more information about the output files, please refer to the [Output File Description](docs/output_file_en_us.md). |
| 332 | +> [!TIP] |
| 333 | +> For more information about the output files, please refer to the [Output File Description](docs/output_file_en_us.md). |
330 | 334 |
|
331 | 335 | ### API
|
332 | 336 |
|
@@ -377,12 +381,12 @@ TODO
|
377 | 381 |
|
378 | 382 | # TODO
|
379 | 383 |
|
380 |
| -- 🗹 Reading order based on the model |
381 |
| -- 🗹 Recognition of `index` and `list` in the main text |
382 |
| -- 🗹 Table recognition |
383 |
| -- ☐ Code block recognition in the main text |
384 |
| -- ☐ [Chemical formula recognition](docs/chemical_knowledge_introduction/introduction.pdf) |
385 |
| -- ☐ Geometric shape recognition |
| 384 | +- [x] Reading order based on the model |
| 385 | +- [x] Recognition of `index` and `list` in the main text |
| 386 | +- [x] Table recognition |
| 387 | +- [ ] Code block recognition in the main text |
| 388 | +- [ ] [Chemical formula recognition](docs/chemical_knowledge_introduction/introduction.pdf) |
| 389 | +- [ ] Geometric shape recognition |
386 | 390 |
|
387 | 391 | # Known Issues
|
388 | 392 |
|
|
0 commit comments