Datasets:
Tasks:
Image Classification
Formats:
parquet
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
< 1K
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,33 +1,113 @@
|
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- biology
|
| 9 |
+
- insects
|
| 10 |
+
- pest-detection
|
| 11 |
+
- computer-vision
|
| 12 |
+
- image-classification
|
| 13 |
+
size_categories:
|
| 14 |
+
- n<1K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Spotted Lanternfly Detection Dataset
|
| 18 |
+
|
| 19 |
+
## Dataset Description
|
| 20 |
+
|
| 21 |
+
This dataset contains 33 images of spotted lanternflies and non-lanternfly subjects, cropped to 224x224 pixels for machine learning model training.
|
| 22 |
+
|
| 23 |
+
### Dataset Summary
|
| 24 |
+
|
| 25 |
+
The dataset is designed for training computer vision models to detect spotted lanternflies (Lycorma delicatula), an invasive species that poses a threat to agriculture and ecosystems.
|
| 26 |
+
|
| 27 |
+
### Supported Tasks
|
| 28 |
+
|
| 29 |
+
- **Image Classification**: Binary classification to detect presence/absence of spotted lanternflies
|
| 30 |
+
- **Object Detection**: Can be adapted for bounding box detection tasks
|
| 31 |
+
|
| 32 |
+
### Dataset Structure
|
| 33 |
+
|
| 34 |
+
- **Total Images**: 33
|
| 35 |
+
- **Has Lanternfly**: 15 images
|
| 36 |
+
- **No Lanternfly**: 18 images
|
| 37 |
+
- **Image Size**: 224x224 pixels
|
| 38 |
+
- **Format**: RGB images in JPG format
|
| 39 |
+
|
| 40 |
+
### Data Fields
|
| 41 |
+
|
| 42 |
+
- `image`: RGB image (224x224 pixels)
|
| 43 |
+
- `label`: String label ("has_lanternfly" or "no_lanternfly")
|
| 44 |
+
- `filename`: Original filename of the image
|
| 45 |
+
|
| 46 |
+
### Data Splits
|
| 47 |
+
|
| 48 |
+
- `original`: All 33 images (no train/test split provided)
|
| 49 |
+
|
| 50 |
+
## Usage
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from datasets import load_dataset
|
| 54 |
+
|
| 55 |
+
# Load the dataset
|
| 56 |
+
dataset = load_dataset("rlogh/lanternfly-detection", split="original")
|
| 57 |
+
|
| 58 |
+
# View a sample
|
| 59 |
+
print(dataset[0])
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Dataset Creation
|
| 63 |
+
|
| 64 |
+
### Source Data
|
| 65 |
+
|
| 66 |
+
Images were collected and manually labeled for the presence or absence of spotted lanternflies.
|
| 67 |
+
|
| 68 |
+
### Annotations
|
| 69 |
+
|
| 70 |
+
All images were manually annotated by domain experts with binary labels:
|
| 71 |
+
- `has_lanternfly`: Image contains one or more spotted lanternflies
|
| 72 |
+
- `no_lanternfly`: Image does not contain spotted lanternflies
|
| 73 |
+
|
| 74 |
+
### Personal and Sensitive Information
|
| 75 |
+
|
| 76 |
+
This dataset does not contain any personal or sensitive information.
|
| 77 |
+
|
| 78 |
+
## Considerations for Using the Data
|
| 79 |
+
|
| 80 |
+
### Social Impact of Dataset
|
| 81 |
+
|
| 82 |
+
This dataset can be used to develop automated detection systems for spotted lanternflies, which can help in:
|
| 83 |
+
- Early detection of invasive species
|
| 84 |
+
- Agricultural monitoring and protection
|
| 85 |
+
- Environmental conservation efforts
|
| 86 |
+
|
| 87 |
+
### Discussion of Biases
|
| 88 |
+
|
| 89 |
+
The dataset may contain biases related to:
|
| 90 |
+
- Lighting conditions in the original images
|
| 91 |
+
- Background environments where lanternflies were photographed
|
| 92 |
+
- Seasonal variations in lanternfly appearance
|
| 93 |
+
|
| 94 |
+
### Other Known Limitations
|
| 95 |
+
|
| 96 |
+
- Limited dataset size (33 images)
|
| 97 |
+
- Single geographic region (may not generalize to other areas)
|
| 98 |
+
- Focused on adult spotted lanternflies (nymphs may look different)
|
| 99 |
+
|
| 100 |
+
## Citation
|
| 101 |
+
|
| 102 |
+
```bibtex
|
| 103 |
+
@dataset{spotted_lanternfly_detection_2024,
|
| 104 |
+
title={Spotted Lanternfly Detection Dataset},
|
| 105 |
+
author={Your Name},
|
| 106 |
+
year={2024},
|
| 107 |
+
url={https://huggingface.co/datasets/rlogh/lanternfly-detection}
|
| 108 |
+
}
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## License
|
| 112 |
+
|
| 113 |
+
This dataset is released under the MIT License.
|