Subh775 commited on
Commit
2595cc8
·
verified ·
1 Parent(s): 09d5c00

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +52 -27
README.md CHANGED
@@ -1,29 +1,54 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: mask
7
- dtype:
8
- image:
9
- mode: L
10
- - name: image_id
11
- dtype: string
12
- - name: width
13
- dtype: int32
14
- - name: height
15
- dtype: int32
16
- - name: num_annotations
17
- dtype: int32
18
- splits:
19
- - name: train
20
- num_bytes: 6434139.0
21
- num_examples: 401
22
- download_size: 6464723
23
- dataset_size: 6434139.0
24
- configs:
25
- - config_name: default
26
- data_files:
27
- - split: train
28
- path: data/train-*
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ tags:
4
+ - computer-vision
5
+ - image-segmentation
6
+ - leaf-disease
7
+ - agriculture
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
+
10
+ # Annotated_Benchmarks400
11
+
12
+ This is a comprehensive collection of in-the-lab plant leaf images with corresponding segmentation masks, created by the **Subh775** organization.
13
+
14
+ ## Dataset Description
15
+
16
+ This dataset is a combination of four individual leaf disease datasets, intended for training robust computer vision models for segmentation tasks in agriculture. It includes images of tomato leaves affected by various common diseases.
17
+
18
+ The original datasets included are:
19
+ - Septoria Leaf Spot
20
+ - Yellow Leaf Curl Virus
21
+ - Early Blight
22
+ - Late Blight
23
+
24
+ ### Features
25
+
26
+ The dataset contains the following features for each example:
27
+
28
+ - `image`: The original RGB image of the plant leaf.
29
+ - `mask`: The binary, single-channel (grayscale) segmentation mask where the leaf/disease area is highlighted.
30
+ - `image_id`: The original filename of the image, which can be used for traceability.
31
+ - `width`: The original width of the image in pixels.
32
+ - `height`: The original height of the image in pixels.
33
+ - `num_annotations`: The number of individual polygons annotated in the image.
34
+
35
+ ## Dataset Structure
36
+
37
+ The dataset consists of a single split ('train') with a total of **401** image-mask pairs.
38
+
39
+ ### Example Usage
40
+
41
+ ```python
42
+ from datasets import load_dataset
43
+
44
+ # Load the dataset
45
+ dataset = load_dataset("Subh775/Annotated_Benchmarks400")
46
+
47
+ # Access a sample from the 'train' split
48
+ sample = dataset['train'][0]
49
+ image = sample['image']
50
+ mask = sample['mask']
51
+
52
+ print(f"Image size: {image.size}")
53
+ print(f"Number of annotations in this image: {sample['num_annotations']}")
54
+ ```