Jurnal Teknik Pertanian Lampung (Journal of Agricultural Engineering)
Vol. 14 No. 5 (2025): October 2025

Chili Ripeness Level Detection with YOLOv8 and Fuzzy Logic for Harvest Decision Making

Rahmawati, Ninda Yulia Dwi (Unknown)
Rochim, Febry Putra (Unknown)



Article Info

Publish Date
16 Oct 2025

Abstract

Conventional chili harvesting relies on subjective human judgment, resulting in inconsistencies that necessitate a computer vision-based automation system. This study develops a decision support system integrating YOLOv8 for object detection and Mamdani fuzzy logic to assess chili ripeness levels. The YOLOv8 model was trained on 5,598 annotated chili images divided into three ripeness categories: ripe, unripe, and defective (rotten, diseased, or physically damaged), using an 80:20 training-testing split. YOLOv8 classification results serve as inputs to a fuzzy inference system that outputs three linguistic harvest decisions: delay, partial, or full harvest. Experimental evaluation indicates that YOLOv8 achieved 91.2% accuracy, 89.6% precision, and 87.3% recall on the test set. The fuzzy logic system obtained 88% accuracy in harvest decision-making on unseen data, demonstrating output consistency across repeated inferences. Overlapping triangular membership functions enable the fuzzy system to manage intra-class variations and image noise, thereby improving adaptability. These results confirm the feasibility of integrating YOLOv8 and fuzzy logic to support reliable and adaptive automated harvest decisions in chili farming, with potential application in precision agriculture.

Copyrights © 2025






Journal Info

Abbrev

JTP

Publisher

Subject

Agriculture, Biological Sciences & Forestry Engineering

Description

Jurnal Teknik Pertanian Lampung or Journal of Agricultural Engineering (JTEP-L) is a peer-reviewed open-access journal. The journal invites scientists and engineers throughout the world to exchange and disseminate theoretical and practice-oriented researches in the whole aspect of Agricultural ...