A stitch recognition based on ResNet and an attention mechanism for Cantonese Embroidery
Stitches are the defining feature of Cantonese Embroidery, an intangible cultural heritage of China. Their diversity and high flexibility pose significant challenges for automatic recognition. A new framework for the recognition of Cantonese Embroidery stitches in real-world embroidery scenarios is proposed. First, the stitch regions are segmented and extracted from embroidery images using SAM2, and a dataset is then established. Afterward, the Squeeze-and-Excitation module is refined and incorporated into a CNN structure, leading to an enhanced Squeeze-and-Excitation Residual Neural Network for Cantonese Embroidery (SE-ResNet-CE) stitch recognition model. Through this design, joint attention to global and local stitch features is achieved. The experimental results reveal that the proposed model achieves a classification accuracy of 98.81% and a Macro-F1 score of 98.3% on the dataset. This method effectively extracts fine-grained features of stitches, providing technical support for the digitization of embroidery.
Authors
- Yongsheng Rao (ORCID: https://orcid.org/0000-0001-9615-3658)
- Bing Hu (ORCID: https://orcid.org/0000-0003-4167-9083)
- Qixin Zhou
- 杨珊梅
- Yue Wang (ORCID: https://orcid.org/0000-0003-0098-5359)
- Maoning Li
- Ranran Wang
Institutions
- Guangzhou Academy of Fine Arts (CN)
- Guangzhou University (CN)
- Hechi University (CN)
Publication Details
- Journal
- npj Heritage Science
- Published
- 2026-06-25
- DOI
- https://doi.org/10.1038/s40494-026-02739-6
- Primary Topic
- Aesthetic Perception and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Guangzhou University