IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2025i18p1906-d1745156.html
   My bibliography  Save this article

Real-Time Strawberry Ripeness Classification and Counting: An Optimized YOLOv8s Framework with Class-Aware Multi-Object Tracking

Author

Listed:
  • Oluwasegun Moses Ogundele

    (Department of Bio-Systems Engineering, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Niraj Tamrakar

    (Department of Bio-Systems Engineering, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Jung-Hoo Kook

    (Department of Smart Farm, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Sang-Min Kim

    (Department of Smart Farm, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Jeong-In Choi

    (Department of Smart Farm, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Sijan Karki

    (Department of Bio-Systems Engineering, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

  • Timothy Denen Akpenpuun

    (Department of Agricultural and Biosystems Engineering, University of Ilorin, PMB 1515, Ilorin 240103, Nigeria)

  • Hyeon Tae Kim

    (Department of Bio-Systems Engineering, Gyeongsang National University, (Institute of Smart Space Agriculture (ISSA)), Jinju 52828, Republic of Korea)

Abstract

Accurate fruit counting is crucial for data-driven decision-making in modern precision agriculture. In strawberry cultivation, a labor-intensive sector, automated, scalable yield estimation is especially critical. However, dense foliage, variable lighting, visual ambiguity of ripeness stages, and fruit clustering pose significant challenges. To overcome these, we developed a real-time multi-stage framework for strawberry detection and counting by optimizing a YOLOv8s detector and integrating a class-aware tracking system. The detector was enhanced with a lightweight C3x module, an additional detection head for small objects, and the Wise-IOU (WIoU) loss function, thereby improving performance against occlusion. Our final model achieved a 92.5% mAP@0.5, outperforming the baseline while reducing the number of parameters by 27.9%. This detector was integrated with the ByteTrack multiple object tracking (MOT) algorithm. Our system enabled accurate, automated fruit counting in complex greenhouse environments. When validated on video data, results showed a strong correlation with ground-truth counts (R 2 = 0.914) and a low mean absolute percentage error (MAPE) of 9.52%. Counting accuracy was highest for ripe strawberries (R 2 = 0.950), confirming the value for harvest-ready estimation. This work delivers an efficient, accurate, and resource-conscious solution for automated yield monitoring in commercial strawberry production.

Suggested Citation

  • Oluwasegun Moses Ogundele & Niraj Tamrakar & Jung-Hoo Kook & Sang-Min Kim & Jeong-In Choi & Sijan Karki & Timothy Denen Akpenpuun & Hyeon Tae Kim, 2025. "Real-Time Strawberry Ripeness Classification and Counting: An Optimized YOLOv8s Framework with Class-Aware Multi-Object Tracking," Agriculture, MDPI, vol. 15(18), pages 1-28, September.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:18:p:1906-:d:1745156
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/18/1906/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/18/1906/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Seung Hyun Shin & Nibas Chandra Deb & Elanchezhian Arulmozhi & Niraj Tamrakar & Oluwasegun Moses Ogundele & Junghoo Kook & Dae Hyun Kim & Hyeon Tae Kim, 2024. "Prediction of Carbon Dioxide Concentrations in Strawberry Greenhouse by Using Time Series Models," Agriculture, MDPI, vol. 14(11), pages 1-23, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pruethsan Sutthichaimethee & Phayom Saraphirom & Chaiyan Junsiri, 2025. "Long-Term Strategy for Determining the Potential of Climate-Smart Agriculture to Maximize Efficiency Under Sustainability in Thailand," Sustainability, MDPI, vol. 17(8), pages 1-25, April.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:18:p:1906-:d:1745156. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.