Journal of Textile Research ›› 2023, Vol. 44 ›› Issue (05): 184-190.doi: 10.13475/j.fzxb.20220406201

• Apparel Engineering • Previous Articles     Next Articles

Online recognition system for typical traditional costume images

YAN Bingyi1,2,3, HOU Jin1,2,3(), HUANG Qiyu1,2,3, YANG Hancheng1,2,3, TIAN Jin1,2,3, YANG Chunyong1,2,3   

  1. 1. College of Electronics and Information Engineering, South-Central Minzu University, Wuhan, Hubei 430074, China
    2. Hubei Key Laboratory of Intelligent Wireless Communications, Wuhan, Hubei 430074, China
    3. Hubei Engineering Research Center of Intelligent Internet of Things Technology, Wuhan, Hubei 430074, China
  • Received:2022-04-19 Revised:2022-11-18 Online:2023-05-15 Published:2023-06-09

Abstract:

Objective Traditional costume culture is in danger of disappearing gradually and needs effective conservation methods. Currently, most of conservation methods rely on human resources, such as recording traditional costume by taking photos and scanning, causing that the conservation efficiency and culture exchanging are low and an efficient method to preserve the culture is lacking. Therefore, a new deep learning algorithm was proposed for highly accurate recognition of traditional costumes, and an online web identification system was designed based on cloud computing technologies. The proposed research should serve as a new alternative way for conservation and recognization of traditional costume culture efficiently.

Method Firstly, a traditional costume image dataset was constructed and enhanced by the combination of multiple background replacement and geometric transformation. Then, three modified DenseNet169 network models were built by introducing the squee and excitation (SE), convolutional block attention module (CBAM) and coordinate attention (CA), respectively, and these models were later integrated together to form a high-performance algorithm. After that, based on cloud computation and web technology, an online recognition system for typical traditional costume images was constructed by combining image normalization pre-processing and the new algorithm.

Results A traditional costume images dataset, which contains 92 160 images of a total of 15 styles, such as costumes of Zang, Man, Mongolian, Miao, Yi, Gejia, Li, Qiang, Hui, Dai, Zhuang, Han, She, Bai and Korean nationlities, was set up. The comprehensive recognition accuracies for the three improved models (using attention mechanisms SE-Dense Net 169, CBAM-DenseNet169 and CA-DenseNet169, respectively) were 89.50%, 89.83% and 90.17%, respectively (Tab.1). Although all their comprehensive recognition performances were good and similar, each model was limited by poor recognition accuracies for some specific different traditional costume categories. For example, the separated recognition accuracies of SE-DenseNet169 on Li and Zang costumes were only 77.5% and 80%, respectively. After weighting integration of the three models, the final algorithm obtained a high comprehensive recognition accuracy of 93.50% on the verification set. Compared with the previous best comprehensive recognition accuracy of CA-DenseNet169, an improvement of 3.33% was achieved. With the new algorithm, apart from relatively low separated recognition accuracy (about 87.50%) for Li costumes, the separated recognition accuracies for other traditional costume categories were all above 90.00%. Once the Korean costume image was input into the system, the most possible 3 prediction costume categories and the consumption time were displayed (Fig.4). 600 Real scene traditional costume images from different costume categories were tested, only 15 images' corrected categories were not shown in the most possible 3 prediction costume categories, which indicated a high comprehensive recognition accuracy of 98.00%. The value would be decreased to 93.50% if only using the most possible 1 prediction costume category as the output result. Meanwhile, the average processing and recognizing time taken by the system (deployed on an Aliyun server with dual-cores intel i5 CPU and 4 GiB RAM) for an image of 1 MB was around 11-13 s, which should be acceptable.

Conclusion In addition to the problems of lack of effective methods to protect traditional costume culture and limited recognization channels, the research built an online recognition system of typical traditional costume images. The system could efficiently identify 15 types of traditional costume images, and it is convenient to operate, recognize and share. Besides recording, protecting and spreading traditional costume culture efficiently, the system could also be used as a digital tool to promote tourism, culture and economy in various ethnic regions. The research would provide a new alternative solution for conserving and recognizing traditional costume culture. However, at present, the system still has some limitations, such as, only few recognizable traditional costume categories, low recognition accuracy of individual traditional costume categories and slightly slow recognition speed. In the future, the number of recognizable costume categories should be expanded, the algorithm should be improved, and the interface and operation process of the system should be optimized.

Key words: traditional costume image, dataset enhancement, transfer learning, weighted voting verdict, online recognition system

CLC Number: 

  • TP391.7

Fig.1

Overall structure diagram of system"

Fig.2

Flowchart of traditional costume recognition algorithm"

Fig.3

Traditional costume recognition network with attention mechanism"

Tab.1

Accuracy of three models in recognizing each comstume category in test set"

服饰类别 识别准确率/%
SE-
DenseNet169
CBAM-
DenseNet169
CA-
DenseNet169
加权投
票判决
汉服 90.00 85.00 80.00 90.00
彝族服饰 90.00 80.00 87.50 90.00
藏族服饰 80.00 82.50 87.50 90.00
满族服饰 87.50 87.50 95.00 95.00
苗族服饰 90.00 87.50 85.00 90.00
壮族服饰 92.50 90.00 85.00 92.50
回族服饰 85.00 85.00 95.00 95.00
羌族服饰 97.50 97.50 100.00 100.00
傣族服饰 92.50 92.50 90.00 95.00
白族服饰 100.00 97.50 97.50 97.50
畲族服饰 80.00 95.00 92.50 92.50
黎族服饰 77.50 85.00 85.00 87.50
蒙古族服饰 92.50 92.50 77.50 92.50
朝鲜族服饰 87.50 92.50 95.00 95.00
革家族服饰 100.00 97.50 100.00 100.00
总识别准确率 89.50 89.83 90.17 93.50

Tab.2

Performance comparison of proposed method with other typical methods"

方法 可识别服饰
类别数量/个
识别准确
率/%
数据集图像
数量/张
基于人工多特征的提取与融合[5] 11 83.30 3 391
深度学习多任务目标检测网络[7] 14 91.21 4 382
结合注意力和多分支的深度学习网络[8] 9 95.18 6 452
本文方法(数据集为9类) 9 96.39 55 296
本文方法(数据集为15类) 15 93.50 92 160

Fig.4

Test result of typical traditional costume image online recognition system"

[1] KIAPOUR H M, HAN X F, LAZEBNIK S, et al. Where to buy it: matching street clothing photos in online shops[C]// International Conference on Computer Vision(ICCV). Santiago: IEEE, 2015: 3343-3351.
[2] HUANG J, FERIS R S, CHEN Q, et al. Cross-domain image retrieval with a dual attribute-aware ranking network[C]// International Conference on Computer Vision(CVPR). Santiago: IEEE, 2015:1062-1070.
[3] LIU Z W, LUO P, QIU S, et al. DeepFashion: powering robust clothes recognition and retrieval with rich annotations[C]// Computer Vision & Pattern Recognition(CVPR). Los Alamitos: IEEE, 2016: 1096-1104.
[4] 李东, 万贤福, 汪军. 采用傅里叶描述子和支持向量机的服装款式识别方法[J]. 纺织学报, 2017, 38(5): 122-127.
LI Dong, WAN Xianfu, WANG Jun. Clothing style recognition approach using Fourier descriptors and support vector machines[J]. Journal of Textile Research, 2017, 38(5):122-127.
[5] HUO P, WANG Y H, LIU Q J, et al. A part-based and feature fusion method for clothing classification[C]// Proceedings of Advances in Multimedia Information Processing. Heidelberg: Springer, 2016:231-241.
[6] 吴圣美, 刘骊, 付晓东, 等. 结合人体检测和多任务学习的少数民族服装识别[J]. 中国图象图形学报, 2019, 24(4): 562-572.
WU Shengmei, LIU Li, FU Xiaodong, et al. Human detection and multi-task learning for minority clothing recognition[J]. Journal of Image and Graphics, 2019, 24(4): 562-572.
[7] SUN Y, LIU Q. Attribute recognition from clothing using a faster R-CNN based multitask network[J]. International Journal of Wavelets, Multiresolution and Information Processing, 2018. DOI: 10.1142/S021969131840009X.
doi: 10.1142/S021969131840009X
[8] 杨冰, 徐丹, 张豪远, 等. 基于改进的DenseNet-BC对少数民族服饰的识别[J]. 浙江大学学报(理学版), 2021, 48(6):676-683.
YANG Bing, XÜ Dan, ZHANG Haoyuan, et al. Minority clothing recognition based on improved DenseNet-BC[J]. Journal of Zhejiang University(Science Edition), 2021, 48(6):676-683.
[9] 胡昕. 基于机器学习的中国特色服饰识别[D]. 大连: 大连交通大学, 2018:1-64.
HU Xin. Clothing identification with Chinese characteristics based on machine learning[D]. Dalian: Dalian Jiaotong University, 2018:1-64.
[10] HUANG G, LIU Z, MAATEN LVE, et al. Densely connected convolutional networks[C]// Computer Vision & Pattern Recognition(CVPR). Honolulu: IEEE, 2017:2261-2269.
[11] JIE H, LI S, GANG S, et al. Squeeze-and-excitation networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 42(8):2011-2023.
doi: 10.1109/TPAMI.34
[12] WOO S, PARK J, LEE J Y, et al. CBAM: convolutional block attention module[C]// European Conference on Computer Vision(ECCV). Munich: Springer, 2018:3-19.
[13] HOU Q, ZHOU D, FENG J. Coordinate attention for efficient mobile network design[C]// Conference on Computer Vision and Pattern Recognition(CVPR). Nashville: IEEE, 2021:13708-13717.
[14] ALEX K, ILYA S, GEOFFREY E H. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017, 60(6): 84-90.
doi: 10.1145/3065386
[15] 典型传统服饰识别[EB/OL].(2019-2-05) [2022-2-13]. http://www.ctfushi.cn.
Typical traditional costume identification[EB/OL]. (2019-2-05) [2022-2-13]. http://www.ctfushi.cn.
[1] JIN Shoufeng, HOU Yize, JIAO Hang, ZHNAG Peng, LI Yutao. An improved AlexNet model for fleece fabric quality inspection [J]. Journal of Textile Research, 2022, 43(06): 133-139.
[2] JIANG Hui, MA Biao. Style similarity algorithm based on clothing style [J]. Journal of Textile Research, 2021, 42(11): 129-136.
[3] WANG Yiwen, LUO Ronglei, KANG Yuzhe. Automatic measurement of key dimensions for Han-style costumes based on use of convolutional neural network [J]. Journal of Textile Research, 2020, 41(12): 124-129.
[4] XIA Haibang, HUANG Hongyun, DING Zuohua. Clothing comfort evaluation based on transfer learning and support vector machine [J]. Journal of Textile Research, 2020, 41(06): 125-131.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!