
A moth trap sends the orchard manager a photograph marked with eleven boxes. An AI model has found eleven candidate insects. Before that number enters a forecast, someone needs to establish how many are the target moth, which are new arrivals and how the trap count relates to the crop the manager is scouting.
What does the camera count?
Ding and Taylor trained a convolutional neural network to detect codling moths in photographs taken inside field traps. A detector searches an image for the visual pattern it learned from annotated examples. Dust, damaged specimens, other insects and overlapping wings give it harder choices than a single well-lit specimen. A reviewer can compare each proposed box with a marked target in the original image. Ding and Taylor, automatic moth detection (PDF)

The total can look right even when individual boxes are wrong. If two target moths were missed and two pieces of debris were counted, the errors cancel in the total. Keep both the matches and the misses. For a trial at a new orchard, hold out its traps and dates together so another photograph of the same card cannot count as independent evidence.
The same moth can appear tomorrow
Preti and colleagues evaluated camera-equipped traps for remote monitoring of orchard moths. The image is a record of the card at a particular time. If the card remains in place, some insects in today’s image may already have been counted yesterday. Look for a replacement date, a change in camera position or a torn card before interpreting a jump in the time series. Preti and colleagues, camera-equipped traps in the field (PDF)

A count is one input to a forecast. A useful test of future damage would store the issue date, the forecast horizon and a later independent orchard inspection. A camera record documenting adults at a trap cannot alone tell a grower that fruit has been damaged or that a particular treatment is warranted.
Which observation would change the decision?
A sudden rise might justify checking the card and inspecting a comparable block. Report the number of functioning traps and the time each was exposed. Twelve moths after four nights are different evidence from twelve after one. Disease photographs pose a similar transfer problem. Mohanty and colleagues reported over 99% accuracy on held-out PlantVillage images taken under controlled conditions, but about 31% on image sets collected elsewhere. Their test asked which crop and condition were already visible. A forecast of disease at a later date would still need dated predictions and independent follow-up. Mohanty and colleagues, image classification outside PlantVillage (PDF)

Similar counting errors arise when foliage hides grapes or successive images show the same bunch. How a Vineyard Robot Counts Grape Bunches Along a Row
Try it with the evidence
Find the counting errors that cancel
Source notes. Illustrative trap card. A human reviewer marked 10 target moths. Of 11 AI boxes, 8 match distinct marked moths and 3 mark other objects. The same card was photographed the previous day. No fruit inspection is available.
- Ding and Taylor, automatic moth detection (PDF)
- Preti and colleagues, camera-equipped traps in the field (PDF)
Prompt. Compute precision, recall and the signed count error. Explain why the count error understates the individual mistakes and what is missing for a claim about new arrivals or fruit damage.
Check your reading
Precision is 8/11, about 73%. Recall is 8/10, or 80%. The net count is high by one, although three false boxes and two misses occurred. Match positions across the dated card images to identify new arrivals. Fruit damage needs an independent inspection.
Illustrated field notes
Additional observations in the field







Time, reporting and survey coverage





Evidence for decisions and forecasts




