The Development of a Lightweight DE-YOLO Model for Detecting Impurities and Broken Rice Grains
Zhenwei Liang,
Xingyue Xu,
Deyong Yang and
Yanbin Liu ()
Additional contact information
Zhenwei Liang: School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Xingyue Xu: School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Deyong Yang: School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Yanbin Liu: School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Agriculture, 2025, vol. 15, issue 8, 1-17
Abstract:
A rice impurity detection algorithm model, DE-YOLO, based on YOLOX-s improvement is proposed to address the issues of small crop target recognition and the similarity of impurities in rice impurity detection. This model achieves correct recognition, classification, and detection of rice target crops with similar colors in complex environments. Firstly, changing the CBS module to the DBS module in the entire network model and replacing the standard convolution with Depthwise Separable Convolution (DSConv) can effectively reduce the number of parameters and the computational complexity, making the model lightweight. The ECANet module is introduced into the backbone feature extraction network, utilizing the weighted selection feature to cluster the network in the region of interest, enhancing attention to rice impurities and broken grains, and compensating for the reduced accuracy caused by model light weighting. The loss problem of class imbalance is optimized using the Focal Loss function. The experimental results demonstrate that the DE-YOLO model has an average accuracy (mAP) of 97.55% for detecting rice impurity crushing targets, which is 2.9% higher than the average accuracy of the original YOLOX algorithm. The recall rate (R) is 94.46%, the F1 value is 0.96, the parameter count is reduced by 48.89%, and the GFLOPS is reduced by 46.33%. This lightweight model can effectively detect rice impurity/broken targets and provide technical support for monitoring the rice impurity/ broken rate.
Keywords: deep learning; object detection; image processing; attention mechanism (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/15/8/848/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/8/848/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:8:p:848-:d:1634520
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().