Convolutional Neural Network Based on Transfer Learning for Pest Classification in Chili Plant

  • Valdi Dhani Pratama
    Universitas Negeri Semarang
  • Febry Putra Rochim
    Universitas Negeri Semarang
DOI: https://doi.org/10.23960/jtepl.v15i5.1686-1697
Keywords Chili pest classification, Convolutional neural network, Lightweight deep learning, MobileNetV2, Precision agriculture, Transfer learning
Abstract Views (Last 12 Months)
11 Abstract Views
10 Downloads

Abstract

Pest infestation is a major cause of productivity loss in chili cultivation, requiring accurate and automated pest identification systems to support precision agriculture. This study proposes a lightweight MobileNetV2-based transfer learning model for multi-species chili pest classification using a validated Indonesian digital image dataset. The dataset consists of 2,450 images representing seven major chili pest species, collected from publicly available web sources and complemented with field images acquired under natural conditions. All images underwent manual curation, quality control, taxonomic verification, and annotation validation by experts to ensure dataset reliability. The dataset was divided into training and testing in a ratio of 80:20, and data augmentation techniques were applied to improve model generalization. MobileNetV2 was compared with ResNet50 and EfficientNetB0. All models were trained for 50 epochs using the Adam optimizer and the categorical cross-entropy loss function. Model performance was evalu-ated using accuracy, precision, recall, and F1-score metrics. Experimental results show that MobileNetV2 achieved the highest accuracy (98.29%), outperforming ResNet50 (97.84%) and EfficientNetB0 (97.56%) while maintaining low computational complexity suitable for resource-constrained environments. This study contributes (1) a validated Indonesian multi-species chili pest dataset, (2) an optimized MobileNetV2 transfer learning model for accurate pest classification, and (3) a practical Streamlit-based pest monitoring system for precision agriculture.

Downloads

Download data is not yet available.

References

Agustian, I., Faurina, R., Ishak, S.I., Utama, F.P., Dinata, K., & Daratha, N. (2023). Deep learning pest detection on Indonesian red chili pepper plant based on fine-tuned YOLOv5. International Journal of Advances in Intelligent Informatics, 9(3), 383–401. https://doi.org/10.26555/ijain.v9i3.864

Ahad, T., Li, Y., Song, B., & Bhuiyan, T. (2023). Comparison of CNN-based deep learning architectures for rice diseases classification. Artificial Intelligence in Agriculture, 9, 22–35. https://doi.org/10.1016/j.aiia.2023.07.001

Alomar, K., Aysel, H.I., & Cai, X. (2023). Data augmentation in classification and segmentation: A survey and new strategies. Journal of Imaging, 9(2), Article 46. https://doi.org/10.3390/jimaging9020046

Badgujar, C.M., Poulose, A., & Gan, H. (2024). Agricultural object detection with You Only Look Once (YOLO) algorithm: A bibliometric and systematic literature review. Computers and Electronics in Agriculture, 223, 109090. https://doi.org/10.1016/j.compag.2024.109090

Baiju, B.V., Kirupanithi, N., Srinivasan, S., Kapoor, A., Mathivanan, S.K., & Shah, M.A. (2025). Robust CRW crops leaf disease detection and classification in agriculture using hybrid deep learning models. Plant Methods, 21, Article 18. https://doi.org/10.1186/s13007-025-01332-5

Benos, L., Tagarakis, A.C., Dolias, G., Berruto, R., Kateris, D., & Bochtis, D. (2021). Machine learning in agriculture: A comprehensive updated review. Sensors, 21(11), Article 3758. https://doi.org/10.3390/s21113758

Hao, R., Namdar, K., Liu, L., Haider, M. A., & Khalvati, F. (2021). A comprehensive study of data augmentation strategies for prostate cancer detection in diffusion-weighted MRI using convolutional neural networks. Journal of Digital Imaging, 34(4), 862–876. https://doi.org/10.1007/s10278-021-00478-7

Kanaparthi, K.R., & Ilango, S.S. (2026). Deep learning framework for timely detection and classification of chili leaf diseases and pests. Scientific Reports, 16, 4360. https://doi.org/10.1038/s41598-025-34477-3

Kaur, S., Samota, M.K., Choudhary, M., Choudhary, M., Pandey, A.K., Sharma, A., & Thakur, J. (2022). How do plants defend themselves against pathogens: Biochemical mechanisms and genetic interventions. Physiology and Molecular Biology of Plants, 28(2), 485–504. https://doi.org/10.1007/s12298-022-01146-y

Khalid, S., Oqaibi, H.M., Aqib, M., & Hafeez, Y. (2023). Small pests detection in field crops using deep learning object detection. Sustainability, 15(8), 6815. https://doi.org/10.3390/su15086815

Khan, Z., Shen, Y., & Liu, H. (2025). Object detection in agriculture: A comprehensive review of methods, applications, challenges, and future directions. Agriculture, 15(13), Article 1351. https://doi.org/10.3390/agriculture15131351

Li, Y., Lu, Y., Liu, H., Bai, J., Yang, C., Yuan, H., Li, X., & Xiao, Q. (2024). Tea leaf disease and insect identification based on improved MobileNetV3. Frontiers in Plant Science, 15, Article 1459292. https://doi.org/10.3389/fpls.2024.1459292

Murray, B., Brown, R., Ma, P., Kerfoot, E., Xu, D., Feng, A., Cardoso, J., Ourselin, S., & Modat, M. (2024). Lazy resampling: Fast and information-preserving preprocessing for deep learning. Computer Methods and Programs in Biomedicine, 257, 108422. https://doi.org/10.1016/j.cmpb.2024.108422

Nayak, A., Chakraborty, S., & Swain, D.K. (2023). Application of smartphone-image processing and transfer learning for rice disease and nutrient deficiency detection. Smart Agricultural Technology, 4, 100195. https://doi.org/10.1016/j.atech.2023.100195

Odounfa, M.G.F., Hounmenou, C.G., Salako, V.K., Affokpon, A., & Glèlè Kakaï, R.L. (2025). Deep learning enables precision agriculture for sustainable chili pepper disease detection in Benin. Discover Artificial Intelligence, 5(1), Article 315. https://doi.org/10.1007/s44163-025-00583-4

Pacal, I., Kunduracioglu, I., Alma, M.H., Deveci, M., Kadry, S., Nedoma, J., Slaný, V., & Martínek, R. (2024). A systematic review of deep learning techniques for plant diseases. Artificial Intelligence Review, 57(11), 304. https://doi.org/10.1007/s10462-024-10944-7

Qian, Y., Xiao, Z., & Deng, Z. (2025). Fine-grained crop pest classification based on multi-scale feature fusion and mixed attention mechanisms. Frontiers in Plant Science, 16, 1-15. https://doi.org/10.3389/fpls.2025.1500571

Saktriawindarta, R., & Kusrini. (2024). Metode klasifikasi tingkat kematangan buah dan sayuran: Tinjauan sistematis. G-Tech: Jurnal Teknologi Terapan, 8(4), 2344–2354. https://doi.org/10.70609/gtech.v8i4.5067

Shafik, W., Tufail, A., De Silva Liyanage, C., & Apong, R.A.A.H.M. (2024). Using transfer learning-based plant disease classifi-cation and detection for sustainable agriculture. BMC Plant Biology, 24(1), 136. https://doi.org/10.1186/s12870-024-04825-y

Shahrabadi, S., Adão, T., Peres, E., Morais, R., Magalhães, L.G., & Alves, V. (2024). Automatic optimization of deep learning training through feature-aware-based dataset splitting. Algorithms, 17(3), 106. https://doi.org/10.3390/a17030106

Suprapti, E., Budiyono, A., Soemarah, T.K., Daryanti, Wiyono, & Hermawan, D. (2022). Inventory of pests and intensity of fruit fly attacks (Bactrocera dorsalis) on curly red chili plants (Capsicum annuum L.) in Sido Luhur Farmer Group of Cabeyan Village. Jurnal Ilmiah Agrineca, 22(2), 75–87.

Telçeken, M., Akgun, D., & Kacar, S. (2024). An evaluation of image slicing and YOLO architectures for object detection in UAV images. Applied Sciences, 14(23), 11293. https://doi.org/10.3390/app142311293

Vishnoi, V.K., Kumar, K., Kumar, B., Mohan, S., & Khan, A.A. (2023). Detection of apple plant diseases using leaf images through convolutional neural network. IEEE Access, 11, 6594–6609. https://doi.org/10.1109/ACCESS.2022.3232917

Wang, C., Liu, S., Wang, Y., Xiong, J., Zhang, Z., Zhao, B., Luo, L., Chen, Z., & Tian, Y. (2022). Application of convolutional neural network-based detection methods in fresh fruit production: A comprehensive review. Frontiers in Plant Science, 13, 868745. https://doi.org/10.3389/fpls.2022.868745

Zahro, B.G., Aditya, H.F., & Kusuma, R.M. (2024). Identification of potential pests on horticultural plants at the Agricultural Extension Center, Ngingas Village, Krian District, Sidoarjo Regency. Journal of Applied Plant Technology (JAPT), 3(1), 29-36. https://doi.org/10.30742/gd92ys77

Cover
Published
2026-10-27
How to Cite
Pratama, V. D., & Rochim, F. P. (2026). Convolutional Neural Network Based on Transfer Learning for Pest Classification in Chili Plant. Jurnal Teknik Pertanian Lampung (Journal of Agricultural Engineering), 15(5), 1686–1697. https://doi.org/10.23960/jtepl.v15i5.1686-1697