Industries that use fruits as raw materials must, at some point in the process, classify them to discard the unsuitable ones and thus ensure the quality of the final product. To produce mango nectar, it is necessary to ensure that the mango is mature enough to start the extraction of the nectar; however, sorting thousands of mangoes may require many people, who can easily lose attention and reduce the accuracy of the result. Such kind of decision can be supported by current Artificial Intelligence techniques. The theoretical details of the processing are presented, as well as the programming code of the neural network using SCILAB as a computer language; the code includes the color extraction from mango images. SCILAB programming is simple, efficient and does not require computers with large processing capacity. The classification was validated with 30 images (TIF format) of Manila variety mango; the mangoes were placed on a blue background to easily separate the background from the object of interest. Four and six mangoes were used to train the neural network. This application of neural networks is part of an undergraduate course on artificial intelligence, which shows the potential of these techniques for solving real and concrete problems.
Citation: Eduardo Castillo-Castaneda. Neural network training in SCILAB for classifying mango (Mangifera indica) according to maturity level using the RGB color model[J]. STEM Education, 2021, 1(3): 186-198. doi: 10.3934/steme.2021014
Industries that use fruits as raw materials must, at some point in the process, classify them to discard the unsuitable ones and thus ensure the quality of the final product. To produce mango nectar, it is necessary to ensure that the mango is mature enough to start the extraction of the nectar; however, sorting thousands of mangoes may require many people, who can easily lose attention and reduce the accuracy of the result. Such kind of decision can be supported by current Artificial Intelligence techniques. The theoretical details of the processing are presented, as well as the programming code of the neural network using SCILAB as a computer language; the code includes the color extraction from mango images. SCILAB programming is simple, efficient and does not require computers with large processing capacity. The classification was validated with 30 images (TIF format) of Manila variety mango; the mangoes were placed on a blue background to easily separate the background from the object of interest. Four and six mangoes were used to train the neural network. This application of neural networks is part of an undergraduate course on artificial intelligence, which shows the potential of these techniques for solving real and concrete problems.
[1] | Modeling of color values for nondestructive evaluation of maturity of mango. Journal of Food Engineering (2007) 78: 22-26. |
[2] | In: https://www.magmar.com.mx/, available 4th July 2021. |
[3] | (1995) Artificial Intelligence: A modern Approach. New Jersey, USA: Prentice Hall. |
[4] | Bughin, J., Seong, J., Manyika, J., Chui, M. and Joshi, R., Notes from AI frontier: Modeling the impact of AI on the world economy. Discussion paper, 2018, McKinsey Global Institute. |
[5] | (2015) Artificial Intelligence in the 21st Century. VA, USA: Mercury Learning and Information. |
[6] | Assessment of banana fruit maturity by image processing technique. J Food Sci Technol (2015) 52: 1216-1327. |
[7] | Relación del Color y del Estado de Madurez, con las Propiedades FisicoquȪmica de Frutas Tropicales. Información Tecnológica (2013) 24: 51-56. |
[8] | (1999) The Image Processing Handbook.Prentice Hall. |
[9] | (2002) Digital Image Processing.Prentice Hall. |
[10] | The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review (1958) 65:. |
[11] | Rojas, R., The Backpropagation Algorithm. Neural Networks, 1996, pp. 149-182. Springer-Verlag. |
[12] | A generalized normalized gradient descent algorithm. IEEE Signal Processing Letters (2004) 11: 115-118. |