Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
# Re-created Beetle Elytra Dataset
|
| 5 |
+
|
| 6 |
+
This dataset is a **re-created** version of the original “2018-NEON-beetles” dataset, augmented with:
|
| 7 |
+
- **Bounding boxes** for beetle object detection.
|
| 8 |
+
- **Manually refined elytra coordinates** for precise morphological measurements.
|
| 9 |
+
|
| 10 |
+
Our goal is to **streamline automated beetle trait analysis** by providing curated ground truths suitable for training and benchmarking deep learning models.
|
| 11 |
+
|
| 12 |
+
### What’s Included
|
| 13 |
+
- **High-resolution images** featuring multiple beetles, each with a scale bar and barcode.
|
| 14 |
+
- **Bounding box annotations** for each beetle (extracted using contour detection on Segment Anything Model (SAM) masks).
|
| 15 |
+
- **Elytra coordinates** for morphological trait estimation, specifically measuring elytra length and width.
|
| 16 |
+
|
| 17 |
+
## Dataset Creation Process
|
| 18 |
+
|
| 19 |
+
1. **Original Dataset**
|
| 20 |
+
- We started with the [2018-NEON-beetles](https://huggingface.co/datasets/imageomics/2018-NEON-beetles) dataset, which had images and partial morphological annotations provided via [Zooniverse](https://www.zooniverse.org/).
|
| 21 |
+
|
| 22 |
+
2. **Segmentation & Bounding Box Extraction**
|
| 23 |
+
- We leveraged the [Segment Anything Model (SAM)](https://github.com/facebookresearch/segment-anything) to generate masks for each beetle.
|
| 24 |
+
- **Contour detection** was applied to masks to produce bounding box coordinates.
|
| 25 |
+
|
| 26 |
+
3. **Elytra Annotation Recalibration**
|
| 27 |
+
- The original elytra keypoints from Zooniverse were mapped to the newly cropped bounding boxes.
|
| 28 |
+
- Adjustments were made to ensure consistent coordinate references (top-left origin, pixel-based).
|
| 29 |
+
|
| 30 |
+
4. **Final Verification**
|
| 31 |
+
- A small portion of images were manually inspected to confirm the correctness of bounding boxes and elytra points.
|
| 32 |
+
- Any outliers or flawed annotations were corrected.
|
| 33 |
+
|
| 34 |
+
## Intended Uses
|
| 35 |
+
|
| 36 |
+
- **Object Detection**: Training and evaluating models (e.g., YOLO) to detect and localize beetles in group images.
|
| 37 |
+
- **Coordinate Regression**: Predicting elytra keypoints for morphological trait analysis (length, width).
|
| 38 |
+
- **Ecological/Biodiversity Research**: Enabling large-scale measurement and comparison across beetle populations.
|
| 39 |
+
|
| 40 |
+
## Citation
|
| 41 |
+
### BibTeX:
|
| 42 |
+
|
| 43 |
+
## Acknowledgements
|
| 44 |
+
This work was supported by the NSF OAC 2118240 Imageomics Institute award and was initiated at Beetlepalooza 2024. More details about Beetlepalooza can be found on https://github.com/Imageomics/BeetlePalooza-2024.
|