Subh775 commited on
Commit
82535dd
·
verified ·
1 Parent(s): be134ba

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +44 -29
README.md CHANGED
@@ -1,29 +1,44 @@
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: 1933763.0
21
- num_examples: 129
22
- download_size: 1948584
23
- dataset_size: 1933763.0
24
- configs:
25
- - config_name: default
26
- data_files:
27
- - split: train
28
- path: data/train-*
29
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: apache-2.0
4
+ tags:
5
+ - computer-vision
6
+ - image-segmentation
7
+ - leaf-dataset
8
+ ---
9
+
10
+ # In_the_Lab_masks
11
+
12
+ This is a dataset for leaf segmentation, created by **Subh775**.
13
+
14
+ ## Dataset Description
15
+
16
+ This dataset contains in-the-lab single images of plant leaves (Tomato) and their corresponding binary segmentation masks. It was annotated using CVAT Segment Anything 2.0 and is intended for training computer vision models for segmentation tasks.
17
+
18
+ The dataset includes additional metadata extracted from the annotation process.
19
+
20
+ ### Features
21
+
22
+ - `image`: The original RGB image of the plant leaf/leaves.
23
+ - `mask`: The binary, single-channel (grayscale) segmentation mask.
24
+ - `image_id`: The original filename of the image.
25
+ - `width`: The original width of the image.
26
+ - `height`: The original height of the image.
27
+ - `num_annotations`: The number of individual leaves annotated in the image.
28
+
29
+ ## Dataset Structure
30
+
31
+ The dataset consists of 129 image-mask pairs.
32
+
33
+ **Example Usage:**
34
+
35
+ ```python
36
+ from datasets import load_dataset
37
+ dataset = load_dataset("Subh775/In_the_Lab_masks")
38
+ # Access a sample
39
+ sample = dataset['train'][0]
40
+ image = sample['image']
41
+ mask = sample['mask']
42
+ print(f"Image size: {image.size}")
43
+ print(f"Number of annotations in this image: {sample['num_annotations']}")
44
+