计算机科学与技术登峰学科专刊

基于多维表征的汉字识别算法

  • 陈成 ,
  • 姜明 ,
  • 张旻
展开
  • 杭州电子科技大学 计算机学院,浙江 杭州 310018
陈成(1997-)男,硕士研究生,研究方向:文字识别,E-mail:smallraccoons@outlook.com。
姜明(1974-),男,教授,研究方向:图像识别、自然语处理,E-mail:jmzju@163.com。

收稿日期: 2024-03-01

  网络出版日期: 2025-08-04

基金资助

浙江省科技计划项目(2024C01181)

Algorithm for chinese character recognition based on multidimensional representation

  • CHEN Cheng ,
  • JIANG Ming ,
  • ZHANG Min
Expand
  • School of Computer, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China

Received date: 2024-03-01

  Online published: 2025-08-04

摘要

在复杂场景下,汉字识别面临挑战。由于字符可能被遮盖或变形,传统的特征提取或分类方法常常无法提取足够的特征,导致识别错误。此外,现有的视觉和语言结合的模型忽略了隐藏字符特征对语言模型的重要性,使得错误纠正不准确。为此,提出了一种基于字符、字根、关键笔形的多维表征识别算法。该算法结合自注意力机制提取多层次字符特征,有效解决了特征提取不足问题导致的识别错误问题。此外,构建了多维表征融合机制来连接视觉模型与语言模型,以有效传递隐藏字符特征给语言模型。算法分文本识别、识别字符检错、字符纠错三个阶段。实验结果表明,相较于基于Transformer架构的最先进模型,本文算法在场景文本、网页文本、印刷文本和手写文本数据集上的性能分别提升了1.81%、1.11%、0.25%和2.27%。

本文引用格式

陈成 , 姜明 , 张旻 . 基于多维表征的汉字识别算法[J]. 杭州电子科技大学学报, 2025 , 45(4) : 22 -31 . DOI: 10.13954/j.cnki.hdu.2025.04.003

Abstract

In complex scenarios, Chinese character recognition encounters challenges. Traditional feature extraction or classification methods often fail to extract sufficient features due to potential character occlusion or deformation, leading to recognition errors. Furthermore, existing models that integrate visual and language information overlook the importance of hidden character features in the language model, resulting in inaccurate error correction. To tackle this issue, we propose a multi-dimensional representation recognition algorithm based on characters, radicals, and key pen strokes. This algorithm utilizes self-attention mechanisms to extract multi-level character features, effectively addressing the problem of insufficient feature extraction and reducing recognition errors. Additionally, a multi-dimensional representation fusion mechanism is developed to connect the visual model with the language model, effectively conveying hidden character features to the language model. This algorithm accomplishes text recognition, character recognition, and error correction in three stages. Experimental results demonstrate that compared to state-of-the-art Transformer-based models, the algorithm in this paper achieved performance improvements of 1.81%, 1.11%, 0.25%, and 2.27% on scene text, web datasets, printed text and handwritten datasets, respectively.

参考文献

[1]SU Y M, WANG J F. A novel stroke extraction method for Chinese characters using Gabor filters[J]. Pattern Recognition, 2003, 36(3): 635-647.
[2]CHEN J, LI B, XUE X. Zero-shot chinese character recognition with stroke-level decomposition[EB/OL]. (2021-06-22)[2024-03-01]. https://arxiv.org/abs/2106.11613.
[3]JIN L W, YIN J X, GAO X, et al. Study of several directional feature extraction methods with local elastic meshing technology for HCCR[C/OL]//Proceedings of the Sixth International Conference for Young Computer Scientist: In Computer Science and Technology in New Century. [2024-03-01]. http://www.hcii-lab.net/download/papers/2001/JIN_Lianwen_ICYCS.pdf.
[4]WU C P, FAN W, HE Y, et al. Handwritten character recognition by alternately trained relaxation convolutional neural network[C]//2014 14th International Conference on Frontiers in Handwriting Recognition. September 1-4, 2014, Hersonissos, Greece. IEEE, 2014: 291-296.
[5]WANG W C, ZHANG J S, DU J, et al. DenseRAN for offline handwritten Chinese character recognition[C]//2018 16th International Conference on Frontiers in Handwriting Recognition (ICFHR). August 5-8, 2018, Niagara Falls, NY, USA. IEEE, 2018: 104-109.
[6]ZU X Y, YU H Y, LI B, et al. Chinese Character Recognition with Augmented Character Profile Matching[C]//Proceedings of the 30th ACM International Conference on Multimedia. New York, NY, USA: Association for Computing Machinery, 2022: 6094-6102.
[7]YU H, CHEN J, LI B, et al. Benchmarking Chinese Text Recognition: Datasets, Baselines, and an Empirical Study[EB/OL]. (2022-11-25)[2024-03-01]. https://arxiv.org/abs/2112.15093.
[8]QIAO Z, ZHOU Y, YANG D, et al. SEED: Semantics Enhanced Encoder-Decoder Framework for Scene Text Recognition[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 13-19, 2020. Seattle, WA, USA. IEEE, 2020: 13525-13534.
[9]FANG S C, XIE H T, WANG Y X, et al. Read like humans: autonomous, bidirectional and iterative language modeling for scene text recognition[C]//2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 20-25, 2021. Nashville, TN, USA. IEEE, 2021: 7094-9103.
[10]CAO Z, LU J, CUI S, et al. Zero-shot Handwritten Chinese Character Recognition with hierarchical decomposition embedding[J]. Pattern Recognition, 2020, 107: 107488.
[11]VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[C]//Proceedings of the 31st International Conference on Neural Information Processing Systems. Red Hook, NY, USA: Curran Associates Inc., 2017: 6000-6010.
[12]ZHANG S H, HUANG H R, LIU J C, et al. Spelling error correction with soft-masked BERT[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Online. Stroudsburg, PA, USA: ACL, 2020: 882-890.
[13]SHI B G, YAO C, LIAO M H, et al. ICDAR2017 competition on reading Chinese text in the wild (RCTW-17)[C]//2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR). November 9-15, 2017, Kyoto, Japan. IEEE, 2017: 1429-1434.
[14]ZHANG R, YANG M K, BAI X, et al. ICDAR 2019 robust reading challenge on reading Chinese text on signboard[C]//2019 International Conference on Document Analysis and Recognition (ICDAR). September 20-25, 2019. Sydney, Australia. IEEE, 2019: 1577-1581.
[15]SUN Y P, KARATZAS D, CHAN C S, et al. ICDAR 2019 competition on large-scale street view text with partial labeling-RRC-LSVT[C]//2019 International Conference on Document Analysis and Recognition (ICDAR). September 20-25, 2019. Sydney, Australia. IEEE, 2019: 1557-1562.
[16]CHNG C K, DING E R, LIU J T, et al. ICDAR2019 robust reading challenge on arbitrary-shaped text-RRC-ArT[C]//2019 International Conference on Document Analysis and Recognition (ICDAR). September 20-25, 2019. Sydney, Australia. IEEE, 2019: 1571-1576.
[17]YUAN T L, ZHU Z, XU K, et al. A large chinese text dataset in the wild[J]. Journal of Computer Science and Technology, 2019, 34(3): 509-521.
[18]HE M, LIU Y, YANG Z, et al. ICPR2018 Contest on robust reading for multi-type web images[C]//2018 24th International Conference on Pattern Recognition (ICPR). IEEE, 2018:7-12.
[19]ZHANG H S, LIANG L Y, JIN L W. SCUT-HCCDoc: a new benchmark dataset of handwritten Chinese text in unconstrained camera-captured documents[J]. Pattern Recognition, 2020, 108: 107559.
[20]LU N, YU W W, QI X B, et al. MASTER: Multi-aspect non-local network for scene text recognition[J]. Pattern Recognition, 2021, 117: 107980.
[21]SHI B G, BAI X, YAO C. An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition[J]. IEEE Transactions on Pattern Analysis & Machine Intelligence, 2016, 39: 2298-2304.
[22]LUO CJ, JIN LW, SUN ZH. MORAN: A multi-object rectified attention network for scene text recognition[J]. Pattern Recognition, 2019, 90(1):109-118.
[23]CHEN J Y, LI B, XUE X Y. Scene Text Telescope: text-focused scene image super-resolution[C]//2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 20-25, 2021, Nashville, TN, USA. IEEE, 2021: 12021-12030.
文章导航

/

〈 〉