Detection of Rice Leaf Pests Based on Images with Convolution Neural Network in Yollo v8

Ahmad Fauzi(1*), Kiki Ahmad Baihaqi(2), Anggun Pertiwi(3), Yudo Devianto(4), Saruni Dwiasnati(5)

(1) universitas Buana perjuangan Karawang
(2) Universitas Buana Perjuangan Karawang
(3) Fakultas Ilmu Komputer, Universitas Buana Perjuangan Karawang
(4) Universitas Mercu Buana
(5) Universitas Mercu Buana
(*) Corresponding Author


Detection of rice leaf pests is important in agriculture because it can help farmers determine appropriate preventive measures. One method that can be used to detect rice leaf pests is digital image processing technology. In this research, proof of suitability for solving this case was carried out between the Convolutional Neural Network (CNN) algorithm which was run offline with R-CNN and YOLOv8 for detecting rice leaf pests. At the data preparation stage, images of rice leaves were taken from various sources with a total of 100 images taken from website data and 10 images taken from the research site. Next, preprocessing and data augmentation are carried out to improve image quality and increase data variation. At the model training stage, a training and evaluation process is carried out using two types of algorithms, namely R-CNN and YOLOv8. The accuracy of the testing results using the same data using Yolov8 obtained 87.0% accuracy and 79% precision, while using R-CNN the results obtained were 85% for accuracy and 75% for precision with data divided into 80 training data 20 validation data and 10 testing data. Labeling the dataset uses Makesensei which has been completely standardized, with the resulting parameters being the spots on rice leaves.


rice leaf pests; digital image processing; convolution neural network; yolo v8

Full Text:



Q. Wang, J. Tu, Y. Luo, and F. Liu, “Target Detection of Myrica rubra Based on Convolutional Neural Network and Transfer Learning,” in Proceedings - 2021 International Conference on Electronic Information Technology and Smart Agriculture, ICEITSA 2021, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 485–490. doi: 10.1109/ICEITSA54226.2021.00098.

D.-N. Le, V. S. Parvathy, D. Gupta, A. Khanna, J. J. P. C. Rodrigues, and K. Shankar, “IoT enabled depthwise sepa- rable convolution neural network with deep support vector machine for COVID-19 diagnosis and classification,” Interna- tional Journal of Machine Learning and Cybernetics, vol. 12, pp. 3235–3248, Nov. 2021.

M. Arabahmadi, R. Farahbakhsh, and J. Rezazadeh, “Deep Learning for Smart Healthcare—A Survey on Brain Tumor Detection from Medical Imaging,” Sensors, vol. 22, p. 1960, Mar. 2022.

P. K. Chahal, S. Pandey, and S. Goel, “A survey on brain tumor detection techniques for MR images,” Multimedia Tools and Applications, vol. 79, pp. 21771–21814, Aug. 2020.

Z. Qu, C. Cao, L. Liu, and D.-Y. Zhou, “A Deeply Supervised Convolutional Neural Network for Pavement Crack Detection With Multiscale Feature Fusion,” IEEE Transactions on Neural Networks and Learning Systems, vol. 33, pp. 4890–4899, Sept. 2022.

X. Zhao, Y. Wu, G. Song, Z. Li, Y. Zhang, and Y. Fan, “A deep learning model integrating FCNNs and CRFs for brain tumor segmentation,” Medical Image Analysis, vol. 43, pp. 98–111, Jan. 2018.

Y. Guan, W. Li, T. Hu, and Q. Hou, “Design and Implementation of Safety Helmet Detection System Based on YOLOv5,” in Proceedings - 2021 2nd Asia Conference on Computers and Communications, ACCC 2021, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 69–73. doi: 10.1109/ACCC54619.2021.00018.

F. Paraijun et al., “Implementasi Algoritma Convolutional Neural Network Dalam Mengklasifikasi Kesegaran Buah Berdasarkan Citra Buah,” vol. 11, no. 1, 2022, doi: 10.33322/kilat.v11i1.1458.

P. Tejaswini, P. Singh, M. Ramchandani, Y. K. Rathore, and R. R. Janghel, “Rice Leaf Disease Classification Using Cnn,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics, 2022. doi: 10.1088/1755-1315/1032/1/012017.

T.-R. Huang, S.-M. Hsu, and L.-C. Fu, “Data Augmentation via Face Morphing for Recognizing Intensities of Facial Emotions,” IEEE Trans Affect Comput, vol. 14, no. 2, pp. 1228–1235, Apr. 2023, doi: 10.1109/TAFFC.2021.3096922.

A. Mikolajczyk and M. Grochowski, “Data augmentation for improving deep learning in image classification problem,” in 2018 International Interdisciplinary PhD Workshop (IIPhDW), IEEE, May 2018, pp. 117–122. doi: 10.1109/IIPHDW.2018.8388338.

M. F. Naufal, “Analisis Perbandingan Algoritma SVM, KNN, dan CNN untuk Klasifikasi Citra Cuaca,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 8, no. 2, p. 311, 2021, doi: 10.25126/jtiik.2021824553.

C. B. Gonçalves, J. R. Souza, and H. Fernandes, “CNN architecture optimization using bio-inspired algorithms for breast cancer detection in infrared images,” Comput. Biol. Med., vol. 142, p. 105205, 2022.

M. Ahmad et al., “Industry 4.0 technologies and their applications in fighting COVID-19 pandemic using deep learning techniques,” Comput. Biol. Med., vol. 145, p. 105418, 2022.

Y. Qin, “A Cancer Cell Image Classification Program : Based on CNN Model,” in 2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT), IEEE, Oct. 2021, pp. 140–144. doi: 10.1109/AINIT54228.2021.00037.

S. S. Dambal, M. K. Doddananjedevaru, and S. B. Gopalakrishna, “Premature Ventricular Contraction Classification Based on Spiral Search - Manta Ray Foraging and Bi-LSTM,” Int. J. Intell. Eng. Syst., vol. 15, no. 6, pp. 1–10, 2022.

K. Patel, V. Patel, V. Prajapati, D. Chauhan, A. Haji, and S. Degadwala, “Safety Helmet Detection Using YOLO V8,” in 2023 3rd International Conference on Pervasive Computing and Social Networking (ICPCSN), IEEE, Jun. 2023, pp. 22–26. doi: 10.1109/ICPCSN58827.2023.00012.

C. Ma, S. Xu, X. Yi, L. Li, and C. Yu, “Research on Image Classification Method Based on DCNN,” in 2020 International Conference on Computer Engineering and Application (ICCEA), IEEE, Mar. 2020, pp. 873–876. doi: 10.1109/ICCEA50009.2020.00192.

H. Tang, “Image Classification based on CNN: Models and Modules,” in 2022 International Conference on Big Data, Information and Computer Network (BDICN), IEEE, Jan. 2022, pp. 693–696. doi: 10.1109/BDICN55575.2022.00134.

Y. Hao, “Convolutional Neural Networks for Image Classification,” in 2021 2nd International Conference on Artificial Intelligence and Computer Engineering (ICAICE), IEEE, Nov. 2021, pp. 342–345. doi: 10.1109/ICAICE54393.2021.00073.

A. Andreas, C. X. Mavromoustakis, H. Song, and J. M. Batalla, “CNN-Based Emotional Stress Classification using Smart Learning Dataset,” in 2022 IEEE International Conferences on Internet of Things (iThings) and IEEE Green Computing & Communications (GreenCom) and IEEE Cyber, Physical & Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics), IEEE, Aug. 2022, pp. 549–554. doi: 10.1109/iThings-GreenCom-CPSCom-SmartData-Cybermatics55523.2022.00107.



  • There are currently no refbacks.

Indexed By:


Creative Commons License
Jurnal Sisfokom (Sistem Informasi dan Komputer) has ISSN 2301-7988 and e-ISSN 2581-0588 which is published by Lembaga Penelitian dan Pengabdian Masyarakat (LPPM) ISB Atma Luhur under a Creative Commons Attribution-ShareAlike 4.0 International License.
Web Analytics Made Easy - StatCounter