A camera mounted on a tractor sees the field as no operator ever could: from very close, continuously, at working speed and on every pass. This is what makes on-board cameras on farm machinery the most promising acquisition platform in computer vision in agriculture, and also one of the most demanding. The machine vibrates, dust builds up on the lens, the sun changes sides between the outward and the return pass, and the model has to decide within a few tens of milliseconds.
This article focuses on sensor and mounting choices, following the overview of the field that opens the series. It covers camera position, camera type, motion blur, lighting, mechanical robustness, on-board computing, synchronisation, data sampling and the consequences for annotation. It continues with sorting and grading after harvest, where the camera changes setting but keeps several of these constraints.
Why put cameras on machines in computer vision in agriculture
In computer vision in agriculture, going on board answers a question of resolution and simultaneity. A drone flight maps a plot, but at a few centimetres per pixel, and the result arrives after the fact. A satellite covers a territory but cannot tell a seedling from the soil. A camera fixed to the tool sits a metre above the ground, sees objects to the millimetre and can command the action while the machine passes: open a nozzle, lift a blade, adjust a dose. This proximity has a price. The scene scrolls quickly, lighting escapes control, and the equipment endures the harshest conditions on the farm. The most accomplished on-board systems therefore combine optics chosen for the field, a protective housing, sufficient computing on board and a collection strategy that continuously feeds the training set. Another advantage deserves mention: repetition. A machine that crosses the same plot several times per season naturally produces a time series, with images of the same crop at different stages, under different light. For a project in computer vision in agriculture this series is valuable, because it documents the real variability that the model will have to face, provided it is organised and traced.Where to place the cameras of a computer vision in agriculture project
Position determines what is seen, from which angle and at what resolution. Four locations dominate. On a sprayer boom, cameras look downward or obliquely, at low height, and are distributed across the working width to cover the whole treated strip. This is the configuration for targeted treatment. It requires many identical sensors, consistent calibration and synchronisation with the nozzles. On the cab or the bonnet, a front-facing camera looks ahead of the machine, from a greater distance and at a grazing angle. It serves anticipation: reading rows, detecting obstacles, assessing crop condition. Ground resolution is lower, but the view of the scene is wider. On the implement itself, whether a hoe, a harrow or a seed drill, the camera is placed just ahead of the working part so as to guide a mechanical action. The distance between lens and action is short, which reduces the time available to decide but improves the precision of the gesture. On the harvesting head or the chute, the camera observes the harvested product or the product being harvested: size, colour, presence of foreign bodies, apparent moisture. Conditions are more controlled, but dust and shaking are at their maximum. The choice of angle matters as much as the choice of location. A vertical view, known as nadir, limits perspective distortion and eases size measurements, but flattens plant height. An oblique view reveals the structure of the plant and separates rows better, at the cost of a variable scale across the image. Many systems combine the two.The camera types in an on-board computer vision in agriculture project
The global shutter colour camera is the basis of most on-board systems. A global shutter exposes all pixels at the same time, which avoids the distortion of moving objects caused by a rolling shutter when a machine moves fast or vibrates. For a project in computer vision in agriculture at working speed, this criterion is often more important than raw resolution. The stereo camera, or more generally the depth camera, adds the third dimension: crop height, distance to the ground, separation between the plant and the soil. It is useful for guiding a tool along a row or for telling a seedling from a residue lying on the ground, but it is sensitive to direct light and dust. The near-infrared or multispectral camera exploits bands the eye does not see. Vegetation strongly reflects near infrared, which makes it easier to separate plants from soil and reveals stresses invisible in colour. The counterpart is a higher cost, often more modest resolutions and data that are harder to annotate, because the annotator has to learn to read a false-colour image. The thermal camera measures surface temperature. It informs on the water status of leaves and on plant activity, but its resolution remains low and its interpretation depends on ambient conditions. It is generally combined with a colour camera rather than replacing it. Finally, time-of-flight and laser scanning sensors provide point clouds that describe the geometry of the crop and the soil. They complete the image without replacing it, and raise their own questions of three-dimensional annotation.Motion blur: what speed imposes on a computer vision in agriculture project
Motion blur is the first enemy of the on-board image. A simple calculation makes it concrete. At 15 miles per hour, or 6.7 metres per second, a machine travels 6.7 millimetres in one thousandth of a second. If the camera observes a scene in which one pixel represents 1 millimetre on the ground, for example 2,448 pixels spread across 2.45 metres, the image is blurred over nearly 7 pixels. To limit blur to one pixel, an exposure time of the order of 0.15 millisecond is needed, about one 6,700th of a second, and a little over one 3,000th to tolerate two pixels. This constraint has knock-on effects. Such a short exposure needs a great deal of light, so either generous sunshine or active lighting, and a sensitive sensor, which increases noise. It makes the global shutter almost indispensable. It also pushes designers to adapt the exposure continuously to the light, with a regulation that stays stable when passing from a shaded area to a sunlit one. Speed also enters the decision delay. Suppose, as an illustration, that a camera sits 1.5 metres ahead of the nozzle it commands. At 6.7 metres per second, the nozzle reaches the targeted plant about 0.22 second after the image is taken. Within this delay must fit the image transfer, the model inference and the reaction of the valve. If the transfer takes 20 milliseconds and the valve 50, about 150 milliseconds remain for computing. A model that is too heavy, or poorly sized hardware, translates directly into an application shifted on the ground.Light, shadows and active lighting
Natural light is both the best and the worst of illuminations. It is free and powerful, but its intensity, colour and angle vary with the hour, the season and the weather. A camera that sees the same plot at 8 a.m. and at 2 p.m., or under an overcast sky, produces images that the model may interpret very differently. The cast shadows of the machine or the boom create zones of strong contrast, where details vanish into blacks or whites. Three answers combine. The first is mechanical: a shroud that shields the scene from direct light, creating homogeneous lighting under a hood. The second is active lighting: projectors, often LED, cover the observed zone so that the machine light dominates the sunlight. This solution allows work at night, but consumes energy and adds equipment to protect. The third is the diversity of the training set: images are deliberately collected at all hours and under all skies, so that the model learns to tolerate these variations. These choices are closely tied to annotation. A set of images under active lighting does not look like a set under natural light, and a model trained on one behaves poorly on the other. The guidelines must therefore specify the acquisition configuration of each batch, and the metadata must record it. A practical test helps teams working in computer vision in agriculture to judge their lighting choice before committing to it. One drives the same strip of field at three times of day with the proposed setup, annotates a few dozen images from each pass in the same way, and trains a small model on one pass before evaluating it on the other two. If performance falls sharply, the lighting is not under control and the dataset will need either more diversity or a physical fix on the machine. The test costs a day and avoids a season of doubt.Dust, vibration, shocks and moisture
A farm machine is a hostile environment for optics. Dust settles on the lens within a few hours of dry work, mud and splashes soil it in wet weather, crop protection products leave films, and impacts from stones or foliage can scratch or shift the mounting. Robust systems provide a sealed housing, a window that is easy to clean, sometimes an air nozzle or automatic wiper, damped supports and protected cables. Vibration deserves particular attention. It makes the camera move during exposure, which adds blur independent of forward speed, and can slowly change the orientation of the sensor. A calibration that is not checked regularly drifts, and the model then sees objects at a scale different from that of training. For the team preparing a dataset, the lesson is simple: part of the captured images will be degraded by dirt, blur or a mechanical fault, and it must be decided in advance what to do with them. Some serve as examples of difficult cases to train a more robust model; others, too degraded for the annotator to decide, are discarded. This rule must be written down, because without it annotators settle it differently.On-board computing in a computer vision in agriculture project: process on board or record
Two architectures coexist. In the first, the model runs on board, in real time, and drives the action: this is the case of targeted treatment. According to the John Deere news release of 4 November 2025 relayed by the trade press, the boom-mounted cameras of See & Spray technology and their onboard processors scan more than 2,500 square feet per second at speeds up to 15 miles per hour, and trigger nozzles individually. Converting, 2,500 square feet correspond to about 232 square metres, and at 6.7 metres per second that represents a width of the order of 35 metres. This calculation is a conversion from the manufacturer figures, not a specification. In the second architecture, images are recorded for deferred processing: mapping, counting, dataset building. The issue becomes volume. Take an illustrative example: 12 cameras of 5 megapixels at 30 frames per second, with 3 bytes per pixel, produce 5.4 gigabytes per second of raw data. With 20 to 1 compression, that is still close to 972 gigabytes per hour. Nobody can store or transfer such a flow over a whole season. The solution is to keep only part of the images, according to an explicit rule. Keeping one image in 100 brings the flow down to about 9.7 gigabytes per hour, or 12,960 images per hour out of the 1,296,000 taken. A smarter rule keeps the images of high model uncertainty, those where it hesitates, rather than a uniform sample. In a project in computer vision in agriculture, the retention rule is part of the architecture of the dataset, just like the annotation guidelines.Synchronisation, geolocation and machine data
An image without context loses half its value. To be useful for agronomic analysis, it must be associated with a precise position, from the machine satellite positioning system, and with a timestamp consistent across all cameras. A shift of a few tens of milliseconds translates, at working speed, into position errors of several centimetres, enough to assign a plant to the wrong row. Machine data enrich the image further: speed, boom height, nozzle status, applied dose, tool settings. They make it possible to link what the camera sees to what the machine did, and therefore to measure the real effect of a decision. For a project in computer vision in agriculture, this information is the foundation of feedback loops: one can compare the prediction of the model, the action carried out and the result observed at harvest. The software architecture must therefore provide a recording format that keeps this metadata with each image, and a verifiable synchronisation procedure. Teams that discover this need after the first season often lose weeks reconstructing the correspondence between images and operations.Building the training set of a computer vision in agriculture project
On-board images arrive in very large numbers and look very much alike. At 30 frames per second and 6.7 metres per second, the machine advances about 22 centimetres between two images. If the camera covers 1.2 metres in the direction of travel, the same plant appears on more than five consecutive images. Annotating all these images would amount to annotating the same scene five times, with very little gain in information. Sampling therefore aims at diversity rather than volume. Images are selected that are spaced in time, from varied plots, different stages, different lighting and different densities, deliberately including difficult cases: overlapping plants, shaded zones, residues of the previous crop, wet or dry soil. For a project in computer vision in agriculture, an explicit breakdown into cells, for example stage, plot and lighting condition, helps check that no situation is forgotten. One point often neglected concerns the separation between training and evaluation. If neighbouring images from the same sequence end up on both sides, the model is evaluated on images almost identical to those it has seen, and its performance is overestimated. The safe rule is to split by plot, or even by date, and not by image.Calibration, cleaning and maintenance
An on-board system is not installed once and for all. Geometric calibration, which links pixels to real distances, must be checked after any intervention on the mounting and periodically during the season. Colour calibration, using a chart placed in the field of view from time to time, avoids drifts that disturb a colour-sensitive model. Cleaning the optics is a regular task, sometimes automated. Maintenance has a direct consequence on data quality. A slightly misaligned camera produces shifted images for weeks without anyone noticing, until model performance drops. Simple automatic checks, such as measuring average sharpness, brightness or the position of a fixed marker in the image, detect these drifts before they reach the training set. A calibration log is as valuable as the images themselves. Recording the date of each check, the measured drift and the corrective action allows a team to exclude, after the fact, the weeks during which a camera was out of position. In a project in computer vision in agriculture that spans several seasons, this log is often the only way to explain why a model trained on one year behaves differently on the next, and it costs almost nothing to keep.What annotating on-board images demands
Annotating images taken from a moving machine raises particular difficulties. The images contain blur, overexposed areas, splashes, parts of the machine itself, plants cut by the edge of the frame. The guidelines must say how to handle each situation: whether a plant cut by the edge is annotated, from what visible proportion, and what to do with an image too blurred to decide. On-board images also call for consistency from one sequence to the next. A plant that appears on five consecutive images must receive the same class, which requires either tracking or a check after the fact. Labelling discrepancies between neighbouring images are a useful indicator of the quality of a batch. Finally, annotation must rely on agronomic supervision. Recognising a weed seedling among crop seedlings, at a few millimetres of resolution, requires botanical knowledge that guidelines alone cannot convey. A quality project in computer vision in agriculture provides training sessions, a base of commented reference images and a decision circuit for ambiguous cases.The role of a provider on on-board images
The volumes of on-board images and the need for strict consistency between annotators lead many teams to entrust this phase to a specialised provider, which brings trained annotators, a suitable tool and a measure of quality. The point of attention is the ability to apply stable guidelines over long series and to flag problematic images rather than annotate them at all costs. Infoscribe AI works on this type of project with fully manual annotation, structured quality control, a tool hosted on its own infrastructure and an ISO 27001:2022 certified approach. Its annotation service for agriculture processes images taken at ground level, from machines or from aircraft, as well as point clouds. A pilot on a sample of your own sequences makes it possible to measure throughput and quality before any commitment.Common mistakes with on-board cameras
- Choosing a rolling shutter for a fast machine, then suffering deformed objects.
- Setting exposure for laboratory conditions, without calculating blur at real speed.
- Neglecting the delay between image capture and action, and undersizing on-board computing.
- Recording all images with no retention rule, until storage is saturated.
- Annotating near-identical images from the same sequence, at the expense of diversity.
- Splitting training and evaluation by image rather than by plot or date.
- Forgetting position, timestamp and machine-setting metadata.
- Letting calibration and lens cleanliness drift without automatic checks.
- Collecting only in fine weather, and discovering the limits of the model at the first rain.
- Not writing a rule for degraded images, and letting each annotator decide in their own way.