In recent years, target detection has been widely used in specific dress detection, to reduce the probability of accidents in certain fields such as construction sites, traffic management, etc. However, the detection of professional dress, especially reflective clothing, is mainly relied on manual detection so far, with the disadvantages of low efficiency and high time consumption. To this end, we focus on reflective clothing and propose the YOLO-FL detection algorithm based on YOLOV4-tiny. Firstly, a new intersection and union ratio calculation method KIoU is proposed and introduced into the original K-means++ clustering method to avoid the influence brought by distance in the original K-means++ clustering method. Secondly, the SPPF module is introduced into the neck network to make the feature information of different scales fully integrated and obtain a richer feature representation. Finally, the label smoothing strategy is used to optimize the loss function of the network model to prevent the network from overfitting and to improve the generalization ability of the model to a certain extent. We tested on the self-made reflective clothing dataset, and the mAP and F1 values of the YOLO-FL algorithm were 91.14% and 0.85, respectively, which improved by 8.29% and 0.12, respectively, compared with the original algorithm. In addition, experiments on PASCAL VOC and MS-COCO datasets show that the accuracy of the YOLO-FL algorithm has significantly improved (+4.77% on the Pascal VOC benchmark and +2.49% on the MS-COCO benchmark), and has excellent migration generalization performance.
Read full abstract