Skip to content

Fast, accurate OCR with correctness assessment.

docs: specify SDK directory for Wild rotation correction

caowanxia123c655fe957c30
diff --git a/docs/benchmark_reproduction_en.md b/docs/benchmark_reproduction_en.md
index a95c402..75e84ed 100644
--- a/docs/benchmark_reproduction_en.md
+++ b/docs/benchmark_reproduction_en.md
@@ -48,7 +48,7 @@ Scoring is performed separately after the model generates predictions: the predi
| :--- | :--- | :--- |
| OmniDocBench v1.6 | Match elements in full-page Markdown against the v1.6 full GT, then compute text edit distance, formula CDM, table TEDS, and reading-order edit distance. This evaluation uses `quick_match`. | [OmniDocBench repository and evaluation guide](https://github.com/opendatalab/OmniDocBench#evaluation) |
| Real5-OmniDocBench | Reuse the OmniDocBench v1.5 annotations and scoring procedure. Score the five scenarios—Scanning, Warping, Screen-Photography, Illumination, and Skew—separately, with 1,355 pages per scenario. The aggregate score in this evaluation is the equally weighted average of the five scenario Overall scores. | [Official Real5 data and evaluation instructions](https://huggingface.co/datasets/PaddlePaddle/Real5-OmniDocBench#evaluation), [OmniDocBench v1.5 scoring repository](https://github.com/opendatalab/OmniDocBench/tree/v1_5) |
-| Wild-OmniDocBench | Score full-page Markdown for 1,350 pages of images captured in real-world conditions, using OmniDocBench annotations and metrics. This evaluation uses the v1.6 scorer and the subset of v1.5 GT corresponding to the Wild pages. The Wild-OmniDocBench scores reported in this project are obtained with adaptive rotation enabled. | [Official Wild repository](https://github.com/VirtualLUOUCAS/Wild_OmniDocBench#evaluation), [OmniDocBench scoring repository](https://github.com/opendatalab/OmniDocBench) |
+| Wild-OmniDocBench | Score full-page Markdown for 1,350 pages of images captured in real-world conditions, using OmniDocBench annotations and metrics. This evaluation uses the v1.6 scorer and the subset of v1.5 GT corresponding to the Wild pages. The Wild-OmniDocBench scores reported in this project are obtained after rotation correction using the [SDK (`sdk/`)](../sdk/). | [Official Wild repository](https://github.com/VirtualLUOUCAS/Wild_OmniDocBench#evaluation), [OmniDocBench scoring repository](https://github.com/opendatalab/OmniDocBench) |
| olmOCR-Bench | Use the official rules to check text presence and absence, reading order, table relationships, formulas, and other properties in Markdown. Compute the test pass rate for each category, then take the equally weighted average of the category scores. | [allenai/olmocr scoring instructions](https://github.com/allenai/olmocr/blob/main/olmocr/bench/README.md), [scoring code](https://github.com/allenai/olmocr/blob/main/olmocr/bench/benchmark.py), [official dataset](https://huggingface.co/datasets/allenai/olmOCR-bench) |
| OCRBench v2 | Write each answer to the `predict` field in the prediction JSON. First score by task type with `eval_scripts/eval.py`, then aggregate the Chinese and English task metrics with `eval_scripts/get_score.py`. | [Official MultimodalOCR/OCRBench_v2 repository and commands](https://github.com/Yuliang-Liu/MultimodalOCR/tree/main/OCRBench_v2#evaluation) |
| CHAOS-Bench | Compare model outputs against the actually altered words in the image, `ocr_ans`, to measure the proportion recognized faithfully. Outputting the original words, `origin_ans`, does not count as correct. The matching and aggregation rules for this evaluation are described below. | [Official HunyuanOCR/CHAOS-Bench data and evaluation instructions](https://github.com/Tencent-Hunyuan/HunyuanOCR/tree/main/benchmarks/CHAOS-Bench) |
@@ -86,7 +86,7 @@ In this evaluation, OmniDocBench, Real5, and olmOCR use internally packaged imag
### Scoring and Aggregation Rules
- **Evaluation scope**: The six tracks in the archived results are OmniDocBench v1.6, Real5, olmOCR-Bench, Wild original images, Wild deskewed images, and CHAOS-Bench.
-- **Wild**: The scores reported in this project use adaptive rotation. Archived results for original and deskewed images are reported separately, using the same GT and scorer. Deskewing changes input preprocessing, so these results must be treated as separate tracks.
+- **Wild**: The scores reported in this project use the results after SDK rotation correction. Archived results for original and deskewed images are reported separately, using the same GT and scorer. Deskewing changes input preprocessing, so these results must be treated as separate tracks.
- **olmOCR-Bench**: The main score is the equally weighted average of eight categories, including Base and Headers & Footers. If `excl. headers & footers` is also reported, average only the remaining seven categories with equal weights and label it explicitly.
- **CHAOS-Bench**: There are 500 pages and 1,025 altered words. In this evaluation, whitespace is normalized in the full-page Markdown, and `ocr_ans` is searched for case-insensitively at word boundaries. Compute the hit rate for each page, then take the equally weighted average across all 500 pages and multiply by 100. Pages with empty outputs receive zero. This local implementation does not align outputs individually with the annotated `bbox` regions, so its results should be reported separately from recognition results on cropped regions.
diff --git a/docs/benchmark_reproduction_zh.md b/docs/benchmark_reproduction_zh.md
index 3b2f0b3..89daf9c 100644
--- a/docs/benchmark_reproduction_zh.md
+++ b/docs/benchmark_reproduction_zh.md
@@ -47,7 +47,7 @@
| :--- | :--- | :--- |
| OmniDocBench v1.6 | 将整页 Markdown 与 v1.6 full GT 进行元素匹配,计算文本编辑距离、公式 CDM、表格 TEDS 和阅读顺序编辑距离。本轮使用 `quick_match`。 | [OmniDocBench 仓库与评分指南](https://github.com/opendatalab/OmniDocBench#evaluation) |
| Real5-OmniDocBench | 复用 OmniDocBench v1.5 的标注与评分流程;Scanning、Warping、Screen-Photography、Illumination、Skew 五个场景分别评分,每个场景 1,355 页。本轮总分为五个场景 Overall 的等权平均。 | [Real5 官方数据与评测说明](https://huggingface.co/datasets/PaddlePaddle/Real5-OmniDocBench#evaluation)、[OmniDocBench v1.5 评分仓库](https://github.com/opendatalab/OmniDocBench/tree/v1_5) |
-| Wild-OmniDocBench | 对 1,350 页真实采集图像的整页 Markdown 评分,沿用 OmniDocBench 的标注与指标。本轮使用 v1.6 评分器和与 Wild 页面对应的 v1.5 GT 子集。本项目报告的 Wild-OmniDocBench 分数为使用自适应旋转后的结果。 | [Wild 官方仓库](https://github.com/VirtualLUOUCAS/Wild_OmniDocBench#evaluation)、[OmniDocBench 评分仓库](https://github.com/opendatalab/OmniDocBench) |
+| Wild-OmniDocBench | 对 1,350 页真实采集图像的整页 Markdown 评分,沿用 OmniDocBench 的标注与指标。本轮使用 v1.6 评分器和与 Wild 页面对应的 v1.5 GT 子集。本项目报告的 Wild-OmniDocBench 分数为使用 [SDK(`sdk/`)](../sdk/) 进行旋转校正后的结果。 | [Wild 官方仓库](https://github.com/VirtualLUOUCAS/Wild_OmniDocBench#evaluation)、[OmniDocBench 评分仓库](https://github.com/opendatalab/OmniDocBench) |
| olmOCR-Bench | 使用官方规则检查 Markdown 中的文本出现/缺失、阅读顺序、表格关系和公式等;先计算各类别测试通过率,再对类别分数等权平均。 | [allenai/olmocr 评分说明](https://github.com/allenai/olmocr/blob/main/olmocr/bench/README.md)、[评分代码](https://github.com/allenai/olmocr/blob/main/olmocr/bench/benchmark.py)、[官方数据集](https://huggingface.co/datasets/allenai/olmOCR-bench) |
| OCRBench v2 | 将逐题回答写入预测 JSON 的 `predict` 字段,先用 `eval_scripts/eval.py` 按任务类型评分,再用 `eval_scripts/get_score.py` 汇总中英文各任务指标。 | [MultimodalOCR/OCRBench_v2 官方仓库与命令](https://github.com/Yuliang-Liu/MultimodalOCR/tree/main/OCRBench_v2#evaluation) |
| CHAOS-Bench | 比较模型输出与图像中实际被篡改的词 `ocr_ans`,统计忠实识别的比例;输出原词 `origin_ans` 不计为正确。本轮具体匹配与汇总口径见下文。 | [HunyuanOCR/CHAOS-Bench 官方数据与评测说明](https://github.com/Tencent-Hunyuan/HunyuanOCR/tree/main/benchmarks/CHAOS-Bench) |
@@ -85,7 +85,7 @@ GT 的页面版本必须与评测集对应,不能直接用 v1.6 full GT 替换
### 统计口径
- **评测范围**:归档中的六个轨道为 OmniDocBench v1.6、Real5、olmOCR-Bench、Wild 原图、Wild 摆正和 CHAOS-Bench。
-- **Wild**:本项目报告的分数使用自适应旋转。归档中的原图与摆正结果分开报告,两者使用相同 GT 和评分器;摆正属于输入处理变化,不能与原图结果混为同一轨道。
+- **Wild**:本项目报告的分数使用 SDK 旋转校正后的结果。归档中的原图与摆正结果分开报告,两者使用相同 GT 和评分器;摆正属于输入处理变化,不能与原图结果混为同一轨道。
- **olmOCR-Bench**:主分数包含 Base 和 Headers & Footers,共八个类别等权平均;如另报 `excl. headers & footers`,则仅对剩余七类等权平均,并明确标注。
- **CHAOS-Bench**:共 500 页、1,025 个篡改词。本轮在整页 Markdown 中归一化空白、忽略大小写,并按词边界搜索 `ocr_ans`;先算每页命中比例,再对 500 页等权平均并乘以 100。空输出页计零分。该本地实现未将输出与标注 `bbox` 逐一对齐,应与区域裁剪识别结果分开报告。