Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,47 +1,28 @@
|
|
| 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 |
-
## Dataset Structure
|
| 30 |
-
|
| 31 |
-
The dataset consists of 44 image-mask pairs.
|
| 32 |
-
|
| 33 |
-
**Example Usage:**
|
| 34 |
-
|
| 35 |
-
```python
|
| 36 |
-
from datasets import load_dataset
|
| 37 |
-
|
| 38 |
-
dataset = load_dataset("Subh775/leaf-segmentation-dataset")
|
| 39 |
-
|
| 40 |
-
# Access a sample
|
| 41 |
-
sample = dataset['train'][0]
|
| 42 |
-
image = sample['image']
|
| 43 |
-
mask = sample['mask']
|
| 44 |
-
|
| 45 |
-
print(f"Image size: {image.size}")
|
| 46 |
-
print(f"Number of annotations in this image: {sample['num_annotations']}")
|
| 47 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
size_categories:
|
| 8 |
+
- n<1K
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# leaf-segmentation-dataset
|
| 12 |
+
|
| 13 |
+
## Dataset Description
|
| 14 |
+
This dataset contains "**in-the-wild images**"" of plant leaves and their corresponding binary segmentation masks. It was annotated using CVAT and is intended for training computer vision models for segmentation tasks.
|
| 15 |
+
The dataset includes additional metadata extracted from the annotation process.
|
| 16 |
+
### Features
|
| 17 |
+
- `image`: The original RGB image of the plant leaf/leaves.
|
| 18 |
+
- `mask`: The binary, single-channel (grayscale) segmentation mask. The leaf pixels are white (255) and the background is black (0).
|
| 19 |
+
- `image_id`: The original filename of the image.
|
| 20 |
+
- `width`: The original width of the image.
|
| 21 |
+
- `height`: The original height of the image.
|
| 22 |
+
-`num_annotations`: The number of individual leaves annotated in the image.
|
| 23 |
+
|
| 24 |
+
# Dataset Structure
|
| 25 |
+
The dataset consists of 44 image-mask pairs.
|
| 26 |
+
|
| 27 |
+
## License
|
| 28 |
+
This dataset is intended for research purposes only and is licensed under **Apache License 2.0**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|