Datasets:
update readme
Browse files- .gitignore +3 -1
- README.md +128 -3
.gitignore
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
.DS_Store
|
2 |
-
.vscode
|
|
|
|
|
|
1 |
.DS_Store
|
2 |
+
.vscode
|
3 |
+
|
4 |
+
countimages.py
|
README.md
CHANGED
@@ -1,3 +1,128 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Tomato Leaves Dataset
|
2 |
+
|
3 |
+
## Overview
|
4 |
+
|
5 |
+
This dataset contains images of tomato leaves categorized into different classes based on the type of disease or health condition. The dataset is divided into training, validation, and test sets, with a ratio of 8:1:1. The classes include various diseases as well as healthy leaves. The dataset includes both augmented and non-augmented images.
|
6 |
+
|
7 |
+
## Dataset Structure
|
8 |
+
|
9 |
+
The dataset is organized into three main splits:
|
10 |
+
|
11 |
+
- **train**
|
12 |
+
- **validation**
|
13 |
+
- **test**
|
14 |
+
|
15 |
+
Each split contains images belonging to the following classes:
|
16 |
+
|
17 |
+
- Tomato___Late_blight
|
18 |
+
- Tomato___Tomato_mosaic_virus
|
19 |
+
- Tomato___Leaf_Mold
|
20 |
+
- Tomato___Bacterial_spot
|
21 |
+
- Tomato___Early_blight
|
22 |
+
- Tomato___healthy
|
23 |
+
- Tomato___Tomato_Yellow_Leaf_Curl_Virus
|
24 |
+
- Tomato___Septoria_leaf_spot
|
25 |
+
|
26 |
+
## Data Summary
|
27 |
+
|
28 |
+
### Training Data Summary
|
29 |
+
|
30 |
+
| Split | Class | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|
31 |
+
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
|
32 |
+
| train | Tomato___Late_blight | 1710 | 119 | 1591 | 93.04 | 6.96 |
|
33 |
+
| train | Tomato___Tomato_mosaic_virus | 509 | 217 | 292 | 57.37 | 42.63 |
|
34 |
+
| train | Tomato___Leaf_Mold | 999 | 207 | 792 | 79.28 | 20.72 |
|
35 |
+
| train | Tomato___Bacterial_spot | 1930 | 178 | 1752 | 90.78 | 9.22 |
|
36 |
+
| train | Tomato___Early_blight | 966 | 135 | 831 | 86.02 | 13.98 |
|
37 |
+
| train | Tomato___healthy | 1589 | 342 | 1247 | 78.48 | 21.52 |
|
38 |
+
| train | Tomato___Tomato_Yellow_Leaf_Curl_Virus | 4930 | 752 | 4178 | 84.75 | 15.25 |
|
39 |
+
| train | Tomato___Septoria_leaf_spot | 1771 | 293 | 1478 | 83.46 | 16.54 |
|
40 |
+
|
41 |
+
### Validation Data Summary
|
42 |
+
|
43 |
+
| Split | Class | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|
44 |
+
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
|
45 |
+
| validation | Tomato___Late_blight | 210 | 0 | 210 | 100.00 | 0.00 |
|
46 |
+
| validation | Tomato___Tomato_mosaic_virus | 66 | 0 | 66 | 100.00 | 0.00 |
|
47 |
+
| validation | Tomato___Leaf_Mold | 120 | 0 | 120 | 100.00 | 0.00 |
|
48 |
+
| validation | Tomato___Bacterial_spot | 235 | 0 | 235 | 100.00 | 0.00 |
|
49 |
+
| validation | Tomato___Early_blight | 131 | 0 | 131 | 100.00 | 0.00 |
|
50 |
+
| validation | Tomato___healthy | 200 | 0 | 200 | 100.00 | 0.00 |
|
51 |
+
| validation | Tomato___Tomato_Yellow_Leaf_Curl_Virus | 624 | 0 | 624 | 100.00 | 0.00 |
|
52 |
+
| validation | Tomato___Septoria_leaf_spot | 210 | 1 | 209 | 99.52 | 0.48 |
|
53 |
+
|
54 |
+
### Test Data Summary
|
55 |
+
|
56 |
+
| Split | Class | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|
57 |
+
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
|
58 |
+
| test | Tomato___Late_blight | 209 | 0 | 209 | 100.00 | 0.00 |
|
59 |
+
| test | Tomato___Tomato_mosaic_virus | 59 | 0 | 59 | 100.00 | 0.00 |
|
60 |
+
| test | Tomato___Leaf_Mold | 125 | 0 | 125 | 100.00 | 0.00 |
|
61 |
+
| test | Tomato___Bacterial_spot | 241 | 0 | 241 | 100.00 | 0.00 |
|
62 |
+
| test | Tomato___Early_blight | 117 | 0 | 117 | 100.00 | 0.00 |
|
63 |
+
| test | Tomato___healthy | 197 | 0 | 197 | 100.00 | 0.00 |
|
64 |
+
| test | Tomato___Tomato_Yellow_Leaf_Curl_Virus | 625 | 0 | 625 | 100.00 | 0.00 |
|
65 |
+
| test | Tomato___Septoria_leaf_spot | 223 | 0 | 223 | 100.00 | 0.00 |
|
66 |
+
|
67 |
+
## Classes Descriptions
|
68 |
+
|
69 |
+
- **Late blight**
|
70 |
+
|
71 |
+
Late blight is a disease caused by the oomycete pathogen *Phytophthora infestans*. It is characterized by large, irregularly shaped lesions on leaves and stems that can quickly become necrotic. It is one of the most devastating diseases affecting tomatoes.
|
72 |
+
|
73 |
+
- **Mosaic Virus**
|
74 |
+
|
75 |
+
Tomato mosaic virus (ToMV) causes a variety of symptoms, including mosaic patterns of light and dark green on the leaves, leaf malformation, and stunted growth. It is a highly contagious virus that can significantly reduce crop yield.
|
76 |
+
|
77 |
+
- **Leaf Mold**
|
78 |
+
|
79 |
+
Leaf mold is caused by the fungus *Passalora fulva*. Symptoms include yellow spots on the upper leaf surface and a velvety, olive-green mold on the underside of leaves. It primarily affects older leaves and can lead to defoliation and reduced yield.
|
80 |
+
|
81 |
+
- **Bacterial Spot**
|
82 |
+
|
83 |
+
Bacterial spot is caused by several species of *Xanthomonas*. It is characterized by small, dark, water-soaked lesions on leaves, which can coalesce and cause significant leaf damage. This disease can also affect fruit, causing scabby spots.
|
84 |
+
|
85 |
+
- **Early Blight**
|
86 |
+
|
87 |
+
Early blight, caused by the fungus *Alternaria solani*, results in concentric ring patterns on the leaves, often referred to as "target spots." It typically begins on the older leaves and can cause significant defoliation and yield loss.
|
88 |
+
|
89 |
+
- **Healthy**
|
90 |
+
|
91 |
+
This class includes images of healthy tomato leaves, which are free from any disease symptoms. Healthy leaves are typically green and uniform without spots, lesions, or discoloration.
|
92 |
+
|
93 |
+
- **Yellow Leaf Curl Virus**
|
94 |
+
|
95 |
+
Tomato yellow leaf curl virus (TYLCV) causes yellowing and curling of the leaves, stunted growth, and reduced fruit set. It is transmitted by the whitefly and can cause significant crop losses in affected areas.
|
96 |
+
|
97 |
+
- **Septoria Leaf Spot**
|
98 |
+
|
99 |
+
Septoria leaf spot is caused by the fungus *Septoria lycopersici*. Symptoms include small, circular spots with dark borders and lighter centers on the leaves. It primarily affects the lower leaves and can lead to defoliation and reduced yield.
|
100 |
+
|
101 |
+
## Source
|
102 |
+
|
103 |
+
This dataset is a merge of two different datasets:
|
104 |
+
|
105 |
+
- [PlantVillage](https://github.com/spMohanty/PlantVillage-Dataset) - Licensed under CC BY 4.0. Please cite the following paper if you use this dataset:
|
106 |
+
- Hughes, D. P., & Salathé, M. (2015). An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv preprint arXiv:1511.08060.
|
107 |
+
- [PlantDoc](https://github.com/pratikkayal/PlantDoc-Dataset) - Licensed under [specific license details]. Please cite the following paper if you use this dataset:
|
108 |
+
- Singla, A., Nayyar, A., & Singh, A. (2019). PlantDoc: A Dataset for Visual Plant Disease Detection. arXiv preprint arXiv:1911.10317.
|
109 |
+
|
110 |
+
Only the classes that describe leaves of tomatoes were used from these datasets.
|
111 |
+
|
112 |
+
## License
|
113 |
+
|
114 |
+
The dataset is aviable under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en) license.
|
115 |
+
|
116 |
+
## Citation
|
117 |
+
|
118 |
+
If you use this dataset in your research, please cite it as follows:
|
119 |
+
|
120 |
+
```bibtex
|
121 |
+
@misc{tomatoesl_ds_2024,
|
122 |
+
author = {Perinello, Lorenzo and Giro, Silvia},
|
123 |
+
title = {Tomato Leaves Dataset},
|
124 |
+
year = 2024,
|
125 |
+
url = {https://huggingface.co/datasets/lorenzoxi/vcs-tomatoes-dataset},
|
126 |
+
note = {This dataset is a merge of two different datasets: PlantVillage and PlantDoc. Only the classes that describe leaves of tomatoes were used.},
|
127 |
+
howpublished = {\url{https://huggingface.co/datasets/lorenzoxi/vcs-tomatoes-dataset}},
|
128 |
+
} ```
|