skip to main content
10.1145/3484824.3484913acmotherconferencesArticle/Chapter ViewAbstractPublication PagesdsmlaiConference Proceedingsconference-collections
research-article

Seeds Classification and Quality Testing Using Deep Learning and YOLO v5

Authors Info & Claims
Published:13 January 2022Publication History

ABSTRACT

Segregation of seeds of different crops grown in the mixed cropping is a major cause of concern for the farmers as well as the food industry. Also, the classification and packaging of seeds based on their quality is a challenging task for farmers and agro-industries. Moreover, Post-thrashing separation of seeds by the traditional techniques such as sieving, hand-picking, etc. is a time-consuming and tedious task. Thus, there is a need to automate seed segregation. The potential of deep learning and machine learning techniques in object detection, classification, and pattern recognition motivated the researchers to employ these techniques for the automatic segregation of seeds at the harvesting site. The techniques proposed so far focus on the classification of seeds of different crops. Limited research work is observed that focuses on the classification of seeds of crops grown as a part of mixed cropping as well as seeds of different quality standards. Also, there is a huge scope to improve the classification performance of the proposed models. The purpose of this research to develop the deep learning-based system 'Mixed Cropping Seed Classifier and Quality Tester (MCSCQT)' for accurate classification and quality testing of seeds based on their shape, color, and texture. The system is trained on the dataset comprising labelled images of healthy and diseased seeds of pearl millet and maize. It reports the highest precision and recall of 99%. The efficacy of the system in discriminating the seeds of pearl millet and maize may prove a game-changer for the food industry. Also, its capability in recognition of diseased and healthy seeds of maize enhances its utility in the food industry.

References

  1. Yaser S. Abu-Mostafa. 1992. Neural networks and learning.Google ScholarGoogle Scholar
  2. Ouiza Adjemout, Kamal Hammouche, and Moussa Diaf. 2007. Automatic seeds recognition by size, form and texture features. 2007 9th Int. Symp. Signal Process. its Appl. ISSPA 2007, Proc. (2007), 2--5. DOI:https://doi.org/10.1109/ISSPA.2007.4555428Google ScholarGoogle ScholarCross RefCross Ref
  3. Monika Agarwal, Geeta Rani, and Vijaypal Singh Dhaka. 2020. Optimized contrast enhancement for tumor detection. Int. J. Imaging Syst. Technol. 30, 3 (2020), 687--703. DOI:https://doi.org/10.1002/ima.22408Google ScholarGoogle ScholarCross RefCross Ref
  4. Alex Krizhevsky. 2010. ImageNet Classification with Deep Convolutional Neural Networks. (2010), 1--1432. DOI:https://doi.org/10.1201/9781420010749Google ScholarGoogle ScholarCross RefCross Ref
  5. Aqib Ali, Salman Qadri, Wali Khan Mashwani, Samir Brahim Belhaouari, Samreen Naeem, Sidra Rafique, Farrukh Jamal, Christophe Chesneau, and Sania Anam. 2020. Machine learning approach for the classification of corn seed using hybrid features. Int. J. Food Prop. 23, 1 (2020), 1097--1111. DOI:https://doi.org/10.1080/10942912.2020.1778724Google ScholarGoogle ScholarCross RefCross Ref
  6. Yahya Altuntaş, Zafer Cömert, and Adnan Fatih Kocamaz. 2019. Identification of haploid and diploid maize seeds using convolutional neural networks and a transfer learning approach. Comput. Electron. Agric. 163, 40 (2019), 1--11. DOI:https://doi.org/10.1016/j.compag.2019.104874Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Xiulin Bai, Chu Zhang, Qinlin Xiao, Yong He, and Yidan Bao. 2020. Application of near-infrared hyperspectral imaging to identify a variety of silage maize seeds and common maize seeds. RSC Adv. 10, 20 (2020), 11707--11715. DOI:https://doi.org/10.1039/c9ra11047jGoogle ScholarGoogle ScholarCross RefCross Ref
  8. V. Betina. 2016. The Unreasonable Effectiveness of Noisy Data for Fine-Grained Recognition. Neoplasma 16, 1 (2016), 23--32. DOI:https://doi.org/10.1007/978-3-319-46487-9Google ScholarGoogle ScholarCross RefCross Ref
  9. Manish Bhurtel. Maize seed dataset. Retrieved from https://www.kaggle.com/zom8ie99/maize-seedGoogle ScholarGoogle Scholar
  10. Manish Bhurtel. 2019. Deep learning based seed quality tester. November (2019).Google ScholarGoogle Scholar
  11. Alexey Bochkovskiy, Chien-Yao Wang, and Hong-Yuan Mark Liao. 2020. YOLOv4: Optimal Speed and Accuracy of Object Detection. (2020).Google ScholarGoogle Scholar
  12. Scott Reed3 Christian Szegedy1, Wei Liu2, Yangqing Jia1, Pierre Sermanet1. 2019. Going Deeper with Convolutions. Des. Track. Knowl. Manag. Metrics (2019), 163--182. DOI:https://doi.org/10.1108/978-1-78973-723-320191012Google ScholarGoogle ScholarCross RefCross Ref
  13. S Joel Franklin. 2020. k-means clustering as classification algorithm. Medium. Retrieved from https://medium.com/@joel_34096/k-means-clustering-for-image-classification-a648f28bdc47Google ScholarGoogle Scholar
  14. Pablo M. Granitto, Pablo F. Verdes, and H. Alejandro Ceccatto. 2005. Large-scale investigation of weed seed identification by machine vision. Comput. Electron. Agric. 47, 1 (2005), 15--24. DOI:https://doi.org/10.1016/j.compag.2004.10.003Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Li Haoguang, Pang Yan, Shen Xuefeng, and Yu Yunhua. 2018. Single coated maize seed identification based on deep learning. Proc. 13th IEEE Conf. Ind. Electron. Appl. ICIEA 2018 (2018), 1520--1525. DOI:https://doi.org/10.1109/ICIEA.2018.8397950Google ScholarGoogle ScholarCross RefCross Ref
  16. Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. 2016-Decem, (2016), 770--778. DOI:https://doi.org/10.1109/CVPR.2016.90Google ScholarGoogle ScholarCross RefCross Ref
  17. FAO Headquater. FAOSTAT 2020. Retrieved from http://www.fao.org/faostat/en/#search/maizeGoogle ScholarGoogle Scholar
  18. Young Jin Heo, Se Jin Kim, Dayeon Kim, Keondo Lee, and Wan Kyun Chung. 2018. Super-high-purity seed sorter using low-latency image-recognition based on deep learning. IEEE Robot. Autom. Lett. 3, 4 (2018), 3035--3042. DOI:https://doi.org/10.1109/LRA.2018.2849513Google ScholarGoogle ScholarCross RefCross Ref
  19. Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. 2017. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. (2017).Google ScholarGoogle Scholar
  20. Sheng Huang, Xiaofei Fan, Lei Sun, Yanlu Shen, and Xuesong Suo. 2019. Research on Classification Method of Maize Seed Defect Based on Machine Vision. J. Sensors 2019, 1 (2019). DOI:https://doi.org/10.1155/2019/2716975Google ScholarGoogle ScholarCross RefCross Ref
  21. Joseph Nelson Jacob Solawetz. 2020. Train YOLOv5 On a Custom Dataset-Roboflow. Retrieved from https://blog.roboflow.com/how-to-train-yolov5-on-a-custom-dataset/Google ScholarGoogle Scholar
  22. Shiqiang Jia, Dong An, Zhe Liu, Jiancheng Gu, Shaoming Li, Xiaodong Zhang, Dehai Zhu, Tingting Guo, and Yanlu Yan. 2015. Variety identification method of coated maize seeds based on near-infrared spectroscopy and chemometrics. J. Cereal Sci. 63, (2015), 21--26. DOI:https://doi.org/10.1016/j.jcs.2014.07.003Google ScholarGoogle ScholarCross RefCross Ref
  23. Peng Jiang, Yuehan Chen, Bin Liu, Dongjian He, and Chunquan Liang. 2019. Real-Time Detection of Apple Leaf Diseases Using Deep Learning Approach Based on Improved Convolutional Neural Networks. IEEE Access 7, (2019), 59069--59080. DOI:https://doi.org/10.1109/ACCESS.2019.2914929Google ScholarGoogle ScholarCross RefCross Ref
  24. Kantip Kiratiratanapruk and Wasin Sinthupinyo. 2011. Color and texture for corn seed classification by machine vision. 2011 Int. Symp. Intell. Signal Process. Commun. Syst. "The Decad. Intell. Green Signal Process. Commun. ISPACS 2011 (2011), 7--11. DOI:https://doi.org/10.1109/ISPACS.2011.6146100Google ScholarGoogle ScholarCross RefCross Ref
  25. A. Koirala, K. B. Walsh, Z. Wang, and C. McCarthy. 2019. Deep learning for real-time fruit detection and orchard fruit load estimation: benchmarking of 'MangoYOLO.' Precis. Agric. 0123456789 (2019). DOI:https://doi.org/10.1007/s11119-019-09642-0Google ScholarGoogle ScholarCross RefCross Ref
  26. Anand Koirala, Kerry B. Walsh, Zhenglin Wang, and Cheryl McCarthy. 2019. Deep learning - Method overview and review of use for fruit detection and yield estimation. Comput. Electron. Agric. 162, March (2019), 219--234. DOI:https://doi.org/10.1016/j.compag.2019.04.017Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Nidhi Kundu, Geeta Rani, and Vijaypal Singh Dhaka. 2020. Machine Learning and IoT based Disease Predictor and Alert Generator System. Proc. 4th Int. Conf. Comput. Methodol. Commun. ICCMC 2020 Iccmc (2020), 764--769. DOI:https://doi.org/10.1109/ICCMC48092.2020.ICCMC-000142Google ScholarGoogle ScholarCross RefCross Ref
  28. Ferhat Kurtulmuş. 2020. Identification of sunflower seeds with deep convolutional neural networks. J. Food Meas. Charact. 0123456789 (2020). DOI:https://doi.org/10.1007/s11694-020-00707-7Google ScholarGoogle ScholarCross RefCross Ref
  29. Jun Liu and Xuewei Wang. 2020. Tomato Diseases and Pests Detection Based on Improved Yolo V3 Convolutional Neural Network. Front. Plant Sci. 11, June (2020), 1--12. DOI:https://doi.org/10.3389/fpls.2020.00898Google ScholarGoogle ScholarCross RefCross Ref
  30. Te Ma, Satoru Tsuchikawa, and Tetsuya Inagaki. 2020. Rapid and non-destructive seed viability prediction using near-infrared hyperspectral imaging coupled with a deep learning approach. Comput. Electron. Agric. 177, April (2020). DOI:https://doi.org/10.1016/j.compag.2020.105683Google ScholarGoogle ScholarCross RefCross Ref
  31. Tom M. Mitchell. 2019. Machine Learning. DOI:https://doi.org/10.1109/ICDAR.2019.00014Google ScholarGoogle ScholarCross RefCross Ref
  32. Modi. Maize production in India. Retrieved from https://www.businesstoday.in/magazine/features/cargill-india-ceo-siraz-chaudhury-maize/story/205721.htmlGoogle ScholarGoogle Scholar
  33. Chao Ni, Dongyi Wang, Robert Vinson, Maxwell Holmes, and Yang Tao. 2019. Automatic inspection machine for maize kernels based on deep convolutional neural networks. Biosyst. Eng. 178, (2019), 131--144. DOI:https://doi.org/10.1016/j.biosystemseng.2018.11.010Google ScholarGoogle ScholarCross RefCross Ref
  34. Pengcheng Nie, Jinnuo Zhang, Xuping Feng, Chenliang Yu, and Yong He. 2019. Classification of hybrid seeds using near-infrared hyperspectral imaging technology combined with deep learning. Sensors Actuators, B Chem. 296, May (2019), 126630. DOI:https://doi.org/10.1016/j.snb.2019.126630Google ScholarGoogle ScholarCross RefCross Ref
  35. Lei Pang, Sen Men, Lei Yan, and Jiang Xiao. 2020. Rapid Vitality Estimation and Prediction of Corn Seeds Based on Spectra and Images Using Deep Learning and Hyperspectral Imaging Techniques. IEEE Access 8, (2020), 123026--123036. DOI:https://doi.org/10.1109/ACCESS.2020.3006495Google ScholarGoogle ScholarCross RefCross Ref
  36. J. P. Papa, A. X. Falcão, and C. T.N. Suzuki. 2009. Supervised pattern classification based on optimum-path forest. Int. J. Imaging Syst. Technol. 19, 2 (2009), 120--131. DOI:https://doi.org/10.1002/ima.20188Google ScholarGoogle ScholarCross RefCross Ref
  37. Mina Nath Paudel. 2016. Multiple cropping for Raising Productivity and Farm Income of Small Farmers. J. Nepal Agric. Res. Counc. 2, December (2016), 37--45.Google ScholarGoogle ScholarCross RefCross Ref
  38. Yu L. Pavlov. 2019. Random forests. Random For. (2019), 1--122. DOI:https://doi.org/10.1201/9780429469275-8Google ScholarGoogle ScholarCross RefCross Ref
  39. Douglas F. Pereira, Priscila T.M. Saito, and Pedro H. Bugatti. 2016. An image analysis framework for effective classification of seed damages. Proc. ACM Symp. Appl. Comput. 04--08.Apri, (2016), 61--66. DOI:https://doi.org/10.1145/2851613.2851637Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Geeta Rani and Monika Agarwal. 2020. Contrast Enhancement Using Optimum Threshold Selection. Int. J. Softw. Innov. 8, 3 (2020), 96--118. DOI:https://doi.org/10.4018/IJSI.2020070107Google ScholarGoogle ScholarCross RefCross Ref
  41. Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi. 2016. You only look once: Unified, real-time object detection. Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. 2016-Decem, (2016), 779--788. DOI:https://doi.org/10.1109/CVPR.2016.91Google ScholarGoogle ScholarCross RefCross Ref
  42. Joseph Redmon and Ali Farhadi. 2017. YOLO9000: Better, faster, stronger. Proc. - 30th IEEE Conf. Comput. Vis. Pattern Recognition, CVPR 2017 2017-Janua, (2017), 6517--6525. DOI:https://doi.org/10.1109/CVPR.2017.690Google ScholarGoogle ScholarCross RefCross Ref
  43. Joseph Redmon and Ali Farhadi. 2018. YOLOv3: An Incremental Improvement. (2018).Google ScholarGoogle Scholar
  44. Tianwei Ren, Zhe Liu, Lin Zhang, Diyou Liu, Xiaojie Xi, Yanghui Kang, Yuanyuan Zhao, Chao Zhang, Shaoming Li, and Xiaodong Zhang. 2020. Early identification of seed maize and common maize production fields using sentinel-2 images. Remote Sens. 12, 13 (2020), 1--21. DOI:https://doi.org/10.3390/rs12132140Google ScholarGoogle ScholarCross RefCross Ref
  45. Karen Simonyan and Andrew Zisserman. 2015. Very deep convolutional networks for large-scale image recognition. 3rd Int. Conf. Learn. Represent. ICLR 2015 - Conf. Track Proc. (2015), 1--14.Google ScholarGoogle Scholar
  46. Deepak Sinwar, Vijaypal Singh Dhaka, Manoj Kumar Sharma, and Geeta Rani. 2020. AI-Based Yield Prediction and Smart Irrigation. 2, (2020), 155--180. DOI:https://doi.org/10.1007/978-981-15-0663-5_8Google ScholarGoogle ScholarCross RefCross Ref
  47. Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. 2016. Rethinking the Inception Architecture for Computer Vision. Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. 2016-Decem, (2016), 2818--2826. DOI:https://doi.org/10.1109/CVPR.2016.308Google ScholarGoogle ScholarCross RefCross Ref
  48. Keling Tu, Shaozhe Wen, Ying Cheng, Tingting Zhang, Tong Pan, Jie Wang, Jianhua Wang, and Qun Sun. 2021. A non-destructive and highly efficient model for detecting the genuineness of maize variety 'JINGKE 968' using machine vision combined with deep learning. Comput. Electron. Agric. 182, January (2021), 106002. DOI:https://doi.org/10.1016/j.compag.2021.106002Google ScholarGoogle ScholarDigital LibraryDigital Library
  49. Tony Vaiciulis. SVM. Retrieved from https://wwwcdf.fnal.gov/physics/statistics/recommendations/svm/svm.htmlGoogle ScholarGoogle Scholar
  50. Balaji Veeramani, John W. Raymond, and Pritam Chanda. 2018. DeepSort: Deep convolutional networks for sorting haploid maize seeds. BMC Bioinformatics 19, Suppl 9 (2018). DOI:https://doi.org/10.1186/s12859018-2267-2Google ScholarGoogle ScholarCross RefCross Ref
  51. Chien Yao Wang, Hong Yuan Mark Liao, Yueh Hua Wu, Ping Yang Chen, Jun Wei Hsieh, and I. Hau Yeh. 2020. CSPNet: A new backbone that can enhance learning capability of CNN. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. Work. 2020-June, (2020), 1571--1580. DOI:https://doi.org/10.1109/CVPRW50498.2020.00203Google ScholarGoogle ScholarCross RefCross Ref
  52. Qimei Wang and Feng Qi. 2019. Tomato diseases recognition based on faster RCNN. Proc. - 10th Int. Conf. Inf. Technol. Med. Educ. ITME 2019 (2019), 772--776. DOI:https://doi.org/10.1109/ITME.2019.00176Google ScholarGoogle ScholarCross RefCross Ref
  53. Jun Zhang, Limin Dai, and Fang Cheng. 2021. Corn seed variety classification based on hyperspectral reflectance imaging and deep convolutional neural network. J. Food Meas. Charact. 15, 1 (2021), 484--494. DOI:https://doi.org/10.1007/s11694-020-00646-3Google ScholarGoogle ScholarCross RefCross Ref
  54. Guoyang Zhao, Longzhe Quan, Hailong Li, Huaiqu Feng, Songwei Li, Shuhan Zhang, and Ruiqi Liu. 2021. Real-time recognition system of soybean seed full-surface defects based on deep learning. Comput. Electron. Agric. 187, May (2021), 106230. DOI:https://doi.org/10.1016/j.compag.2021.106230Google ScholarGoogle ScholarDigital LibraryDigital Library
  55. Shaolong Zhu, Jinyu Zhang, Maoni Chao, Xinjuan Xu, Puwen Song, Jinlong Zhang, and Zhongwen Huang. 2020. A rapid and highly efficient method for the identification of soybean seed varieties: Hyperspectral images combined with transfer learning. Molecules 25, 1 (2020). DOI:https://doi.org/10.3390/molecules25010152Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Seeds Classification and Quality Testing Using Deep Learning and YOLO v5

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      DSMLAI '21': Proceedings of the International Conference on Data Science, Machine Learning and Artificial Intelligence
      August 2021
      415 pages
      ISBN:9781450387637
      DOI:10.1145/3484824

      Copyright © 2021 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 13 January 2022

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader