Classification of Cavendish Banana Ripeness With CNN Method
DOI:
https://doi.org/10.56705/ijodas.v6i2.259Keywords:
Augmentation, Classification, CNN, K-Fold Cross Validation, ResNet 50Abstract
Cavendish bananas are one of the most widely consumed tropical fruits in Indonesia due to their sweet taste and high nutritional content. However, as they ripen, the sugar content in bananas increases, which can be a problem for diabetics. To help diabetics choose bananas with the right level of ripeness, this study developed a Cavendish banana ripeness classification model using artificial intelligence technology, namely the ResNet50 Convolutional Neural Network (CNN) architecture. The banana data is divided into five ripeness categories: green, yellowish green, yellow, spotted yellow, and spotted brownish yellow. The model was trained with two approaches, with and without data augmentation, using two types of training algorithms (optimizers), namely Adam and SGD, as well as a k-fold cross-validation method to ensure accurate results. The results showed that the ResNet50 model produced the highest accuracy of 98% when trained using data augmentation and the Adam optimizer with a learning rate setting of 0.0001.
Downloads
References
R. F. Rahayuniati, R. E. K. Kurniawan, and E. Mugiastuti, “Distribution of banana Fusarium wilt in Banyumas, Indonesia, and characterization of F. oxysporum isolates from infected bananas and taro growing on the same farm,” Biodiversitas, vol. 25, no. 4, pp. 1344–1351, 2024, doi: 10.13057/biodiv/d250401.
an Fauzi Sekolah Tinggi Ilmu Tarbiyah Nahdlatul Ulama Al-Hikmah Mojokerto, I. Corresponding Author, and an Fauzi, “Civil Officium: Journal of Empirical Studies on Social Science Community Empowerment through Training on Making Various Flavored Cavendish Banana Chips to Improve the Community Economy”, doi: 10.53754/civilofficium.
A. A. Suryani, U. Athiyah, Y. S. R. Nur, and Warto, “Classification of Cavendish Banana Quality using Convolutional Neural Network,” Transactions on Informatics and Data Science, vol. 1, no. 1, pp. 1–10, Aug. 2024, doi: 10.24090/tids.v1i1.12191.
A. Suparno, R. H. R Tanjung, L. Iriana Zebua, and S. Prabawardani, “Morphological diversity, ethnobotany, and economic value of banana plants (Musa spp.) in the Keerom lowland area, Papua Province, Indonesia,” ASIAN JOURNAL OF AGRICULTURE, vol. 9, no. 1, 2025, doi: 10.13057/asianjagric/g090123.
A. Safitri et al., “LAPORAN PENANGGUNGJAWABAN TERAPI AKTIVITAS KELOMPOK (TAK) PADA KLIEN DENGAN DIABETES MELLITUS DI WISMA PISANG PANTI SOSIAL TRESNA WERDHA BUDI MULYA 2 JAKARTA BARAT TAHUN 2023 Responsibility Report On Group Activity Therapy On Clients With Diabetes Mellitus At Wisma Pisang Panti Sosial Tresna Werdha Budi Mulya 2 Jakarta Barat Year 2023,” Nusantara Hasana Journal, vol. 3, no. 2, pp. 205–208, 2023.
Béda Frank YAPO et al., “Impact of ripening stage on the nutritional and antioxidant potential of fruit consumed by diabetics at the Abidjan Anti-Diabetic Centre,” World Journal of Advanced Research and Reviews, vol. 22, no. 3, pp. 427–437, Jun. 2024, doi: 10.30574/wjarr.2024.22.3.1654.
Y. Sun, J. Cheng, S. Cheng, and T. A. G. Langrish, “Multifilm Mass Transfer and Reaction Rate Kinetics in a Newly Developed In Vitro Digestion System for Carbohydrate Digestion,” Foods, vol. 14, no. 4, Feb. 2025, doi: 10.3390/foods14040580.
R. Ananta Burhan, T. Yuliarni, A. Baso Kaswar, and D. Darma Andayani, “CLASSIFICATION OF SUGAR LEVELS IN BANANA FRUIT BASED ON COLOR FEATURES USING DIGITAL IMAGE PROCESSING-BASED ARTIFICIAL NEURAL NETWORKS,” vol. 5, no. 4, pp. 1137–1145, 1420, doi: 10.52436/1.jutif.2024.5.4.1420.
Y. A. Ramadhan, E. C. Djamal, F. Kasyidi, and A. Talib Bon, “Identification of Cavendish Banana Maturity Using Convolutional Neural Networks.”
S. I. Kuala, E. Juliastuti, and F. M. Dwivany, “Manufacture and Performance Test of Banana Ripe Detection Tool Using Laser Light Backscattering Imaging,” in AIP Conference Proceedings, American Institute of Physics Inc., Feb. 2024. doi: 10.1063/5.0184012.
K. M. S. Callaghan and U. Martinez-Hernandez, “Low-Cost, Multi-Sensor Non-Destructive Banana Ripeness Estimation Using Machine Learning,” IEEE Sens J, 2025, doi: 10.1109/JSEN.2025.3528250.
M. Kusuma Sri, K. Saikrishna, and V. Vinay Kumar, “Classification of Ripening of Banana fruit using Convolutional Neural Networks.” [Online]. Available: https://ssrn.com/abstract=3558355
T. Fouda, A. Hamed El-Bahnasawy, and N. Kassab, “CHANGE IN PHYSICAL PROPERTIES OF BANANA FRUITS DURING RIPENING STAGE,” Scientific Papers Series Management, Economic Engineering in Agriculture and Rural Development, vol. 24, p. 2024.
S. Goerttler, Y. Wang, E. Eldele, M. Wu, and F. He, “MSA-CNN: A Lightweight Multi-Scale CNN with Attention for Sleep Stage Classification,” Jan. 2025, [Online]. Available: http://arxiv.org/abs/2501.02949
M. M. Abd Zaid, A. A. Mohammed, and P. Sumari, “Classification of Road Features Using Convolutional Neural Network (CNN) and Transfer Learning,” International Journal of Computing and Digital Systems, vol. 17, no. 1, 2025, doi: 10.12785/ijcds/1571031764.
H. Wei, Y. Wang, Y. Sun, J. Zheng, and X. Yu, “A Joint Network of 3D-2D CNN Feature Hierarchy and Pyramidal Residual Model for Hyperspectral Image Classification,” IEEE Access, 2025, doi: 10.1109/ACCESS.2025.3532016.
A. A. Elngar et al., “Image Classification Based On CNN: A Survey,” Journal of Cybersecurity and Information Management (JCIM), vol. 6, no. 1, p. 18, 2021, doi: 10.5281/zenodo.4897990.
Y. Pan et al., “Fundus image classification using Inception V3 and ResNet-50 for the early diagnostics of fundus diseases,” Front Physiol, vol. 14, 2023, doi: 10.3389/fphys.2023.1126780.
M. Elpeltagy and H. Sallam, “Automatic prediction of COVID− 19 from chest images using modified ResNet50,” Multimed Tools Appl, vol. 80, no. 17, pp. 26451–26463, Jul. 2021, doi: 10.1007/s11042-021-10783-6.
M. Talele and R. Jain, “A Comparative Analysis of CNNs and ResNet50 for Facial Emotion Recognition,” Engineering, Technology and Applied Science Research, vol. 15, no. 2, pp. 20693–20701, Apr. 2025, doi: 10.48084/etasr.9849.
“JITE (Journal of Informatics and Telecommunication Engineering) Implementation of Transfer Learning on CNN using DenseNet121 and ResNet50 for Brain Tumor Classification”, doi: 10.31289/jite.v8i2.13952.
“Robust Blind Watermarking of Medical Images using ResNet-50 and Redundant Wavelet Transform.”
P. H. Huang et al., “Changes in Nutrient Content and Physicochemical Properties of Cavendish Bananas var. Pei Chiao during Ripening,” Horticulturae, vol. 10, no. 4, Apr. 2024, doi: 10.3390/horticulturae10040384.
E. Shavna Gracia, N. Anisa Sri Winarsih, and D. Nuswantoro, “Comparison of VGG16, MobileNetV2, InceptionV3, ResNet50, and Custom CNN Architectures for Furniture Image Classification,” vol. 16, no. 01, 2025, doi: 10.35970/infotekmesin.v16i1.2500.
L. I. Kesuma and R. Rudiansyah, “Classification of Covid-19 Diseases Through Lung CT-Scan Image Using the ResNet-50 Architecture,” Computer Engineering and Applications, vol. 12, no. 1, 2023, [Online]. Available: https://www.kaggle.com/maedemaftouni/large-
A. Younis et al., “Abnormal Brain Tumors Classification Using ResNet50 and Its Comprehensive Evaluation,” IEEE Access, vol. 12, pp. 78843–78853, 2024, doi: 10.1109/ACCESS.2024.3403902.
R. R. Ali et al., “Learning Architecture for Brain Tumor Classification Based on Deep Convolutional Neural Network: Classic and ResNet50,” Diagnostics, vol. 15, no. 5, Mar. 2025, doi: 10.3390/diagnostics15050624.
A. Dede et al., “Wavelet-Based Feature Extraction for Efficient High-Resolution Image Classification,” Engineering Reports, vol. 7, no. 2, Feb. 2025, doi: 10.1002/eng2.70027.
D. Hastari, S. Winanda, A. R. Pratama, N. Nurhaliza, and E. S. Ginting, “Application of Convolutional Neural Network ResNet-50 V2 on Image Classification of Rice Plant Disease,” Public Research Journal of Engineering, Data Technology and Computer Science, vol. 1, no. 2, Feb. 2024, doi: 10.57152/predatecs.v1i2.865.
N. Behar and M. Shrivastava, “ResNet50-Based Effective Model for Breast Cancer Classification Using Histopathology Images,” CMES - Computer Modeling in Engineering and Sciences, vol. 130, no. 2, pp. 823–839, 2022, doi: 10.32604/cmes.2022.017030.
A. Shabbir et al., “Satellite and Scene Image Classification Based on Transfer Learning and Fine Tuning of ResNet50,” Math Probl Eng, vol. 2021, 2021, doi: 10.1155/2021/5843816.
Downloads
Published
Issue
Section
License
Authors retain copyright and full publishing rights to their articles. Upon acceptance, authors grant Indonesian Journal of Data and Science a non-exclusive license to publish the work and to identify itself as the original publisher.
Self-archiving. Authors may deposit the submitted version, accepted manuscript, and version of record in institutional or subject repositories, with citation to the published article and a link to the version of record on the journal website.
Commercial permissions. Uses intended for commercial advantage or monetary compensation are not permitted under CC BY-NC 4.0. For permissions, contact the editorial office at ijodas.journal@gmail.com.
Legacy notice. Some earlier PDFs may display “Copyright © [Journal Name]” or only a CC BY-NC logo without the full license text. To ensure clarity, the authors maintain copyright, and all articles are distributed under CC BY-NC 4.0. Where any discrepancy exists, this policy and the article landing-page license statement prevail.










