Related Experiment Video
Updated: Oct 27, 2025

Cereal Crop Ear Counting in Field Conditions Using Zenithal RGB Images
Published on: February 2, 2019
Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
Addie Ira Borja Parico1, Tofael Ahamed2
1Graduate School of Life and Environmental Sciences, University of Tsukuba, Tennodai 1-1-1, Tsukuba, Ibaraki 305-8577, Japan.
This study developed a real-time pear fruit counter using YOLOv4 object detection and Deep SORT tracking. YOLOv4-CSP offers the highest accuracy, while YOLOv4-tiny provides the best speed for agricultural applications.
Area of Science:
- Agricultural Science
- Computer Vision
- Machine Learning
Background:
- Accurate fruit counting is crucial for yield estimation and orchard management.
- Existing methods often lack real-time capabilities or require complex hardware.
Purpose of the Study:
- To develop a robust, real-time pear fruit counter for mobile applications.
- To evaluate different variants of the YOLOv4 object detection model and the Deep SORT tracking algorithm.
- To provide a methodology for selecting optimal models in agricultural science applications.
Main Methods:
- Utilized RGB data with YOLOv4 object detection variants (YOLOv4-CSP, YOLOv4-tiny, YOLOv4) and Deep SORT multiple object tracking.
- Systematically assessed models based on accuracy (AP@0.50), speed (FPS), and computational cost (FLOPS).
- Compared two counting methods within Deep SORT: unique ID and Region of Interest (ROI) line.
Main Results:
- YOLOv4-CSP achieved the highest accuracy (AP@0.50 of 98%).
- YOLOv4-tiny demonstrated superior speed (>50 FPS) and lower computational cost (6.8-14.5 FLOPS).
- The standard YOLOv4 model balanced accuracy and real-time performance (≥24 FPS).
- The unique ID counting method with Deep SORT proved more reliable (F1count of 87.85%) due to YOLOv4's low false negative rate.
Conclusions:
- A real-time pear fruit counter using YOLOv4 and Deep SORT is feasible for mobile applications.
- The choice of YOLOv4 variant depends on specific application needs (accuracy vs. speed/cost).
- The unique ID method in Deep SORT is recommended for reliable counting in this context.
Related Concept Videos
Aggregates Classification
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Fruit Development, Structure, and Function
Extraction: Advanced Methods
Force Classification
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Methods of Classification and Identification
Light Acquisition

