基于TrOCR的中文手写文本识别研究OA
Research on Chinese handwritten text recognition based on TrOCR
中文手写文本识别在文档数字化中具有重要应用价值.TrOCR作为基于Transformer的端到端识别模型,在手写文本识别任务上表现优异,但其采用英文词汇表,无法直接处理中文字符.文章针对中文手写识别任务,在CASIA-HWDB2数据集上重建decoder中文词汇表,使TrOCR适配中文识别任务,同时保留预训练视觉编码器的特征提取能力.在此基础上,开展对比实验,系统评估数据增强与Dropout正则化对性能的影响.实验结果表明,基于预训练模型字符准确率98.11%、序列准确率81.20%的基线,引入数据增强与Dropout正则化后,模型字符准确率达到98.89%,序列准确率达到84.80%.研究结果为中文手写文本识别中TrOCR适配与训练策略优化提供依据.
Chinese handwritten text recognition has important application value in document digitization.TrOCR,as an end-to-end recognition model based on Transformer,performs well in handwritten text recognition tasks,but it cannot directly process Chinese characters using an English vocabulary.The article focuses on the Chinese handwriting recognition task and reconstructs the decoder Chinese vocabulary on the CASIA-HWDB2 dataset to adapt TrOCR to the Chinese recognition task while retaining the feature extraction ability of the pre-trained visual encoder.On this basis,carry out comparative experiments to systematically evaluate the impact of data augmentation and Dropout regularization on performance.The experimental results show that based on the baseline of pre-trained model character accuracy of 98.11%and sequence accuracy of 81.20%,after introducing data augmentation and Dropout regularization,the final model character accuracy reaches 98.89%and sequence accuracy reaches 84.80%.The research results provide a basis for TrOCR adaptation and training strategy optimization in Chinese handwritten text recognition.
郑栋方;拥措
西藏大学信息科学技术学院,西藏 拉萨 850000||西藏自治区藏文信息技术人工智能重点实验室,西藏 拉萨 850000||藏文信息技术教育部工程研究中心,西藏 拉萨 850000西藏大学信息科学技术学院,西藏 拉萨 850000||西藏自治区藏文信息技术人工智能重点实验室,西藏 拉萨 850000||藏文信息技术教育部工程研究中心,西藏 拉萨 850000
信息技术与安全科学
手写文本识别TrOCR数据增强正则化
handwritten text recognitionTrOCRdata augmentationregularization
《智能城市》 2026 (2)
97-100,4
评论