
A robot passes the same bunch of grapes in six consecutive frames. If the six boxes all look right, how many bunches has it seen? An AI model can identify visible clusters in an image. A row count also needs a way to associate those detections while the camera moves. A harvest estimate needs another measurement again: the weight of the fruit.
What did the vineyard researchers test?
Santos and colleagues trained neural networks to detect wine-grape bunches and separate their outlines from surrounding leaves and neighboring fruit. In a test subset with individual outlines for 408 bunches in 27 images, the best reported instance-segmentation F1 score reached 0.91. The authors also tested using three-dimensional associations to track bunches along filmed rows. The segmentation score and the row-tracking task describe different results. Santos and colleagues, grape detection and tracking (PDF)

A robot can approach a bunch from more than one angle. Following the outline across frames helps avoid counting it twice. A bunch that stays behind a leaf throughout the pass remains absent from the visual record. To test how many bunches were missed, inspect marked vines independently and match them to the recorded row.
How demanding is an ordinary vineyard frame?
Yenra counted the bounding-box annotations in Embrapa’s published image split. The 242 training frames contain 3,581 labeled bunches. The 58 test frames contain 850. We tried a simple reference prediction that never sees a picture: always guess the training median of 14 bunches. Its mean absolute error on the test set was 4.79 bunches per frame. Guessing the median for each frame’s cultivar reduced the error to 3.76. Embrapa grape image annotations and split files

These are Yenra’s two baselines for the count task. They use only the training annotations and the cultivar code in the filename. Neither baseline locates fruit. A detector that also provides a map of where each bunch is visible answers a question these guesses cannot. The public split contains the same cultivar categories on both sides, so this comparison leaves performance on an unfamiliar cultivar open.
Download the 58-frame bunch-count comparison (CSV). Each row gives the test frame, cultivar code, labeled count, two training-median estimates and their absolute errors.

Which units are still missing?
To move from a camera pass to a harvest estimate, preserve the row length, the number of unique visible bunches and a field sample relating bunch count to mass. A yield claim requires a later comparison with weighed fruit from the same area. That check can reveal a systematic underestimate on the shaded side of a row even when the frame-level counts look good.

The same distinction between a repeated view and a new individual matters at an orchard trap. From an AI Moth Count to an Orchard Scouting Decision
Try it with the evidence
Try one published test frame
Source notes. Embrapa WGISD bounding boxes. Test frame CDY_2015 has 24 labeled visible bunches. The pooled training median is 14. The training median for its cultivar code CDY is 13. Across all 58 test frames the corresponding mean absolute errors were 4.79 and 3.76 bunches.
- Embrapa grape image annotations and split files
- Yenra’s 58-frame count comparison (CSV)
- Santos and colleagues, grape detection and tracking (PDF)
Prompt. Compute both absolute errors for this frame. Which baseline wins here and which wins across all frames? Name two additional records needed to turn the image count into a harvest estimate.
Check your reading
For CDY_2015 the pooled error is 10 bunches and the cultivar error is 11. The pooled baseline wins this frame. The cultivar baseline has the lower average error across the split. Unique-bunch tracking across frames and a count-to-mass reference are needed, followed by comparison with weighed fruit from the surveyed rows.
Illustrated field notes
Observing the vine and fruit








Moving through a vineyard




Checking management outcomes




