Proceedings

TPS++: Attention-Enhanced Thin-Plate Spline for Scene Text Recognition

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 1777-1785.

https://doi.org/10.24963/ijcai.2023/197

Abstract

Text irregularities pose significant challenges to scene text recognizers. Thin-Plate Spline (TPS)-based rectification is widely regarded as an effective means to deal with them. Currently, the calculation of TPS transformation parameters purely depends on the quality of regressed text borders. It ignores the text content and often leads to unsatisfactory rectified results for severely distorted text. In this work, we introduce TPS++, an attention-enhanced TPS transformation that incorporates the attention mechanism to text rectification for the first time. TPS++ formulates the parameter calculation as a joint process of foreground control point regression and content-based attention score estimation, which is computed by a dedicated designed gated-attention block. TPS++ builds a more flexible content-aware rectifier, generating a natural text correction that is easier to read by the subsequent recognizer. Moreover, TPS++ shares the feature backbone with the recognizer in part and implements the rectification at feature-level rather than image-level, incurring only a small overhead in terms of parameters and inference time. Experiments on public benchmarks show that TPS++ consistently improves the recognition and achieves state-of-the-art accuracy. Meanwhile, it generalizes well on different backbones and recognizers. Code is at https://github.com/simplify23/TPS_PP.

  1. [Baek et al., 2019] Jeonghun Baek, Geewook Kim, Jun- yeop Lee, Sungrae Park, Dongyoon Han, Sangdoo Yun, Seong Joon Oh, and Hwalsuk Lee. What is wrong with scene text recognition model comparisons? dataset and model analysis. In ICCV, pages 4714-4722, 2019.
  2. [Bautista and Atienza, 2022] Darwin Bautista and Rowel Atienza. Scene text recognition with permuted autoregres- sive sequence models. In ECCV, pages 178-196, Cham, 10 2022. Springer Nature Switzerland.
  3. [Bhunia et al., 2021] Ayan Kumar Bhunia, Aneeshan Sain, Amandeep Kumar, Shuvozit Ghose, Pinaki Nath Chowd- hury, and Yi-Zhe Song. Joint visual semantic reasoning: Multi-stage decoder for text recognition. In ICCV, pages 14920-14929, 2021.
  4. [Bookstein, 1989] Fred L. Bookstein. Principal warps: Thin- plate splines and the decomposition of deformations. IEEE Transactions on Pattern Analysis and Machine Intelli- gence, 11(6):567-585, 1989.
  5. [Chen et al., 2021] Xiaoxue Chen, Lianwen Jin, Yuanzhi Zhu, Canjie Luo, and Tianwei Wang. Text recognition in the wild: A survey. ACM Computing Surveys, 54(2):1-35, 2021.
  6. [Cheng et al., 2017] Zhanzhan Cheng, Fan Bai, Yunlu Xu, Gang Zheng, Shiliang Pu, and Shuigeng Zhou. Focusing attention: Towards accurate text recognition in natural im- ages. In ICCV, pages 5076-5084, 2017.
  7. [Dosovitskiy et al., 2020] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Min- derer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
  8. [Du et al., 2022] Yongkun Du, Zhineng Chen, Caiyan Jia, Xiaoting Yin, Tianlun Zheng, Chenxia Li, Yuning Du, and Yu-Gang Jiang. SVTR: scene text recognition with a sin- gle visual model. In IJCAI, pages 884-890, 2022. IJCAI
  9. [Fang et al., 2018] Shancheng Fang, Hongtao Xie, Zheng- Jun Zha, Nannan Sun, Jianlong Tan, and Yongdong Zhang. Attention and language ensemble for scene text recogni- tion with convolutional sequence modeling. In ACM MM, pages 248-256, 2018.
  10. [Fang et al., 2021] Shancheng Fang, Hongtao Xie, Yuxin Wang, Zhendong Mao, and Yongdong Zhang. Read like humans: Autonomous, bidirectional and iterative language modeling for scene text recognition. In CVPR, pages 7094-7103, 2021.
  11. [Fang et al., 2022] Shancheng Fang, Zhendong Mao, Hong- tao Xie, Yuxin Wang, Chenggang Yan, and Yongdong Zhang. Abinet++: Autonomous, bidirectional and iterative language modeling for scene text spotting. IEEE Transac- tions on Pattern Analysis and Machine Intelligence, 2022.
  12. [Gupta et al., 2016] Ankush Gupta, Andrea Vedaldi, and An- drew Zisserman. Synthetic data for text localisation in nat- ural images. In CVPR, pages 2315-2324, 2016.
  13. [He et al., 2022] Yue He, Chen Chen, Jing Zhang, Juhua Liu, Fengxiang He, Chaoyue Wang, and Bo Du. Visual seman- tics allow for textual reasoning better in scene text recog- nition. In AAAI, 2022.
  14. [Hu et al., 2020] Wenyang Hu, Xiaocong Cai, Jun Hou, Shuai Yi, and Zhiping Lin. Gtc: Guided training of ctc towards efficient and accurate scene text recognition. In AAAI, volume 34, pages 11005-11012, 2020.
  15. [Jaderberg et al., 2014] Max Jaderberg, Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Synthetic data and artificial neural networks for natural scene text recog- nition. arXiv preprint arXiv:1406.2227, 2014.
  16. [Jaderberg et al., 2015] Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In NIPS, volume 28, pages 2017-2025, 2015.
  17. [Karatzas et al., 2013] Dimosthenis Karatzas, Faisal Shafait, Seiichi Uchida, Masakazu Iwamura, Lluis Gomez i Big- orda, Sergi Robles Mestre, Joan Mas, David Fer- nandez Mota, Jon Almazan Almazan, and Lluis Pere De Las Heras. Icdar 2013 robust reading competition. In ICDAR, pages 1484-1493, 2013.
  18. [Karatzas et al., 2015] Dimosthenis Karatzas, Lluis Gomez- Bigorda, Anguelos Nicolaou, Suman Ghosh, Andrew Bag- danov, Masakazu Iwamura, Jiri Matas, Lukas Neumann, Vijay Ramaseshan Chandrasekhar, Shijian Lu, et al. Ic- dar 2015 competition on robust reading. In ICDAR, pages 1156-1160, 2015.
  19. [Lee and Osindero, 2016] Chen-Yu Lee and Simon Osin- dero. Recursive recurrent nets with attention modeling for ocr in the wild. In CVPR, pages 2231-2239, 2016.
  20. [Li et al., 2017] Yi Li, Haozhi Qi, Jifeng Dai, Xiangyang Ji, and Yichen Wei. Fully convolutional instance-aware se- mantic segmentation. In CVPR, pages 2359-2367, 2017.
  21. [Li et al., 2019] Hui Li, Peng Wang, Chunhua Shen, and Guyu Zhang. Show, attend and read: A simple and strong baseline for irregular text recognition. In AAAI, volume 33, pages 8610-8617, 2019.
  22. [Liao et al., 2019] Minghui Liao, Jian Zhang, Zhaoyi Wan, Fengming Xie, Jiajun Liang, Pengyuan Lyu, Cong Yao, and Xiang Bai. Scene text recognition from two- dimensional perspective. In AAAI, volume 33, pages 8714-8721, 2019.
  23. [Lin et al., 2021] Qingxiang Lin, Canjie Luo, Lianwen Jin, and Songxuan Lai. Stan: A sequential transformation attention-based network for scene text recognition. Pat- tern Recognition, 111:107692, 2021.
  24. [Liu et al., 2016] Wei Liu, Chaofeng Chen, Kwan-Yee K Wong, Zhizhong Su, and Junyu Han. Star-net: a spatial attention residue network for scene text recognition. In BMVC, volume 2, pages 1-13, 2016.
  25. [Liu et al., 2018] Wei Liu, Chaofeng Chen, and Kwan-Yee K Wong. Char-net: A character-aware neural network for distorted scene text recognition. In AAAI, pages 7154- 7161, 2018.
  26. [Long et al., 2021] Shangbang Long, Xin He, and Cong Yao. Scene text detection and recognition: The deep learning era. International Journal of Computer Vision, 129(1):161-184, 2021.
  27. [Luo et al., 2019] Canjie Luo, Lianwen Jin, and Zenghui Sun. MORAN: A multi-object rectified attention network for scene text recognition. Pattern Recognition, 90:109- 118, 2019.
  28. [Mishra et al., 2012] Anand Mishra, Karteek Alahari, and CV Jawahar. Scene text recognition using higher order language priors. In BMVC, pages 1-11, 2012.
  29. [Phan et al., 2013] Trung Quy Phan, Palaiahnakote Shivaku- mara, Shangxuan Tian, and Chew Lim Tan. Recognizing text with perspective distortion in natural scenes. In ICCV, pages 569-576, 2013.
  30. [Qian et al., 2021] Ye Qian, Long Chen, and Feng Su. An adaptive rectification model for arbitrary-shaped scene text recognition. In BMVC, pages 1-13, 2021.
  31. [Risnumawan et al., 2014] Anhar Risnumawan, Palaia- hankote Shivakumara, Chee Seng Chan, and Chew Lim Tan. A robust arbitrary text detection system for natural scene images. ESA, 41(18):8027-8048, 2014.
  32. [Sheng et al., 2019] Fenfen Sheng, Zhineng Chen, and Bo Xu. Nrtr: A no-recurrence sequence-to-sequence model for scene text recognition. In ICDAR, pages 781- 786, 2019.
  33. [Shi et al., 2016] Baoguang Shi, Xinggang Wang, Pengyuan Lyu, Cong Yao, and Xiang Bai. Robust scene text recog- nition with automatic rectification. In CVPR, pages 4168- 4176, 2016.
  34. [Shi et al., 2017] Baoguang Shi, Xiang Bai, and Cong Yao. An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(11):2298-2304, 2017.
  35. [Shi et al., 2018] Baoguang Shi, Mingkun Yang, Xinggang Wang, Pengyuan Lyu, Cong Yao, and Xiang Bai. Aster: An attentional scene text recognizer with flexible rectifica- tion. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(9):2035-2048, 2018.
  36. [Wang et al., 2011] Kai Wang, Boris Babenko, and Serge Belongie. End-to-end scene text recognition. In ICCV, pages 1457-1464, 2011.
  37. [Wang et al., 2021] Yuxin Wang, Hongtao Xie, Shancheng Fang, Jing Wang, Shenggao Zhu, and Yongdong Zhang. From two to one: A new scene text recognizer with vi- sual language modeling network. In ICCV, pages 14174- 14183, 2021.
  38. [Wang et al., 2022] Yuxin Wang, Hongtao Xie, Shancheng Fang, Mengting Xing, Jing Wang, Shenggao Zhu, and Yongdong Zhang. Petr: Rethinking the capability of transformer-based language model in scene text recogni- tion. IEEE Transactions on Image Processing, 31:5585- 5598, 2022.
  39. [Woo et al., 2018] Sanghyun Woo, Jongchan Park, Joon- Young Lee, and In So Kweon. Cbam: Convolutional block attention module. In ECCV, pages 3-19, 2018.
  40. [Xing et al., 2019] Linjie Xing, Zhi Tian, Weilin Huang, and Matthew R Scott. Convolutional character networks. In ICCV, pages 9126-9136, 2019.
  41. [Yan et al., 2021] Ruijie Yan, Liangrui Peng, Shanyu Xiao, and Gang Yao. Primitive representation learning for scene text recognition. In CVPR, pages 284-293, 2021.
  42. [Yang et al., 2019] Mingkun Yang, Yushuo Guan, Minghui Liao, Xin He, Kaigui Bian, Song Bai, Cong Yao, and Xi- ang Bai. Symmetry-constrained rectification network for scene text recognition. In ICCV, pages 9147-9156, 2019.
  43. [Yang et al., 2022] Mingkun Yang, Minghui Liao, Pu Lu, Jing Wang, Shenggao Zhu, Hualin Luo, Qi Tian, and Xi- ang Bai. Reading and writing: Discriminative and genera- tive modeling for self-supervised text recognition. In ACM MM, pages 4214-4223, 2022.
  44. [Yu et al., 2020] Deli Yu, Xuan Li, Chengquan Zhang, Tao Liu, Junyu Han, Jingtuo Liu, and Errui Ding. Towards ac- curate scene text recognition with semantic reasoning net- works. In CVPR, pages 12113-12122, 2020.
  45. [Yu et al., 2023] Yuechen Yu, Yulin Li, Chengquan Zhang, Xiaoqiang Zhang, Zengyuan Guo, Xiameng Qin, Kun Yao, Junyu Han, Errui Ding, and Jingdong Wang. Struc- textv2: Masked visual-textual prediction for document im- age pre-training. arXiv preprint arXiv:2303.00289, 2023.
  46. [Yue et al., 2020] Xiaoyu Yue, Zhanghui Kuang, Chenhao Lin, Hongbin Sun, and Wayne Zhang. Robustscanner: Dy- namically enhancing positional clues for robust text recog- nition. In ECCV, pages 135-151, 2020.
  47. [Zhan and Lu, 2019] Fangneng Zhan and Shijian Lu. Esir: End-to-end scene text recognition via iterative image rec- tification. In CVPR, pages 2059-2068, 2019.
  48. [Zhang et al., 2021] Chengwei Zhang, Yunlu Xu, Zhanzhan Cheng, Shiliang Pu, Yi Niu, Fei Wu, and Futai Zou. Spin: Structure-preserving inner offset network for scene text recognition. In AAAI, volume 35, pages 3305-3314, 2021.
  49. [Zheng et al., 2021] Tianlun Zheng, Zhineng Chen, Shancheng Fang, Hongtao Xie, and Yu-Gang Jiang. Cdistnet: Perceiving multi-domain character distance for robust text recognition. arXiv preprint arXiv:2111.11011, 2021.
  50. [Zhong et al., 2022] Dajian Zhong, Shujing Lyu, Palaiah- nakote Shivakumara, Bing Yin, Jiajia Wu, Umapada Pal, and Yue Lu. Sgbanet: Semantic gan and balanced atten- tion network for arbitrarily oriented scene text recognition. ECCV, pages 464-480, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards