Deep Learning Approach for the Morphological Differentiation of Corn Seed Types
Abstract
Corn is one of Indonesia's main food ingredients that contains the second largest source of carbohydrates after rice. Classification of the type and quality of corn seeds is still conducted manually by farmers. This procedure is time-consuming and can result in inaccuracies in sorting. Morphology has important characteristics to determine varieties such as size, color, area and seed shape. Some of these attributes, if measured manually, will take a long time and complexity that requires special expertise. The right way to describe these characteristics is to utilize machine learning. The machine learning used is CNN (Convolutional Neural Network). The CNN models used are ResNet101, Resnet50, VGG-19 and MobileNetV2. An analysis of the performance of the model was carried out using a confusion matrix. The results of the CNN model performance parameters for the classification of corn seed varieties with the ResNet101 model showed an accuracy of 89.8%, a precision of 86.9%, a recall of 88.3% and an F1-score of 86.4%. The ResNet50 model showed an accuracy of 86.27%, a precision of 83.2%, a recall of 84.1% and an F1-score of 83.4%. While the VGG-19 model showed an accuracy of 76.47%, a precision of 66.8%, a recall of 78.% and an F1-score of 71.1%. Meanwhile, the MobileNetV2 model showed an accuracy of 73.34%, a precision of 69%, a recall of 69.8% and an F1-score of 69.8%.
References
[1] M. MacCannell, and M. McKee. (1999). “Maize expansion and European trade influence in Africa”. Journal of African History, 40(3), 345–367.
[2] F. H. Neumann, and D. F. Austin, (2008). “The dispersal of maize and its agricultural significance”. Review of Palaeobotany and Palynology, 152(3-4), 113–125.
[3] M. Meidya, W. Agustiono, W. Setiawan, “Classification of Corn Seeds Quality using Residual Network with Transfer Learning Weight”, ELINVO (Electronics, Informatics, and Vocational Education) 8(1): 137-145.
[4] S. Hake and J. Ross-Ibarra, “Genetic, evolutionary and plant breeding insights from the domestication of maize,” eLife 4(1): 1-8, 2015.
[5] M. Vargas, J. Crossa, F. A. van Eeuwijk, M. E. Ramírez, and K. Sayre. (2000). “Genotype by environment interaction in maize breeding: Toward improvijang adaptation across sites,” Euphytica 112(2): 121–128, 2000.
[6] A. Kamilaris, F. X. Prenafeta-Boldu. “Deep learning in agriculture: A survey”. Computers and Electronics in Agriculture 147(1): 70-90, 2022.
[7] C. Bi, X. Bi, J. Liu, H. Chen, M. Wang, H. Yu, and S. Song, “Identification of maize kernel varieties using LF-NMR combined with image data: An explainable approach based on machine learning,” Plants, 14(1): 1–25, 2025.
[8] R. Concepcion, I. Lamboloto, J. Alejandrino, M. G. Palconit, E. Dadios, S. Lauguico, M. G. Palconit, and B. Duarte, “Identification of Philippine maize variety using convolutional neural network with kernel morphological phenes characterization,” in 2021 IEEE 9th Region 10 Humanitarian Technology Conference (R10-HTC), Bangalore, 2021.
[9] R. Eryigit, and B. Tugrul. “Performance of Various Deep-Learning Networks in the Seed Classification Problem”, Symmetry, 13(1892): 1-12, 2020.
[10] S. Javanmardi, S. H. M. Ashtiani, F. J. Verbeek, and A. Martynenko. “Computer-vision classification of corn seed varieties using deep convolutional neural network,” Journal of Stored Products Research, 19(1): 1-14, 2021.
[11] B. D. Satoto and R. T. Wahyuningrum, “Corn seed classification using deep learning as an effort to increase corn productivity,” in 2021 5th International Conference on Informatics and Computational Sciences (ICICoS), 1(1):249–254, 2021.
[12] Y. Hamid, S. Wani, A. B. Soomro, A. A. Alwan, Y. Gulzar. “Smart seed classification system based on MobileNetv2 architecture” 2nd International Conference on Computing and Information Technology (ICCIT), Tabuk, 1:217-222, 2022.
[13] Y. Altuntaş, Z. Cömert, and A. F. Kocamaz, “Identification of haploid and diploid maize seeds using convolutional neural networks and a transfer learning approach,” Computers and Electronics in Agriculture, 163(1): 1-11, 2020.
[14] W. Setiawan, M. A. Saputra, M. Koeshardianto, and R. Rulaningtyas, “Transfer learning and fine tuning in modified vgg for haploid diploid corn seed images classification,” International Information and Engineering Technology Asociation (IIETA), 38(2): 483-490, 2024.
[15] W. Setiawan and Y. D. Pramudita, “Haploid Diploid Maize Seeds Classification Using Residual Network,” Proceedings of the 1st International Conference on Neural Networks and Machine Learning 2022 (ICONNSMAL 2022), Jember, 1:49–59, 2022.
[16] R. Eryigit and B. Tugrul, “Performance of Various Deep-Learning Networks in the Seed Classification Problem,” Symmetry, 13(1): 11-12, 2021.
[17] M. Alkanan and Y. Gulzar, “Enhanced corn seed disease classification: leveraging MobileNetV2 with feature augmentation and transfer learning,” Frontiers in Applied Mathematics and Statistics, 9(1): 1-12, 2024.
[18] P. L. Suárez, H. O. Velesaca, D. Carpio, and A. D. Sappa, “Corn kernel classification from few training samples,” Artificial Intelligence in Agriculture, 9(1): 89-99, 2023.
[19] L. Wang, J. Liu, J. Zhang, J. Wang, and X. Fan, “Corn Seed Defect Detection Based on Watershed Algorithm and Two-Pathway Convolutional Neural Networks,” Frontiers in Plant Science, 13(1): 1-12, 2022.
[20] H. Isik et al., “Maize seeds forecasting with hybrid directional and bi-directional long short-term memory models,” Food Science & Nutrition 12(2): 786-803, 2023.
[21] Y. Wang and S. Song, “Variety identification of sweet maize seeds based on hyperspectral imaging combined with deep alearning,” Infrared Physics and Technology 130(1):1–8, 2023.
[22] E. Prakasa, D. R. Prajitno, A. Nur, K. A. Sulistyo, and E. Rachmawati, “Quality categorisation of corn (zea mays) seed using feature-based classifier and deep learning on digital images,” 2021 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT), Zallaq, Bahrain, Sept. 29–30, 2021.
[23] C. Szegedy, V. Vanhoucke, and S. Ioffe, “Going deeper with convolutions,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1(1):1–9, 2014.
[24] E. D. Cubuk, B. Zoph, J. Shlens, and Q. V. Le, “AutoAugment: Learning augmentation strategies from data,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 1(1):113–123, 2019.
[25] O. S. Akin, M. H. Akin, and I. Kucuk, "A comparative study of convolutional neural network models in detecting deepfake videos," IEEE Xplore, 1(1):1–10, 2020.
[26] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, and M. Andreetto, "MobileNets: Efficient convolutional neural networks for mobile vision applications," arXiv preprint, arXiv:1704.04861, 2017.
[27] K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1(1):770–778, 2016.
[28] K. Simonyan and A. Zisserman, "Very deep convolutional networks for large-scale image recognition," in Proceedings of the International Conference on Machine Learning (ICML), 1(1):1–9, 2014.
Published
How to Cite
Downloads
Copyright (c) 2025 Doni Rizqi Setiawan, Esa Prakasa, Dimas Firmanda Al Riza, Sumardi Hadi Sumarlan, Muhammad Aqil

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.