Demonstrations of computer vision applied to agriculture are almost always convincing: a camera, a model, rectangles appearing on plants, fruit or animals, and a flattering success rate. The path from that demonstration to a product that serves a farm every day is far less straight, and many projects stop along the way. A project in computer vision in agriculture rarely fails for a single reason, and almost never for the reason first cited.
This article is the thirteenth in a series on the subject. It extends the overview of computer vision in agriculture by examining the best documented causes of failure, and it precedes the study of the role of annotated data in agtech, which is the main remedy. The figures quoted come from studies identified at the end of the article, and numerical examples without a source are flagged as illustrative.
Why a computer vision in agriculture project rarely fails for the reason people assume
The first explanation that comes to mind is technical: the algorithm was not good enough. It is rarely the right one. In the study presented below, two very different architectures rank the datasets in almost the same order: it is the data, more than the architecture, that makes the difference. We will come back to this with figures. Failures are concentrated elsewhere. They stem from models evaluated under poor conditions, from calendars dictated by nature rather than by the project manager, from ambiguous labels, from an economic equation that the farmer does not validate, and from underestimated hardware constraints. Each of these causes is avoidable, provided it is identified before launch rather than discovered at deployment. Failure is used here to mean three distinct situations: the project abandoned before it has produced a model, the model that works in the laboratory but is never deployed, and the deployed product that users stop using. The causes overlap, but the symptoms differ, and it helps to know which of the three one is trying to avoid.First cause: a computer vision in agriculture model brilliant in validation, mediocre in the field
This is the best documented cause. A model evaluated on a portion of the images that were used to train it almost always obtains excellent results, because those images resemble one another: same plots, same devices, same lighting conditions, sometimes the same plants photographed from neighbouring angles. This evaluation does not measure the model’s ability to work elsewhere. A recent study, the AgrI Challenge, gives a numerical demonstration. Students split into eleven teams collected images of six tree species themselves, with more than 40 different device models, to build a set of about 47,000 images. Each team trained a model on its own images, then tested it on those of the other teams. With a DenseNet121 network, mean validation accuracy reached 97.40%, but mean accuracy on the other teams’ images fell to 81.19%, with a spread from 48.2% to 95.3% depending on the team. With a Swin transformer, the figures were 98.59% and 87.21%. The model was therefore not bad: it was excellent on data that resembled its training data, and very uneven on the rest. The trap is that the first measurement is the one at hand, while the second is the one that matters for deployment. A project that carries out cross-evaluation only after installation at the first client discovers the gap at the worst moment. The remedy is well known and inexpensive: leave an entire site, an entire season or an entire device model out of training, and measure performance on what was left out. This rule, simple to state, changes the nature of conversations in a computer vision in agriculture team. One stops presenting a single score and reports a distribution: the mean, the worst case, and the list of conditions where the model is weak. A client or funder who reads this table understands better what they are buying than with an isolated percentage.What the generalisation gap shows in a computer vision in agriculture project
The AgrI Challenge figures allow a few calculations. The mean gap between validation and testing on other teams’ images is 16.20 points for DenseNet121 and 11.37 points for the Swin transformer, according to the values in the study. When data from all the teams is pooled, with a validation that leaves out an entire team each time, mean accuracy on the team left out rises to 95.31% for DenseNet121 and 97.04% for Swin, and the gaps fall to 2.82 and 1.78 points. The reduction in the gap is therefore (16.20 − 2.82) / 16.20, or 82.6%, for the first network, and (11.37 − 1.78) / 11.37, or 84.3%, for the second. The team worst served by isolated training gains 25.57 points once the data is pooled. The authors also note that the ranking of teams stays almost identical from one architecture to the other, with rank correlations of 0.94 and 0.97, which indicates that the differences come from the datasets more than from the models. Their conclusion is that data diversity is the main determinant of robustness. The practical lesson is simple. For a project in computer vision in agriculture, it is better to spend the budget on diversifying image sources, varying sites, devices and conditions, than on comparing architectures on a homogeneous set. And evaluation must always be done on data from sources absent from training, failing which the announced result says nothing about the field.Second cause: the calendar of the seasons
In industry, a vision project iterates as fast as the team allows: collect, annotate, train, test on the production line the next day. In agriculture, nature sets the pace. A growth stage, a disease, a state of ripeness is visible for only a few weeks a year. If the model is not ready during that window, one must wait for the following season to test it. An illustrative example shows what is at stake. Suppose an observation window of 14 weeks, and a full cycle made of 2 weeks of collection, an annotation period, 1 week of training and 2 weeks of field testing. With 2 weeks of annotation, the cycle lasts 7 weeks: two fit in a season. With 8 weeks of annotation, the cycle lasts 13 weeks: only one fits. To complete four cycles, the first project needs 2 seasons, the second 4. This simplified calculation shows that annotation turnaround is not a logistical detail: it determines the number of seasons needed to bring a model to maturity. A project that plans annotation as it goes, with batches delivered during the season rather than after, sometimes gains a year or two. This is one of the reasons why annotation planning must follow the agronomic calendar, not the project calendar. The same reasoning applies to calls for tenders and grants, whose deadlines almost never coincide with the observation window. A team that obtains funding in October for a crop whose useful period ends in June knows that it will have no new data before the following year. In a computer vision in agriculture project, the first scoping question is therefore often: when does the next window open, and what must be ready that day?Third cause: labels that nobody has defined
Annotating an agricultural image often requires specialised knowledge. A survey of the AI in agriculture literature recalls this: labelling frequently requires agronomic knowledge, for example to identify a disease or map weeds, and it is slow and expensive, particularly for small farms with limited resources. When guidelines are vague, two honest annotators produce different labels, and the model learns the average of their disagreements. The problem is not limited to crops. In the field of lameness in dairy cows, a reference review stresses that locomotion scoring is subjective and performs poorly on mild cases. When the ground truth is itself uncertain, a model that does not agree with it is not necessarily wrong, and one no longer knows what is being measured. A practical safeguard is to have a sample of images labelled independently by two annotators and to review the disagreements with an agronomist: if they disagree on one image in ten, that disagreement sets a realistic ceiling on what any evaluation against these labels can show. A simple arithmetic effect gives the measure of it. Suppose a binary classification where a model is correct in 95% of cases, evaluated on labels of which 5% are wrong at random. The model will be judged correct when it is right and the label is right, or when it is wrong and the label is wrong too: 0.95 × 0.95 + 0.05 × 0.05, or 90.5%. Label noise of 5% therefore takes 4.5 points off a model that is worth 95%. For a project in computer vision in agriculture, this means a team may declare its model insufficient when it is the labels that are.Fourth cause: farm economics in a computer vision in agriculture project
A technically successful solution fails if it does not earn enough for the buyer. The same literature survey notes it: farmers expect clear evidence of return on investment and systems that are explainable and trustworthy. An average gain, even a real one, is not enough if cost and uncertainty are high. An illustrative example, expressed in index units without a currency, shows how sensitive the calculation is. Suppose a system whose cost comprises 100 fixed units per year and 4 units per hectare, for a gross benefit of 9 units per hectare. The break-even point is at 100 / (9 − 4) = 20 hectares. If the model achieves only 70% of the expected benefit, that is 6.3 units per hectare, the threshold rises to 100 / (6.3 − 4), or about 43.5 hectares. If it achieves only 50%, that is 4.5 units, the threshold reaches 100 / (4.5 − 4), or 200 hectares. In other words, halving the benefit multiplies the minimum area required by ten. The farms targeted by the product are often smaller than this threshold, and the project finds itself without a market. The performance of the model is therefore not only a scientific question: it conditions the size of the clientele that can find its account in it. A serious project in computer vision in agriculture calculates this threshold at scoping and confronts it with the real structure of the targeted farms.Fifth cause: the machine, the field and maintenance
The literature also points to hardware obstacles. On-board computing devices are often expensive and require technical expertise, which weighs on adoption. In livestock buildings, dust and water vapour damage equipment over the long term, and variations in light disturb segmentation. In fields, rain, mud, machine vibrations and glare add their own constraints. Maintenance is the second blind spot. A model trained once ages: varieties change, cameras are replaced, cropping practices evolve. Without a plan for recalibration and retraining, performance degrades slowly, without any alert, until the day the user finds that the results are no longer reliable. Providing for feedback from the farmer, an alert when the distribution of images drifts from that of training, and a budget for re-annotation is part of the project. Teams working on computer vision in agriculture that leave this out deliver a product whose quality falls without anyone measuring it, and which ends up being unplugged. Finally, integration with existing machines and management software is often longer than developing the model. A system that produces maps that nobody knows how to use in the machine’s guidance tool remains a demonstrator. The lesson is to involve, early on, the people who will operate the result: the machine operator who must read an alert while driving, the advisor who must explain a map to a client, the manager who must decide whether to invest. Their constraints, a few seconds of attention, a screen in sunlight, a decision to make by the end of the week, shape the useful output more than the model’s metrics do.General-purpose models do not settle everything in a computer vision in agriculture project
General-purpose segmentation models have shortened some steps, but they do not remove the need to adapt the data. In a study published in 2026 by Zhang and colleagues, a crop segmentation model trained on about 28,000 images covering more than 30 species and 15 environmental conditions reaches 93.11% intersection over union on a test set of 6,760 images. In the same evaluation, the general-purpose SAM model obtains 32.80% and its HQ-SAM variant 44.54%. The gap illustrates that a general-purpose model used as it stands does not replace training on data specific to the domain: the specialised model was built from images of crops in real conditions, with dedicated annotation. Other work qualifies this in the other direction. The ARAMSAM tool, published in January 2026 by the University of Hohenheim, uses these models to speed up annotation, and reports generalised dice scores of 0.87 on maize ears and 0.94 on soil surfaces without particular tuning. But the score falls to 0.50 on maize images taken by an unmanned aircraft, and the authors point out that their evaluation, limited to three datasets from a single region, does not allow conclusions for less controlled conditions. These results are read together. General-purpose models are useful when the object is sharp, isolated and regular in shape, and much less so when the scene is cluttered, which is the case for a large number of agricultural scenes. Counting on them to remove the work on data is therefore a cause of failure in itself.How to limit the risks of a computer vision in agriculture project
The causes of failure suggest a small number of precautions. The first is to evaluate on sources absent from training, leaving out an entire site, season or device. The second is to plan the whole data cycle with the agronomic calendar: when to collect, how long to annotate, when to test. The third is to write annotation guidelines with agronomists, with examples and borderline cases, and to measure agreement between annotators. The fourth is to calculate the break-even point for the user before investing, with prudent assumptions about performance. The fifth is to provide for maintenance from the start: feedback, drift detection, a re-annotation budget. The sixth is to test as early as possible on the real hardware, in real conditions, including dust, humidity and light. None of these precautions is sophisticated. What they have in common is that they move to the start of the project discoveries that would otherwise arrive at the end. A computer vision in agriculture project that applies them can still fail, but it will fail earlier, at lower cost, and while learning something.The role of annotation in preventing failure
Annotation comes into play at several of these points. It determines the quality of the ground truth, and therefore the reliability of evaluations. Its turnaround sets the number of cycles per season. Its consistency from one batch to the next conditions the comparability of results. And its capacity to absorb volume peaks during the observation window avoids losing a season. This assumes that annotation is treated as a component of the project and not as an end-of-chain service. In concrete terms, batches are defined with the data team before collection, guidelines are tested on a first sample, disagreements between annotators are measured and discussed with the agronomist, and every change to the guidelines is traced together with the list of images to redo. This discipline costs little and avoids most of the surprises described here, in particular those that come from labels. Infoscribe AI works on this type of project with fully manual annotation, structured quality control and an annotation tool hosted on its own infrastructure, within an ISO 27001:2022 certified approach. Its annotation service for agriculture covers images, videos and point clouds, in two and three dimensions. A pilot phase on a sample of the client’s images makes it possible to measure throughput and agreement between annotators before committing to a volume.Frequent mistakes
- Evaluating a model on images from the same sites, devices and seasons as training, then announcing a general performance.
- Comparing architectures on a homogeneous set instead of diversifying data sources.
- Discovering the generalisation gap at the first client.
- Planning annotation by the project calendar and not by the agronomic observation window.
- Launching annotation without guidelines written with an agronomist.
- Attributing to a model errors that actually come from the labels.
- Failing to calculate the farmer’s break-even point with prudent assumptions.
- Underestimating the cost of on-board computing devices and their maintenance.
- Counting on a general-purpose model to remove the need to adapt to the data.
- Delivering without a plan for recalibration, retraining or feedback from the farmer.