Dataset Viewer
Auto-converted to Parquet Duplicate
filename
stringlengths
5
215
width
int64
0
6k
height
int64
0
6k
class
stringclasses
29 values
xmin
int64
1
4.57k
ymin
int64
1
3.34k
xmax
int64
37
5.47k
ymax
int64
17
4.51k
cherry-tree-leaves-and-fruits.jpg
350
300
Cherry leaf
198
77
299
252
cherry-tree-leaves-and-fruits.jpg
350
300
Cherry leaf
3
114
148
235
cherry-tree-leaves-and-fruits.jpg
350
300
Cherry leaf
30
184
189
297
cherry-tree-leaves-and-fruits.jpg
350
300
Cherry leaf
226
4
346
83
peach-and-leaf-stock-image-2809275.jpg
1,300
1,099
Peach leaf
237
479
527
810
peach-and-leaf-stock-image-2809275.jpg
1,300
1,099
Peach leaf
105
520
585
911
peach-and-leaf-stock-image-2809275.jpg
1,300
1,099
Peach leaf
344
106
651
462
peach-and-leaf-stock-image-2809275.jpg
1,300
1,099
Peach leaf
724
106
903
802
foodjuly2011+026.jpg
1,011
804
Peach leaf
44
217
747
589
foodjuly2011+026.jpg
1,011
804
Peach leaf
77
137
400
804
NCLB.jpg
510
347
Corn leaf blight
45
9
243
347
NCLB.jpg
510
347
Corn leaf blight
318
1
496
345
applerust-500x383.jpg
500
383
Apple rust leaf
1
3
492
187
applerust-500x383.jpg
500
383
Apple rust leaf
36
205
328
334
6-13lateblightleavesMARY.jpg
450
338
Potato leaf late blight
108
65
429
281
6-13lateblightleavesMARY.jpg
450
338
Potato leaf late blight
74
244
229
338
6-13lateblightleavesMARY.jpg
450
338
Potato leaf late blight
61
34
140
97
6-13lateblightleavesMARY.jpg
450
338
Potato leaf late blight
212
9
250
60
stock-photo-peach-leaf-isolated-on-white-background-207823156.jpg
1,500
1,153
Peach leaf
96
367
989
657
stock-photo-peach-leaf-isolated-on-white-background-207823156.jpg
1,500
1,153
Peach leaf
824
157
1,023
423
stock-photo-peach-leaf-isolated-on-white-background-207823156.jpg
1,500
1,153
Peach leaf
1,019
513
1,313
881
stock-photo-peach-leaf-isolated-on-white-background-207823156.jpg
1,500
1,153
Peach leaf
566
505
1,018
838
depositphotos_9274005-stock-photo-strawberry-leaf.jpg
1,024
699
Strawberry leaf
295
210
647
686
depositphotos_9274005-stock-photo-strawberry-leaf.jpg
1,024
699
Strawberry leaf
593
137
936
590
depositphotos_9274005-stock-photo-strawberry-leaf.jpg
1,024
699
Strawberry leaf
124
6
637
329
IMG_1762.jpg
3,264
2,448
Corn rust leaf
6
8
3,264
1,816
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
355
474
985
939
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
261
218
673
731
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
221
97
502
477
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
393
893
933
1,098
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
1,060
496
1,526
1,096
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
1,183
253
1,461
571
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
1,325
153
1,600
488
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
1
750
240
974
Carolina%2BCherry%2BLaurel%2Bproblem1.jpg
1,600
1,200
Cherry leaf
66
481
251
724
Pest2369.jpg
600
600
Tomato leaf late blight
69
11
487
583
B%29-Leafunsidecladosp-envez.jpg
400
300
Tomato mold leaf
17
36
396
285
corn-rust.jpg
750
350
Corn rust leaf
214
1
478
350
Close-up-view-of-blight-lesion-on-leaf-of-potato-c-Blackthorn-Arable-615x346.jpg
615
346
Potato leaf early blight
13
1
498
346
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
575
864
927
1,182
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
797
872
957
1,006
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
977
897
1,362
1,146
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
393
814
593
1,087
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
857
465
1,335
742
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
428
601
552
722
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
569
473
824
691
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
664
493
866
743
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
558
409
861
536
Leaf+mold+tomato+%25283%2529.JPG.jpg
1,600
1,200
Tomato mold leaf
505
33
923
454
potato_late-blight_02_zoom.jpg
900
264
Potato leaf late blight
449
6
900
260
potato_late-blight_02_zoom.jpg
900
264
Potato leaf late blight
17
1
444
260
img_0034.jpg
3,888
2,592
Strawberry leaf
1,164
498
2,212
1,498
img_0034.jpg
3,888
2,592
Strawberry leaf
1,160
1,302
2,088
2,342
img_0034.jpg
3,888
2,592
Strawberry leaf
1,848
1,214
2,808
2,134
img_0034.jpg
3,888
2,592
Strawberry leaf
324
510
1,344
1,514
img_0034.jpg
3,888
2,592
Strawberry leaf
10
1
1,540
446
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
197
6
296
176
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
313
11
450
150
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
8
101
177
211
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
119
219
290
319
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
20
214
147
322
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
365
257
450
398
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
173
291
368
406
stock-photo-apple-leaves-collection-isolated-on-white-background-373945045.jpg
450
435
Apple leaf
15
322
170
415
TOMATO%20LATE%20BLIGHT%20ON%20LEAF.jpg
818
550
Tomato leaf late blight
87
79
798
459
TYLCV4.jpg
549
520
Tomato leaf yellow virus
236
181
325
318
TYLCV4.jpg
549
520
Tomato leaf yellow virus
276
127
383
185
TYLCV4.jpg
549
520
Tomato leaf yellow virus
414
117
513
182
TYLCV4.jpg
549
520
Tomato leaf yellow virus
343
196
407
319
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
293
526
568
722
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
578
702
817
869
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
827
671
1,009
900
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
968
315
1,116
517
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
1,135
404
1,372
567
9-Folia-Myrtilli-Blueberry-Leaves-Gjethe-Boronice-1.jpg
1,915
1,040
Blueberry leaf
516
91
730
388
early-blight-1.jpg
590
443
Potato leaf early blight
135
216
270
361
early-blight-1.jpg
590
443
Potato leaf early blight
264
258
372
417
early-blight-1.jpg
590
443
Potato leaf early blight
106
188
183
267
early-blight-1.jpg
590
443
Potato leaf early blight
214
56
313
193
early-blight-1.jpg
590
443
Potato leaf early blight
330
140
480
229
early-blight-1.jpg
590
443
Potato leaf early blight
383
240
499
351
tomato-fern-leaf-a-symptom-of-tmv-cmv-or-pepmv-virus-on-tomato-plants-h6ey8w.jpg
640
456
Tomato leaf mosaic virus
148
22
546
197
tomato-fern-leaf-a-symptom-of-tmv-cmv-or-pepmv-virus-on-tomato-plants-h6ey8w.jpg
640
456
Tomato leaf mosaic virus
193
161
607
424
red-raspberry.jpg
1,200
981
Raspberry leaf
479
40
873
639
red-raspberry.jpg
1,200
981
Raspberry leaf
155
376
513
707
blueberry-group-leaves-on-white-background-db8p44.jpg
640
509
Blueberry leaf
326
61
591
274
20160826-corndisease-unlt.jpg
960
540
Corn leaf blight
141
2
885
540
ArticleImage.aspx?imgid=4987.jpg
200
150
Tomato mold leaf
1
3
200
150
bc34aec4ea7f60a64e380fda44c2f380.jpg
499
666
Tomato leaf bacterial spot
346
78
440
258
bc34aec4ea7f60a64e380fda44c2f380.jpg
499
666
Tomato leaf bacterial spot
82
14
186
278
bc34aec4ea7f60a64e380fda44c2f380.jpg
499
666
Tomato leaf bacterial spot
67
205
219
522
bc34aec4ea7f60a64e380fda44c2f380.jpg
499
666
Tomato leaf bacterial spot
186
202
353
551
bacterial%20leaf%20spot.jpg
765
531
Tomato leaf bacterial spot
339
330
480
509
bacterial%20leaf%20spot.jpg
765
531
Tomato leaf bacterial spot
113
232
360
519
bacterial%20leaf%20spot.jpg
765
531
Tomato leaf bacterial spot
478
268
680
517
bacterial%20leaf%20spot.jpg
765
531
Tomato leaf bacterial spot
494
4
743
305
erysiphe-or-spaerotheca-cucurbit-powdery-mildew-on-butternut-squash-f0rh86.jpg
640
447
Squash Powdery mildew leaf
1
3
540
432
grape-leaves-picture-id108483523?k=6&m=108483523&s=612x612&w=0&h=hBDI-YPeBffgjjZzbHsAaCfARsflsveT1NbcncLft5Y=.jpg
408
612
grape leaf
249
1
405
187
grape-leaves-picture-id108483523?k=6&m=108483523&s=612x612&w=0&h=hBDI-YPeBffgjjZzbHsAaCfARsflsveT1NbcncLft5Y=.jpg
408
612
grape leaf
131
76
312
245
grape-leaves-picture-id108483523?k=6&m=108483523&s=612x612&w=0&h=hBDI-YPeBffgjjZzbHsAaCfARsflsveT1NbcncLft5Y=.jpg
408
612
grape leaf
122
206
258
362
End of preview. Expand in Data Studio

license: other language: - en task_categories: - image-classification tags: - plant-disease - agriculture - crops - leaf - banana - tomato - potato - lemon - tea - rice - watering - irrigation - treatment size_categories: - 100K<n<1M format: image modality: - image library_tags: - pytorch - tensorflow

CropHelth — Unified Crop Disease & Watering Dataset (Round-1 Pre-training)

Author: Hansaka Rasanjana

Project Context: First-year IoT group mini-project at the Sri Lanka Institute of Information Technology (SLIIT)


~125,000 plant leaf images across 109 disease/healthy classes for 26 crops, complete with a per-image provenance manifest, treatment knowledge base, and per-crop watering recommendation rules.

Built as the core pre-training and round-1 dataset for our CropHelth system: an image classifier that outputs structured JSON code (e.g., {"status": {"code": "potato_lb"}, "treatment": {"pill_code": ...}}) alongside an environment-driven watering decision engine.

Layout

images/<plant>_<ill>/NNNNNN.jpg      # 109 classes, ~125k images (the training set)
_source_manifest.csv                 # per-image provenance: target_code, source, original_path
detection/                           # PlantDoc object-detection dataset (VOC: .jpg + .xml, TRAIN/TEST)
knowledge/
  names.json                         # class code -> human-readable message
  treatments.json                    # class code -> {treatment: {pill_code, pill_name}, agronomy}
  watering_rules.json                # per-crop thresholds for the watering decision engine
  watering_recommendations.csv       # human-readable watering reference table (ph, temp, moisture, practice)
labels.json                          # class list + code->index + per-class counts
README.md

Class code scheme

<plant>_<ill> — e.g., potato_late_blight, banana_sigatoka, tea_helopeltis, tomato_healthy.

  • *_healthy = healthy class for that specific plant (used as the model's baseline "healthy" output).
  • Plant = first token of the code.
  • 109 classes total, neatly organized into one folder per class so you can drop images/ straight into any standard classification pipeline (ImageFolder or our custom CropHelth trainer work out of the box).

Sources (all open source)

Source DOI / URL Contribution
Mendeley tywbtsjrjv — PlantVillage subset https://data.mendeley.com/datasets/tywbtsjrjv/1 apple, blueberry, cherry, corn, grape, orange, peach, pepper, potato, raspberry, soybean, squash, strawberry, tomato (~52k)
Mendeley 9tb7k297ff — BananaLSD https://data.mendeley.com/datasets/9tb7k297ff/1 banana (sigatoka, cordana, pestalotiopsis, healthy; original set only — augmented sets excluded to prevent synthetic duplicate bias)
Mendeley 744vznw5k2 — teaLeafBD https://data.mendeley.com/datasets/744vznw5k2/4 tea (7 classes)
Mendeley j32xdt2ff5 — Tea Sickness https://data.mendeley.com/datasets/j32xdt2ff5/2 tea (8 classes, merged with teaLeafBD)
Mendeley 6243z8r6t6 — Multi-Crop Disease (Roboflow export) https://data.mendeley.com/datasets/6243z8r6t6/1 banana, cauliflower, chilli, peanut, radish (~22k; classes mapped via YOLO label files)
Mendeley 643f5bbc2t — BDLemonLeaf https://data.mendeley.com/datasets/643f5bbc2t/6 lemon (13 classes, raw image set)
Mendeley 8d9fv6kpt3 — Large-Scale Lemon Leaf Disease & Pest https://data.mendeley.com/datasets/8d9fv6kpt3/1 lemon (18 classes, merged with BDLemonLeaf)
Mendeley c5yvn32dzg — RoCoLe (Robusta coffee) https://data.mendeley.com/datasets/c5yvn32dzg/2 coffee healthy/unhealthy (labels extracted from shipped Labelbox CSV)
Mendeley 22p2vcbxfk — Groundnut (peanut) https://data.mendeley.com/datasets/22p2vcbxfk/3 peanut (5 classes, raw data)
Mendeley 7vpdrbdkd4 — Nutrient-deficient banana https://data.mendeley.com/datasets/7vpdrbdkd4/2 banana nutrient deficiencies (7 classes, raw set only)
Mendeley g7xnn2bm4g — Nitrogen deficiency in maize https://data.mendeley.com/datasets/g7xnn2bm4g/1 maize N0/N7/NF (3 classes)
GitHub pratikkayal/PlantDoc-Dataset https://github.com/pratikkayal/PlantDoc-Dataset 28 classes (train + test merged)
GitHub pratikkayal/PlantDoc-Object-Detection-Dataset https://github.com/pratikkayal/PlantDoc-Object-Detection-Dataset detection/ (VOC format, separate task)
Harvard Dataverse LQUWXW — Bananas TZ (Tanzania) https://doi.org/10.7910/DVN/LQUWXW banana black sigatoka, fusarium wilt, healthy (~15k high-res photos)

Excluded by design: Background_without_leaves (from PlantVillage, as it's not a plant class), augmented/synthetic image packs (our trainer handles its own augmentations), and the Zenodo DiaMOS pear dataset (a massive 12.5 GB single archive that couldn't fit cleanly into our local build pipeline—feel free to drop it in manually if needed).

Note: The IEEE DataPort Paddy Doctor (rice) dataset requires a verified IEEE account login, so it couldn't be auto-fetched in our script. Rice classes should be added following the same manifest layout once downloaded.

Watering decision data

knowledge/watering_rules.json acts as the brain for our decision engine (water_now / hold_water / check_data):

  • soil_moisture_pct < min → triggers water_now
  • soil_moisture_pct > max → triggers hold_water (prevents overwatering root rot)
  • missing soil moisture input → returns check_data
  • ph / air_temp_c / soil_temp_c out of bounds → flags extra warning reasons (ph_low, ph_high, air_temp_high, soil_temp_high)

Per-crop thresholds (moisture %, pH target windows, and temperature safety caps) live in watering_rules.json, accompanied by a human-readable reference table in watering_recommendations.csv. These are baseline agronomic guidelines—calibrate them against physical field sensors for production use. Soil moisture serves as our primary signal; temperature or pH changes alone shouldn't trigger automated irrigation.

Treatments

knowledge/treatments.json maps every non-healthy class to structured guidance ({treatment: {pill_code, pill_name}, agronomy}). These are standard extension-service recommendations meant for training and testing. Before any live deployment, make sure to verify that suggested products are locally registered, apply strict label rates, rotate FRAC groups to prevent resistance, and consult a local agronomist. The model outputs the diagnostic class code only; treatment text is statically mapped from this secure file (never dynamically generated by the model).

Provenance & licenses

_source_manifest.csv ties every individual image back to its precise source dataset and original path. Each source retains its own license (check detection/LICENSE.txt for PlantDoc; Mendeley datasets generally fall under CC-BY/CC0). If you build on this or redistribute, please keep the attribution table intact.

Quick usage (CropHelth Trainer)

# point the pipeline at this dataset structure
python scripts/build_labels.py --images-dir <this repo>/images
python scripts/split.py
python scripts/train.py
python scripts/predict.py --image some_leaf.jpg --meta
python scripts/predict_watering.py --json '{"crop":"potato","soil_moisture_pct":18,"ph":6.1}'
Downloads last month
1