Box2Poly: Memory-Efficient Polygon Prediction of Arbitrarily Shaped and Rotated Text

Abstract

Recently, Transformer-based text detection techniques have sought to predict polygons by encoding the coordinates of individual boundary vertices using distinct query features. However, this approach incurs a significant memory overhead and struggles to effectively capture the intricate relationships between vertices belonging to the same instance. Consequently, irregular text layouts often lead to the prediction of outlined vertices, diminishing the quality of results. To address these challenges, we present an innovative approach rooted in Sparse R-CNN: a cascade decoding pipeline for polygon prediction. Our method ensures precision by iteratively refining polygon predictions, considering both the scale and location of preceding results. Leveraging this stabilized regression pipeline, even employing just a single feature vector to guide polygon instance regression yields promising detection results. Simultaneously, the leverage of instance-level feature proposal substantially enhances memory efficiency ( > 50% less vs. the SOTA method DPText-DETR) and reduces inference speed (> 40% less vs. DPText-DETR) with comparable performance on benchmarks. The code is available at https://github.com/Albertchen98/Box2Poly.git.

Cite

Text

Chen et al. "Box2Poly: Memory-Efficient Polygon Prediction of Arbitrarily Shaped and Rotated Text." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I2.27884

Markdown

[Chen et al. "Box2Poly: Memory-Efficient Polygon Prediction of Arbitrarily Shaped and Rotated Text." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/chen2024aaai-box/) doi:10.1609/AAAI.V38I2.27884

BibTeX

@inproceedings{chen2024aaai-box,
  title     = {{Box2Poly: Memory-Efficient Polygon Prediction of Arbitrarily Shaped and Rotated Text}},
  author    = {Chen, Xuyang and Wang, Dong and Schindler, Konrad and Sun, Mingwei and Wang, Yongliang and Savioli, Nicoló and Meng, Liqiu},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {1219-1227},
  doi       = {10.1609/AAAI.V38I2.27884},
  url       = {https://mlanthology.org/aaai/2024/chen2024aaai-box/}
}