arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04161cs.CVcs.CL
收藏

看清方向:用于高效OCR的文档方向检测

Seeing Straight: Document Orientation Detection for Efficient OCR

Suranjan Goswami, Abhinav Ravi, Raja Kolla, Ali Faraz, Shaharukh Khan, Akash, Chandra Khatri, Shubham Agarwal

AI总结:

本文提出OCR-Rotation-Bench基准,通过旋转变换的英文和多语言数据集评估OCR对图像旋转的鲁棒性,并展示基于Phi-3.5-Vision模型的轻量级旋转分类管道,提升OCR性能达14%至4倍。

摘要:

尽管文档理解取得显著进展,确定扫描或拍摄文档的正确方向仍是现实应用中的关键预处理步骤。准确的旋转校正对于增强OCR等下游任务的性能至关重要,因为对齐问题常源于用户错误,特别是拍摄时相机的错误基向。在本研究中,我们首先引入OCR-Rotation-Bench(ORB),一个用于评估OCR对图像旋转鲁棒性的新基准,包括(i)ORB-En,由旋转变换的结构化和非结构化英文OCR数据集构建,以及(ii)ORB-Indic,一个涵盖11种印度次大陆中低资源语言的新型多语言集。我们还展示了一个基于Phi-3.5-Vision模型视觉编码器的快速、稳健且轻量级旋转分类管道,结合动态图像裁剪,并专门针对4类旋转任务进行独立微调。我们的方法在两个数据集上分别达到96%和92%的准确率。除了分类外,我们展示了本模块在提升OCR性能中的关键作用:在模拟现实环境中,封闭源模型性能提升高达14%,开放式权重模型性能提升达4倍。

英文摘要:

Despite significant advances in document understanding, determining the correct orientation of scanned or photographed documents remains a critical pre-processing step in the real world settings. Accurate rotation correction is essential for enhancing the performance of downstream tasks such as Optical Character Recognition (OCR) where misalignment commonly arises due to user errors, particularly incorrect base orientations of the camera during capture. In this study, we first introduce OCR-Rotation-Bench (ORB), a new benchmark for evaluating OCR robustness to image rotations, comprising (i) ORB-En, built from rotation-transformed structured and free-form English OCR datasets, and (ii) ORB-Indic, a novel multilingual set spanning 11 Indic mid to low-resource languages. We also present a fast, robust and lightweight rotation classification pipeline built on the vision encoder of Phi-3.5-Vision model with dynamic image cropping, fine-tuned specifically for 4-class rotation task in a standalone fashion. Our method achieves near-perfect 96% and 92% accuracy on identifying the rotations respectively on both the datasets. Beyond classification, we demonstrate the critical role of our module in boosting OCR performance: closed-source (up to 14%) and open-weights models (up to 4x) in the simulated real-world setting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑