A CNN-ELM Classification Model for Automated Tomato Maturity Grading


  • John Paul Tan Yusiong University of the Philippines of the Visayas Tacloban College




automated tomato maturity grading, CNN-ELM, convolutional neural networks, extreme learning machines, hybrid classification model, tomato classification


Tomatoes are popular around the world due to their high nutritional value. Tomatoes are also one of the world?s most widely cultivated and profitable crops. The distribution and marketing of tomatoes depend highly on their quality. Estimating tomato ripeness is an essential step in determining shelf life and quality. With the abundant supply of tomatoes on the market, it is exceedingly difficult to estimate tomato ripeness using human graders. To address this issue and improve tomato quality inspection and sorting, automated tomato maturity classification models based on different features have been developed. However, current methods heavily rely on human-engineered or handcrafted features. Convolutional neural networks have emerged as the preferred technique for general object recognition problems because they can automatically detect and extract valuable features by directly working on input images. This paper proposes a CNN-ELM classification model for automated tomato maturity grading that combines CNNs? automated feature learning capabilities with the efficiency of extreme learning machines to perform fast and accurate classification even with limited training data. The results showed that the proposed CNN-ELM model had a classification accuracy of 96.67% and an F1-score of 96.67% in identifying six maturity stages from the test data.


Download data is not yet available.


Bergougnoux, V., The History of Tomato: From Domestication to Biopharming, Biotechnology Advances, 32, pp. 170-189, 2014.

Qin, J. & Lu, R., Measurement of The Optical Properties of Fruits and Vegetables Using Spatially Resolved Hyperspectral Diffuse Reflectance Imaging Technique, Postharvest Biology and Technology, 49, pp. 355-365, 2008.

Bello, T.B., Costa, A.G., da Silva, T.R., Paes, J.L. & de Oliveira, M.V. M., Tomato Quality Based on Colorimetric Characteristics of Digital Images, Revista Brasileira de Engenharia Agrola e Ambiental, 24(8), pp. 567-572, 2020.

Elhariri, E., El-Bendary, N., Fouad, M.M.M., Plato?, J., Hassanien, A.E. & Hussein, A. M. M., Multi-class SVM Based Classification Approach for Tomato Ripeness, Advances in Intelligent Systems and Computing, pp. 175-186, 2014.

El Hariri, E., El-Bendary, N., Hassanien, A.E. & Badr, A., Automated Ripeness Assessment System of Tomatoes Using PCA and SVM Techniques, Advances in Computational Intelligence and Robotics, pp. 101-130, 2014.

El-Bendary, N., El Hariri, E., Hassanien, A.E. & Badr, A., Using Machine Learning Techniques for Evaluating Tomato Ripeness, Expert Systems with Applications, 42(4), pp. 1892-1905, 2015.

Garcia, M.B., Ambat, S., & Adao, R.T., Tomayto, Tomahto: A Machine Learning Approach for Tomato Ripening Stage Identification Using Pixel-Based Color Image Classification, 11th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM), 2019.

Kusuma, A., Setiadi, D.R.I.M. & Putra, M.D.M., Tomato Maturity Classification using Naive Bayes Algorithm and Histogram Feature Extraction, Journal of Applied Intelligent System, 3(1), pp. 39-48, 2018.

Ceh-Varela, E. & Hernandez-Chan, G., Tomatoes Classifier using Color Histograms, International Conference on Advances in Engineering Science and Management, 2015.

Ope, H.G. & Yusiong, J.P.T., Automated Tomato Maturity Grading Using ABC-Trained Artificial Neural Networks, Malaysian Journal of Computer Science, 30(1), pp. 12-26, 2017.

Astrianda, N. & Mohamad, F.S., Ripeness Identification of Tomato Using Different Color Models Based on Neural Networklevenberg-Marquardt, World Applied Sciences Journal, 35, pp. 57-61, 2017.

Kassem, A.E.-W.S., Sabbah, M.A., Aboukarima, A.E.W.M. & Kamel, R.M., A Study on Color Sorting of Tomatoes Maturity using Machine Vision and Artificial Neural Networks, NETWORKS. Egyptian Journal of Agricultural Research, 93(1), pp. 147-161, 2015.

Wan, P., Toudeshki, A., Tan, H. & Ehsani, R., A Methodology for Fresh Tomato Maturity Detection Using Computer Vision, Computers and Electronics in Agriculture, 146, pp. 43-50, 2018.

Kaur, S., Girdhar, A. & Gill, J., Computer Vision-Based Tomato Grading and Sorting, Lecture Notes in Networks and Systems, pp. 75-84, 2018.

Indriani, O.R., Kusuma, E.J., Sari, C.A., Rachmawanto, E.H. & Setiadi, D. R.I.M., Tomatoes Classification Using K-NN Based on GLCM and HSV Color Space, 2017 International Conference on Innovative and Creative Information Technology (ICITech), 2017.

Pavithra, V., Pounroja, R. & Bama, B.S., Machine Vision Based Automatic Sorting of Cherry Tomatoes, 2015 2nd International Conference on Electronics and Communication Systems (ICECS), 2015.

Goel, N. & Sehgal, P., Fuzzy Classification of Pre-Harvest Tomatoes for Ripeness Estimation ? An Approach Based on Automatic Rule Learning Using Decision Tree, Applied Soft Computing, 36, pp. 45-56, 2015.

Krizhevsky, A., Sutskever, I. & Hinton, G.E., Imagenet Classification with Deep Convolutional Neural Networks, Communications of the ACM, 60(6), pp. 84-90, 2017.

Das, P. & Yadav, J.P.S., Automated Tomato Maturity Grading System using CNN, 2020 International Conference on Smart Electronics and Communication (ICOSEC), 2020.

Huang, G.B., Zhu, Q.Y. & Siew, C.K., Extreme Learning Machine: Theory and Applications, Neurocomputing, 70(1-3), pp. 489-501, 2006.

Park, Y. & Yang, H.S., Convolutional Neural Network Based on an Extreme Learning Machine for Image Classification, Neurocomputing, 339, pp. 66-76, 2019.

Khellal, A., Ma, H. & Fei, Q., Convolutional Neural Network Based on Extreme Learning Machine for Maritime Ships Recognition in Infrared Images, Sensors, 18(5), 1490, 2018.

Duan, M., Li, K., Yang, C. & Li, K., A Hybrid Deep Learning CNN?ELM for Age and Gender Classification, Neurocomputing, 275, pp. 448-461, 2018.

Wang, R.J., Li, X. & Ling, C.X., Pelee: A Real-Time Object Detection System on Mobile Devices, Advances in Neural Information Processing Systems, 31, 2018.

Japkowicz, N. & Shah, M., Evaluating Learning Algorithms: A Classification Perspective, Cambridge: Cambridge University Press, 2011.

Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, Z., Dean, J., Devin, M., Ghemawat, S., Irving, G. & Isard, M., Tensorflow: A System for Large-Scale Machine Learning, 12th USENIX conference on Operating Systems Design and Implementation, pp. 265-283, 2016.

Chen, J., Zhou, D., Tang, Y., Yang, Z., Cao, Y. & Gu, Q. Closing the Generalization Gap of Adaptive Gradient Methods in Training Deep Neural Networks, Twenty-Ninth International Joint Conference on Artificial Intelligence, pp. 3267-3275, 2020.

Shorten, C. & Khoshgoftaar, T.M., A Survey on Image Data Augmentation for Deep Learning, Journal of Big Data, 6, 60, 2019.




How to Cite

Yusiong, J. P. T. (2022). A CNN-ELM Classification Model for Automated Tomato Maturity Grading. Journal of ICT Research and Applications, 16(1), 23-37. https://doi.org/10.5614/itbj.ict.res.appl.2022.16.1.2