Performance of Yolov8 Algorithm and Real-Time Detection Transformer in Tomato Ripeness Detection System
DOI:
https://doi.org/10.59934/jaiea.v5i3.2429Keywords:
YOLOv8, RT-DETR, object detection, tomato ripeness, computer visionAbstract
Tomato ripeness sorting is still widely carried out manually and subjectively, which can lead to inconsistencies in the quality of the sorting results. In addition, the manual process requires more time and has the potential to cause errors in classifying tomato ripeness levels. Therefore, an automatic detection system based on digital images is needed to provide more accurate and consistent detection results. This study aims to analyze and compare the performance of the You Only Look Once (YOLOv8) and Real-Time Detection Transformer (RT-DETR) algorithms in detecting and classifying tomato ripeness levels based on digital images. The research method used is an experimental method consisting of dataset collection, data labeling, image augmentation, data splitting into training, validation, and testing sets, as well as model training using Google Colab. The tomato ripeness levels were classified into six classes to provide a more detailed representation compared to previous studies. Model performance evaluation was carried out using accuracy, precision, and recall metrics. The results showed that YOLOv8 achieved a precision value of 64.8%, recall of 70%, and accuracy of 50.7%. Meanwhile, RT-DETR demonstrated better performance with a precision of 80.8%, recall of 84%, and accuracy of 70%. Based on these results, RT-DETR is considered superior in providing more accurate and consistent predictions, making it more potential to be implemented in a digital image-based tomato sorting system to improve the efficiency and quality of agricultural products.
Downloads
References
A. A. Pratiwi, A. Rahmawati, A. Kurniasih, E. Nurhillah, N. D. Permatasari, And Y. Budiawati, “Peran Artificial Intelligence Dalam Prediksi Hasil Tanaman: Meta-Sintesis Literatur Terkini,” J. Pertanian, Peternakan, Perikan., Vol. 4, No. 1, Pp. 1–15, 2025, Doi: 10.3766/Hibrida.V1i2.3753.
R. Efendi And D. Sagita, “Teknologi Pertanian Masa Depan Dan Peranannya Dalam Menunjang Ketahanan Pangan,” Sultra J. Mech. Eng., Vol. 1, No. 1, Pp. 1–12, 2022, Doi: Doi.Org/10.54297/Sjme.V1i1.297.
E. Andriani, H. Nur, H. M. Arif, And A. Anjaly, “Pengolahan Selai Tomat Sebagai Prodak Bernilai Ekonomi Tinggi,” Vol. 3, No. May, Pp. 128–134, 2025, Doi: Doi.Org/10.61231/Jp2m.V3i2.3661.
N. Cornelia, Sintiawati, A. Febriansyah, And N. Khasanah, “Implementasi Sensor Berat Dan Gas Pada Sistem Sortasi Tomat Otomatis,” Vol. 17, No. 1, Pp. 170–177, 2026, Doi: Doi.Org/10.31602/Tji.V17i1.21294.
A. S. Herawati, D. A. P. Pancayudha, H. Faidillah, And A. D. Putra, “Penerapan Sistem Otomasi Dalam Penyortiran Tomat Untuk Meningkatkan Produktivitas Pemasaran Hasil Pertanian,” Vol. 02, No. 02, Pp. 90–97, 2025, Doi: Doi.Org/10.61105/Jieti.V2i2.197.
A. O. Gumelar, S. P. Wirman, And N. Fitriya, “Pengembangan Sistem Penyortir Telur Otomatis Berbasis Iot Dengan Integrasi Sensor Massa Dan Ukuran,” Vol. 6, No. 3, Pp. 230–245, 2025.
Lusiyana, E. A. Fasha, R. F. Susanto, D. A. J. D. Putri, F. Fadilatunnisyah, And Y. Budiawati, “Artificial Intelligence Untuk Optimasi Penyimpanan Pasca Panen: Telaah Literatur Sistematis,” Hibrida J. Pertanian, Peternakan, Perikan., Vol. 4, No. 1 Se-Articles, Pp. 51–60, 2025, [Online]. Available: Https://Cibangsa.Com/Index.Php/Hybridajournal/Article/View/828
R. Naturizal, W. Fuadi, And L. Rosnita, “Sistem Pendeteksi Tingkat Kesegaran Daging Ayam Pada Citra Menggunakan Metode Convolutional Neural Network ( Cnn ) Berbasis Android,” Vol. 8, No. 2, Pp. 301–312, 2024.
D. H. Saputra, B. Imran, And Juhartini, “Object Detection Untuk Mendeteksi Citra Buah Buahan Menggunakan Metode Yolo,” J. Kecerdasan Buatan Dan Teknol. Inf., Vol. 2, No. 2, Pp. 70–80, 2023, Doi: Doi.Org/10.69916/Jkbti.V2i2.18.
R. Praseli, N. S. Fatonah, D. Aryani, And H. D. Ariessanti, “Implementasi Perbandingan Yolo V8 , V9 , Dan V11 Dalam Penerapan Tata Tertib K3 : Deteksi Penggunaan Helm Keselamatan Di Lingkungan Konstruksi,” Vol. 6, No. April, Pp. 513–523, 2026, Doi: Doi.Org/10.57152/Malcom.V6i2.2554.
Yanto, F. Aziz, And Irmawati, “Yolo-V8 Peningkatan Algoritma Untuk Deteksi Pemakaian Masker Wajah,” Vol. 7, No. 3, Pp. 1437–1444, 2023, Doi: Doi.Org/10.36040/Jati.V7i3.7047.
F. A. Siwaka, S. D. Panjaitan, And R. R. Yacoub, “Implementasi Algoritma Deep Learning Yolov8 Pada Alat Sortir Kematangan Buah Tomat,” Vol. 7, No. 10, Pp. 1–11, 2025, Doi: Doi.Org/10.2238/52eqv641.
T. Raharjo, H. P. Putro, And H. E. Sari, “Early Detection Of Tomato Plant Diseases Using The Real-Time Detection Transformer ( Rt-Detr ) Model,” Vol. 5, No. 1, Pp. 584–592, 2026, Doi: Doi.Org/10.51903/286bt086.
N. Aula, M. Ula, And L. Rosnita, “Analisis Sentimen Review Customer Terhadap Perusahaan Ekspedisi Jne , J & T Express Dan Pos Indonesia Menggunakan Metode Support Vector Machine ( Svm ) Analysis Of Customer Review Sentiment To Jne , J & T Express And Pos Indonesia Expedition Companies Using Svm Method,” Vol. 9, No. 1, Pp. 81–86, 2023.
Adrik Fikhtiyaaril Amro And O. V. Putra, “Pengembangan Pengendali Karakter Permainan Menggunakan Suara Real-Time Berbasis Transformer,” Pros. Semin. Nas. Sains Dan Teknol., Vol. 15, No. 1 Se-Articles, Pp. 277–282, Jan. 2026, Doi: 10.36499/Psnst.V15i1.14846.
Y. Zhao, W. Lv, S. Xu, J. Wei, G. Wang, Q. Dang, And J. Chen, “Detrs Beat Yolos On Real-Time Object Detection,” In Proc. Ieee/Cvf Conf. Comput. Vis. Pattern Recognit. (Cvpr), Pp. 16965–16974, 2024.
A. N. Sugandi, B. Hartono, And K. Kunci, “Implementasi Pengolahan Citra Pada Quadcopter Untuk Deteksi Manusia Menggunakan Algoritma Yolo,” Pp. 13–14, 2022, Doi: Doi.Org/10.35313/Irwns.V13i01.4186.
A. A. Permana, M. R. Muttaqin, And M. A. Sunandar, “Sistem Deteksi Api Secara Real Time Menggunakan Algoritma You Only Look Once ( Yolo ) Versi 8,” Vol. 8, No. 5, Pp. 10395–10400, 2024.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








