Hui Zhang, Xiangrong Xu, Zuojun Zhu, Tianya You, Qiqi Li, Dan Li
{"title":"基于改进YOLOv5方法的压铸件表面缺陷检测","authors":"Hui Zhang, Xiangrong Xu, Zuojun Zhu, Tianya You, Qiqi Li, Dan Li","doi":"10.1109/ICARM58088.2023.10218864","DOIUrl":null,"url":null,"abstract":"This article proposes a novel method for surface defect recognition of die-casting parts based on deep learning YOLOv5 network model. Previous methods, such as based on machine learning and based on template matching, can only classify defect type, and the accuracy and generalization of them are limited. The novel surface defects recognition method based on YOLOv5 algorithm can classify surface defects of die castings and accurately locate their positions which is import in powder metallurgy. To train the casting surface defect detection method based on the YOLOv5 algorithm, the transfer learning is initialized and trained on the Microsoft COCO dataset, we expanded the dataset based on the cyclegan algorithm, and used the kmeans++ algorithm to initialize the anchor-box size. We set up many groups of experiments, and experimental results show that our proposed method performed better than the previous method in joint identification of surface defects, and it can achieve very high mean of average precision (mAP@.5 and mAP@.5:.95) with more than 95%.","PeriodicalId":220013,"journal":{"name":"2023 International Conference on Advanced Robotics and Mechatronics (ICARM)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Surface Defect Detection for Die Castings Based on the Improved YOLOv5 Method\",\"authors\":\"Hui Zhang, Xiangrong Xu, Zuojun Zhu, Tianya You, Qiqi Li, Dan Li\",\"doi\":\"10.1109/ICARM58088.2023.10218864\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This article proposes a novel method for surface defect recognition of die-casting parts based on deep learning YOLOv5 network model. Previous methods, such as based on machine learning and based on template matching, can only classify defect type, and the accuracy and generalization of them are limited. The novel surface defects recognition method based on YOLOv5 algorithm can classify surface defects of die castings and accurately locate their positions which is import in powder metallurgy. To train the casting surface defect detection method based on the YOLOv5 algorithm, the transfer learning is initialized and trained on the Microsoft COCO dataset, we expanded the dataset based on the cyclegan algorithm, and used the kmeans++ algorithm to initialize the anchor-box size. We set up many groups of experiments, and experimental results show that our proposed method performed better than the previous method in joint identification of surface defects, and it can achieve very high mean of average precision (mAP@.5 and mAP@.5:.95) with more than 95%.\",\"PeriodicalId\":220013,\"journal\":{\"name\":\"2023 International Conference on Advanced Robotics and Mechatronics (ICARM)\",\"volume\":\"16 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-07-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 International Conference on Advanced Robotics and Mechatronics (ICARM)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICARM58088.2023.10218864\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Advanced Robotics and Mechatronics (ICARM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICARM58088.2023.10218864","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Surface Defect Detection for Die Castings Based on the Improved YOLOv5 Method
This article proposes a novel method for surface defect recognition of die-casting parts based on deep learning YOLOv5 network model. Previous methods, such as based on machine learning and based on template matching, can only classify defect type, and the accuracy and generalization of them are limited. The novel surface defects recognition method based on YOLOv5 algorithm can classify surface defects of die castings and accurately locate their positions which is import in powder metallurgy. To train the casting surface defect detection method based on the YOLOv5 algorithm, the transfer learning is initialized and trained on the Microsoft COCO dataset, we expanded the dataset based on the cyclegan algorithm, and used the kmeans++ algorithm to initialize the anchor-box size. We set up many groups of experiments, and experimental results show that our proposed method performed better than the previous method in joint identification of surface defects, and it can achieve very high mean of average precision (mAP@.5 and mAP@.5:.95) with more than 95%.