File size: 2,850 Bytes
0802ec2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c7adb4b
deb01b8
eede3a4
deb01b8
16c322f
 
 
 
 
 
 
 
 
eede3a4
0802ec2
eede3a4
db0ff62
0802ec2
a0fbda5
 
d520bb9
a0fbda5
 
 
 
 
 
 
 
 
 
 
 
 
 
c7adb4b
0802ec2
 
 
 
 
 
 
c7adb4b
 
e4ddb57
a2d67c5
e4ddb57
0802ec2
 
 
 
3c64c51
0802ec2
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
license: cc-by-sa-4.0
task_categories:
- image-classification
language:
- en
tags:
- plants
- pathology
- plant
- leaf
- leaves
- disease
- symptoms
- symptom
pretty_name: MegaPlant
size_categories:
- 10K<n<100K
---

<h1>MegaPlant</h1>

<p>
    <a href="https://iragca.github.io/DS413-final-project/">
      <img src="https://img.shields.io/badge/Research-Paper-darkgreen?logo=paperswithcode"/>
    </a>
    <a href="https://github.com/iragca/DS413-final-project">
      <img src="https://img.shields.io/badge/github-repo-blue?logo=github"/>
    </a>
    <a href="https://www.kaggle.com/datasets/iragca/megaplant/data">
      <img src="https://img.shields.io/badge/Kaggle-Dataset-blue?logo=kaggle"/>
    </a>
</p>


A consolidated leaf-image dataset designed to support plant disease classification models that generalize across diverse environmental conditions, from controlled laboratory settings to highly variable in-field scenarios. MegaPlant integrates multiple publicly available datasets and standardizes them into a unified taxonomy of healthy and diseased leaf categories, enabling robust training across modalities. 

## Download

This is the recommended way to download the dataset to avoid downloading the foundational datasets, `daimos.zip`, `plantvillage.zip` and `plantdoc.zip`.

```python
from huggingface_hub import HfApi

api = HfApi()

path = api.hf_hub_download(
        repo_id="chrisandrei/MegaPlant",
        repo_type="dataset",
        filename="leaves.zip",
    )
```


## Datasets integrated

| Dataset      | Authors                                    | Description                                                | Retrieved from                                                   |
| ------------ | ------------------------------------------ | ---------------------------------------------------------- | ---------------------------------------------------------------- |
| PlantVillage | https://doi.org/10.48550/arXiv.1511.08060 | Laboratory conditions, small images                         | https://www.kaggle.com/datasets/nirmalsankalana/plantdoc-dataset |
| PlantDoc     | https://doi.org/10.1145/3371158.3371196   | Field and laboratory conditions, stock-photos, small images | https://www.kaggle.com/datasets/nirmalsankalana/plantdoc-dataset |
| DiaMOS       | https://doi.org/10.3390/agronomy11112107  | Field conditions, large high quality images                 | https://zenodo.org/records/5557313                               |


## Citation

If you use this dataset, please cite it as below.

```cff
@misc{Irag_MegaPlant_An_integrated,
author = {Irag, Chris Andrei and Pramio, Ashley and Mendoza, Monique Antoinette and Dela Vega, Rod Vincent},
title = {{MegaPlant: An integrated image classification dataset of laboratory and field images}},
url = {https://iragca.github.io/DS413-final-project/}
}
```