--- license: mit dataset_info: features: - name: image dtype: image - name: objects sequence: - name: bbox sequence: float64 - name: category dtype: string splits: - name: train num_bytes: 5181123686 num_examples: 2031 download_size: 5575265709 dataset_size: 5181123686 configs: - config_name: default data_files: - split: train path: data/train-* --- # Dataset Card for IBBI Bark Beetle Testing Dataset ## Dataset Summary This dataset is the primary testing and benchmarking set for the `ibbi` Python package. It contains images of bark and ambrosia beetles used to evaluate the performance of object detection and classification models. **Note**: While this dataset serves as the **testing set** for the `ibbi` package's evaluation functions, it is hosted on the Hugging Face Hub as the `train` split. You can access it using `ibbi.get_dataset(split='train')`. ### Dataset Summary The Intelligent Bark Beetle Identifier (IBBI) testing dataset is a curated collection of 2,031 images of bark and ambrosia beetles, covering 63 distinct species. It was developed to provide a standardized benchmark for evaluating the performance of computer vision models on the challenging task of beetle identification. The dataset is specifically designed for evaluating both localization (finding the beetle) and classification (identifying the species) tasks. All images have been annotated by experts. ### Supported Tasks and Leaderboards This dataset is primarily used for evaluating the following tasks within the `ibbi` package: * **Object Detection**: Models are evaluated on their ability to accurately draw bounding boxes around beetles. The primary metric is mean Average Precision (mAP). * **Object Classification**: For models that identify species, performance is measured using metrics like F1-score, accuracy, precision, and recall. * **Embedding Quality**: The dataset is used to evaluate the quality of feature embeddings generated by models, assessing how well they separate different species in a high-dimensional space using clustering metrics. ### Dataset Structure #### Data Instances A typical data instance consists of an image and a corresponding set of object annotations. ```python { 'image': , 'objects': { 'bbox': [[217.0, 181.0, 526.0, 631.0]], 'category': ['Xylosandrus_crassiusculus'] } } ```` #### Data Fields * `image`: A PIL Image object containing the image of a beetle specimen. * `objects`: A dictionary containing annotation information. * `bbox`: A list of bounding boxes, where each box is in `[x_min, y_min, width, height]` format. * `category`: A list of string labels corresponding to the species of the beetle in each bounding box. There are **63 unique species categories** in the dataset. #### Data Splits The dataset contains a single split, which is used for testing and evaluation. Although named `train` on the Hugging Face Hub, it functions as the official test set for the `ibbi` package. * **Testing set (`train` split)**: 2,031 images. ## Dataset Statistics | Metric | Value | | ------------------------------ | ------------- | | Total Images | 2,031 | | Unique Species | 63 | | Total Bounding Box Annotations | 16,480 | | Average Bboxes per Image | 8.11 | | Average Image Dimensions (WxH) | 2211 x 1891 | ### Species Distribution | Species | Annotation Count | | ----------------------------------- | ---------------- | | Xylosandrus\_compactus | 1136 | | Euwallacea\_fornicatus | 854 | | Phloeosinus\_dentatus | 770 | | Pityophthorus\_juglandis | 745 | | Xyleborus\_affinis | 739 | | Hylesinus\_varius | 725 | | Xyleborinus\_saxesenii | 637 | | Xyleborus\_glabratus | 556 | | Ips\_typographus | 539 | | Coccotrypes\_dactyliperda | 531 | | Monarthrum\_fasciatum | 521 | | Cryptocarenus\_heveae | 502 | | Platypus\_cylindrus | 480 | | Coccotrypes\_carpophagus | 421 | | Scolytodes\_glaber | 417 | | Xylosandrus\_crassiusculus | 399 | | Euwallacea\_perbrevis | 391 | | Dendroctonus\_valens | 344 | | Ips\_duplicatus | 277 | | Platypus\_koryoensis | 264 | | Ips\_acuminatus | 244 | | Ctonoxylon\_hagedorn | 239 | | Coptoborus\_ricini | 239 | | Euplatypus\_compositus | 237 | | Dendroctonus\_terebrans | 235 | | Ips\_sexdentatus | 228 | | Pagiocerus\_frontalis | 225 | | Hypothenemus\_hampei | 224 | | Pycnarthrum\_hispidium | 214 | | Hylurgops\_palliatus | 207 | | Monarthrum\_mali | 199 | | Anisandrus\_sayi | 195 | | Ips\_avulsus | 193 | | Myoplatypus\_flavicornis | 189 | | Hylesinus\_toranio | 181 | | Xyleborus\_ferrugineus | 177 | | Cnestus\_mutilatus | 166 | | Ips\_calligraphus | 151 | | Orthotomicus\_erosus | 129 | | Hylastes\_salebrosus | 127 | | Xylosandrus\_morigerus | 124 | | Hylurgus\_ligniperda | 122 | | Taphrorychus\_bicolor | 111 | | Hylastes\_porculus | 104 | | Tomicus\_destruens | 100 | | Anisandrus\_dispar | 96 | | Pityogenes\_chalcographus | 96 | | Cyclorhipidion\_pelliculosum | 88 | | Hylesinus\_crenatus | 66 | | Scolytus\_schevyrewi | 61 | | Xylosandrus\_amputatus | 61 | | Xylosandrus\_germanus | 50 | | Ambrosiophilus\_atratus | 41 | | Trypodendron\_domesticum | 16 | | Xyleborus\_celsus | 15 | | Hylesinus\_aculeatus | 13 | | Dryocoetes\_autographus | 12 | | Ambrosiodmus\_minor | 11 | | Dendroctonus\_rufipennis | 10 | | Scolytus\_multistriatus | 9 | | Orthotomicus\_caelatus | 9 | | Ips\_grandicollis | 9 | | Euwallacea\_validus | 9 | ## Dataset Creation #### Curation Rationale The dataset was created to address the need for a standardized, high-quality benchmark for automated bark beetle identification, a task traditionally reliant on expert taxonomists. The selection of 63 species provides a taxonomically diverse set for robust model evaluation. #### Source Data Images were collected from a variety of sources by the Forest Entomology Lab at the University of Florida to ensure diversity in lighting, background, and specimen condition. #### Annotations The annotation process involved a human-in-the-loop workflow: 1. A zero-shot detection model was used to perform initial localization of beetles in the images. 2. These initial bounding box annotations were then manually verified and corrected by human annotators to ensure accuracy. 3. Species-level classification for each verified bounding box was provided by expert taxonomists to guarantee high-quality labels. ## Citation Information If you use this dataset in your research, please cite the associated paper: ```bibtex @article{marais2025progress, title={Progress in developing a bark beetle identification tool}, author={Marais, G Christopher and Stratton, Isabelle C and Johnson, Andrew J and Hulcr, Jiri}, journal={PLoS One}, volume={20}, number={6}, pages={e0310716}, year={2025}, publisher={Public Library of Science San Francisco, CA USA} } ```