Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

A Comparative Analysis of YOLOv5 and YOLOv8 for Watermelon Sweetness Prediction Based on Their Field-Spot

JURNAL INFOTEL · Vol. 18 No. 2 (2026) · pp. 213–225

DOI
10.20895/infotel.v18i2.1319
ISSN
2085-3688, 2460-0997
Published
2026-06-30
Publisher
LPPM Institut Teknologi Telkom Purwokerto
Language
en
License
creativecommons.org/licenses/by-sa/4.0/

Abstract

Despite its popularity and high demand in the market, determining the sweetness and ripeness of watermelon remains difficult. Traditionally, ripe and sweet watermelon is identified by visual inspection of its weight, tapping sound, and visual characteristics such as color and field spot, which indicate its maturity time on the vine. However, this inspection method is frequently viewed as subjective, time-consuming, and prone to error. The objective of this research is to use an object identification algorithm to classify the sweetness level of watermelon based on its field spot, leading to a more precise and consistent evaluation. The architectures used in this study were YOLOv5 and YOLOv8. Both models were developed using 333 watermelon image data, which were categorized into two categories: sweet and non-sweet. The evaluation is carried out by contrasting the performance of both models concerning the values of precision, recall, and mean absolute performance (mAP 50 and mAP 50-90). The findings indicated that the YOLOv5 outperformed the YOLOv8 in determining the sweetness level of the watermelon, with mAP 50 values of 85.3\% and 81.9\%, respectively. Moreover, in contrast to YOLOv5, YOLOv8 necessitated an extensive training period.

Keywords

Collaboration network of the authors

5 authors · 10 co-authorship links

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S4210188896, first harvested 22 Nov 2026, last seen 22 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">A Comparative Analysis of YOLOv5 and YOLOv8 for Watermelon Sweetness Prediction Based on Their Field-Spot</dc:title><dc:creator>Rahmad Dawood</dc:creator><dc:creator>Maya Fitria</dc:creator><dc:creator>Muhammad Hafez Al-Assad</dc:creator><dc:creator>Yudi Candra</dc:creator><dc:creator>Silvia Roza</dc:creator><dc:subject>watermelon</dc:subject><dc:subject>YOLOv5</dc:subject><dc:subject>YOLOv8</dc:subject><dc:subject>object detection</dc:subject><dc:subject>fruit maturity</dc:subject><dc:subject>image classification</dc:subject><dc:subject>model comparison</dc:subject><dc:description xml:lang="en">Despite its popularity and high demand in the market, determining the sweetness and ripeness of watermelon remains difficult. Traditionally, ripe and sweet watermelon is identified by visual inspection of its weight, tapping sound, and visual characteristics such as color and field spot, which indicate its maturity time on the vine. However, this inspection method is frequently viewed as subjective, time-consuming, and prone to error. The objective of this research is to use an object identification algorithm to classify the sweetness level of watermelon based on its field spot, leading to a more precise and consistent evaluation. The architectures used in this study were YOLOv5 and YOLOv8. Both models were developed using 333 watermelon image data, which were categorized into two categories: sweet and non-sweet. The evaluation is carried out by contrasting the performance of both models concerning the values of precision, recall, and mean absolute performance (mAP 50 and mAP 50-90). The findings indicated that the YOLOv5 outperformed the YOLOv8 in determining the sweetness level of the watermelon, with mAP 50 values of 85.3\% and 81.9\%, respectively. Moreover, in contrast to YOLOv5, YOLOv8 necessitated an extensive training period.</dc:description><dc:publisher>LPPM Institut Teknologi Telkom Purwokerto</dc:publisher><dc:date>2026-06-30</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:identifier>https://doi.org/10.20895/infotel.v18i2.1319</dc:identifier><dc:identifier>10.20895/infotel.v18i2.1319</dc:identifier><dc:source>JURNAL INFOTEL; Vol 18 No 2 (2026); 213-225</dc:source><dc:source>2085-3688</dc:source><dc:source>2460-0997</dc:source><dc:language>en</dc:language><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>