Implementasi MobileNet V2 untuk Klasifikasi Jenis Apel Berdasarkan Citra Digital


  • Airlangga Marta Farizky Institut Teknologi dan Bisnis Asia Malang, Kota Malang, Indonesia
  • Achmad Noercholis * Mail Institut Teknologi dan Bisnis Asia Malang, Kota Malang, Indonesia
  • (*) Corresponding Author
Keywords: Deep Learning; MobileNetV2; Image Classification; Apple Varieties; Transfer Learning; Streamlit

Abstract

Apple variety classification based on digital images is a challenging problem because some varieties have similar visual characteristics, such as color, shape, and surface texture of the fruit. This similarity can lead to misidentification when performed manually. This study aims to develop an apple variety classification model using the MobileNetV2 architecture with a transfer learning and fine-tuning approach. The dataset used consists of 1,237 apple images representing four varieties: Anna, Manalagi, Rome Beauty, and Granny Smith. After data cleaning to remove duplicate images, 1,050 images were obtained for use in the study. The pre-processing stage includes image resizing to 224 × 224 pixels, normalization, and texture enhancement using a combination of Unsharp Masking and the Sobel operator. To improve the model's generalization capability, data augmentation and class weighting were applied during the training process. The model was then evaluated using a confusion matrix, accuracy, precision, recall, and F1-score. The test results showed that the MobileNetV2 model achieved an accuracy of 99.37%, a precision of 99.48%, a recall of 99.07%, and an F1-score of 99.27%. Confusion matrix analysis showed that out of 158 test data, there was only one misclassification, namely the Rome Beauty image predicted as Anna. In addition, the model was successfully implemented into a web-based application using Streamlit so that it can be used to directly identify apple varieties. The results showed that MobileNetV2 is effective for classifying apple varieties with a high level of accuracy and good computational efficiency, so it has the potential to be applied to image-based fruit identification systems in agriculture.

Downloads

Download data is not yet available.

References

Ananda, D. N., Dalimajun, S. D., Bere, Y. R., Talo, G. R., Wahyuni, I., Studi, P., Informatika, T., Teknologi, F., Teknologi, I., & Malang, A. (2025). Perbandingan Kinerja Densnet dan Mobilenetv2 Dalam Pengembangan Model Deep Learning Untuk Deteksi Tanaman Kacang Tanah Sehat dan Terserang Penyakit. 63–71.

Aprianti, C. S., & Mubarokah, N. Y. (2023). Strategi Pengembangan Kawasan Agrowisata Petik Apel Kelompok Tani Makmur Abadi ( KTMA ) Kota Batu. 14(2), 144–157.

Astiti, S., Novrian, W., & Putra, Y. P. (2024). Penerapan Deep Learning pada Pengolahan Data Citra dan Klasifikasi Udang Vaname Menggunakan Algoritma Convolutional Neural Network. 6(1), 490–498. https://doi.org/10.47065/bits.v6i1.5418

Chen, H., Zhou, G., He, W., Duan, X., & Jiang, H. (2024). Classification and identification of agricultural products based on improved MobileNetV2. Scientific Reports, 14(1), 3454. https://doi.org/10.1038/s41598-024-53349-w

Dou, S., Zhang, J., Wang, H., & Li, Y. (2023). Classification of Citrus Huanglongbing Degree Based on CBAM-MobileNetV2 and Transfer Learning. 1–18.

Fauza, N. R., & Wahyuni, A. S. K. A. I. (2025). MobileNetV2 untuk Deteksi Kualitas Tempe di Sentra Industri Tempe Sanan. 15–29.

Frimpong, S. A., Han, M., Zheng, W., Li, X., Akpaku, E., & Obeng, A. P. (2025). Machine and Deep Learning in Agricultural Engineering : A Comprehensive Survey and Meta-Analysis of Techniques , Applications , and Challenges. Ml, 1–33.

Gulzar, Y. (2023). Fruit Image Classification Model Based on MobileNetV2 with Deep Transfer Learning Technique.

Hafiz, M., Pratama, R., Akrom, M., Santosa, A. P., & Reesa, M. (2025). Klasifikasi Otomatis Korosi Menggunakan Convolutional Neural Network dan Transfer Learning dengan Model MobileNetV2. 138–148. https://doi.org/10.33364/algoritma/v.22-1.2182

Husen, D. (2024). ( Performance Evaluation Of Cnn Models With Various Data Augmentation. 219–227.

Istighosah, M., Sunyoto, A., & Hidayat, T. (2023). Image Augmentation for BreaKHis Medical Data using Convolutional Neural Networks. 7(4), 2381–2392.

Khalid, S., Ali, R. H., & Khalid, H. Bin. (2025). Fruit and Vegetable Recognition Using MobileNetV2: An Image Classification Approach. Engineering Proceedings, 87(1). https://doi.org/10.3390/engproc2025087108

Mienye, I. D. (2024). A Comprehensive Review of Deep Learning : Architectures , Recent Advances , and Applications.

Produksi, P., & Apel, T. (2013). Agroklimat Yang Berbeda ( Studi Kasus Pada Sentra Produksi Tanaman Apel Di Kota Batu Dan Kabupaten Malang ) Differences In The Production Of Apple Crop ( Malus Sylvestris Mill .) In Differents Agro-Climatic ( Case Studies On The Apple Crop Center Production In Batu City And Malang Regency ). 1(1), 1–8.

Rizka, S. Y., & Noercholis, A. (2024). Performance Comparison Of Faster R-Convolutional Neural Network ( Cnn ) And Efficientnet For Train Detection Under Perbandingan Performa Faster R-Convolutional Neural Network ( Cnn ) Dan Efficientnet Untuk Deteksi Kereta Api Pada Beragam. 5(6), 1811–1821.

Rizky, A., Ivani, R., Kurniadi, A. Z., Belia, A., Andira, A., Wahyuni, I., Studi, P., Informatika, T., Teknologi, F., Teknologi, I., & Malang, B. A. (2025). Perbandiangan VGG16 dan MobileNetV2 untuk Klasifikasi Tingkat Kematangan Buah Apel. 30–39.

Sakka, M. El, Ivanovici, M., & Chaari, L. (2025). A Review of CNN Applications in Smart Agriculture Using Multimodal Data. 0, 1–34.

Sandler, M., Howard, A., Zhu, M., & Zhmoginov, A. (2018). MobileNetV2 : Inverted Residuals and Linear Bottlenecks. 4510–4520.

Shorten, C., & Khoshgoftaar, T. M. (2019). A survey on Image Data Augmentation for Deep Learning. Journal of Big Data. https://doi.org/10.1186/s40537-019-0197-0

Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing and Management, 45(4), 427–437. https://doi.org/10.1016/j.ipm.2009.03.002

Zárate, V., & Hernández, D. C. (2024). Simplified Deep Learning for Accessible Fruit Quality Assessment in Small Agricultural Operations. Applied Sciences, 14(18). https://doi.org/10.3390/app14188243

Zhuang, F., Qi, Z., Duan, K., Xi, D., Zhu, Y., Zhu, H., & Member, S. (n.d.). A Comprehensive Survey on Transfer Learning. 1–31.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Implementasi MobileNet V2 untuk Klasifikasi Jenis Apel Berdasarkan Citra Digital

Dimensions Badge
Article History
Published: 2026-06-30
Abstract View: 0 times
PDF Download: 0 times
Issue
Section
Articles