Fine Segmentation of Chinese Character Strokes Based on Coordinate Awareness and Enhanced BiFPN
Open Access
Abstract
Considering the complex structure of Chinese characters, particularly the connections and intersections between strokes, there are challenges in low accuracy of Chinese character stroke extraction and recognition, as well as unclear segmentation. This study builds upon the YOLOv8n-seg model to propose the YOLOv8n-seg-CAA-BiFPN Chinese character stroke fine segmentation model. The proposed Coordinate-Aware Attention mechanism (CAA) divides the backbone network input feature map into four parts, applying different weights for horizontal, vertical, and channel attention to compute and fuse key information, thus capturing the contextual regularity of closely arranged stroke positions. The network’s neck integrates an enhanced weighted bi-directional feature pyramid network (BiFPN), enhancing the fusion effect for features of strokes of various sizes. The Shape-IoU loss function is adopted in place of the traditional CIoU loss function, focusing on the shape and scale of stroke bounding boxes to optimize the bounding box regression process. Finally, the Grad-CAM++ technique is used to generate heatmaps of segmentation predictions, facilitating the visualization of effective features and a deeper understanding of the model’s focus areas. Trained and tested on the public Chinese character stroke datasets CCSE-Kai and CCSE-HW, the model achieves an average accuracy of 84.71%, an average recall rate of 83.65%, and a mean average precision of 80.11%. Compared to the original YOLOv8n-seg and existing mainstream segmentation models like SegFormer, BiSeNetV2, and Mask R-CNN, the average accuracy improved by 3.50%, 4.35%, 10.56%, and 22.05%, respectively; the average recall rates improved by 4.42%, 9.32%, 15.64%, and 24.92%, respectively; and the mean average precision improved by 3.11%, 4.15%, 8.02%, and 19.33%, respectively. The results demonstrate that the YOLOv8n-seg-CAA-BiFPN network can accurately achieve Chinese character stroke segmentation.Keywords
Funding Information
- The Ministry of Science and Technology’s National Foreign Experts Project (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- Gansu Province Higher Education Industry Support Project (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- Gansu Province Key R&D Plan (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- Innovation and Entrepreneurship Talent Project of Lanzhou (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- 2020 Gansu Agricultural University Graduate Education Research Project (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- 2021 Gansu Agricultural University-level “Three-dimensional Education” Pilot Extension Teaching Research Project (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
- 2022 Gansu Agricultural University-level Comprehensive Professional Reform Project (G2022042005L, 2023CYZC-54, 23YFWA0013, 2021-RC-47, 2020-19, 2022-9, 2021-4)
This publication has 20 references indexed in Scilit:
- RS-YOLOx: target feature enhancement and bounding box auxiliary regression based object detection approach for remote sensingJournal of Applied Remote Sensing, 2024
- BiSeNet V2: Bilateral Network with Guided Aggregation for Real-Time Semantic SegmentationInternational Journal of Computer Vision, 2021
- Enhancing Geometric Factors in Model Learning and Inference for Object Detection and Instance SegmentationIEEE Transactions on Cybernetics, 2021
- SSGAN: generative adversarial networks for the stroke segmentation of calligraphic charactersThe Visual Computer, 2021
- DeepStroke: Understanding Glyph Structure with Semantic Segmentation and Tabu Search2019
- Recognition of Handwritten Chinese Characters Based on Concept LearningIEEE Access, 2019
- Automated approach for detection of ischemic stroke using Delaunay Triangulation in brain MRI imagesComputers in Biology and Medicine, 2018
- Point Set Registration: Coherent Point DriftIEEE Transactions on Pattern Analysis and Machine Intelligence, 2010
- Cascade Markov random fields for stroke extraction of Chinese charactersInformation Sciences, 2010
- Backpropagation and stochastic gradient descent methodNeurocomputing, 1993