Image-based identification of onion varieties using deep learning techniques

Authors

  • Amar Jeet Gupta ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author
  • Supriya Kaldate ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author
  • Sairam Volaguthala ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author
  • Bhushan Bibwe ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author
  • Kalyani Gorrepati ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author
  • Vijay Mahajan ICAR-Directorate of Onion and Garlic Research (ICAR-DOGR), Pune, Maharashtra, India Author

DOI:

https://doi.org/10.61180/vegsci.2025.v52.i2.21

Keywords:

Onion variety identification, Deep learning, CNN’s, Training, Hyperparameters

Abstract

Onion is a crop of immense economic and dietary importance, widely cultivated and traded globally. Accurate identification of onion varieties is critical for pricing, quality assurance, traceability, and consumer preference, yet remains challenging due to high morphological similarity across cultivars. This study is the first reported attempt to classify Indian onion varieties using deep learning applied to bulb images. We evaluated the performance of four pre-trained convolutional neural networks, DenseNet121, InceptionV3, MobileNetV2 and Xception, on a curated image dataset of 10 popular onion varieties. The result showed that DenseNet121 outperformed all models, achieving the highest precision (95.76%), recall (94.92%), F1 score (94.82%) and the lowest mean squared error of 0.94, demonstrating exceptional reliability and accuracy. Its dense connectivity architecture effectively captured subtle features, making it the most suitable for practical applications. InceptionV3 and MobileNetV2 also showed competitive results, with MobileNetV2 offering computational efficiency but facing challenges with certain misclassifications. Xception, despite its efficiency, had the lowest performance metrics, with precision and recall of 91.04% and 88.14%, respectively, and significant misclassification issues. These findings highlight the potential of DenseNet121 for automated onion variety identification and its superiority in addressing the intricate variability within agricultural datasets. These findings demonstrate the potential of deep learning for automating onion variety identification and supporting sorting, grading, and seed chain verification systems. Future work should extend to broader varietal coverage and seasonal datasets for real-world applications.

 

Published

2025-12-31

Issue

Section

Research Articles

How to Cite

Gupta, A. J., Kaldate, S. ., Volaguthala, S., Bibwe, B. ., Gorrepati, K. ., & Mahajan, V. (2025). Image-based identification of onion varieties using deep learning techniques. Vegetable Science, 52(02), 397-408. https://doi.org/10.61180/vegsci.2025.v52.i2.21

Similar Articles

1-10 of 229

You may also start an advanced similarity search for this article.