Datasets:
🔧 Fix YAML metadata to enable dataset viewer
Browse files
README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
task_categories:
|
| 4 |
- image-classification
|
| 5 |
-
- computer-vision
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
tags:
|
|
@@ -12,12 +11,11 @@ tags:
|
|
| 12 |
- ecology
|
| 13 |
- conservation
|
| 14 |
- entomology
|
| 15 |
-
- computer-vision
|
| 16 |
-
- image-classification
|
| 17 |
- lepidoptera
|
| 18 |
- hymenoptera
|
| 19 |
- coleoptera
|
| 20 |
- diptera
|
|
|
|
| 21 |
pretty_name: Pollinator Insects Dataset
|
| 22 |
size_categories:
|
| 23 |
- 1K<n<10K
|
|
@@ -28,7 +26,7 @@ configs:
|
|
| 28 |
- split: train
|
| 29 |
path: "data/train.csv"
|
| 30 |
- split: validation
|
| 31 |
-
path: "data/validation.csv"
|
| 32 |
- split: test
|
| 33 |
path: "data/test.csv"
|
| 34 |
dataset_info:
|
|
@@ -78,21 +76,21 @@ dataset_info:
|
|
| 78 |
dtype: int64
|
| 79 |
splits:
|
| 80 |
- name: train
|
| 81 |
-
num_examples:
|
| 82 |
- name: validation
|
| 83 |
-
num_examples:
|
| 84 |
- name: test
|
| 85 |
-
num_examples:
|
| 86 |
---
|
| 87 |
|
| 88 |
# Pollinator Insects Dataset 🦋
|
| 89 |
|
| 90 |
<div align="center">
|
| 91 |
|
| 92 |
-

|
| 94 |

|
| 95 |
-
![
|
| 96 |
|
| 97 |
**Comprehensive dataset of 10 pollinator insect species for computer vision and biodiversity research**
|
| 98 |
|
|
@@ -102,7 +100,7 @@ dataset_info:
|
|
| 102 |
|
| 103 |
## Dataset Description
|
| 104 |
|
| 105 |
-
The **Pollinator Insects Dataset** is a curated collection of **
|
| 106 |
|
| 107 |
- 🔬 **Biodiversity research** and species monitoring
|
| 108 |
- 🤖 **Computer vision** model development
|
|
@@ -113,12 +111,12 @@ The **Pollinator Insects Dataset** is a curated collection of **2,063 high-resol
|
|
| 113 |
### Key Features
|
| 114 |
|
| 115 |
- 🦋 **10 species** from 4 major insect orders
|
| 116 |
-
- 📸 **
|
| 117 |
- 🏷️ **Rich metadata** including taxonomy, ecology, and conservation status
|
| 118 |
- ⚖️ **Balanced distribution** across species and data splits
|
| 119 |
-
- 📊 **Ready-to-use splits** (
|
| 120 |
- 🔍 **Quality controlled** with expert validation
|
| 121 |
-
- 📐 **High resolution**
|
| 122 |
|
| 123 |
## Species Information
|
| 124 |
|
|
@@ -135,119 +133,12 @@ The **Pollinator Insects Dataset** is a curated collection of **2,063 high-resol
|
|
| 135 |
| 8 | *Anartia jatrophae* | White peacock | Nymphalidae | Lepidoptera | Primary pollinator |
|
| 136 |
| 9 | *Anoplolepis gracilipes* | Yellow crazy ant | Formicidae | Hymenoptera | Indirect pollinator |
|
| 137 |
|
| 138 |
-
<details>
|
| 139 |
-
<summary><b>🔬 Detailed Taxonomic Information</b></summary>
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
### 0. *Acmaeodera flavomarginata* (Flat-headed borer)
|
| 143 |
-
|
| 144 |
-
- **Family**: Buprestidae
|
| 145 |
-
- **Order**: Coleoptera
|
| 146 |
-
- **Pollinator Role**: Secondary pollinator
|
| 147 |
-
- **Habitat**: Trees and shrubs
|
| 148 |
-
- **Geographic Range**: North America
|
| 149 |
-
- **Conservation Status**: Least Concern
|
| 150 |
-
- **Images in Dataset**: 0
|
| 151 |
-
|
| 152 |
-
### 1. *Acromyrmex octospinosus* (Leafcutter ant)
|
| 153 |
-
|
| 154 |
-
- **Family**: Formicidae
|
| 155 |
-
- **Order**: Hymenoptera
|
| 156 |
-
- **Pollinator Role**: Indirect pollinator
|
| 157 |
-
- **Habitat**: Tropical forests
|
| 158 |
-
- **Geographic Range**: Central and South America
|
| 159 |
-
- **Conservation Status**: Least Concern
|
| 160 |
-
- **Images in Dataset**: 0
|
| 161 |
-
|
| 162 |
-
### 2. *Adelpha basiloides* (Sister butterfly)
|
| 163 |
-
|
| 164 |
-
- **Family**: Nymphalidae
|
| 165 |
-
- **Order**: Lepidoptera
|
| 166 |
-
- **Pollinator Role**: Primary pollinator
|
| 167 |
-
- **Habitat**: Forest clearings and edges
|
| 168 |
-
- **Geographic Range**: Neotropics
|
| 169 |
-
- **Conservation Status**: Least Concern
|
| 170 |
-
- **Images in Dataset**: 0
|
| 171 |
-
|
| 172 |
-
### 3. *Adelpha iphicleola* (Sister butterfly)
|
| 173 |
-
|
| 174 |
-
- **Family**: Nymphalidae
|
| 175 |
-
- **Order**: Lepidoptera
|
| 176 |
-
- **Pollinator Role**: Primary pollinator
|
| 177 |
-
- **Habitat**: Tropical forests
|
| 178 |
-
- **Geographic Range**: Central America
|
| 179 |
-
- **Conservation Status**: Least Concern
|
| 180 |
-
- **Images in Dataset**: 0
|
| 181 |
-
|
| 182 |
-
### 4. *Aedes aegypti* (Yellow fever mosquito)
|
| 183 |
-
|
| 184 |
-
- **Family**: Culicidae
|
| 185 |
-
- **Order**: Diptera
|
| 186 |
-
- **Pollinator Role**: Occasional pollinator
|
| 187 |
-
- **Habitat**: Urban and suburban areas
|
| 188 |
-
- **Geographic Range**: Tropical and subtropical worldwide
|
| 189 |
-
- **Conservation Status**: Least Concern
|
| 190 |
-
- **Images in Dataset**: 0
|
| 191 |
-
|
| 192 |
-
### 5. *Agrius cingulata* (Pink-spotted hawkmoth)
|
| 193 |
-
|
| 194 |
-
- **Family**: Sphingidae
|
| 195 |
-
- **Order**: Lepidoptera
|
| 196 |
-
- **Pollinator Role**: Specialized night pollinator
|
| 197 |
-
- **Habitat**: Gardens, fields, and forest edges
|
| 198 |
-
- **Geographic Range**: Americas
|
| 199 |
-
- **Conservation Status**: Least Concern
|
| 200 |
-
- **Images in Dataset**: 0
|
| 201 |
-
|
| 202 |
-
### 6. *Anaea aidea* (Tropical leafwing)
|
| 203 |
-
|
| 204 |
-
- **Family**: Nymphalidae
|
| 205 |
-
- **Order**: Lepidoptera
|
| 206 |
-
- **Pollinator Role**: Primary pollinator
|
| 207 |
-
- **Habitat**: Tropical rainforests
|
| 208 |
-
- **Geographic Range**: Central and South America
|
| 209 |
-
- **Conservation Status**: Least Concern
|
| 210 |
-
- **Images in Dataset**: 0
|
| 211 |
-
|
| 212 |
-
### 7. *Anartia fatima* (Banded peacock)
|
| 213 |
-
|
| 214 |
-
- **Family**: Nymphalidae
|
| 215 |
-
- **Order**: Lepidoptera
|
| 216 |
-
- **Pollinator Role**: Primary pollinator
|
| 217 |
-
- **Habitat**: Open areas and gardens
|
| 218 |
-
- **Geographic Range**: South America
|
| 219 |
-
- **Conservation Status**: Least Concern
|
| 220 |
-
- **Images in Dataset**: 1,081
|
| 221 |
-
|
| 222 |
-
### 8. *Anartia jatrophae* (White peacock)
|
| 223 |
-
|
| 224 |
-
- **Family**: Nymphalidae
|
| 225 |
-
- **Order**: Lepidoptera
|
| 226 |
-
- **Pollinator Role**: Primary pollinator
|
| 227 |
-
- **Habitat**: Gardens, parks, and open areas
|
| 228 |
-
- **Geographic Range**: Southern United States to Argentina
|
| 229 |
-
- **Conservation Status**: Least Concern
|
| 230 |
-
- **Images in Dataset**: 982
|
| 231 |
-
|
| 232 |
-
### 9. *Anoplolepis gracilipes* (Yellow crazy ant)
|
| 233 |
-
|
| 234 |
-
- **Family**: Formicidae
|
| 235 |
-
- **Order**: Hymenoptera
|
| 236 |
-
- **Pollinator Role**: Indirect pollinator
|
| 237 |
-
- **Habitat**: Tropical and subtropical regions
|
| 238 |
-
- **Geographic Range**: Indo-Pacific (invasive worldwide)
|
| 239 |
-
- **Conservation Status**: Least Concern
|
| 240 |
-
- **Images in Dataset**: 0
|
| 241 |
-
|
| 242 |
-
</details>
|
| 243 |
-
|
| 244 |
## Quick Start
|
| 245 |
|
| 246 |
### Basic Usage
|
| 247 |
|
| 248 |
```python
|
| 249 |
from datasets import load_dataset
|
| 250 |
-
from PIL import Image
|
| 251 |
|
| 252 |
# Load the dataset
|
| 253 |
dataset = load_dataset("leonelgv/pollinator-insects-dataset")
|
|
@@ -262,289 +153,61 @@ example = train_data[0]
|
|
| 262 |
print(f"Species: {example['scientific_name']}")
|
| 263 |
print(f"Label: {example['label']}")
|
| 264 |
print(f"Family: {example['family']}")
|
| 265 |
-
print(f"Habitat: {example['habitat']}")
|
| 266 |
-
```
|
| 267 |
-
|
| 268 |
-
### Advanced Usage with PyTorch
|
| 269 |
-
|
| 270 |
-
```python
|
| 271 |
-
import torch
|
| 272 |
-
from torch.utils.data import DataLoader
|
| 273 |
-
from torchvision import transforms
|
| 274 |
-
from datasets import load_dataset
|
| 275 |
-
from PIL import Image
|
| 276 |
-
|
| 277 |
-
# Load dataset
|
| 278 |
-
dataset = load_dataset("leonelgv/pollinator-insects-dataset")
|
| 279 |
-
|
| 280 |
-
# Define transforms for training
|
| 281 |
-
train_transform = transforms.Compose([
|
| 282 |
-
transforms.Resize((224, 224)),
|
| 283 |
-
transforms.RandomHorizontalFlip(p=0.5),
|
| 284 |
-
transforms.RandomRotation(degrees=15),
|
| 285 |
-
transforms.ColorJitter(brightness=0.2, contrast=0.2),
|
| 286 |
-
transforms.ToTensor(),
|
| 287 |
-
transforms.Normalize(mean=[0.485, 0.456, 0.406],
|
| 288 |
-
std=[0.229, 0.224, 0.225])
|
| 289 |
-
])
|
| 290 |
-
|
| 291 |
-
class PollinatorDataset(torch.utils.data.Dataset):
|
| 292 |
-
def __init__(self, hf_dataset, transform=None):
|
| 293 |
-
self.dataset = hf_dataset
|
| 294 |
-
self.transform = transform
|
| 295 |
-
|
| 296 |
-
def __len__(self):
|
| 297 |
-
return len(self.dataset)
|
| 298 |
-
|
| 299 |
-
def __getitem__(self, idx):
|
| 300 |
-
example = self.dataset[idx]
|
| 301 |
-
|
| 302 |
-
# Load image (you'll need to handle the image loading based on your setup)
|
| 303 |
-
image_path = example["image_path"]
|
| 304 |
-
image = Image.open(image_path).convert("RGB")
|
| 305 |
-
label = example["label"]
|
| 306 |
-
|
| 307 |
-
if self.transform:
|
| 308 |
-
image = self.transform(image)
|
| 309 |
-
|
| 310 |
-
return image, label
|
| 311 |
-
|
| 312 |
-
# Create PyTorch datasets
|
| 313 |
-
train_dataset = PollinatorDataset(dataset["train"], train_transform)
|
| 314 |
-
train_loader = DataLoader(train_dataset, batch_size=32, shuffle=True)
|
| 315 |
-
```
|
| 316 |
-
|
| 317 |
-
### Usage with Transformers
|
| 318 |
-
|
| 319 |
-
```python
|
| 320 |
-
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
| 321 |
-
from datasets import load_dataset
|
| 322 |
-
|
| 323 |
-
# Load dataset
|
| 324 |
-
dataset = load_dataset("leonelgv/pollinator-insects-dataset")
|
| 325 |
-
|
| 326 |
-
# Load pre-trained model
|
| 327 |
-
processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224")
|
| 328 |
-
model = AutoModelForImageClassification.from_pretrained(
|
| 329 |
-
"google/vit-base-patch16-224",
|
| 330 |
-
num_labels=10,
|
| 331 |
-
ignore_mismatched_sizes=True
|
| 332 |
-
)
|
| 333 |
-
|
| 334 |
-
def preprocess_example(example):
|
| 335 |
-
image = Image.open(example["image_path"]).convert("RGB")
|
| 336 |
-
inputs = processor(image, return_tensors="pt")
|
| 337 |
-
return {
|
| 338 |
-
"pixel_values": inputs["pixel_values"].squeeze(),
|
| 339 |
-
"labels": example["label"]
|
| 340 |
-
}
|
| 341 |
-
|
| 342 |
-
# Process dataset
|
| 343 |
-
processed_dataset = dataset.map(preprocess_example)
|
| 344 |
```
|
| 345 |
|
| 346 |
## Dataset Statistics
|
| 347 |
|
| 348 |
### Overview
|
| 349 |
-
- **Total Images**:
|
| 350 |
- **Number of Classes**: 10
|
| 351 |
- **Image Formats**: JPEG, PNG
|
| 352 |
-
- **
|
| 353 |
-
- **Resolution Range**: 180×154 to 2048×1638 pixels
|
| 354 |
-
- **Average File Size**: 0.09 MB
|
| 355 |
-
- **Total Dataset Size**: 0.2 GB
|
| 356 |
-
- **Quality Score**: Medium
|
| 357 |
|
| 358 |
### Data Splits
|
| 359 |
|
| 360 |
-
| Split | Images | Percentage |
|
| 361 |
-
|-------|--------|------------|
|
| 362 |
-
| **Train** |
|
| 363 |
-
| **Validation** |
|
| 364 |
-
| **Test** |
|
| 365 |
-
|
| 366 |
-
### Class Distribution
|
| 367 |
-
|
| 368 |
-
The dataset maintains excellent balance across all species:
|
| 369 |
-
|
| 370 |
-
| Class | Species | Images | Percentage |
|
| 371 |
-
|-------|---------|--------|------------|
|
| 372 |
-
| 7 | *Anartia fatima* | 1,081 | 52.4% |
|
| 373 |
-
| 8 | *Anartia jatrophae* | 982 | 47.6% |
|
| 374 |
-
|
| 375 |
-
**Balance Coefficient**: 0.908 (closer to 1.0 = more balanced)
|
| 376 |
|
| 377 |
## Applications
|
| 378 |
|
| 379 |
This dataset is designed for:
|
| 380 |
|
| 381 |
-
- 🔬 **Biodiversity Research**: Species identification and
|
| 382 |
-
- 🌱 **Conservation Biology**:
|
| 383 |
-
- 📱 **Mobile Applications**: Real-time field identification
|
| 384 |
-
- 🎓 **Educational Tools**: Teaching entomology
|
| 385 |
-
- 🤖 **Computer Vision**: Benchmarking classification
|
| 386 |
-
- 📊 **Citizen Science**: Community-based monitoring and data collection
|
| 387 |
-
- 🌍 **Climate Research**: Understanding pollinator responses to environmental change
|
| 388 |
|
| 389 |
## Benchmarks
|
| 390 |
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
| Model | Top-1 Accuracy | Top-5 Accuracy | Parameters | Training Time |
|
| 396 |
-
|-------|----------------|----------------|------------|---------------|
|
| 397 |
-
| **YOLOv8 Nano** | **92.07%** | **99.12%** | 3.2M | 5.1 min |
|
| 398 |
-
| ResNet50 | 89.3% | 97.8% | 25.6M | 12 min |
|
| 399 |
-
| EfficientNet-B0 | 90.1% | 98.1% | 5.3M | 8 min |
|
| 400 |
-
|
| 401 |
-
### Evaluation Protocol
|
| 402 |
-
|
| 403 |
-
- **Metric**: Top-1 and Top-5 accuracy
|
| 404 |
-
- **Test Set**: 10% held-out split (414 images)
|
| 405 |
-
- **Hardware**: NVIDIA RTX 2060
|
| 406 |
-
- **Reproducibility**: Fixed random seeds (42)
|
| 407 |
-
|
| 408 |
-
## Data Collection and Quality
|
| 409 |
-
|
| 410 |
-
### Collection Methodology
|
| 411 |
-
|
| 412 |
-
The images were collected from various validated sources:
|
| 413 |
-
- 📸 **Field photography** by certified entomologists
|
| 414 |
-
- 🏛️ **Museum collections** with verified specimens
|
| 415 |
-
- 📚 **Scientific literature** with peer-reviewed identifications
|
| 416 |
-
- 👥 **Citizen science** contributions with expert validation
|
| 417 |
-
|
| 418 |
-
### Quality Assurance
|
| 419 |
-
|
| 420 |
-
- ✅ **Expert validation** by entomology specialists
|
| 421 |
-
- ✅ **Taxonomic verification** against current nomenclature
|
| 422 |
-
- ✅ **Image quality control** (resolution, focus, lighting)
|
| 423 |
-
- ✅ **Duplicate detection** using content hashing
|
| 424 |
-
- ✅ **Metadata verification** for accuracy and completeness
|
| 425 |
-
|
| 426 |
-
### Ethical Considerations
|
| 427 |
-
|
| 428 |
-
- 🔒 **Privacy protection** for location-sensitive species
|
| 429 |
-
- 📄 **Proper attribution** for all image sources
|
| 430 |
-
- 🌱 **Conservation focus** supporting pollinator protection
|
| 431 |
-
- 🤝 **Community benefit** through open science
|
| 432 |
-
|
| 433 |
-
## File Structure
|
| 434 |
-
|
| 435 |
-
```
|
| 436 |
-
pollinator-insects-dataset/
|
| 437 |
-
├── README.md # This documentation
|
| 438 |
-
├── data/
|
| 439 |
-
│ ├── metadata.csv # Complete metadata
|
| 440 |
-
│ ├── train.csv # Training split
|
| 441 |
-
│ ├── validation.csv # Validation split
|
| 442 |
-
│ ├── test.csv # Test split
|
| 443 |
-
│ ├── class_info.json # Taxonomic information
|
| 444 |
-
│ └── dataset_stats.json # Statistics and metrics
|
| 445 |
-
└── images/ # All image files
|
| 446 |
-
├── train_00_0001_a1b2c3d4.jpg
|
| 447 |
-
├── train_00_0002_e5f6g7h8.jpg
|
| 448 |
-
└── ...
|
| 449 |
-
```
|
| 450 |
-
|
| 451 |
-
## Metadata Fields
|
| 452 |
-
|
| 453 |
-
Each image record includes comprehensive information:
|
| 454 |
-
|
| 455 |
-
### Image Information
|
| 456 |
-
- `image_id`: Unique identifier
|
| 457 |
-
- `image_path`: Path to image file
|
| 458 |
-
- `image_filename`: Generated filename
|
| 459 |
-
- `original_filename`: Original source filename
|
| 460 |
-
- `file_hash`: MD5 hash for duplicate detection
|
| 461 |
-
|
| 462 |
-
### Dataset Organization
|
| 463 |
-
- `split`: Data split (train/validation/test)
|
| 464 |
-
- `label`: Numeric class label (0-9)
|
| 465 |
-
|
| 466 |
-
### Taxonomic Classification
|
| 467 |
-
- `scientific_name`: Binomial scientific name
|
| 468 |
-
- `common_name`: English common name
|
| 469 |
-
- `family`: Taxonomic family
|
| 470 |
-
- `order`: Taxonomic order
|
| 471 |
-
|
| 472 |
-
### Ecological Information
|
| 473 |
-
- `pollinator_type`: Role in pollination
|
| 474 |
-
- `habitat`: Primary habitat type
|
| 475 |
-
- `geographic_range`: Natural distribution
|
| 476 |
-
- `conservation_status`: IUCN status
|
| 477 |
-
|
| 478 |
-
### Technical Properties
|
| 479 |
-
- `image_width`: Width in pixels
|
| 480 |
-
- `image_height`: Height in pixels
|
| 481 |
-
- `image_mode`: Color mode (RGB, etc.)
|
| 482 |
-
- `aspect_ratio`: Width/height ratio
|
| 483 |
-
- `file_size_bytes`: File size
|
| 484 |
-
- `file_size_mb`: File size in MB
|
| 485 |
|
| 486 |
## Citation
|
| 487 |
|
| 488 |
-
If you use this dataset in your research, please cite:
|
| 489 |
-
|
| 490 |
```bibtex
|
| 491 |
@dataset{pollinator_insects_2024,
|
| 492 |
title={Pollinator Insects Dataset: A Comprehensive Collection for Species Classification},
|
| 493 |
author={Leonel Gonzalez Vidales},
|
| 494 |
year={2024},
|
| 495 |
publisher={Hugging Face},
|
| 496 |
-
url={https://huggingface.co/datasets/leonelgv/pollinator-insects-dataset}
|
| 497 |
-
note={Dataset for computer vision research on pollinator species identification}
|
| 498 |
}
|
| 499 |
```
|
| 500 |
|
| 501 |
## License
|
| 502 |
|
| 503 |
-
This dataset is released under the **
|
| 504 |
-
|
| 505 |
-
### You are free to:
|
| 506 |
-
- **Share** — copy and redistribute the material
|
| 507 |
-
- **Adapt** — remix, transform, and build upon the material
|
| 508 |
-
- **Commercial use** — use for any purpose, including commercially
|
| 509 |
-
|
| 510 |
-
### Under the following terms:
|
| 511 |
-
- **Attribution** — You must give appropriate credit and indicate if changes were made
|
| 512 |
-
- **No additional restrictions** — You may not apply legal terms that legally restrict others
|
| 513 |
-
|
| 514 |
-
## Acknowledgments
|
| 515 |
-
|
| 516 |
-
We thank the following contributors and organizations:
|
| 517 |
-
|
| 518 |
-
- 🔬 **Field researchers** who collected high-quality images
|
| 519 |
-
- 🏛️ **Natural history museums** for specimen access
|
| 520 |
-
- 👨🔬 **Entomologists** for taxonomic validation
|
| 521 |
-
- 🌱 **Conservation organizations** supporting pollinator research
|
| 522 |
-
- 🤗 **Hugging Face** for hosting and infrastructure
|
| 523 |
-
- 👥 **Community contributors** for data validation and feedback
|
| 524 |
|
| 525 |
## Contact
|
| 526 |
|
| 527 |
-
For questions, suggestions, or collaboration opportunities:
|
| 528 |
-
|
| 529 |
- **Author**: Leonel Gonzalez Vidales
|
| 530 |
- **Email**: leonelgv@gmail.com
|
| 531 |
- **GitHub**: [l3onet](https://github.com/l3onet)
|
| 532 |
-
- **Hugging Face**: [leonelgv](https://huggingface.co/leonelgv)
|
| 533 |
-
|
| 534 |
-
### Issues and Contributions
|
| 535 |
-
|
| 536 |
-
- 🐛 **Report issues**: [GitHub Issues](https://github.com/l3onet/pollinator-classifier/issues)
|
| 537 |
-
- 💡 **Feature requests**: [GitHub Discussions](https://github.com/l3onet/pollinator-classifier/discussions)
|
| 538 |
-
- 🤝 **Contributions**: Pull requests welcome
|
| 539 |
-
|
| 540 |
-
## Changelog
|
| 541 |
-
|
| 542 |
-
### Version 1.0.0 (2024-12)
|
| 543 |
-
- Initial release with 2,063 images
|
| 544 |
-
- 10 pollinator species included
|
| 545 |
-
- Balanced train/validation/test splits
|
| 546 |
-
- Complete taxonomic and ecological metadata
|
| 547 |
-
- Quality-controlled expert validation
|
| 548 |
|
| 549 |
---
|
| 550 |
|
|
@@ -552,6 +215,6 @@ For questions, suggestions, or collaboration opportunities:
|
|
| 552 |
|
| 553 |
**🌍 Supporting pollinator conservation through open science**
|
| 554 |
|
| 555 |
-
[📊 Dataset](https://huggingface.co/datasets/leonelgv/pollinator-insects-dataset) • [🤖 Model](https://huggingface.co/leonelgv/pollinator-classifier)
|
| 556 |
|
| 557 |
</div>
|
|
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
task_categories:
|
| 4 |
- image-classification
|
|
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
tags:
|
|
|
|
| 11 |
- ecology
|
| 12 |
- conservation
|
| 13 |
- entomology
|
|
|
|
|
|
|
| 14 |
- lepidoptera
|
| 15 |
- hymenoptera
|
| 16 |
- coleoptera
|
| 17 |
- diptera
|
| 18 |
+
- computer-vision
|
| 19 |
pretty_name: Pollinator Insects Dataset
|
| 20 |
size_categories:
|
| 21 |
- 1K<n<10K
|
|
|
|
| 26 |
- split: train
|
| 27 |
path: "data/train.csv"
|
| 28 |
- split: validation
|
| 29 |
+
path: "data/validation.csv"
|
| 30 |
- split: test
|
| 31 |
path: "data/test.csv"
|
| 32 |
dataset_info:
|
|
|
|
| 76 |
dtype: int64
|
| 77 |
splits:
|
| 78 |
- name: train
|
| 79 |
+
num_examples: 7186
|
| 80 |
- name: validation
|
| 81 |
+
num_examples: 899
|
| 82 |
- name: test
|
| 83 |
+
num_examples: 898
|
| 84 |
---
|
| 85 |
|
| 86 |
# Pollinator Insects Dataset 🦋
|
| 87 |
|
| 88 |
<div align="center">
|
| 89 |
|
| 90 |
+

|
| 91 |

|
| 92 |

|
| 93 |
+

|
| 94 |
|
| 95 |
**Comprehensive dataset of 10 pollinator insect species for computer vision and biodiversity research**
|
| 96 |
|
|
|
|
| 100 |
|
| 101 |
## Dataset Description
|
| 102 |
|
| 103 |
+
The **Pollinator Insects Dataset** is a curated collection of **8,983 high-resolution images** representing **10 ecologically important pollinator species**. This dataset was specifically designed for:
|
| 104 |
|
| 105 |
- 🔬 **Biodiversity research** and species monitoring
|
| 106 |
- 🤖 **Computer vision** model development
|
|
|
|
| 111 |
### Key Features
|
| 112 |
|
| 113 |
- 🦋 **10 species** from 4 major insect orders
|
| 114 |
+
- 📸 **8,983 images** with natural variation in pose, lighting, and background
|
| 115 |
- 🏷️ **Rich metadata** including taxonomy, ecology, and conservation status
|
| 116 |
- ⚖️ **Balanced distribution** across species and data splits
|
| 117 |
+
- 📊 **Ready-to-use splits** (80% train, 10% validation, 10% test)
|
| 118 |
- 🔍 **Quality controlled** with expert validation
|
| 119 |
+
- 📐 **High resolution** images
|
| 120 |
|
| 121 |
## Species Information
|
| 122 |
|
|
|
|
| 133 |
| 8 | *Anartia jatrophae* | White peacock | Nymphalidae | Lepidoptera | Primary pollinator |
|
| 134 |
| 9 | *Anoplolepis gracilipes* | Yellow crazy ant | Formicidae | Hymenoptera | Indirect pollinator |
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
## Quick Start
|
| 137 |
|
| 138 |
### Basic Usage
|
| 139 |
|
| 140 |
```python
|
| 141 |
from datasets import load_dataset
|
|
|
|
| 142 |
|
| 143 |
# Load the dataset
|
| 144 |
dataset = load_dataset("leonelgv/pollinator-insects-dataset")
|
|
|
|
| 153 |
print(f"Species: {example['scientific_name']}")
|
| 154 |
print(f"Label: {example['label']}")
|
| 155 |
print(f"Family: {example['family']}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
```
|
| 157 |
|
| 158 |
## Dataset Statistics
|
| 159 |
|
| 160 |
### Overview
|
| 161 |
+
- **Total Images**: 8,983
|
| 162 |
- **Number of Classes**: 10
|
| 163 |
- **Image Formats**: JPEG, PNG
|
| 164 |
+
- **Total Dataset Size**: ~1.2 GB
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
|
| 166 |
### Data Splits
|
| 167 |
|
| 168 |
+
| Split | Images | Percentage |
|
| 169 |
+
|-------|--------|------------|
|
| 170 |
+
| **Train** | 7,186 | 80% |
|
| 171 |
+
| **Validation** | 899 | 10% |
|
| 172 |
+
| **Test** | 898 | 10% |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
## Applications
|
| 175 |
|
| 176 |
This dataset is designed for:
|
| 177 |
|
| 178 |
+
- 🔬 **Biodiversity Research**: Species identification and monitoring
|
| 179 |
+
- 🌱 **Conservation Biology**: Pollinator population studies
|
| 180 |
+
- 📱 **Mobile Applications**: Real-time field identification
|
| 181 |
+
- 🎓 **Educational Tools**: Teaching entomology and ecology
|
| 182 |
+
- 🤖 **Computer Vision**: Benchmarking classification models
|
|
|
|
|
|
|
| 183 |
|
| 184 |
## Benchmarks
|
| 185 |
|
| 186 |
+
| Model | Top-1 Accuracy | Top-5 Accuracy | Parameters |
|
| 187 |
+
|-------|----------------|----------------|------------|
|
| 188 |
+
| **YOLOv8 Nano** | **92.07%** | **99.12%** | 3.2M |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
|
| 190 |
## Citation
|
| 191 |
|
|
|
|
|
|
|
| 192 |
```bibtex
|
| 193 |
@dataset{pollinator_insects_2024,
|
| 194 |
title={Pollinator Insects Dataset: A Comprehensive Collection for Species Classification},
|
| 195 |
author={Leonel Gonzalez Vidales},
|
| 196 |
year={2024},
|
| 197 |
publisher={Hugging Face},
|
| 198 |
+
url={https://huggingface.co/datasets/leonelgv/pollinator-insects-dataset}
|
|
|
|
| 199 |
}
|
| 200 |
```
|
| 201 |
|
| 202 |
## License
|
| 203 |
|
| 204 |
+
This dataset is released under the **CC-BY-4.0** license.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
## Contact
|
| 207 |
|
|
|
|
|
|
|
| 208 |
- **Author**: Leonel Gonzalez Vidales
|
| 209 |
- **Email**: leonelgv@gmail.com
|
| 210 |
- **GitHub**: [l3onet](https://github.com/l3onet)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
|
| 212 |
---
|
| 213 |
|
|
|
|
| 215 |
|
| 216 |
**🌍 Supporting pollinator conservation through open science**
|
| 217 |
|
| 218 |
+
[📊 Dataset](https://huggingface.co/datasets/leonelgv/pollinator-insects-dataset) • [🤖 Model](https://huggingface.co/leonelgv/pollinator-classifier)
|
| 219 |
|
| 220 |
</div>
|