{"title":"基于改进YOLOv5的麦秸目标检测算法","authors":"Pengfei Li, Heng Wang, Xueyu Huang","doi":"10.1109/ISPDS56360.2022.9874020","DOIUrl":null,"url":null,"abstract":"In agricultural production, the growth and yield of crops have always attracted people's attention. For the detection of wheat planting density, a wheat straw detection model based on improved YOLOv5 is proposed in this paper. Firstly, at the end of the backbone network, the C3 module (C3TR) integrated with Transformer is used to replace the traditional C3 module, so that the model can extract more feature information about wheat straw in the feature extraction stage; Secondly, after the improved C3 module is embedded the location attention module (Coordinate Attention, CA), by capturing the long-distance dependence on the space and the channel, makes the model more focused on the feature extraction of the target area, and further strengthens the feature extraction ability of the backbone network; Finally, for the traditional frame regression loss the function cannot solve the problem of returning gradients when the predicted frame and the real frame intersect. It is proposed to use CIoU instead of the traditional GIoU, and continue to guide the predicted frame while considering the Euclidean distance and aspect ratio of the center point of the predicted frame and the real frame. Moving closer to the ground-truth box, the loss function is further reduced. On the homemade wheat straw dataset, under the same training strategy, the experimental results show that! Compared with the traditional YOLOv5 model, the improved model has a 1.71% increase in mAP, which proves that the improved model is superior to the traditional YOLOv5 model in terms of accuracy, and has a better detection effect on small targets such as wheat straw some practicality.","PeriodicalId":280244,"journal":{"name":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Wheat straw target detection algorithm based on improved YOLOv5\",\"authors\":\"Pengfei Li, Heng Wang, Xueyu Huang\",\"doi\":\"10.1109/ISPDS56360.2022.9874020\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In agricultural production, the growth and yield of crops have always attracted people's attention. For the detection of wheat planting density, a wheat straw detection model based on improved YOLOv5 is proposed in this paper. Firstly, at the end of the backbone network, the C3 module (C3TR) integrated with Transformer is used to replace the traditional C3 module, so that the model can extract more feature information about wheat straw in the feature extraction stage; Secondly, after the improved C3 module is embedded the location attention module (Coordinate Attention, CA), by capturing the long-distance dependence on the space and the channel, makes the model more focused on the feature extraction of the target area, and further strengthens the feature extraction ability of the backbone network; Finally, for the traditional frame regression loss the function cannot solve the problem of returning gradients when the predicted frame and the real frame intersect. It is proposed to use CIoU instead of the traditional GIoU, and continue to guide the predicted frame while considering the Euclidean distance and aspect ratio of the center point of the predicted frame and the real frame. Moving closer to the ground-truth box, the loss function is further reduced. On the homemade wheat straw dataset, under the same training strategy, the experimental results show that! Compared with the traditional YOLOv5 model, the improved model has a 1.71% increase in mAP, which proves that the improved model is superior to the traditional YOLOv5 model in terms of accuracy, and has a better detection effect on small targets such as wheat straw some practicality.\",\"PeriodicalId\":280244,\"journal\":{\"name\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"volume\":\"25 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-07-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISPDS56360.2022.9874020\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPDS56360.2022.9874020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Wheat straw target detection algorithm based on improved YOLOv5
In agricultural production, the growth and yield of crops have always attracted people's attention. For the detection of wheat planting density, a wheat straw detection model based on improved YOLOv5 is proposed in this paper. Firstly, at the end of the backbone network, the C3 module (C3TR) integrated with Transformer is used to replace the traditional C3 module, so that the model can extract more feature information about wheat straw in the feature extraction stage; Secondly, after the improved C3 module is embedded the location attention module (Coordinate Attention, CA), by capturing the long-distance dependence on the space and the channel, makes the model more focused on the feature extraction of the target area, and further strengthens the feature extraction ability of the backbone network; Finally, for the traditional frame regression loss the function cannot solve the problem of returning gradients when the predicted frame and the real frame intersect. It is proposed to use CIoU instead of the traditional GIoU, and continue to guide the predicted frame while considering the Euclidean distance and aspect ratio of the center point of the predicted frame and the real frame. Moving closer to the ground-truth box, the loss function is further reduced. On the homemade wheat straw dataset, under the same training strategy, the experimental results show that! Compared with the traditional YOLOv5 model, the improved model has a 1.71% increase in mAP, which proves that the improved model is superior to the traditional YOLOv5 model in terms of accuracy, and has a better detection effect on small targets such as wheat straw some practicality.