Orchard Computer Vision Explained: Fruit Detection, Counting, Tracking and Yield Estimation Architecture for Specialty Crops

Orchard Computer Vision Explained: Fruit Detection, Counting, Tracking and Yield Estimation Architecture for Specialty Crops

Orchard Computer Vision Explained: Fruit Detection, Counting, Tracking and Yield Estimation Architecture

A camera on a tractor driving down an apple row at walking pace sees the same fruit in dozens of consecutive frames. Count detections naively and your yield estimate is wrong by an order of magnitude; count only what is visible and you are wrong in the other direction, because a large share of fruit hides behind leaves. Orchard computer vision is the engineering discipline of closing that gap: turning noisy, repeated, partly occluded glimpses into a per-tree number a grower can plan labor, bins and thinning around.

It matters now because the category just got a large industrial owner. In the week of 19–21 November 2026, John Deere announced it had acquired Orchard Robotics, which operates as Orchard AI and sells vehicle-mounted crop-scanning cameras for specialty crops. Plant-level vision is moving from research plots into the equipment dealer channel.

This post gives you a reference architecture, the math behind each stage, and the failure modes that decide whether the numbers are trustworthy.

What this covers: capture rigs and lighting, YOLO-family detection, multi-object tracking for de-duplication, stereo sizing, RTK geotagging, edge versus cloud compute, calibration against hand counts, and accuracy metrics.

Context and Background

Fruit detection in orchards is not a new research problem. In 2016, Bargoti and Underwood at the Australian Centre for Field Robotics applied Faster R-CNN to apples, mangoes and almonds and reported F1 scores above 0.9 for apples and mangoes (arXiv:1610.03677). That result established that per-image detection was largely a solved-enough problem for well-lit, reasonably visible fruit. The hard part turned out to be everything around the detector.

Two University of Minnesota results illustrate why. The MinneApple benchmark (Hänni, Roy and Isler) released roughly 1,000 orchard images at 1280×720 with over 41,000 labeled apple instances, plus separate patch data for counting clustered fruit (arXiv:1909.06441). A companion yield-mapping study by Roy and colleagues found that apples visible from a single side of the row were only 40.85% to 79.83% of what was actually harvested. Merging reconstructions from both sides brought counts to 91.98%–94.81% of harvested fruit on their validation trees (arXiv:1808.04336).

Read those two numbers together. Detection can be excellent while yield estimation remains poor, because visibility, not classification, dominates the error budget. Every serious system since has been built around three additions: tracking so each fruit is counted once, 3D reasoning so both sides of a row can be merged, and statistical calibration against ground truth.

Commercial systems package exactly this stack. According to reporting on the Deere deal, Orchard AI’s FruitScope Vision cameras mount on tractors, ATVs and other existing farm vehicles, operate at 1–12 mph, analyze hundreds of images per tree per pass, and return per-tree maps of fruit count, size, color and canopy the next morning (Unite.AI; Robotics & Automation News). Deal terms were not disclosed, and Deere framed equipment integrations such as bloom-count-driven spray prescriptions as possibilities rather than committed timelines.

The engineering pattern is also close to factory inspection, which we covered in our industrial machine vision defect detection guide. The difference is that an orchard has no conveyor, no controlled enclosure, and no fixed camera pose. The vehicle is the conveyor, the sun is the light source, and the tree is the fixture. Most of the architecture below exists to compensate for those three facts.

The Orchard Computer Vision Reference Architecture

An orchard computer vision system is a moving sensor pipeline. Synchronized cameras with active lighting capture each row; an edge detector finds fruit per frame; a multi-object tracker links detections so each fruit is counted once; depth and GNSS place every fruit on a specific tree; and a cloud stage calibrates visible counts into yield using hand-counted sample trees.

Orchard computer vision reference architecture from camera rig to yield map

Figure 1: Orchard computer vision reference architecture, from strobed camera capture through edge detection and tracking to calibrated per-tree yield maps.

The figure reads top to bottom. On the vehicle, a camera pair and strobe fire together, and every frame is stamped with an RTK GNSS position and IMU attitude. An edge computer runs detection and tracking in real time, emits per-fruit tracks with 3D positions, and aggregates them into per-tree records. Only compact records and sampled images travel to the cloud, where calibration models convert visible counts into estimated yield and publish maps to the farm management system.

Capture is a physics problem before it is an AI problem

The camera sees sunlit fruit on one side of the canopy and deep shadow on the other, and that changes minute by minute. Penn State researchers addressed this with LEDs overdriven to six times their rated current, flashing several times per second in sync with the camera. Over 11 hours, that reduced the standard deviation of hue, saturation and value by an average of 85% compared with auto-exposure. It also corrected motion blur with the camera moving at about 4 mph (Penn State).

The motion-blur arithmetic explains why a strobe beats simply shortening exposure. Take an illustrative rig: 1,000-pixel focal length, canopy at 1.5 m, vehicle at 5 km/h, which is 1.39 m/s. A 1 ms exposure smears the image by 1.39 mm in the scene, which is about 0.93 pixels at that range. A 4 ms exposure gives about 3.7 pixels of smear, enough to soften the edge of a 50-pixel apple and bias size estimates. A strobe delivers a pulse far shorter than the shutter while overpowering sunlight, so the effective exposure is set by the light, not the sensor.

Global-shutter sensors matter for the same reason. A rolling shutter reads rows at slightly different times, so a laterally moving canopy skews into a parallelogram, distorting both stereo matching and fruit shape. Night scanning with strobes is the extreme version of the same idea: the sun is removed from the equation entirely, at the cost of operator hours.

Detection is the cheap part, if you pick the right head

Per-frame detection uses single-stage detectors almost universally now. The YOLO family dominates because it exports cleanly to TensorRT and runs at video rate on embedded GPUs. Ultralytics released YOLO26 generally in January 2026, describing a fully end-to-end, NMS-free architecture, removal of Distribution Focal Loss for easier export, and up to 43% faster CPU inference (Business Wire). The NMS-free design matters in orchards because dense fruit clusters are exactly where non-maximum suppression wrongly merges adjacent apples.

Bounding boxes are enough for counting. Instance segmentation earns its extra cost when you need size or color, because a mask gives you the fruit’s visible outline rather than a rectangle that includes leaf pixels. Gené-Mola and colleagues showed that combining instance segmentation with structure-from-motion raised F1 from 0.816 for 2D detection to 0.881 for 3D detection and location (Computers and Electronics in Agriculture, vol. 169, 2020). We compared detector families in more depth in RT-DETR versus YOLO for edge deployment.

One licensing note belongs in any architecture review. Ultralytics states that YOLO models and trained weights fall under AGPL-3.0 by default, and that embedded deployments in hardware or edge devices, or proprietary commercial products, need an Enterprise License (Ultralytics license). For a commercial scanner this is a procurement decision, not a footnote.

Tracking and 3D placement turn detections into fruit

The tracker is the stage that converts detections into a count. If each fruit appears in 60 frames, the system must produce one identity, not 60. Re-identifying the same apple after it disappears behind a branch and reappears is the central technical challenge of fruit counting computer vision.

Liu and colleagues framed the modern approach in 2018: segment fruit per frame, track with a Kalman-filter-corrected optical flow tracker and Hungarian assignment, then use structure-from-motion to estimate 3D positions and reject double-counted tracks (arXiv:1804.00307). The 3D step is what lets you merge two sides of a row and drop tracks that a tracker fragmented. Today ByteTrack is the usual default for the 2D association step, for reasons covered in the walk-through below.

GNSS then assigns each 3D fruit to a tree. With RTK corrections, survey receivers specify horizontal accuracy around 1 cm + 1 ppm RMS; NovAtel’s SMART2, for example, lists that figure with position output up to 20 Hz (NovAtel docs). Without RTK, the same receiver’s single-point accuracy is 1.2 m RMS, which in a high-density planting with trees under a meter apart means fruit lands on the wrong tree. Per-tree yield maps effectively require RTK or a tree-trunk detector as an anchor.

Walk-through: From Frames to a Per-Tree Count

This section follows one fruit through the pipeline and then sizes the compute. The goal is to make every stage’s error contribution explicit, because yield estimation machine learning is mostly error accounting.

Per-frame sequence from strobe trigger through detection, tracking and geotagging

Figure 2: Per-frame processing sequence on the vehicle. The strobe trigger anchors the timestamp that ties image, GNSS fix and IMU attitude together.

The sequence matters because the camera, GNSS and IMU run on different clocks. The cleanest design uses the strobe trigger, or the camera’s hardware exposure signal, as the master event and timestamps GNSS and IMU samples against it, typically with PPS-disciplined time. If image and position drift by even 50 ms at 1.39 m/s, every fruit shifts about 7 cm along the row, which is enough to move edge fruit onto a neighboring tree in a dense planting.

Why tracking is non-negotiable: the overlap arithmetic

Consider the illustrative rig again: 1,920-pixel-wide sensor, 1,000-pixel focal length, canopy at 1.5 m. The horizontal field of view at the canopy is 1,920 × 1.5 / 1,000, or 2.88 m. At 1.39 m/s and 30 frames per second, the vehicle moves 4.6 cm per frame. A fruit therefore stays in view for roughly 2.88 / 0.046, or about 62 frames.

Summing detections over frames would overcount by roughly 60 times. Sampling one frame every 2.88 m avoids double counting but throws away the multiple viewpoints that reveal partly occluded fruit. Tracking is the only option that uses every view while counting once.

ByteTrack’s two-stage association, and why it suits fruit

ByteTrack, by Zhang and colleagues, keeps low-confidence detections that most trackers discard. It first matches high-score boxes to existing tracks, then runs a second association that matches the remaining tracks against low-score boxes. The paper reports 80.3 MOTA, 77.3 IDF1 and 63.1 HOTA on the MOT17 test set at about 30 FPS on a V100 (arXiv:2110.06864).

That second pass is exactly what orchard footage needs. A fruit sliding behind a leaf drops in confidence before it vanishes; ByteTrack holds its identity through that low-confidence stretch instead of ending the track and starting a new one later. DeepSORT, by Wojke and colleagues, instead adds an appearance embedding to association (arXiv:1703.07402). Appearance features help with people in crowds, but apples of one cultivar look nearly identical, so the embedding adds compute for little discrimination. Motion and geometry carry most of the signal.

ByteTrack-style two-stage association and count finalization for fruit counting

Figure 3: Two-stage association with count finalization. Tracks are counted only after they survive a minimum length and a 3D de-duplication check.

The counting decision happens at track end, not track start. A track becomes a counted fruit only if it lived for a minimum number of frames and its 3D position does not collide with an already-counted fruit from the opposite side of the row. Both thresholds are tuning parameters you calibrate per crop and rig.

A runnable counting sketch

The code below is a deliberately small, dependency-light illustration of the counting logic: two-stage IoU association, minimum track length, and per-tree binning by along-row position. It is not production ByteTrack; there is no Kalman filter, and the along-row coordinate stands in for an RTK-derived position.

import numpy as np

def iou(a, b):
    x1, y1 = max(a[0], b[0]), max(a[1], b[1])
    x2, y2 = min(a[2], b[2]), min(a[3], b[3])
    inter = max(0.0, x2 - x1) * max(0.0, y2 - y1)
    area = lambda r: (r[2] - r[0]) * (r[3] - r[1])
    return inter / (area(a) + area(b) - inter + 1e-9)

def greedy_match(tracks, dets, thr):
    pairs, used_t, used_d = [], set(), set()
    scores = [(iou(t["box"], d["box"]), ti, di)
              for ti, t in enumerate(tracks) for di, d in enumerate(dets)]
    for s, ti, di in sorted(scores, reverse=True):
        if s < thr or ti in used_t or di in used_d:
            continue
        pairs.append((ti, di)); used_t.add(ti); used_d.add(di)
    return pairs, used_t, used_d

class FruitCounter:
    def __init__(self, high=0.5, low=0.1, iou_thr=0.3,
                 max_lost=10, min_len=5, tree_spacing_m=1.0):
        self.high, self.low, self.iou_thr = high, low, iou_thr
        self.max_lost, self.min_len = max_lost, min_len
        self.spacing = tree_spacing_m
        self.active, self.next_id = [], 0
        self.per_tree = {}

    def _finalize(self, t):
        if t["hits"] >= self.min_len:
            tree = int(np.median(t["along_m"]) // self.spacing)
            self.per_tree[tree] = self.per_tree.get(tree, 0) + 1

    def update(self, dets, along_m):
        hi = [d for d in dets if d["score"] >= self.high]
        lo = [d for d in dets if self.low <= d["score"] < self.high]
        # Stage 1: high-confidence boxes
        p1, ut, ud = greedy_match(self.active, hi, self.iou_thr)
        for ti, di in p1:
            self._hit(self.active[ti], hi[di], along_m)
        # Stage 2: leftover tracks vs low-confidence boxes
        rest = [t for i, t in enumerate(self.active) if i not in ut]
        p2, ut2, _ = greedy_match(rest, lo, self.iou_thr)
        for ti, di in p2:
            self._hit(rest[ti], lo[di], along_m)
        matched = {id(self.active[i]) for i in ut} | {id(rest[i]) for i in ut2}
        for t in self.active:
            if id(t) not in matched:
                t["lost"] += 1
        # New tracks start only from unmatched high-score boxes
        for di, d in enumerate(hi):
            if di not in ud:
                self.active.append({"id": self.next_id, "box": d["box"],
                                    "hits": 1, "lost": 0,
                                    "along_m": [along_m]})
                self.next_id += 1
        keep = []
        for t in self.active:
            if t["lost"] > self.max_lost:
                self._finalize(t)
            else:
                keep.append(t)
        self.active = keep

    def _hit(self, t, d, along_m):
        t["box"], t["lost"] = d["box"], 0
        t["hits"] += 1
        t["along_m"].append(along_m)

    def flush(self):
        for t in self.active:
            self._finalize(t)
        self.active = []
        return dict(sorted(self.per_tree.items()))

# Synthetic demo: one fruit drifting left as the vehicle moves
counter = FruitCounter()
for f in range(40):
    x = 900 - 15 * f
    score = 0.8 if f % 7 else 0.25   # periodic leaf occlusion
    dets = [{"box": (x, 400, x + 50, 450), "score": score}] if x > 0 else []
    counter.update(dets, along_m=0.046 * f)
print(counter.flush())   # expect one fruit on tree 0

Two design choices in the sketch carry over to production. New tracks are born only from high-confidence boxes, which suppresses leaf-shadow false positives. Low-confidence boxes can only extend existing tracks, which is how occlusion-induced confidence dips are bridged without inventing fruit.

Sizing fruit with stereo, and how big the error really is

Fruit size drives packout value, so many systems estimate diameter. With a calibrated stereo pair, depth is Z = f·B/d, where f is focal length in pixels, B is baseline and d is disparity. Differentiating gives the depth error δZ ≈ Z²·δd / (f·B).

Plug in illustrative numbers: f = 1,000 px, B = 0.12 m, Z = 1.5 m, disparity error 0.25 px. Depth error is 2.25 × 0.25 / 120, or about 4.7 mm, which is 0.3% of range. An 80 mm apple at that distance spans about 53 pixels, so a one-pixel boundary error is about 1.9% of diameter. The lesson is that at orchard ranges, segmentation edge quality, not stereo depth, dominates size error. Partial occlusion is worse still: a mask that misses a hidden quarter of the fruit underestimates diameter unless you fit a circle or ellipse to the visible contour.

Stereo calibration and the mounting transform between camera and GNSS antenna follow the same mathematics as robot camera calibration. Our guide to hand-eye calibration with OpenCV covers solving AX = XB, which is the right tool for estimating a rigid camera-to-antenna extrinsic on a vehicle.

Edge compute and capacity planning

A 2026 study from Ss. Cyril and Methodius University measured exactly this workload on embedded hardware. Running YOLO26s as TensorRT FP16 with ByteTrack inside NVIDIA DeepStream on a Jetson Orin Nano Super, the full pipeline sustained about 30 FPS timestamp-synchronized with no frame loss. Module power during the video pipeline averaged 8.41–10.14 W (arXiv:2609.13551).

That is one camera stream on a module NVIDIA rates at up to 67 TOPS and 7–25 W. Larger rigs step up through Orin NX at up to 157 TOPS or AGX Orin at up to 275 TOPS, and the Jetson AGX Thor series lists up to 2,070 FP4 TFLOPS at 40–130 W (NVIDIA Jetson modules). For a four-camera rig running segmentation, an Orin NX or AGX Orin class module is a reasonable starting point to profile, not a guarantee. We benchmarked the small end in Hailo-10H versus Jetson Orin Nano for edge vision.

Data volume is the other half of capacity planning. As an illustrative estimate, two 1080p cameras at 30 FPS with 0.5 MB JPEG frames generate about 30 MB/s, or roughly 108 GB per hour. Cellular backhaul from an orchard cannot carry that. The architecture therefore runs inference on the vehicle, uploads only tracks, per-tree aggregates and a sampled image subset, and offloads full-resolution footage over Wi-Fi at the shed if it is needed for retraining.

Scan time is predictable. With an illustrative 3.5 m row spacing, a hectare contains about 2,857 m of alley. At 5 km/h, one pass takes about 34 minutes, and because each pass images the facing sides of two rows, every row needs passes from both alleys to see both faces. These numbers tell a grower whether one rig can cover a block between bloom and harvest.

Where each stage should run

The split between vehicle, farm shed and cloud is the main architectural decision in precision agriculture computer vision after sensor choice. The matrix below summarizes the defaults this architecture recommends; it reflects engineering judgment, not a published benchmark.

Stage Vehicle edge Shed server Cloud Why
Capture, strobe sync, timestamping Required No No Hard real-time, hardware triggered
Per-frame detection Default Reprocessing Reprocessing Raw video is too large to upload
2D tracking and counting Default Optional Optional Needs every frame in order
Both-sides 3D merge Possible Good fit Good fit Needs both alleys, not latency critical
Calibration and yield models No Optional Default Needs hand counts and history
Retraining on new crops No Possible Default Needs labeled data and GPUs
Spray or thinning prescriptions Consume No Produce Generated centrally, executed in cab

The pattern is simple: anything that must see every frame stays on the vehicle, and anything that needs history, ground truth or both sides of a row moves off it. Containerizing the edge stack makes reprocessing at the shed trivial, because the same image runs on vehicle and server.

Datasets and labeling budget

Public datasets give you a starting point, not a finished model. MinneApple offers 670 training and 331 test images for detection and segmentation, collected with a phone camera at the University of Minnesota’s Horticultural Research Center in 2015–2016. Fuji-SfM, published in Data in Brief in 2020, adds 288 segmentation images, 582 structure-from-motion images and a georeferenced point cloud of 11 Fuji trees with 1,455 apples labeled in 3D. The ACFR orchard dataset from Bargoti and Underwood covers apples, mangoes and almonds.

None of these match your cultivar, training system, camera and lighting. Plan to label your own frames for every new combination, and label sequences, not isolated images, because you need identity annotations to tune and evaluate the tracker. A tracker cannot be scored with HOTA on a dataset that has no persistent IDs.

Calibration: Turning Visible Fruit into Yield

In orchard computer vision, visible counts are not yield. They are an index that correlates with yield, and the correlation has to be measured for every block, cultivar, training system and growth stage. This is the step most demos skip and every commercial deployment depends on.

Calibration loop that converts visible fruit counts into yield estimates using hand counts

Figure 4: The calibration loop. Hand-counted sample trees fit a visible-to-actual model; harvest records validate it and feed the next season.

The occlusion factor and how to estimate it

The simplest model is yield = k × visible count, where k is an occlusion correction. Roy and colleagues’ single-side visibility of 40.85%–79.83% implies k values from roughly 1.25 to 2.45 on their trees, and that spread is the point. A single global k is wrong; k varies with canopy density, training system and fruit load.

In practice you stratify. Pick sample trees across the vigor and load range detected by the scan, hand-count them completely, and fit a regression of true count on visible count. A linear model with an intercept can beat a pure ratio when heavily loaded trees hide proportionally more fruit in clusters; test both on held-out trees rather than assuming. The number of sample trees is a statistical question: enough to bound the regression error at the confidence the grower needs. As a rule of thumb rather than a published standard, that means tens of trees per block, not three.

Here is an illustrative worked example, with invented numbers chosen only to show the arithmetic. Suppose 20 hand-counted trees average 180 visible fruit and 270 actual fruit, giving a ratio estimate of k = 1.5. The block has 2,000 trees with a mean visible count of 170, so the calibrated estimate is 2,000 × 170 × 1.5, or 510,000 fruit. If the hand-counted ratios have a standard deviation of 0.25, the standard error of the mean k is 0.25 / √20, about 0.056. A rough 95% interval on k is therefore 1.39 to 1.61, which puts the block estimate between about 472,000 and 548,000 fruit. Doubling the sample to 40 trees narrows that interval by about 29%, because error shrinks with the square root of sample size.

The same arithmetic tells you when to stop sampling. If the grower plans bins in units of 10,000 fruit and the interval is already narrower than a few bins, extra hand counts cost labor without changing decisions.

Accuracy metrics that mean something

Report counting accuracy at the level decisions are made. Per-tree mean absolute percentage error, MAPE, is the mean of |predicted − actual| / actual across trees. Block-level error is usually much smaller, because per-tree errors partly cancel. A system with 15% per-tree MAPE can still deliver a block total within a few percent. Both numbers are honest; quoting only the second is not.

Tracking quality deserves its own metrics. HOTA, from Luiten and colleagues in IJCV 2021, balances detection, association and localization accuracy and is more informative than MOTA for counting, because association failures are what create double counts. The Skopje study is a useful reality check. On held-out APPLE MOTS sequences, HOTA ranged from 0.345 to 0.538 and relative count error from 6.2% to 51.6%. Aggregated, the system under-counted by 30.0%, and missed crossing events, rather than false positives, drove most of that error.

Other published results look better, and you should read them carefully. Yang and colleagues reported MOTA of 85.6% and R² of 0.98 between predicted and true counts with a YOLOv8s variant and a BoT-SORT variant on seven apple test videos (Sensors, 2024). High R² across videos says the count is a good index. It does not say the absolute count is correct; their own fit, y = 1.04x + 28.24, has a nonzero intercept. That is exactly why the calibration loop in Figure 4 exists.

Where the data goes next

A per-tree record is small: tree ID, coordinates, visible count, calibrated estimate with an uncertainty band, mean size, color index and canopy metrics. That fits naturally in a time-series or geospatial store, keyed by tree and scan date. We used a similar ingestion pattern in our real-time asset tracking tutorial with MQTT 5 and InfluxDB 3.

From there, records become yield maps, harvest plans and prescriptions. Equipment-facing outputs typically move as ISOBUS task data or vendor APIs, so a variable-rate thinning sprayer or a platform crew schedule can consume them. Deere’s public description of the Orchard AI integration, bloom counts feeding a spray prescription delivered to an in-cab display, is this exact loop, presented as a direction rather than a dated product.

Trade-offs, Gotchas, and What Goes Wrong

Calibration drift is the silent killer of orchard computer vision. A k factor fitted at June drop is wrong at harvest because fruit grows, foliage thickens and visibility changes. Treat every calibration as specific to a block, cultivar and phenological stage, and re-sample when any of the three changes.

Tracker fragmentation inflates counts; aggressive merging deflates them. A track that breaks behind a branch becomes two fruit unless 3D de-duplication catches it. Raising the minimum track length suppresses fragments but also deletes genuinely brief, heavily occluded fruit. The Skopje results show the second failure is real: under-counting from missed events was the dominant error.

Both-sides merging needs consistent geometry. If the two alleys are scanned on different days, wind moves branches and fruit, and 3D matching degrades. Scan both sides in the same session when you can, and keep the RTK base station and camera extrinsics unchanged.

Lighting fails at the edges. Strobes overpower sunlight only within their effective range, so the far side of a wide canopy is underexposed. Hail nets and shade cloth change color balance. Dust on lenses degrades detection gradually, with no alarm, so add an image-quality monitor that flags blur and exposure drift.

Models do not transfer across crops as well as demos suggest. A detector trained on red apples on a trellis struggles with green cultivars, clustered cherries or nuts in a deep canopy. Budget labeling for every new crop and training system. MinneApple and Fuji-SfM are good for bootstrapping, but neither is your orchard: Fuji-SfM, for example, covers 11 Fuji trees in one Catalan orchard with 1,455 annotated apples.

Licensing and data ownership are architectural decisions. AGPL-licensed detectors embedded in a commercial scanner need a commercial license. Per-tree yield data is commercially sensitive, so define upfront who owns it when a scanning vendor, equipment maker and grower all touch it.

Next-morning latency is a feature, not a bug. Running heavy 3D reconstruction and calibration overnight in the cloud is often the right trade against an expensive in-cab computer. Reserve real-time edge output for actions that need it, such as variable-rate spraying.

Practical Recommendations

Start an orchard computer vision project from the decision, not the model. If the grower needs block totals for bin and labor planning, a robust count index plus stratified hand counts may suffice, and per-tree accuracy matters less. If the goal is variable-rate thinning or per-tree crop-load management, invest in RTK, 3D de-duplication and per-tree validation, because errors land on individual trees.

Fix capture before tuning models; most orchard computer vision accuracy is won or lost at the sensor. A synchronized strobe, global-shutter cameras, and hardware-timestamped GNSS and IMU will improve every downstream metric more than swapping detector versions. Then pick the smallest detector that holds recall on your hardest sequences, export it to TensorRT, and measure pipeline throughput, not detector throughput. The two differ: in the Skopje study the detector alone ran at 66–75 images per second, while the full synchronized pipeline settled at about 30 FPS.

Treat calibration as a recurring operation with an owner, a schedule and a budget. Publish per-tree MAPE and block-level error side by side, plus HOTA for the tracker, and keep a held-out set of hand-counted trees that is never used for fitting.

  • Synchronize strobe, camera exposure, GNSS and IMU on one hardware time base.
  • Use RTK GNSS or trunk detection to assign fruit to trees; single-point GNSS is not enough.
  • Track with a two-stage associator and count only finalized, de-duplicated tracks.
  • Scan both sides of each row in the same session and merge in 3D.
  • Hand-count a stratified sample of trees per block, per stage, every season.
  • Report per-tree MAPE, block error and HOTA, never a single flattering number.
  • Upload tracks and aggregates, not raw video, over field connectivity.
  • Confirm detector licensing before you ship hardware.

Frequently Asked Questions

How accurate is computer vision fruit counting in orchards?

Accuracy depends heavily on the level you measure. Published research shows block or multi-tree counts within roughly 5–8% of harvested fruit when both sides of the row are merged in 3D, as in the University of Minnesota yield-mapping study. Per-tree errors are larger, and a 2026 embedded-hardware study reported relative count errors from 6.2% to 51.6% across individual test sequences. Treat any single accuracy figure skeptically and ask whether it is per tree or per block, and whether it was calibrated against hand counts.

Why do fruit counting systems need object tracking?

A camera moving along a row sees each fruit in many consecutive frames. With an illustrative 2.88 m field of view and 4.6 cm of travel per frame, a fruit stays in view for about 60 frames. Summing per-frame detections would overcount enormously. Multi-object tracking links those detections into one identity per fruit, so each is counted once. Tracking also uses multiple viewpoints, which helps reveal fruit that is partly hidden by leaves in some frames but visible in others.

Is YOLO good for fruit detection?

YOLO-family detectors are the practical default for fruit detection because they run at video rate on embedded GPUs and export cleanly to TensorRT. YOLO26, released by Ultralytics in January 2026, is NMS-free, which helps with dense fruit clusters where suppression wrongly merges neighbors. Use instance segmentation variants when you need fruit size or color. Remember the licensing: Ultralytics models are AGPL-3.0 by default, and embedded commercial deployments need an enterprise license.

What is the difference between ByteTrack and DeepSORT for fruit counting?

DeepSORT adds a learned appearance embedding to motion-based association, which helps distinguish visually different objects such as people. ByteTrack keeps low-confidence detections and uses them in a second association stage, which bridges the confidence dips that occur when fruit slides behind leaves. Because fruit of one cultivar look almost identical, appearance features add compute with limited benefit. Many orchard pipelines therefore favor ByteTrack-style association plus 3D de-duplication.

How do you convert visible fruit counts into yield estimates?

You calibrate. Hand-count a stratified sample of trees completely, then fit a regression of true count on the visible count the vision system produced. The fitted correction accounts for fruit hidden by foliage and clusters. Research shows single-side visibility can range from about 41% to 80% of harvested fruit, so one global factor fails. Multiply calibrated counts by estimated fruit size or weight to get mass yield, and validate against harvest records each season.

Can orchard computer vision run on edge devices like Jetson?

Yes. A 2026 study ran YOLO26s with ByteTrack inside NVIDIA DeepStream on a Jetson Orin Nano Super at about 30 FPS with synchronized timestamps and no frame loss, drawing roughly 8–10 W at the module. Multi-camera rigs or segmentation models need larger modules such as Orin NX or AGX Orin. Edge inference also solves bandwidth: raw video can exceed 100 GB per hour, so vehicles upload tracks and aggregates instead.

Further Reading

By Riju — about

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *