Optimasi Deteksi Hama Tanaman Melon Berbasis YOLOv9

Authors

  • Muhammad Immawan Aulia Universitas Ahmad Dahlan
  • Anton Yudhana Universitas Ahmad Dahlan
  • Sunardi Universitas Ahmad Dahlan

DOI:

https://doi.org/10.36596/jitu.v10i1.2265

Keywords:

Sistem Deteksi Hama, Computer Vision, YOLOv9, Tanaman Melon, Augmentasi Data

Abstract

Pest attacks are one of the main problems in melon cultivation, significantly impacting productivity and crop quality. Manual pest identification has limitations in terms of objectivity, consistency, and efficiency, especially in medium to large-scale agricultural fields. This study developed a computer vision-based visual detection system for melon pests by utilizing the YOLOv9 architecture and public datasets obtained from the Roboflow platform. The dataset used consisted of 1,198 images, divided into 879 training images, 131 validation images, and 188 test images. The model training process employed data augmentation techniques, generating three outputs per training example and adding noise up to 2.52% of pixels to enhance the model's resilience to visual variations. The research methodology included system architecture design, data preprocessing, model training, and performance evaluation using precision, recall, and mean Average Precision (mAP) metrics. The test results showed that the system achieved mAP@50 of 61.6%, with 56.9% precision and 58.8% recall, indicating adequate detection capability with good inference efficiency. Thus, the developed system has the potential to be used as an early detection mechanism for melon plant pests to support decision-making in precision agriculture.

References

Ambali Parambil, M. M., Ali, L., Swavaf, M., Bouktif, S., Gochoo, M., Aljassmi, H., & Alnajjar, F. (2024). Navigating the YOLO Landscape: A Comparative Study of Object Detection Models for Emotion Recognition. IEEE Access, 12, 109427–109442. https://doi.org/10.1109/ACCESS.2024.3439346

Azahra Putri, S. (2025). Alphabet SIBI sign language recognition using YOLOv11 for real-time gesture detection. 11(1), 123–135. www.ejournal.isha.or.id/index.php/Mandiri

Chen, M., Wang, C., Liu, C., Yu, Y., Yuan, Y., Ma, J., & Zhang, K. (2025). Tomato leaf disease detection method based on improved YOLOv8n. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-00405-8

Ding, J.-Y., Jeon, W., Rhee, S.-Y., & Zou, C.-M. (2024). DM-YOLOv8: Improved Cucumber Disease and Insect Detection Model Based on YOLOV8. https://doi.org/10.20944/preprints202403.1227.v1

Du, C., Ma, Z., Almodfer, R., Wen, X., Zhao, J., & Wang, X. (2025). A faster and lighter weight robotic ready model YOLO Punica for detecting pomegranate fruit development. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-23118-4

Fahmi, M., Yudhana, A., & Sunardi, S. (2023). Image Processing Using Morphology on Support Vector Machine Classification Model for Waste Image. MATRIK?: Jurnal Manajemen, Teknik Informatika Dan Rekayasa Komputer, 22(3), 553–566. https://doi.org/10.30812/matrik.v22i3.2819

Fatehi, F., Bagherpour, H., & Amiri Parian, J. (2025). Enhancing the Performance of YOLOv9t Through a Knowledge Distillation Approach for Real-Time Detection of Bloomed Damask Roses in the Field. Smart Agricultural Technology, 10. https://doi.org/10.1016/j.atech.2025.100794

Gonzalez Huitron, V. A., Huerta Mora, E. A., Rodriguez Mata, A. E., Medrano Hermosillo, J. A., Amabilis-Sosa, L. E., & Rodriguez Rangel, H. (2025). Precision Agriculture and Object Detection: Deep Learning Models for Crop Disease Management. International Journal of Combinatorial Optimization Problems and Informatics, 16(2), 84–97. https://doi.org/10.61467/2007.1558.2025.v16i2.870

Habie, K. F., Murinto, M., & Sunardi, S. (2025). Impact of Optimizer Selection on MobileNetV1 Performance for Skin Disease Detection Using Digital Images. Jurnal Teknik Informatika (Jutif), 6(3), 1589–1604. https://doi.org/10.52436/1.jutif.2025.6.3.4685

Hajar, S., Murinto, M., & Yudhana, A. (2025). Identifikasi Jenis Daun untuk Ecoprint Mengunakan Metode Convolutional Neural Network. Jurnal Sains Dan Informatika, 11(1), 60–69. https://doi.org/10.34128/jsi.v11i1.1774

Hasan, M. A., Haque, F., Sarker, H., Abdullah, R., Roy, T., Taaha, N., Arafat, Y., Patwary, A. K., Ahsan, M., & Haider, J. (2025). Mulberry leaf disease detection by CNN-ViT with XAI integration. PLOS ONE, 20(6 June). https://doi.org/10.1371/journal.pone.0325188

Jiang, L., Jiang, H., Jing, X., Dang, H., Li, R., Chen, J., Majeed, Y., Sahni, R., & Fu, L. (2024). UAV-based field watermelon detection and counting using YOLOv8s with image panorama stitching and overlap partitioning. Artificial Intelligence in Agriculture, 13, 117–127. https://doi.org/10.1016/j.aiia.2024.09.001

Jing, X., Wang, Y., Li, D., & Pan, W. (2024). Melon ripeness detection by an improved object detection algorithm for resource constrained environments. Plant Methods, 20(1). https://doi.org/10.1186/s13007-024-01259-3

Kahya, E., & Aslan, Y. (2024). Detection of artichoke on seedling based on YOLOV5 model. International Journal of Agriculture Environment and Food Sciences, 8(1), 186–201. https://doi.org/10.31015/jaefs.2024.1.19

Li, C., Wu, H., Zhang, T., Lu, J., & Li, J. (2024). Lightweight Network of Multi-Stage Strawberry Detection Based on Improved YOLOv7-Tiny. Agriculture (Switzerland), 14(7). https://doi.org/10.3390/agriculture14071132

Li, Y., Li, X., Fu, R., Cheng, Z., Yu, J., Wang, X., & Sun, H. (2025). EDDet: efficient deep-fusion and dynamic optimization for small target detection in eggplant diseases. BMC Plant Biology, 25(1). https://doi.org/10.1186/s12870-025-07268-1

Liu, G., Zhang, Y., Liu, J., Liu, D., Chen, C., Li, Y., Zhang, X., & Touko Mbouembe, P. L. (2024). An improved YOLOv7 model based on Swin Transformer and Trident Pyramid Networks for accurate tomato detection. Frontiers in Plant Science, 15. https://doi.org/10.3389/fpls.2024.1452821

Liu, S., Xu, H., Deng, Y., Cai, Y., Wu, Y., Zhong, X., Zheng, J., Lin, Z., Ruan, M., Chen, J., Zhang, F., Li, H., & Zhong, F. (2025). YOLOv8-LSW: A Lightweight Bitter Melon Leaf Disease Detection Model. Agriculture (Switzerland), 15(12). https://doi.org/10.3390/agriculture15121281

Luo, X., Xiong, S., Jia, X., Zeng, Y., & Chen, X. (2025). AIoT-Enabled Data Management for Smart Agriculture: A Comprehensive Review on Emerging Technologies. In IEEE Access (Vol. 13, pp. 102964–102993). Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/ACCESS.2025.3578751

Lyu, S., Zhao, Y., Liu, X., Li, Z., Wang, C., & Shen, J. (2023). Detection of Male and Female Litchi Flowers Using YOLO-HPFD Multi-Teacher Feature Distillation and FPGA-Embedded Platform. Agronomy, 13(4). https://doi.org/10.3390/agronomy13040987

Ma, Y., & Zhang, S. (2025). YOLOv8-CBSE: An Enhanced Computer Vision Model for Detecting the Maturity of Chili Pepper in the Natural Environment. Agronomy, 15(3). https://doi.org/10.3390/agronomy15030537

Madadum, H., Nasir, F. E., & Haruehansapong, K. (2025). Optimizing watermelon leaf disease detection using Sam-based augmentation with YOLO for practical agricultural solutions. Smart Agricultural Technology, 12. https://doi.org/10.1016/j.atech.2025.101326

Maftukhah, A., Fadlil, A., & Sunardi, S. (2024). Butterfly Image Classification using Convolution Neural Network with AlexNet Architecture. JURNAL INFOTEL, 16(1). https://doi.org/10.20895/infotel.v16i1.1004

Muis, A., Sunardi, S., & Yudhana, A. (2024). CNN-based Approach for Enhancing Brain Tumor Image Classification Accuracy. International Journal of Engineering, Transactions B: Applications, 37(5), 984–996. https://doi.org/10.5829/ije.2024.37.05b.15

Muis, A., Yudhana, A., & Dahlan, A. (2023). Comparison Analysis Of Brain Image Classification Based On Thresholding Segmentation With Convolutional Neural Network. In Journal of Applied Engineering and Technological Science (Vol. 4, Issue 2).

Pan, Z., Xu, L., Zhao, W., Fan, C., Zhang, X., Chen, W., Shen, Y., & Chen, N. (2025). Multi-layer feature fusion and attention-enhanced YOLOv9 for rapid field detection of greenhouse blueberry maturity at long and short distances. International Journal of Digital Earth, 18(1). https://doi.org/10.1080/17538947.2025.2498599

Putri Silmina, E., Sunardi, S., & Yudhana, A. (2025). Comparative Analysis Of Yolo Deep Learning Model For Image-Based Beef Freshness Detection. JITK (Jurnal Ilmu Pengetahuan Dan Teknologi Komputer), 11(1), 250–265. https://doi.org/10.33480/jitk.v11i1.6784

Rahmawati, N. Y. D., & Rochim, F. P. (2025). Chili Ripeness Level Detection with YOLOv8 and Fuzzy Logic for Harvest Decision Making. Jurnal Teknik Pertanian Lampung (Journal of Agricultural Engineering), 14(5), 1807–1818. https://doi.org/10.23960/jtepl.v14i5.1807-1818

Rukuna, A. L., Zambuk, F. U., Gital, A. Y., & Bello, U. M. (2025). Citrus diseases detection and classification based on efficientnet-B5. Systems and Soft Computing, 7. https://doi.org/10.1016/j.sasc.2025.200199

Sapkota, R., Flores-Calero, M., Qureshi, R., Badgujar, C., Nepal, U., Poulose, A., Zeno, P., Vaddevolu, U. B. P., Khan, S., Shoman, M., Yan, H., & Karkee, M. (2025). YOLO advances to its genesis: a decadal and comprehensive review of the You Only Look Once (YOLO) series. Artificial Intelligence Review, 58(9). https://doi.org/10.1007/s10462-025-11253-3

Sapkota, R., Qureshi, R., Flores-Calero, M., Badgujar, C., Nepal, U., Poulose, A., Zeno, P., Bhanu Prakash Vaddevolu, U., Yan, H., & Karkee, M. (2024). YOLOv9 to Its Genesis: A Decadal and Comprehensive Review of The You Only Look Once Series. https://doi.org/10.20944/preprints202406.1366.v2

Shen, W., Dong, M., Zhang, Z., Hao, X., Su, Y., & Xue, Z. (2025). ESLC-YOLOv8: Advancing real-time pineapple recognition with lightweight deep learning. Smart Agricultural Technology, 12. https://doi.org/10.1016/j.atech.2025.101139

Sun, J., Li, Z., Li, F., Shen, Y., Qian, Y., & Li, T. (2024). EF yolov8s: A Human–Computer Collaborative Sugarcane Disease Detection Model in Complex Environment. Agronomy, 14(9). https://doi.org/10.3390/agronomy14092099

Sun, S., Mo, B., Xu, J., Li, D., Zhao, J., & Han, S. (2024). Multi-YOLOv8: An infrared moving small object detection model based on YOLOv8 for air vehicle. Neurocomputing, 588. https://doi.org/10.1016/j.neucom.2024.127685

Sunardi, Yudhana, A., & Fahmi, M. (2023). SVM-CNN Hybrid Classification for Waste Image Using Morphology and HSV Color Model Image Processing. Traitement Du Signal, 40(4), 1763–1769. https://doi.org/10.18280/ts.400446

Tao, S., Wen, S., Hu, G., Ge, Y., Wen, J., Cao, X., & Chen, J. (2024). Improved Yolov8n-Based Detection Of Grapes In Orchards/. INMATEH - Agricultural Engineering, 74(3), 473–484. https://doi.org/10.35633/inmateh-74-42

Umar, U., Sardjono, A., Kusuma, H., Yani, M., & Widyantara, H. (2025). Optimizing YOLOv8 for Enhanced Melon Maturity Detection with Attention Mechanisms: A Case Study from Puspalebo Orchard. www.joiv.org/index.php/joiv

Umar, U., Sardjono, T. A., & Kusuma, H. (2024). Smart Ontology-Based System for Recommending Practices in Melon Cultivation. IEEE Access, 12, 162204–162216. https://doi.org/10.1109/ACCESS.2024.3487288

Varol Ar?soy, M., & Uysal, ?. (2025). BiFPN-enhanced SwinDAT-based cherry variety classification with YOLOv8. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-89624-7

Wang, L., Wang, H., Letchmunan, S., Xiao, R., Ahmed, O. H., & Liu, Z. (2025). A systematic literature review of lightweight YOLO models for object detection. PeerJ Computer Science, 11, e3357. https://doi.org/10.7717/peerj-cs.3357

Downloads

Published

2026-05-13

How to Cite

Aulia, M. I., Yudhana, A., & Sunardi. (2026). Optimasi Deteksi Hama Tanaman Melon Berbasis YOLOv9 . JITU : Journal Informatic Technology And Communication, 10(1), 150–161. https://doi.org/10.36596/jitu.v10i1.2265

Issue

Section

Articles