AI tested on one farm: what to check before using it on another
An AI system that works well on one farm may fail on another, because varieties, light, cameras and ways of working differ. This article points out what to test, what to record and how to question the developer before you put it to use.
About 6 min read
In this article
When a seller or developer says an AI system has already worked well on other farms, buyers tend to want to believe it will work the same for them. But a system that learned from the images or data of one farm can easily misread another.
This article explains what stops results carrying over, how to test with your own samples, and what to ask the developer before deciding to use it for real.
Who this article is for
- Orchard and farm owners offered a system that counts, grades or inspects from images, who want to know whether it will work on their own farm
- Farmer groups or cooperatives that will use the same system across several farms
- People responsible for assessing technology for a farm or organisation
- People who have tried a system and found the results did not match what the seller showed
Why results do not carry over by themselves
- Variety, size, fruit colour, shape and tree age differ, and the images the system has seen may not cover your farm
- Light differs, such as strong sun, overcast or shade, which changes the colour and sharpness of images a lot
- The camera, shooting height and angle differ from those used when the system was learning
- The background differs, such as soil, ground cover sheets, leaves or a grading table
- The way of working differs, such as fruit stacked or laid out separately, clean or with leaf debris
- The season and the ripeness of the fruit on the day of shooting may differ from the data the system has seen
Questions to ask the developer
- What kind of farms did the training or test data come from, which varieties, which season, and does it include farms in your region?
- What camera and shooting angle were used, and will the results change if you use a different camera?
- Has it been tested across farms before? What were the results, and who did the testing?
- How were the reported results measured, and what were they checked against as the correct answer?
- Are there known cases where the system often misreads, and does the developer tell you about them in advance?
Prepare your own samples
- 1 Collect real samples from your farm under a range of conditions, such as several times of day, several plots and the several varieties you grow
- 2 Have your own experienced people mark the correct answers by hand, and record who marked them
- 3 Keep the difficult samples too, such as fruit that is hidden, backlit or against a cluttered background
- 4 Do not give this set of samples to the developer to adjust the system before testing, or the results will look better than they really are
- 5 Keep all the original images with the date and the place they were taken
How to test
- Have the system read your samples, then compare with the answers your people marked, looking at both what it got right and what it got wrong
- Look at the results separately by condition, such as morning versus afternoon or different varieties, to find out when it fails most
- Look at the type of error, such as missing something that is really there versus seeing something that is not, and ask yourself which does more damage in your work
- Test again over several days, because one day's results may look good or bad by chance
- Record the conditions of each round so you can compare when the system is adjusted
How many samples are enough
- There is no fixed number that works for every job. Ask the developer or a statistics specialist whether the samples are enough for your work
- Too few samples make the results swing, and a few good or bad images can change your impression
- Samples should reflect the real work, not only good-looking images
- If your work has cases that are rare but very costly, collect those cases specially
When results differ from what the seller said
- First check whether your shooting conditions match what the developer recommends
- If the results still differ, send the samples the system misread to the developer and ask whether it can be fixed
- Ask whether the system will be adjusted to suit your farm, how long it will take and what it will cost
- If it is still not good enough after adjustment, use it only as a tool to help you look, or do not use it at all
Deciding after testing
- First ask how much harm a misreading by the system does to you, and whether someone can check again
- If it is easy for someone to check again, a system that helps with screening is still useful even if it is not right every time
- If a mistake is very costly or cannot be undone, a person should always make the final decision
- Set the pass criteria before testing, so you do not change them to fit the results that come out
- Insect counting by camera has an example of similar thinking in “Camera vs human counts on sticky insect traps: where they differ”
- For designing a small trial on one plot before scaling up, read “Trialling AI on one plot before investing farm-wide: what to measure”
Information to keep
- Original samples, correct answers, who marked them and the test date
- The system's readings in each round, with the system's model or version
- Shooting conditions and settings
- Observations made by eye, such as when the system repeatedly misreads
- Agreements with the developer about the use of your images
Privacy and agreements
- Do not send the developer images that show people's faces, ID cards or bank account details
- Ask whether your images will be used to train the system for other customers too, and ask for this to be stated in writing
- Ask for it to be stated that if you stop using the system, the developer must delete your data, and do so within an agreed time
- Test results the developer shows may be used in advertising, so agree beforehand whether your farm will be counted as an example
Common mistakes
- Believing test results from other farms without testing with your own samples
- Letting the developer choose the samples used for testing
- Testing for one day in the best conditions
- Looking only at the overall result without separating by condition or variety
- Not keeping the correct answers and the system version, so the next round cannot be compared
In short: a system that works well on one farm does not mean it will work on yours. Test with samples your own people have marked, look at results separately by condition, ask the developer about the training data and how results were measured, and agree clearly on the use of your images before you start.
Our two spray drones — real prices
Prices include VAT
Questions about this?
Message our team on LINE any day







