File size: 8,971 Bytes
ec009bb
2d958fd
ec009bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10b4707
 
 
 
 
 
 
 
ec009bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
license: cc-by-4.0
task_categories:
- feature-extraction
- image-classification
language:
- en
tags:
- tomato
- leaves
- plant
pretty_name: tomato_leaves
size_categories:
- n<1K
---
# Tomato Leaves Dataset

## Overview

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.

## Dataset Structure

The dataset is organized into three main splits:

- **train**
- **validation**
- **test**

Each split contains images belonging to the following classes:

- Bacterial_spot (0)
- Early_blight (1)
- Late_blight (2)
- Leaf_Mold (3)
- Septoria_leaf_spot (4)
- Tomato_Yellow_Leaf_Curl_Virus (5)
- Tomato_mosaic_virus (6)
- healthy (7)

## Data Summary

### Training Data Summary

| Split      | Class                                    | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
| train      | Tomato___Late_blight                     | 1710         | 119              | 1591                 | 93.04           | 6.96        |
| train      | Tomato___Tomato_mosaic_virus             | 509          | 217              | 292                  | 57.37           | 42.63       |
| train      | Tomato___Leaf_Mold                       | 999          | 207              | 792                  | 79.28           | 20.72       |
| train      | Tomato___Bacterial_spot                  | 1930         | 178              | 1752                 | 90.78           | 9.22        |
| train      | Tomato___Early_blight                    | 966          | 135              | 831                  | 86.02           | 13.98       |
| train      | Tomato___healthy                         | 1589         | 342              | 1247                 | 78.48           | 21.52       |
| train      | Tomato___Tomato_Yellow_Leaf_Curl_Virus   | 4930         | 752              | 4178                 | 84.75           | 15.25       |
| train      | Tomato___Septoria_leaf_spot              | 1771         | 293              | 1478                 | 83.46           | 16.54       |

### Validation Data Summary

| Split      | Class                                    | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
| validation | Tomato___Late_blight                     | 210          | 0                | 210                  | 100.00          | 0.00        |
| validation | Tomato___Tomato_mosaic_virus             | 66           | 0                | 66                   | 100.00          | 0.00        |
| validation | Tomato___Leaf_Mold                       | 120          | 0                | 120                  | 100.00          | 0.00        |
| validation | Tomato___Bacterial_spot                  | 235          | 0                | 235                  | 100.00          | 0.00        |
| validation | Tomato___Early_blight                    | 131          | 0                | 131                  | 100.00          | 0.00        |
| validation | Tomato___healthy                         | 200          | 0                | 200                  | 100.00          | 0.00        |
| validation | Tomato___Tomato_Yellow_Leaf_Curl_Virus   | 624          | 0                | 624                  | 100.00          | 0.00        |
| validation | Tomato___Septoria_leaf_spot              | 210          | 1                | 209                  | 99.52           | 0.48        |

### Test Data Summary

| Split      | Class                                    | Total Images | Augmented Images | Non-Augmented Images | % Non-Augmented | % Augmented |
|------------|------------------------------------------|--------------|------------------|----------------------|-----------------|-------------|
| test       | Tomato___Late_blight                     | 209          | 0                | 209                  | 100.00          | 0.00        |
| test       | Tomato___Tomato_mosaic_virus             | 59           | 0                | 59                   | 100.00          | 0.00        |
| test       | Tomato___Leaf_Mold                       | 125          | 0                | 125                  | 100.00          | 0.00        |
| test       | Tomato___Bacterial_spot                  | 241          | 0                | 241                  | 100.00          | 0.00        |
| test       | Tomato___Early_blight                    | 117          | 0                | 117                  | 100.00          | 0.00        |
| test       | Tomato___healthy                         | 197          | 0                | 197                  | 100.00          | 0.00        |
| test       | Tomato___Tomato_Yellow_Leaf_Curl_Virus   | 625          | 0                | 625                  | 100.00          | 0.00        |
| test       | Tomato___Septoria_leaf_spot              | 223          | 0                | 223                  | 100.00          | 0.00        |

## Classes Descriptions

- **Late blight**

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.

- **Mosaic Virus**

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.

- **Leaf Mold**

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.

- **Bacterial Spot**

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.

- **Early Blight**

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.

- **Healthy**

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.

- **Yellow Leaf Curl Virus**

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.

- **Septoria Leaf Spot**

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.

## Source

This dataset is a merge of two different datasets:

- [PlantVillage](https://github.com/spMohanty/PlantVillage-Dataset) - Licensed under CC BY 4.0. Please cite the following paper if you use this dataset:
  - 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.
- [PlantDoc](https://github.com/pratikkayal/PlantDoc-Dataset) - Licensed under [specific license details]. Please cite the following paper if you use this dataset:
  - Singla, A., Nayyar, A., & Singh, A. (2019). PlantDoc: A Dataset for Visual Plant Disease Detection. arXiv preprint arXiv:1911.10317.

Only the classes that describe leaves of tomatoes were used from these datasets.

## License

The dataset is aviable under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en) license.

## Citation

If you use this dataset in your research, please cite it as follows:

```bibtex
@misc{tomatoesl_ds_2024,
  author       = {Perinello, Lorenzo and Giro, Silvia},
  title        = {Tomato Leaves Dataset},
  year         = 2024,
  url          = {https://huggingface.co/datasets/lorenzoxi/vcs-tomatoes-dataset},
  note         = {This dataset is a merge of two different datasets: PlantVillage and PlantDoc. Only the classes that describe leaves of tomatoes were used.},
  howpublished = {\url{https://huggingface.co/datasets/lorenzoxi/vcs-tomatoes-dataset}},
} ```