Aiming at the problems of high computational cost, large parameter volume, and difficult deployment in current deep learning models for glass bottle defect detection, an efficient lightweight solution was explored.To solve this problem, the feature extraction network GCNet was designed by combining the network structure of YOLOv8. First, GhostConv was used to replace standard convolution. In order to reduce the number of parameters and calculation amount of YOLOv8 bottleneck layer, the convolution module of bottleneck layer was designed, and the bottleneck layer was rebuilt. A new CM module was built based on the structure design of C2f module. The new feature extraction network had a lower parameter count than the original YOLOv8 network. In the feature fusion part, a reconstructed double-weighted bidirectional feature fusion pyramid structure was used to solve the problem of feature information loss with the deepening of network layers. At the same time, for the boundary box regression problem, the combination of WIoU and Inner-ShapeIoU improved the regression convergence speed of the model. The results show that compared with the YOLOv8 algorithm, the YOLOv8-DB composed of the above, the number of parameters is reduced by 45.8%, the calculation amount is reduced by 11.9%, and the accuracy is increased by 0.4%. The improved model can effectively reduce the consumption of computing resources, and is better suitable for specific industrial detection environments.
EshkevariM, JahangoshaiR M, ZarinbalM,et al.Automatic dimensional defect detection for glass vials based on machine vision:a heuristic segmentation method[J].Journal of Manufacturing Processes,2021,68:973-989.
[2]
ClaypoN, JaiyenS, HanskunataiA.Inspection system for glass bottle defect classification based on deep neural network[J].International Journal of Advanced Computer Science and Applications,2023,14(7):339-348.
[3]
BereciartuaP A, DuroG, EchazarraJ,et al.Deep learning-based method for accurate real-time seed detection in glass bottle manufacturing[J].Applied Sciences,2022,12(21):11192.
[4]
ZhouX N, WangY N, XiaoC Y,et al.Automated visual inspection of glass bottle bottom with saliency detection and template matching[J].IEEE Transactions on Instrumentation and Measurement,2019,68(11):4253-4267.
[5]
ZhouX N, WangY N, ZhuQ,et al.A surface defect detection framework for glass bottle bottom using visual attention model and wavelet transform[J].IEEE Transactions on Industrial Informatics,2020,16(4):2189-2201.
CholletF.Xception:deep learning with depthwise separable convolutions[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition.Honolulu:IEEE,2017:1800-1807.
[9]
ZhangX Y, ZhouX Y, LinM X,et al.ShuffleNet:an extremely efficient convolutional neural network for mobile devices[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Salt Lake City:IEEE,2018:6848-6856.
[10]
SandlerM, HowardA, ZhuM L,et al.MobileNetV2:inverted residuals and linear bottlenecks[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Salt Lake City:IEEE,2018:4510-4520.
[11]
SiliangM, YongX. Mpdiou: a loss for efficient and accurate bounding box regression[EB/OL].(2023-07-14)[2024-01-10].
ZhaoY A, LvW Y, XuS L,et al.DETRs beat YOLOs on real-time object detection[C]//2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Seattle:IEEE,2024:16965-16974.
[14]
ChenJ R, KaoS H, HeH,et al.Run,don’t walk:chasing higher FLOPS for faster neural networks[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Vancouver:IEEE,2023:12021-12031.
[15]
QinD F, LeichnerC, DelakisM,et al.MobileNetV4:universal models for the mobile ecosystem[M]//Computer Vision-ECCV 2024.Cham:Springer Nature Switzerland,2024:78-96.