Click on “Download PDF” for the PDF version or on the title for the HTML version.


If you are not an ASABE member or if your employer has not arranged for access to the full-text, Click here for options.

Development and Preliminary Evaluation of a YOLO-Based Fruit Counting and Maturity Evaluation Mobile Application for Blueberries

Published by the American Society of Agricultural and Biological Engineers, St. Joseph, Michigan www.asabe.org

Citation:  Applied Engineering in Agriculture. 41(3): 391-399. (doi: 10.13031/aea.16247) @2025
Authors:   Boyang Deng, Yuzhen Lu, Josh Vander Weide
Keywords:   Artificial intelligence, Blueberry, Fruit counting, Mobile application, Precision horticulture.

Highlights

An iOS-based app (BlueberryCounter) was developed for blueberry detection, counting, and maturity assessment.

The BlueberryCounter features a simple, user-friendly interface that integrates with YOLOv8-based fruit detectors.

Field testing validated the operational functionalities of the mobile app installed on a smartphone.

The BlueberryCounter offers a handy, useful tool for blueberry growers.

Abstract. Harvest maturity and yield estimation of blueberries are important for growers to optimize crop production and stay competitive. It is extremely labor-intensive and infeasible to assess fruit maturity and count fruit for yield estimation manually. The pervasive use of smartphones and the recent advancements in deep learning and edge computing open new opportunities for automated, inexpensive approaches to image-based blueberry detection and counting. This study presents a new, simple mobile application (app) developed using Swift in iOS (version 16), i.e., BlueberryCounter, which enables growers to assess fruit maturity and count rapidly. The app features a user-friendly interface and supports real-time blueberry detection, counting, and maturity estimation based on two YOLOv8-based fruit detectors: YOLOv8m (Fast) and YOLOv8l (Accurate), which offer users flexibility in choosing between speed and accuracy. A live window visualizes real-time detection results alongside the detection logging statistics displayed. The fruit detectors deployed on the app were trained and evaluated on a blueberry canopy image dataset consisting of 17,809 annotated blueberry instances, including 6,958 instances of ripe (“Blue”) and 10,851 unripe (“Unblue”) fruit. The in-season testing showed better accuracy than the cross-season testing, implying more efforts are needed to improve model robustness across different seasons. The operational functionalities of the app were verified on a smartphone in preliminary field testing. The BlueberryCounter, which will be made publicly available, promises to evolve into a useful tool on mobile devices for blueberry growers.

(Download PDF)    (Export to EndNotes)