Skip to main content
zenodoopen

Benchmark datasets for detection and identification of insects from camera trap images with deep learning

<p><strong>Insect benchmark datasets for training, validation and test (train1201.zip, val1201.zip and test1201.zip)&nbsp;with time-lapse images as described in paper:</strong></p> <p><a href="https://www.biorxiv.org/content/10.1101/2022.10.25.513484v1">Bjerge K, Alison J, Dyrmann M, Frigaard C.E., Mann H. M. R., H&oslash;ye T.T., Accurate detection and identification of insects from camera trap images with deep learning, bioRxiv:10.1101/2022.10.25.513484v1</a></p> <p>Labels in&nbsp;<strong>YOLO format:&nbsp;<a href="https://github.com/ultralytics/yolov5/issues/2293">ultralytics/yolov5: label format</a></strong></p> <p>The annotated training and validation datasets contains insects of nine different species as listed below:</p> <table> <tbody> <tr> <td>0&nbsp;<em>Coccinellidae septempunctata</em></td> </tr> <tr> <td>1&nbsp;<em>Apis mellifera</em></td> </tr> <tr> <td>2&nbsp;<em>Bombus lapidarius</em></td> </tr> <tr> <td>3&nbsp;<em>Bombus terrestris</em></td> </tr> <tr> <td>4&nbsp;<em>Eupeodes corolla</em></td> </tr> <tr> <td>5&nbsp;<em>Episyrphus balteatus</em></td> </tr> <tr> <td>6&nbsp;<em>Aglais urticae</em></td> </tr> <tr> <td>7&nbsp;<em>Vespula vulgaris</em></td> </tr> <tr> <td>8&nbsp;<em>Eristalis tenax</em></td> </tr> </tbody> </table> <p>The test dataset contains additional classes of insects.</p> <table> <tbody> <tr> <td>9 Non-Bombus Anthophila</td> </tr> <tr> <td>10 Bombus spp.</td> </tr> <tr> <td>11 Syrphidae</td> </tr> <tr> <td>12 Fly spp.</td> </tr> <tr> <td>13 Unclear insect</td> </tr> <tr> <td>14 Mixed animals:<br> &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br> Rhopalocera<br> Non-Anthophila Hymenoptera<br> Non-Syrphidae Diptera<br> Non-Conccinalidae Coleoptera<br> Concinellidae<br> Other animals</td> </tr> </tbody> </table> <p><strong>There are two naming conventions for image (.jpg) and label (.txt) files.</strong></p> <p><em>Background images without insects are named</em>:<br> &ldquo;<strong>X_Seq-YYYYMMDDHHMMSS</strong>-snapshot&rdquo;.<br> E.g.:<br> Background image: 12_13-20190704172200-snapshot.jpg<br> Empty label file: 12_13-20190704172200-snapshot.txt</p> <p><em>Images annotated with insects are named:</em><br> &ldquo;<strong>SZ_IP-MonthDate_C_Seq-YYYYMMDDHHMMSS</strong>&rdquo;.<br> E.g.:<br> Image file: S1_146-Aug23_1_156-20190822133230.jpg<br> Label file: S1_146-Aug23_1_156-20190822133230.txt</p> <p><strong>Abbreviations</strong>:</p> <p><strong>YYYYMMDDHHMMSS&nbsp;</strong>&ndash; Capture timestamp with year, month, date, hour, minutes, and second<br> <strong>Seq</strong>&nbsp;&ndash; Sequence number created by the motion program to separate images<br> <strong>C</strong>&nbsp;&ndash; Identification of two cameras with Id=0 or Id=1 in system identified by&nbsp;<strong>SZ_IP</strong><br> <strong>MonthDate&nbsp;</strong>&ndash; Folder name for where the original image were stored in the system<br> <strong>SZ_IP</strong>&nbsp;&ndash; Identification of five camera systems: S1_123, S2_146, S3_194, S4_199, S5_187 (Two cameras in each system)<br> <strong>X</strong>&nbsp;&ndash; An index number related to a specific camera and folder ensuring unique file names of background images from different camera systems.<br> <br> The important information in a filename is system (<strong>SZ_IP</strong>), camera Id (<strong>C</strong>) and timestamp (<strong>YYYYMMDDHHMMSS</strong>).</p> <p><strong>The three best YOLOv5 models (YOLOv5models.zip)&nbsp;from the paper are available in pytorch format.</strong></p> <p>All models are tested with YOLOv5 release v7.0 (22-11-2022):&nbsp;<a href="https://github.com/ultralytics/yolov5">ultralytics/yolov5: YOLOv5&nbsp;&nbsp;in PyTorch</a></p> <p><strong>insect1201-bestF1-640v5m.pt</strong>: Model no. 6 in Table 2 (F1=0.912)<br> <strong>insect1201-bestF1-1280v5m6.pt</strong>: Model no. 8 in Table 2 (F1=0.925)<br> <strong>insect1201-bestF1-1280v5m6.pt</strong>: Model no. 10 in Table 2 (F1=0.932)</p> <p><strong>insects-1201val.yaml</strong>: YAML file with label names to train YOLOv5</p> <p><strong>trainInsects-1201m.sh</strong>: Linux bash shell script with parameters to train YOLOv5m6<br> <strong>valInsectsF1-1201.sh</strong>: Linux bash shell script with parameters to validated models</p> <p>&nbsp;</p>

ShareScore

40/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
8
Access
16
Reuse readiness
8
Engagement
4