Journal of Textile Research ›› 2021, Vol. 42 ›› Issue (10): 157-162.doi: 10.13475/j.fzxb.20201205006

• Apparel Engineering • Previous Articles     Next Articles

Clothing style identification based on improved edge detection algorithm

TUO Wu1(), WANG Xiaoyu1, GAO Yakun2, YU Yuanyuan1, HAO Xiaoxiao1, LIU Yongliang1, GUO Xin1   

  1. 1. College of Fashion, Zhongyuan University of Technology, Zhengzhou, Henan 451191, China
    2. College of Electrical Engineering and Automation, Henan Institute of Technology, Xinxiang, Henan 453003, China
  • Received:2020-12-18 Revised:2021-06-29 Online:2021-10-15 Published:2021-10-29

Abstract:

In order to quickly identify clothing styles and improve production efficiency, an improved edge extraction algorithm was designed to solve the problem that the existing traditional edge detection algorithm was difficult to accurately extract contour feature sequence. By defining a new optimization convolution kernels, the use of traditional edge detection algorithm based on clothing contours of the training sample, will the convolution convolution kernels and target matrix are new outer contour, a new contour sequence of Fourier descriptor as a feature vector, to increase the use of BP neural network model to complete the design of automatic classification and recognition. In order to verify the effectiveness of the improved method, a sample library containing 500 non-repeated clothing images of four categories of clothing was established. 281 samples were selected as training samples and the remaining 219 samples were tested. The recognition accuracy of the test was as low as 93.48% and as high as 100%. It is of reference significance to the intelligent production of clothing.

Key words: clothing style identification, edge detection algorithm, fourier descriptor, BP neural network

CLC Number: 

  • TS941.26

Fig.1

Grayscale image"

Fig.2

Gray scale transformation"

Fig.3

Threshold segmentation"

Fig.4

Morphologically processed images"

Fig.5

Canny algorithm flowchart"

Fig.6

Traditional edge detection of some pixels"

Fig.7

Convolution operation"

Fig.8

Neighborhood pixel with coordinate (0,1) in Y2"

Fig.9

Improved pixel of rear edge detection"

Fig.10

Profile signals between before(a) and after(b) algorithm improvement"

Fig.11

Relationship between eigenvector length of Fourier descriptor and recognition close reading"

Tab.1

Sample collection of clothing style drawings"

服装类
型编号
测试集款式 总数量 训练集数量 测试集数量
1 连衣裙 116 58 58
2 长裤 116 61 55
3 衬衫 127 66 61
4 短袖 141 96 45

Fig.12

Flow chart of clothing style identification system"

Tab.2

Test sets sample recognition results"

服装类
型编号
测试集款式 识别率/%
改进前 改进后
1 连衣裙 74.42 95.35
2 长裤 86.84 100.00
3 衬衫 76.09 93.48
4 短袖 73.33 96.67
平均值 77.67 96.375

Tab.3

Comprehensive comparison results"

算法 平均识别率/% 平均运行时间/ms
改进前算法 77.670 84
改进后算法 96.375 98
[1] 郭鑫鹏, 黄元元, 胡作进. 融合颜色与纹理的复杂场景下的服装图像分割算法[J]. 计算机科学, 2017, 44(S2):228-232.
GUO Xinpeng, HUANG Yuanyuan, HU Zuojin. A garment image segmentation algorithm based on color and texture fusion in complexscenes[J]. Computer Science, 2017, 44(S2):228-232.
[2] 郝雪洁. 基于深度神经网络的细粒度图像分类方法研究[D]. 成都:电子科技大学, 2020: 49-58.
HAO Xuejie. Study on fine-grained image classification method based on deep neural network[D]. Chengdu: University of Electronic Science and Technology of China, 2020:49-58.
[3] KRITI Bansal, ANAND Singh Jalal. Robust and effective clothes recognition system based on fusion of Haralick and HOG features[J]. International Journal of Signal and Imaging Systems Engineering, 2019, 11(5):288-299.
doi: 10.1504/IJSISE.2019.100649
[4] 尹光灿, 罗戎蕾. 基于卷积神经网络的服装领型识别与分类研究[J]. 现代纺织技术, 2020, 28(3):48-53.
YIN Guangcan, LUO Ronglei. Research on recognition and classification of Garment collar based on convolutional neural network[J]. Advanced Textile Technology, 2020, 28(3):48-53.
[5] JIANG Meiqi, YANG Xing, FANG Xia. Scene-specific clothing recognition based on YOLOv3 algorithm[J]. Journal of Research in Science and Engineering, 2020, 2(1):23-26.
doi: 10.26666/rmp.jesr
[6] HUSSAIN K F, ALISA, MALEK S M. An efficient approach for automatic cloth panel extraction from pattern images[J]. International Journal of Computer Applications, 2014, 98(3) : 15-22.
[7] 李东, 万贤福, 汪军, 等. 基于轮廓曲率特征点的服装款式识别方法[J]. 东华大学学报(自然科学版), 2018, 44(1):87-92.
Li Dong, WAN Xianfu, WANG Jun, et al. Clothing style identification method based on contour curvature feature points[J]. Journal of Donghua University (Natural Science), 2018, 44(1) :87-92.
[8] SUN Feifei, XU Pinghua, DING Xuemei. Multi-core SVM optimized visual word package model for garment style classification[J]. Cluster Computing, 2019, 22(2):4141-4147.
doi: 10.1007/s10586-017-1651-4
[9] 丁敏敏. 服装衣领款式图数字化识别研究与实现[D]. 上海:东华大学, 2007:14-18.
DING Minmin. Research and Implementation of digital identification of garment collar pattern[D]. Shanghai:Donghua University, 2007:14-18.
[10] SUN G L, WU X, CHEN H H, et al. Clothing style recognition using fashion attribute detection [C]//International Conference on Mobile Multimedia Communications. Chengdu: ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering), 2015:25-27.
[11] 李鹏飞, 郑明智, 景军锋. 基于机器视觉的服装尺寸在线测量系统[J]. 毛纺科技, 2017, 45(3):42-47.
LI Pengfei, ZHENG Mingzhi, JING Junfeng. Online measurement system of garment size based on machine vision[J]. Wool Textile Journal, 2017, 45(3):42-47.
[12] YU C, CHEN D R, YANG L, et al. Otsu's thresholding method based on gray level-gradient two-dimensional histogram [C]//2010 2nd International Asia Conference on Informatics in Control, Automation and Robotics (CAR 2010). New York: IEEE, 2010:282-285.
[13] 胡聪, 屈瑾瑾, 许川佩, 等. 基于自适应池化的神经网络的服装图像识别[J]. 计算机应用, 2018, 38(8):2211-2217.
HU Cong, QU Jinjin, XU Chuanpei, et al. Clothing image recognition based on adaptive pooling neural network[J]. Computer Application, 2018, 38(8):2211-2217.
[14] 庄立锋, 林俊文. 基于改进Canny算法的服装款式结构特征识别与分类[J]. 实验室研究与探索, 2020, 39(5):264-268.
ZHUANG Lifeng, LIN Junwen. Recognition and classification of clothing style structure characteristics based on improved Canny algorithm[J]. Laboratory Research and Exploration, 2020, 39(5):264-268.
[15] HALSTEAD M A, DENMAN S, SRIDHARAN S, et al. Multimodal clothing recognition for semantic search in unconstrained surveillance imagery[J]. Journal of Visual Communication & Image Representation, 2019, 58:439-452.
[16] PERSOON E, FU K S . Shape discrimination using Fourier descriptors[J]. IEEE Transactions on Systems Man & Cybernetics, 1977, 7(3):170-179.
[17] 王涛, 刘文印, 孙家广, 等. 傅立叶描述子识别物体的形状[J]. 计算机研究与发展, 2002(12):1714-1719.
WANG Tao, LIU Wenyin, SUN Jiaguang, et al. Fourier descriptors recognize the shape of objects[J]. Computer Research and Development, 2002(12):1714-1719.
[18] 于雨桐. 基于多特征融合的服装图像款式识别的研究与应用[D]. 北京:北京工业大学, 2016:35-37.
YU Yutong. Research and application of garment image style recognition based on multi-feature fusion[D]. Beijing:Beijing University of Technology, 2016:35-37.
[19] 刘正东, 刘以涵, 王首人. 西装识别的深度学习方法[J]. 纺织学报, 2019, 40(4):158-164.
LIU Zhengdong, LIU Yihan, WANG Shouren. Deep learning method for suit recognition[J]. Journal of Textil Research, 2019, 40(4):158-164.
doi: 10.1177/004051757004000209
[1] . Clothing style identification based on improved Edge Detection algorithm [J]. , 2021, 42(10): 0-0.
[2] XU Xuemei. Improved genetic algorithm for fabric formulation prediction based on simulated annealing algorithm [J]. Journal of Textile Research, 2021, 42(07): 123-128.
[3] ZHANG Xiaoxia, LIU Fengkun, MAI Wei, MA Chongqi. Prediction of loom efficiency based on BP neural network and its improved algorithm [J]. Journal of Textile Research, 2020, 41(08): 121-127.
[4] JIN Shoufeng, LIN Qiangqiang, MA Qiurui, ZHANG Hao. Method for detecting fluff quality of fabric surface based on BP neural network [J]. Journal of Textile Research, 2020, 41(02): 69-76.
[5] WANG Xiaohui, LIU Yuegang, MENG Zhuo, SUN Yize. Optimization of process parameters for 3D additive screen printing based on genetic algorithm and neural network [J]. Journal of Textile Research, 2019, 40(11): 168-174.
[6] ZHOU Jie, MA Qiurui. Prediction of relationship between shoulder strap attribute and breast amplitude of sports bra by BP neural network [J]. Journal of Textile Research, 2019, 40(09): 186-191.
[7] ZHOU Jie, MA Qiurui. Application of BP neural network in prediction of shapewear pressure [J]. Journal of Textile Research, 2019, 40(04): 111-116.
[8] ZHA Liugen, XIE Chunping. Prediction of cotton yarn quality based on four-layer BP neural network [J]. Journal of Textile Research, 2019, 40(01): 52-56.
[9] . Intelligent determination of blending fiber for polytrimethylene terephthalate and polybutylene terephthalate [J]. Journal of Textile Research, 2018, 39(09): 169-175.
[10] . Generation of intelligent fitting pattern based on BP neural network [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(07): 116-121.
[11] . Clothing style recognition approach using Fourier descriptors and support vector machines [J]. JOURNAL OF TEXTILE RESEARCH, 2017, 38(05): 122-127.
[12] . Shape analysis of bust slice using Elliptic Fourier [J]. JOURNAL OF TEXTILE RESEARCH, 2014, 35(7): 107-0.
[13] . Research on image retrieval algorithm by relevance feedback technology and shape features [J]. JOURNAL OF TEXTILE RESEARCH, 2014, 35(2): 94-0.
[14] . Prediction for effect of environmental factors on silk fabric mechanical property by BP neural network [J]. JOURNAL OF TEXTILE RESEARCH, 2013, 34(8): 39-0.
[15] . Men’s suit image emotional semantic recognition based on BP neural network [J]. JOURNAL OF TEXTILE RESEARCH, 2013, 34(12): 138-0.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!