Research on identification technology of stored grain pests based on improved YOLOX
To balance the speed and precision of stored grain pest image detection and obtain the optimal tar-get detection model,an improved YOLOX network model was proposed and implemented for stored grain pest detection.By introducing a new GSConv to replace the standard convolution,and combining with the in-troduced Res-CBAM attention mechanism,the feature extraction capability of the model was improved and the computational load was reduced.SiLU activation function and batch normalization(BN)was introduced to improve model training efficiency.Bidirectional feature pyramid network(BiFPN)was introduced to im-prove the feature fusion effect.The loss function was improved to enhance the stability of target box regres-sion,and non-maximum suppression was used to solve the problem of redundant boxes.The experimental re-sults showed that the computational load of the improved YOLOX model was reduced by 31%.The detection speed was increased by 18%,up to 60 FPS,and the detection accuracy was improved by 6.14 percentage paints,up to 97.05%.The improved YOLOX model combined the advantages of one-stage algorithm and two-stage algorithm,and achieved obvious results in the intelligent identification of stored grain pests.