A Comparative Analysis of YOLOv5 and YOLOv8 for Watermelon Sweetness Prediction Based on Their Field-Spot
Main Article Content
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.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work