Jurnal Pseudocode
Vol 13 No 2 (2026): Volume 13 Nomor 2 September 2026

Optimizing YOLOv8 for Robusta Coffee Ripeness Detection in Unstructured Plantation Environments

Annisa Zilvina Zahra (Institut Asia Malang)
Philip Faster Eka Adipraja (Asia Malang Institute of Technology and Business)



Article Info

Publish Date
01 Sep 2026

Abstract

This study evaluates YOLOv8 performance for detecting Robusta coffee ripeness in unstructured Bondowoso plantations. Models trained on idealized data often degrade in chaotic real-world visual fields. To address this, this research establishes a realistic evaluation framework using a dual-source dataset strategy, leveraging public datasets for training and compiling a specialized primary field dataset from Bondowoso for independent testing under severe occlusion and dynamic illumination. Systematic tuning established an optimal configuration: 640x640 resolution, batch size of 8, and the AdamW optimizer. Internal testing achieved a robust mAP50 of 0.8144. However, in real-world deployment, the mAP50 dropped to 0.5254 due to environmental complexities. Despite this, the system maintained high precision (0.8390) and an exceptional standalone inference speed of 121.51 FPS. While high precision ensures reliable harvest assistance, the significant performance gap, characterized by a severe drop in recall, highlights architectural vulnerabilities in anchor-free detectors when handling dense clustering and foliage obstructions. These findings define the operational boundaries of lightweight detectors, providing a vital baseline for future domain adaptation and optimization in precision agriculture. Keywords: Bondowoso; Ripeness detection; Robusta coffee; Unstructured environment; YOLOv8.

Copyrights © 2026






Journal Info

Abbrev

pseudocode

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering

Description

Pseudocodeis a scientific journal in the information science family that contains the results of informatics research, scientific literature on informatics, and reviews of the development of theories, methods, and application of informatics engineering science. Pseudocode is published by the ...