Classifying four maturity categories of coffee cherry using CNN-VGG19
DOI:
https://doi.org/10.24036/teknomekanik.v7i2.31072Keywords:
coffee fruit, convolutional neural network, image processing, object detection, visual geometry groupAbstract
The local coffee farmers employ manual inspection to identify the maturity of coffee cherries that are inefficient in labor and time. Thus, the objective of this study is to develop a CNN-VGG19 algorithm model that can accurately detect the maturity image of coffee cherry samples, and classify them into: unripe, semi-ripe, ripe, and overripe categories. The proposed solution will provide local coffee farmers with an automated and more accurate classification of the quality of coffee cherries. The visual geometry group-19 was employed to increase the object recognition model performance of the proposed algorithm while maintaining higher accuracy and quicker throughput, thus increasing revenues. The images are utilized as training and test set data. They were then processed by using the feature extraction of CNN-VGG19 deep learning model, and got four coffee cherry maturity classes. The model architecture attained a 90.00 % accuracy. Furthermore, the increase in both the validation and training accuracy graph with a corresponding decrease in both the validation and training loss graph propounds that the model performance has improved.
Downloads
References
“The Caffeinated History of Coffee | Stories | PBS Food.” [Online]. Available: https://www.pbs.org/food/stories/history-coffee
M. Haile and W. Hee Kang, “The Harvest and Post-Harvest Management Practices’ Impact on Coffee Quality,” in Coffee - Production and Research, IntechOpen, 2020. https://doi.org/10.5772/intechopen.89224
V. Osorio Pérez, L. G. Matallana Pérez, M. R. Fernandez-Alduenda, C. I. Alvarez Barreto, C. P. Gallego Agudelo, and E. C. Montoya Restrepo, “Chemical Composition and Sensory Quality of Coffee Fruits at Different Stages of Maturity,” Agronomy, vol. 13, no. 2, p. 341, Jan. 2023, https://doi.org/10.3390/agronomy13020341
P. D. Leandro, S. S. Ney, S. A. Gilberto, R. C. Paulo, A. P. da S. Fernando, and dos S. G. O. Lidiane, “Coffee production through wet process: Ripeness and quality,” Afr J Agric Res, vol. 12, no. 36, pp. 2783–2787, Sep. 2017, https://doi.org/10.5897/AJAR2017.12485
E. Yusibani, R. I. Putra, A. Rahwanto, M. S. Surbakti, Rajibussalim, and Rahmi, “Physical properties of Sidikalang robusta coffee beans medium roasted from various colors of coffee cherries,” J Phys Conf Ser, vol. 2243, no. 1, p. 012046, Jun. 2022, https://doi.org/10.1088/1742-6596/2243/1/012046
M. A. Tamayo-Monsalve et al., “Coffee Maturity Classification Using Convolutional Neural Networks and Transfer Learning,” IEEE Access, vol. 10, pp. 42971–42982, 2022, https://doi.org/10.1109/ACCESS.2022.3166515
J. Jayanth, M. Mahadevaswamy, and M. Shivakumar, “Fruit Quality Identification and Classification by Convolutional Neural Network,” SN Comput Sci, vol. 4, no. 3, p. 220, Feb. 2023, https://doi.org/10.1007/s42979-022-01527-w
S. Velasquez, A. Patricia Franco, N. Peña, J. Carlos Bohorquez, and N. Gutierrez, “Classification of the maturity stage of coffee cherries using comparative feature and machine learning,” Coffee Sci, vol. 16, pp. 1–11, 2021, https://doi.org/10.25186/.v16i.1710
H. C. Bazame, J. P. Molin, D. Althoff, and M. Martello, “Detection, classification, and mapping of coffee fruits during harvest with computer vision,” Comput Electron Agric, vol. 183, p. 106066, Apr. 2021, https://doi.org/10.1016/j.compag.2021.106066
J. Xiao, J. Wang, S. Cao, and B. Li, “Application of a Novel and Improved VGG-19 Network in the Detection of Workers Wearing Masks,” J Phys Conf Ser, vol. 1518, no. 1, p. 012041, Apr. 2020, https://doi.org/10.1088/1742-6596/1518/1/012041
T.-H. Nguyen, T.-N. Nguyen, and B.-V. Ngo, “A VGG-19 Model with Transfer Learning and Image Segmentation for Classification of Tomato Leaf Disease,” AgriEngineering, vol. 4, no. 4, pp. 871–887, Oct. 2022, https://doi.org/10.3390/agriengineering4040056
S. Raveena and R. Surendran, “ResNet50-based Classification of Coffee Cherry Maturity using Deep-CNN,” in 2023 5th International Conference on Smart Systems and Inventive Technology (ICSSIT), IEEE, Jan. 2023, pp. 1275–1281. https://doi.org/10.1109/ICSSIT55814.2023.10061006
C. Chan Enriquez, J. Marcelo, D. Rae Verula, and N. Joy Casildo, “Leveraging deep learning for coffee bean grading: A comparative analysis of convolutional neural network models,” 2024. Transactions on Science and Technology, vol. 11, no. 1, pp. 1–6, 2024, [Online]. Available: http://tost.unise.org/
N. Ullah et al., “Diabetic Retinopathy Detection Using Genetic Algorithm-Based CNN Features and Error Correction Output Code SVM Framework Classification Model,” Wirel Commun Mob Comput, vol. 2022, 2022, https://doi.org/10.1155/2022/7095528
Y. S. Taspinar, M. Koklu, and M. Altin, “Fire Detection in Images Using Framework Based on Image Processing, Motion Detection and Convolutional Neural Network,” International Journal of Intelligent Systems and Applications in Engineering, vol. 9, pp. 171–177, Dec. 2021, https://doi.org/10.18201/IJISAE.2021473636
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Dominic Olango Cagadas, Dwi Sudarno Putra, Kristine Mae Paboreal Dunque, Meri Azmi
This work is licensed under a Creative Commons Attribution 4.0 International License.