Marior:面向自然场景文档去畸变的边距移除与迭代内容校正
Marior: Margin Removal and Iterative Content Rectification for Document Dewarping in the Wild
AI总结:
针对自然场景中带大边距或无边距文档难以去畸变的问题,提出 Marior 框架,通过 MRM 去边距和 ICRM 基于密集位移流迭代校正,在公开基准上达到 SOTA。
摘要:
相机拍摄的文档图像通常会受到透视变形和几何变形的影响。考虑到较差的视觉美观度以及 OCR 系统性能下降,对这些图像进行校正具有重要价值。近期基于学习的方法主要聚焦于经过精确裁剪的文档图像。然而,这可能不足以应对实际挑战,包括具有较大边缘区域或没有边距的文档图像。由于这种不切实际性,用户在遇到较大边缘区域时难以精确裁剪文档。同时,对没有边距的图像进行去畸变仍然是一个难以解决的问题。据我们所知,目前仍没有完整且有效的流程来校正自然场景中的文档图像。为解决这一问题,我们提出了一种名为 Marior(Margin Removal and Iterative Content Rectification,边距移除与迭代内容校正)的新方法。Marior 采用渐进式策略,以由粗到细的方式迭代提升去畸变质量和可读性。具体而言,我们将流程划分为两个模块:边距移除模块(MRM)和迭代内容校正模块(ICRM)。首先,我们预测输入图像的分割掩码以移除边距,从而获得初步结果。随后,我们通过生成密集位移流进一步细化图像,以实现内容感知校正。我们自适应地确定细化迭代次数。实验表明,我们的方法在公开基准测试上取得了最先进的性能。相关资源可在 https://github.com/ZZZHANG-jx/Marior 获取,以便进一步比较。
英文摘要:
Camera-captured document images usually suffer from perspective and geometric deformations. It is of great value to rectify them when considering poor visual aesthetics and the deteriorated performance of OCR systems. Recent learning-based methods intensively focus on the accurately cropped document image. However, this might not be sufficient for overcoming practical challenges, including document images either with large marginal regions or without margins. Due to this impracticality, users struggle to crop documents precisely when they encounter large marginal regions. Simultaneously, dewarping images without margins is still an insurmountable problem. To the best of our knowledge, there is still no complete and effective pipeline for rectifying document images in the wild. To address this issue, we propose a novel approach called Marior (Margin Removal and \Iterative Content Rectification). Marior follows a progressive strategy to iteratively improve the dewarping quality and readability in a coarse-to-fine manner. Specifically, we divide the pipeline into two modules: margin removal module (MRM) and iterative content rectification module (ICRM). First, we predict the segmentation mask of the input image to remove the margin, thereby obtaining a preliminary result. Then we refine the image further by producing dense displacement flows to achieve content-aware rectification. We determine the number of refinement iterations adaptively. Experiments demonstrate the state-of-the-art performance of our method on public benchmarks. The resources are available at https://github.com/ZZZHANG-jx/Marior for further comparison.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。