A Structure-Aware Masked Autoencoder for Sparse Character Image Recognition
Conventional vehicle character recognition methods often treat detection and recognition as separate processes, resulting in limited feature interaction and potential error propagation. To address this issue, this paper proposes a structure-aware self-supervised Masked Autoencoder (CharSAM-MAE) framework, combined with an independent region extraction preprocessing stage. A YOLOv8n detector is employed solely to crop the region of interest (ROI) from full-frame vehicle images using 50 single bounding-box annotated samples. After cropping, the detector is discarded, and subsequent self-supervised pre-training and recognition are fully executed using MAE without any involvement of YOLO model parameters or labeled data. CharSAM-MAE incorporates a structure-aware masking strategy and a region-weighted reconstruction loss during pre-training to improve both local structural representation and global feature modeling. During fine-tuning, a multi-head attention-enhanced CTC decoder (A-CTC) is applied to mitigate issues such as sparse characters, adhesion, and long-sequence instability. The framework is trained on 13,544 ROI images, with only 5% of labeled data used for supervised fine-tuning. Experimental results demonstrate that the proposed method achieves 99.25% character accuracy, 88.6% sequence accuracy, and 0.85% character error rate, outperforming the PaddleOCR v5 baseline (98.92%, 85.2%, and 1.15%, respectively). These results verify the effectiveness of structure-aware self-supervised learning and highlight the applicability of the proposed method for industrial character recognition with minimal annotation requirements.
Authors
- Cheng Luo (ORCID: https://orcid.org/0009-0009-9458-2526)
- Tianwei Mu (ORCID: https://orcid.org/0000-0002-1162-1692)
- Mingzhe Yuan (ORCID: https://orcid.org/0000-0002-5094-7628)
- Wenhong Wang (ORCID: https://orcid.org/0000-0001-7739-5109)
- Shuo Guo (ORCID: https://orcid.org/0000-0002-1999-9542)
- J.J. Mai
Institutions
- South China Agricultural University (CN)
- Shenyang Institute of Automation (CN)
- Chinese Academy of Sciences (CN)
- Guangzhou Mechanical Engineering Research Institute (China) (CN)
- Shenyang University of Chemical Technology (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-12-12
- DOI
- https://doi.org/10.3390/electronics14244886
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00