FAQ

Agriculture

Nine open datasets for agricultural AI

Leaf disease, weed discrimination, crop species, yield forecasting and livestock weight — and why the clean ones mislead.

Agricultural vision has a well-documented reality gap: the best-known datasets photograph single leaves on plain backgrounds, and models trained on them disappoint in a real field.

PlantVillage is the canonical example. It is an excellent benchmark and a poor proxy for field conditions, which is why Open Sprayer Images is in this list as a corrective.

Seven of the nine are labelled public domain or CC BY. Two to check before building a product are PlantVillage, which is CC BY-SA 3.0 and so share-alike, and CropNet, which is CC BY-NC 4.0 and so non-commercial. The Plant Diseases Training Dataset contains PlantVillage, so its CC0 label does not clear it either; nor may Tomato Leaf Disease's, whose ten classes match PlantVillage's tomato folders.

An aerial photograph of farmland during harvest, with a combine harvester cutting a wheat field, a tractor and trailer on the access road, and a maize field across the top. One green annotation box is drawn on the harvested field and a label palette along the bottom reads Corn Field, Irrigation System, Drone Survey, Pest Infestation and Soil Sampling Area.
A real field set up for annotation with the classes agricultural models are actually asked for — crop type, infrastructure, infestation. Most public plant-disease sets are single leaves on a plain background, which is the gap that breaks deployments. Image: HumanSignal/label-studio · Apache-2.0 repository
DatasetModalitySizeLicenceBest for
PlantVillageImage~54,000 imagesCC BY-SA 3.0Leaf disease
Plant Diseases Training DatasetImage116,000 imagesMixed — see belowScale
Tomato Leaf DiseaseImage~11,000 imagesUnclear — see belowSingle-crop depth
Crop and Weed DetectionImage1,300 imagesCC0Precision spraying
140 Most Popular CropsImage104,000 filesCC0Species ID
Open Sprayer ImagesImage~6,700 imagesCC0Field conditions
CropNetMultimodal2,291 counties · 2017–2022CC BY-NC 4.0Yield forecasting
DeepFruitImage21,122 imagesCC BY 4.0Fruit recognition
Cattle Weight Detection 12kImage~27,000 files · 47.85 GBCC BY 4.0Livestock
Licences in this shortlist — computed from the 9 datasets below. Red marks licences that are unclear or restricted; amber marks non-commercial, share-alike or mixed terms.
An overhead photograph of a single sesame seedling on dry, cracked soil, enclosed in a magenta box labelled 'crop: 1.0'.
A frame from the Crop and Weed Detection set with a box from its author's YOLOv3 model. One seedling on bare soil is still far from a dense field, but it is a photograph taken outdoors on the ground rather than a single leaf on a plain board. Image: ravirajsinh45/Crop_and_weed_detection · Apache-2.0 repository (dataset author's)
№ 01

PlantVillage

ImageClassification
Size
~54,000 images
Licence
CC BY-SA 3.0

Around 54,000 JPEGs of crop leaves labelled by species and disease. The reference dataset for plant pathology, with one well-documented caveat: most images are single leaves on a plain background, so field performance is usually well below reported accuracy.

What to train on it

Leaf disease classification — and a lesson in the gap between a clean benchmark and a muddy field.

Source: innovatiana.com/datasets

№ 02

Plant Diseases Training Dataset

ImageClassificationShare-alike
Size
116,000 images
Licence
CC0 label; contains PlantVillage (CC BY-SA 3.0)

116,000 JPEGs classified by plant type and disease, labelled CC0. It merges several sources, PlantVillage among them with 54,303 of the images, so PlantVillage's CC BY-SA 3.0 share-alike terms come with it whatever the CC0 label says; check every source's terms before the model goes into a product.

What to train on it

Large-scale plant disease classification, once the merged sources' terms have been checked.

Source: innovatiana.com/datasets

№ 03

Tomato Leaf Disease

ImageClassification
Size
~11,000 images
Licence
CC0 label (source not stated)

Around 11,000 images of tomato leaves in ten classes named exactly as PlantVillage's tomato folders; the uploader names no source, so if they are PlantVillage images its CC BY-SA 3.0 terms apply despite the CC0 label. Narrow by design: one crop, many conditions, which usually beats a broad multi-crop set when you only need to serve one grower.

What to train on it

Single-crop disease classification where depth matters more than breadth.

Source: innovatiana.com/datasets

№ 04

Crop and Weed Detection

ImageDetectionPublic domain
Size
1,300 images
Licence
CC0 1.0

1,300 images at 512×512 with YOLO-format bounding boxes separating crop from weed. Small, but it is the exact task behind precision herbicide application — and the economics only work if the false-positive rate on crop is near zero.

What to train on it

Real-time crop-versus-weed detection on spraying equipment.

Source: innovatiana.com/datasets

A grid of 38 numbered photographs, each a single crop leaf on a plain background, some healthy and some showing spots, blight or mould.
PlantVillage's sample grid, one image per crop-disease class. Every photograph is a single detached leaf on a plain background, which is why models trained on it lose much of their accuracy on photographs taken in the field. From the dataset: spMohanty/PlantVillage-Dataset · generated_for_paper/plantvillage.jpg · CC BY-SA 3.0
№ 05

140 Most Popular Crops

ImageClassificationPublic domain
Size
~104,000 files (~34,750 images × 3 colour formats)
Licence
CC0 1.0

Roughly 104,000 files at 224×224: about 34,750 images, each stored in RGB, BGR and greyscale, covering 139 crop classes despite the name. The 224×224 sizing is deliberate — it drops straight into a standard ImageNet-pretrained backbone with no resizing.

What to train on it

Crop species identification, and transfer learning from a standard vision backbone.

Source: innovatiana.com/datasets

№ 06

Open Sprayer Images

ImageClassificationPublic domain
Size
~6,700 images
Licence
CC0 1.0

Around 6,700 high-resolution field photographs, labelled only for whether they show broad-leaved dock, a common weed. Unlike the lab-style leaf datasets, these are messy — variable light, soil, occlusion — which makes them a useful reality check.

What to train on it

A field-conditions weed classifier (broad-leaved dock or not), and a check on how far field photographs are from lab leaf images.

Source: innovatiana.com/datasets

№ 07

CropNet

MultimodalForecastingNon-commercial
Size
2,291 counties · 2017–2022
Licence
CC BY-NC 4.0

Multimodal agricultural data covering 2,291 US counties over six years, combining satellite imagery, weather and tabular farm data. The combination is the point: yield is not predictable from imagery alone.

What to train on it

Crop yield forecasting from fused satellite, weather and tabular inputs.

Source: innovatiana.com/datasets

№ 08

DeepFruit

ImageClassification
Size
21,122 images
Licence
CC BY 4.0

21,122 JPEGs of 20 fruit types photographed in 8 combination sets, split 16,899 train and 4,223 test, with CSV annotations. Built for fruit recognition and calorie estimation — a dietary-assessment set rather than orchard imagery, so it will not prepare a model for field harvesting.

What to train on it

Fruit recognition and calorie estimation from photos of mixed fruit.

Source: innovatiana.com/datasets

№ 09

Cattle Weight Detection 12k

ImageRegression
Size
~27,000 files · 47.85 GB
Licence
CC BY 4.0

Around 27,000 annotated files totalling 47.85 GB by the catalogue's count, for estimating cattle weight from imagery; the name says 12k, so confirm the image count on the source page. Regression from pixels to a continuous physical quantity, which is a different problem from the classification tasks that dominate this category.

What to train on it

Non-contact livestock weight estimation — visual regression rather than classification.

Source: innovatiana.com/datasets

A table of macro precision, recall and F1 for three groups of models: CNNs (EfficientNet-B0, InceptionV3, ResNet50; F1 33.71, 32.25, 30.15), vision transformers (ViT-B-16, ViT-B-32, Swin-S, Swin-T; F1 61.41, 47.06, 52.70, 35.19) and CLIP models (CLIP-ViT-B-16, CLIP-ViT-B-32; F1 66.29, 56.63).
Seven models trained on PlantVillage potato-leaf images, taken on plain backgrounds, and two zero-shot CLIP models, all tested on photographs taken in real conditions. The three CNNs reach a macro F1 of only 30 to 34%; the best, a zero-shot CLIP ViT-B/16 that never trained on PlantVillage, 66%. A model that has only seen leaves on a lab table has not learned to read a field. Image (rendered from the arXiv HTML): Table 4 of the paper · CC BY 4.0 · from “Rethinking Plant Disease Diagnosis: Bridging the Academic–Practical Gap with Vision Transformers and Zero-Shot Learning”, arXiv:2511.18989

How this list was put together

Each dataset is listed in Innovatiana's open-dataset catalogue and links to its page, where the published licence and size appear in full.

Where a dataset mixes modalities — CropNet combines satellite, weather and tabular data — the chip reflects the combination rather than any single one.

Stop hunting. Start searching.

The datasets listed on this page are in Dataset Finder, alongside tens of thousands more — searchable in plain language.

Search Dataset Finder →