IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v12y2022i8p1202-d885889.html
   My bibliography  Save this article

The Rapid and Accurate Detection of Kidney Bean Seeds Based on a Compressed Yolov3 Model

Author

Listed:
  • Yu Wang

    (College of Electronics and Engineering, Heilongjiang University, Harbin 150080, China
    Jiaxiang Industrial Technology Research Institute of Heilongjiang University, Jining 272400, China)

  • Hongyi Bai

    (College of Electronics and Engineering, Heilongjiang University, Harbin 150080, China
    Jiaxiang Industrial Technology Research Institute of Heilongjiang University, Jining 272400, China)

  • Laijun Sun

    (College of Electronics and Engineering, Heilongjiang University, Harbin 150080, China
    Jiaxiang Industrial Technology Research Institute of Heilongjiang University, Jining 272400, China)

  • Yan Tang

    (College of Electronics and Engineering, Heilongjiang University, Harbin 150080, China)

  • Yonglong Huo

    (College of Electronics and Engineering, Heilongjiang University, Harbin 150080, China
    Jiaxiang Industrial Technology Research Institute of Heilongjiang University, Jining 272400, China)

  • Rui Min

    (Center for Cognition and Neuroergonomics, State Key Laboratory of Cognitive Neuroscience and Learning, Beijing Normal University at Zhuhai, Zhuhai 519087, China)

Abstract

Due to their rich nutritional value, kidney beans are considered one of the major products of international agricultural trade. The conventional method used for the manual detection of seeds is inefficient and may damage the test object. To locate and classify different kidney bean seeds rapidly and accurately, the Yolov3 network has been improved to realize seed detection in the current paper. Firstly, a dataset of 10 varieties of kidney bean seeds was produced and 1292 images were collected. Then, the dataset was divided into the training, validation, and test sets with the assigned ratio of 8:1:1. The kidney bean seeds dataset was trained using the Yolov3 model. Additionally, the implemented speed needed to be guaranteed while satisfying the detection accuracy. To meet such detection requirements, the Yolov3 model was pruned using the scaling factors of the batch normalization layer as a measure of channel importance, and finally fine-tuned with the aid of knowledge distillation. Then, the Yolov3, Yolov3-tiny, Yolov4, and the improved Yolov3 were used to detect the images in the test set. Subsequently, the performances of these four networks were compared. The results show that the model pruning method can compress the model to a great extent, and the number of model parameters is reduced by 98%. The detection time is shortened by 59%, and the average accuracy reaches 98.33%. Considering the speed and mAP, the improved Yolov3 detected the best results. The experimental results demonstrate that the method can accomplish the rapid and accurate detection of kidney bean seeds. It can provide a solid foundation for the marketing and planting of kidney bean seeds.

Suggested Citation

  • Yu Wang & Hongyi Bai & Laijun Sun & Yan Tang & Yonglong Huo & Rui Min, 2022. "The Rapid and Accurate Detection of Kidney Bean Seeds Based on a Compressed Yolov3 Model," Agriculture, MDPI, vol. 12(8), pages 1-21, August.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:8:p:1202-:d:885889
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/8/1202/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/8/1202/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Peng Xu & Qian Tan & Yunpeng Zhang & Xiantao Zha & Songmei Yang & Ranbing Yang, 2022. "Research on Maize Seed Classification and Recognition Based on Machine Vision and Deep Learning," Agriculture, MDPI, vol. 12(2), pages 1-16, February.
    2. Li, Yihuan & Li, Kang & Liu, Xuan & Wang, Yanxia & Zhang, Li, 2021. "Lithium-ion battery capacity estimation — A pruned convolutional neural network approach assisted with transfer learning," Applied Energy, Elsevier, vol. 285(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Wang, Fu-Kwun & Amogne, Zemenu Endalamaw & Chou, Jia-Hong & Tseng, Cheng, 2022. "Online remaining useful life prediction of lithium-ion batteries using bidirectional long short-term memory with attention mechanism," Energy, Elsevier, vol. 254(PB).
    2. Shahjalal, Mohammad & Roy, Probir Kumar & Shams, Tamanna & Fly, Ashley & Chowdhury, Jahedul Islam & Ahmed, Md. Rishad & Liu, Kailong, 2022. "A review on second-life of Li-ion batteries: prospects, challenges, and issues," Energy, Elsevier, vol. 241(C).
    3. Li, Yihuan & Li, Kang & Liu, Xuan & Li, Xiang & Zhang, Li & Rente, Bruno & Sun, Tong & Grattan, Kenneth T.V., 2022. "A hybrid machine learning framework for joint SOC and SOH estimation of lithium-ion batteries assisted with fiber sensor measurements," Applied Energy, Elsevier, vol. 325(C).
    4. Cao, Mengda & Zhang, Tao & Liu, Yajie & Zhang, Yajun & Wang, Yu & Li, Kaiwen, 2022. "An ensemble learning prognostic method for capacity estimation of lithium-ion batteries based on the V-IOWGA operator," Energy, Elsevier, vol. 257(C).
    5. Emil Petkovski & Iacopo Marri & Loredana Cristaldi & Marco Faifer, 2023. "State of Health Estimation Procedure for Lithium-Ion Batteries Using Partial Discharge Data and Support Vector Regression," Energies, MDPI, vol. 17(1), pages 1-14, December.
    6. Fu, Shiyi & Tao, Shengyu & Fan, Hongtao & He, Kun & Liu, Xutao & Tao, Yulin & Zuo, Junxiong & Zhang, Xuan & Wang, Yu & Sun, Yaojie, 2024. "Data-driven capacity estimation for lithium-ion batteries with feature matching based transfer learning method," Applied Energy, Elsevier, vol. 353(PA).
    7. Huang, Yaodi & Zhang, Pengcheng & Lu, Jiahuan & Xiong, Rui & Cai, Zhongmin, 2024. "A transferable long-term lithium-ion battery aging trajectory prediction model considering internal resistance and capacity regeneration phenomenon," Applied Energy, Elsevier, vol. 360(C).
    8. Weidong Zhu & Jun Sun & Simin Wang & Jifeng Shen & Kaifeng Yang & Xin Zhou, 2022. "Identifying Field Crop Diseases Using Transformer-Embedded Convolutional Neural Network," Agriculture, MDPI, vol. 12(8), pages 1-19, July.
    9. Wang, Zhe & Yang, Fangfang & Xu, Qiang & Wang, Yongjian & Yan, Hong & Xie, Min, 2023. "Capacity estimation of lithium-ion batteries based on data aggregation and feature fusion via graph neural network," Applied Energy, Elsevier, vol. 336(C).
    10. Liu, Yisheng & Fan, Guodong & Zhou, Boru & Chen, Shun & Sun, Ziqiang & Wang, Yansong & Zhang, Xi, 2023. "Rapid and flexible battery capacity estimation using random short-time charging segments based on residual convolutional networks," Applied Energy, Elsevier, vol. 351(C).
    11. Zhang, Ying & Li, Yan-Fu, 2022. "Prognostics and health management of Lithium-ion battery using deep learning methods: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 161(C).
    12. Zhu, Yunlong & Dong, Zhe & Cheng, Zhonghua & Huang, Xiaojin & Dong, Yujie & Zhang, Zuoyi, 2023. "Neural network extended state-observer for energy system monitoring," Energy, Elsevier, vol. 263(PA).
    13. Zhang, Yijie & Ma, Tao & Yang, Hongxing, 2022. "Grid-connected photovoltaic battery systems: A comprehensive review and perspectives," Applied Energy, Elsevier, vol. 328(C).
    14. Jiang, Bo & Zhu, Jiangong & Wang, Xueyuan & Wei, Xuezhe & Shang, Wenlong & Dai, Haifeng, 2022. "A comparative study of different features extracted from electrochemical impedance spectroscopy in state of health estimation for lithium-ion batteries," Applied Energy, Elsevier, vol. 322(C).
    15. Xianguo Ren & Haiqing Tian & Kai Zhao & Dapeng Li & Ziqing Xiao & Yang Yu & Fei Liu, 2022. "Research on pH Value Detection Method during Maize Silage Secondary Fermentation Based on Computer Vision," Agriculture, MDPI, vol. 12(10), pages 1-17, October.
    16. Wang, Qiao & Ye, Min & Wei, Meng & Lian, Gaoqi & Li, Yan, 2023. "Random health indicator and shallow neural network based robust capacity estimation for lithium-ion batteries with different fast charging protocols," Energy, Elsevier, vol. 271(C).
    17. Diego Castanho & Marcio Guerreiro & Ludmila Silva & Jony Eckert & Thiago Antonini Alves & Yara de Souza Tadano & Sergio Luiz Stevan & Hugo Valadares Siqueira & Fernanda Cristina Corrêa, 2022. "Method for SoC Estimation in Lithium-Ion Batteries Based on Multiple Linear Regression and Particle Swarm Optimization," Energies, MDPI, vol. 15(19), pages 1-21, September.
    18. Mehta, Rohit & Gupta, Amit, 2024. "Mathematical modelling of electrochemical, thermal and degradation processes in lithium-ion cells—A comprehensive review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 192(C).
    19. Wang, Fujin & Zhao, Zhibin & Zhai, Zhi & Guo, Yanjie & Xi, Huan & Wang, Shibin & Chen, Xuefeng, 2023. "Feature disentanglement and tendency retainment with domain adaptation for Lithium-ion battery capacity estimation," Reliability Engineering and System Safety, Elsevier, vol. 230(C).
    20. Zhang, Meng & Hu, Tao & Wu, Lifeng & Kang, Guoqing & Guan, Yong, 2021. "A method for capacity estimation of lithium-ion batteries based on adaptive time-shifting broad learning system," Energy, Elsevier, vol. 231(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:12:y:2022:i:8:p:1202-:d:885889. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.