From b58f4e1d8ff4b2fa5e8f73b738f876267e33e945 Mon Sep 17 00:00:00 2001 From: zhangwei13 Date: Wed, 30 Jul 2025 19:17:41 +0800 Subject: [PATCH] update README --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 93556ab..8843985 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- +

@@ -14,7 +14,7 @@ dots.ocr: Multilingual Document Layout Parsing in a Single Vision-Language Model
🖥️ Live Demo | - 💬 WeChat | + 💬 WeChat | 📕 rednote
@@ -33,7 +33,7 @@ dots.ocr: Multilingual Document Layout Parsing in a Single Vision-Language Model ### Performance Comparison: dots.ocr vs. Competing Models - + > **Notes:** > - The EN, ZH metrics are the end2end evaluation results of [OmniDocBench](https://github.com/opendatalab/OmniDocBench), and Multilingual metric is the end2end evaluation results of dots.ocr-bench. @@ -776,7 +776,7 @@ This is an inhouse benchmark which contain 1493 pdf images with 100 languages. > **Notes:** -> - prompt_layout_all_en for **parse all**, prompt_layout_only_en for **detection only**, please refer to [prompts](https://github.com/rednote-hilab/dots.ocr/blob/main/dots_ocr/utils/prompts.py) +> - prompt_layout_all_en for **parse all**, prompt_layout_only_en for **detection only**, please refer to [prompts](https://github.com/rednote-hilab/dots.ocr/blob/master/dots_ocr/utils/prompts.py) ### 3. olmOCR-bench. @@ -954,7 +954,7 @@ This is an inhouse benchmark which contain 1493 pdf images with 100 languages. 75.5 ± 1.0 -MonkeyOCR-pro-3B [Demo] +MonkeyOCR-pro-3B 83.8 68.8 74.6 @@ -1021,7 +1021,7 @@ python tools/download_model.py ## 2. Deployment ### vLLM inference We highly recommend using vllm for deployment and inference. All of our evaluations results are based on vllm version 0.9.1. -The [Docker Image](https://hub.docker.com/r/rednotehilab/dots.ocr) is based on the official vllm image. You can also follow [Dockerfile](https://github.com/rednote-hilab/dots.ocr/blob/main/docker/Dockerfile) to build the deployment environment by yourself. +The [Docker Image](https://hub.docker.com/r/rednotehilab/dots.ocr) is based on the official vllm image. You can also follow [Dockerfile](https://github.com/rednote-hilab/dots.ocr/blob/master/docker/Dockerfile) to build the deployment environment by yourself. ```shell # You need to register model to vllm at first @@ -1169,27 +1169,27 @@ python demo/demo_gradio_annotion.py ### Example for formula document -formula1.png -formula2.png -formula3.png +formula1.png +formula2.png +formula3.png ### Example for table document -table1.png -table2.png -table3.png +table1.png +table2.png +table3.png ### Example for multilingual document -Tibetan.png -tradition_zh.png -nl.png -kannada.png -russian.png +Tibetan.png +tradition_zh.png +nl.png +kannada.png +russian.png ### Example for reading order -reading_order.png +reading_order.png ### Example for grounding ocr -grounding.png +grounding.png ## Acknowledgments @@ -1206,7 +1206,7 @@ We also thank [DocLayNet](https://github.com/DS4SD/DocLayNet), [M6Doc](https://g - **Parsing Failures:** The model may fail to parse under certain conditions: - When the character-to-pixel ratio is excessively high. Try enlarging the image or increasing the PDF parsing DPI (a setting of 200 is recommended). However, please note that the model performs optimally on images with a resolution under 11289600 pixels. - - Continuous special characters, such as ellipses (`...`) and underscores (`_`), may cause the prediction output to repeat endlessly. In such scenarios, consider using alternative prompts like `prompt_layout_only_en`, `prompt_ocr`, or `prompt_grounding_ocr` ([details here](https://github.com/rednote-hilab/dots.ocr/blob/main/dots_ocr/utils/prompts.py)). + - Continuous special characters, such as ellipses (`...`) and underscores (`_`), may cause the prediction output to repeat endlessly. In such scenarios, consider using alternative prompts like `prompt_layout_only_en`, `prompt_ocr`, or `prompt_grounding_ocr` ([details here](https://github.com/rednote-hilab/dots.ocr/blob/master/dots_ocr/utils/prompts.py)). - **Performance Bottleneck:** Despite its 1.7B parameter LLM foundation, **dots.ocr** is not yet optimized for high-throughput processing of large PDF volumes.