Fruit Detection for Classification by Type with YNOv3-Based CNN Algorithm

Deteksi Buah untuk Klasifikasi Berdasarkan Jenis dengan Algoritma CNN Berbasis YOLOv3

  • HR. Wibi Bagas N Universitas Kristen Satya Wacana
  • Evang Mailoa Universitas Kristen Satya Wacana
  • Hindriyanto Dwi Purnomo Universitas Kristen Satya Wacana
Keywords: Detection, YOLOv3(You Only Lock Once), CNN(Convolutional Neural Network), Darknet, Google Colaboratory


The fruit is part of the flowers in plants that are produced from pollination of the pistils and stamens. The shape and color of many fruits with a variety, with the type of single fruit, double fruit and compound fruit. This study asks for the development of 10 pieces detection applications to help the sensor agriculture sector for 10 pieces detection. The data in this study used the image of 10 fruits namely Mangosteen, Delicious, Star Fruit, Water Guava, Kiwi, Pear, Pineapple, Salak, Dragon Fruit, and Strawberry. Training and testing using CNN algorithms and YOLOv3 machine learning methods with the support of the work of the Darknet53 neural network. The analysis was conducted using 2,333 images of data from 10 classes. The training process is carried out up to 5,000 iterations stored in checkpoints. The implementation of the detection of 10 pieces was carried out on Google Collaboratory through imagery with two tests. Accuracy in the detection of 10 pieces can reach more than 90% in the first test of each fruit and an average of 70% in the second test for images outside the test data.


Download data is not yet available.


Y Sahertian, J., & Sanjaya, A. S. A. (2017). Deteksi Buah Pada Pohon Menggunakan Metode Svm Dan Fitur Tekstur. SEMNASTEKNOMEDIA ONLINE, 5(1), 4-3.

Bulanon, D. M., & Kataoka, T. (2010). Fruit detection system and an end effector for robotic harvesting of Fuji apples. Agricultural Engineering International: CIGR Journal, 12(1).

Ammar, A., Koubaa, A., Ahmed, M., & Saad, A. (2019). Aerial Images Processing for Car Detection using Convolutional Neural Networks: Comparison between Faster R-CNN and YoloV3. arXiv preprint arXiv:1910.07234.

Rezatofighi, H., Tsoi, N., Gwak, J., Sadeghian, A., Reid, I., & Savarese, S. (2019). Generalized intersection over union: A metric and a loss for bounding box regression. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 658-666).

Kadiyala, A., & Kumar, A. (2017, October 31). Apllications of Python to evaluate environmental data science. Environmetal Progress & Sustainable Energy, 36, 1580–1586.

I Wayan Suartika E. P, Arya Yudhi Wijaya, dan Rully Soelaiman, Klasifikasi Citra Menggunakan Convolutional Neural Network (Cnn) pada Caltech 101, JURNAL TEKNIK ITS Vol. 5, No. 1, (2016) ISSN: 2337-3539 .

N. Sofia,2018. Convolutional Neural Network, [Online] (Update 9 Juni 2018) Tersedia di : [Accessed 6 Maret 2020].

Weicong, D., Longxu, J., Guoning, L., & Zhiqiang, Z. (2018). Real-time airplane detection algorithm in remote-sensing images based on improved YOLOv3. Opto-Electronic Engineering, 45(12), 180350.

J. Redmon,2013-2018. Darknet : YOLO:Real-Time Object Detection, [Online] (Update 2018) [Accessed 7 maret 2020].

T. Carneiro, R. V. Medeiros Da NóBrega, T. Nepomuceno, G. Bian, V. H. C. De Albuquerque and P. P. R. Filho, "Performance Analysis of Google Colaboratory as a Tool for Accelerating Deep Learning Applications," in IEEE Access, vol. 6, pp. 61677-61685, 2018.

Yu, Y., Zhang, K., Yang, L., & Zhang, D. (2019). Fruit detection for strawberry harvesting robot in non-structural environment based on Mask-RCNN. Computers and Electronics in Agriculture, 163, 104846.

How to Cite
HR. Wibi Bagas N, Evang Mailoa, & Hindriyanto Dwi Purnomo. (2020). Fruit Detection for Classification by Type with YNOv3-Based CNN Algorithm. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 4(3), 476 - 481.
Artikel Teknologi Informasi