egrace479 commited on
Commit
0f9a105
·
verified ·
1 Parent(s): d9c6a82

Restructure (#4)

Browse files

- move balanced metadata to root (b1c89652e6ab224c3a199677904c18cb1fd75311)
- restructure larger CSVs (750962a1e9334a38756d3331eb73fb8360e9b419)
- remove extra larger files (dc389c2a4fe2b9babd40772878c6f612862d7933)
- remove older files (090125eab9bda9702b3da49f5580092e55cdd53a)
- update dataset description (5c8b275f97b842068b9d098b4e46afee4b520ce9)
- emphasize species classification task (ae4e6aae2568e4905fdc397b814cadbb08d2d5ac)

Files changed (32) hide show
  1. data/potential-test-sets/filtered/ENA24-balanced.csv → ENA24-balanced.csv +0 -0
  2. README.md +173 -284
  3. data/lila-taxonomy-mapping_release.csv +0 -0
  4. data/lila_image_urls_and_labels.csv +0 -3
  5. data/lila_image_urls_and_labels_species.csv +0 -3
  6. data/lila_image_urls_and_labels_wHumans.csv +0 -3
  7. data/potential-test-sets/filtered/ENA24-balanced-small.csv +0 -0
  8. data/potential-test-sets/filtered/ENA24-imbalanced.csv +0 -0
  9. data/potential-test-sets/filtered/desert-lion-upper-bound.csv +0 -3
  10. data/potential-test-sets/filtered/desert-lion-upper-lower-bound.csv +0 -3
  11. data/potential-test-sets/filtered/island-imbalanced_common.csv +0 -3
  12. data/potential-test-sets/filtered/island-imbalanced_family.csv +0 -3
  13. data/potential-test-sets/filtered/island-lower-bound_common.csv +0 -3
  14. data/potential-test-sets/filtered/island-lower-bound_family.csv +0 -3
  15. data/potential-test-sets/filtered/ohio-small-animals-upper-bound.csv +0 -3
  16. data/potential-test-sets/filtered/ohio-small-animals-upper-bound_checksums.csv +0 -3
  17. data/potential-test-sets/filtered/ohio-small-animals-upper-lower-bound.csv +0 -3
  18. data/potential-test-sets/filtered/orinoquia-upper-bound.csv +0 -3
  19. data/potential-test-sets/filtered/orinoquia-upper-lower-bound.csv +0 -3
  20. data/potential-test-sets/filtered/desert-lion-balanced.csv → desert-lion-balanced.csv +0 -0
  21. data/potential-test-sets/filtered/island-balanced.csv → island-balanced.csv +0 -0
  22. data/potential-test-sets/filtered/ohio-small-animals-balanced.csv → ohio-small-animals-balanced.csv +0 -0
  23. data/potential-test-sets/filtered/orinoquia-balanced.csv → orinoquia-balanced.csv +0 -0
  24. {data/potential-test-sets → potential-test-sets}/Desert_Lion_Conservation_Camera_Traps_image_urls_and_labels.csv +0 -0
  25. {data/potential-test-sets → potential-test-sets}/ENA24_image_urls_and_labels.csv +0 -0
  26. {data/potential-test-sets → potential-test-sets}/Island_Conservation_Camera_Traps_image_urls_and_labels.csv +0 -0
  27. {data/potential-test-sets → potential-test-sets}/Ohio_Small_Animals_image_urls_and_labels.csv +0 -0
  28. {data/potential-test-sets → potential-test-sets}/Orinoquia_Camera_Traps_image_urls_and_labels.csv +0 -0
  29. {data/potential-test-sets → potential-test-sets}/SWG_Camera_Traps_image_urls_and_labels.csv +0 -0
  30. {data/potential-test-sets → potential-test-sets}/Snapshot_Safari_2024_Expansion_image_urls_and_labels.csv +0 -0
  31. {data/potential-test-sets → potential-test-sets}/lila-taxonomy-mapping_release.csv +0 -0
  32. {data/potential-test-sets → potential-test-sets}/lila_image_urls_and_labels.csv +0 -0
data/potential-test-sets/filtered/ENA24-balanced.csv → ENA24-balanced.csv RENAMED
File without changes
README.md CHANGED
@@ -1,257 +1,127 @@
1
  ---
2
- license: cdla-permissive-1.0
3
  language:
4
  - en
5
- pretty_name: LILA BC Camera Trap Data
 
6
  tags:
7
  - biology
8
  - image
 
9
  - animals
10
  - CV
 
11
  - camera traps
 
 
 
 
 
 
 
 
 
 
 
12
  size_categories:
13
- - 1M<n<10M
 
 
 
14
  ---
15
 
16
- <!--
17
 
18
- NOTE: Add more tags (your particular animal, type of model and use-case, etc.).
19
-
20
- As with your GitHub Project repo, it is important to choose an appropriate license for your dataset. The default license is pddl (public domain dedication or CC0, see [Dryad's explanation of why to use CC0](https://blog.datadryad.org/2023/05/30/good-data-practices-removing-barriers-to-data-reuse-with-cc0-licensing/)). Alongside the appropriate stakeholders (eg., your PI, co-authors), select a license that is [Open Source Initiative](https://opensource.org/licenses) (OSI) compliant.
21
- For more information on how to choose a license and why it matters, see [Choose A License](https://choosealicense.com) and [A Quick Guide to Software Licensing for the Scientist-Programmer](https://doi.org/10.1371/journal.pcbi.1002598) by A. Morin, et al.
22
- See the [Imageomics policy for licensing](https://docs.google.com/document/d/1SlITG-r7kdJB6C8f4FCJ9Z7o7ccwldZoSRJKjhRAWVA/edit#heading=h.c1sxg0wsiqru) for more information.
23
-
24
- See more options for the above information by clicking "edit dataset card" on your repo.
25
-
26
- Fill in as much information as you can at each location that says "More information needed".
27
- -->
28
-
29
- <!--
30
- Image with caption:
31
- |![Figure #](https://huggingface.co/imageomics/<data-repo>/resolve/main/<filename>)|
32
- |:--|
33
- |**Figure #.** [Image of <>](https://huggingface.co/imageomics/<data-repo>/raw/main/<filename>) <caption description>.|
34
- -->
35
-
36
- <!--
37
- Notes on styling:
38
-
39
- To render LaTex in your README, wrap the code in `\\(` and `\\)`. Example: \\(\frac{1}{2}\\)
40
-
41
- Escape underscores ("_") with a "\". Example: image\_RGB
42
- -->
43
-
44
- # Dataset Card for LILA BC Camera Trap Data
45
-
46
- <!-- Provide a quick summary of what the data is or can be used for. -->
47
-
48
- ## Dataset Description
49
-
50
- <!-- Provide the basic links for the dataset. -->
51
-
52
- - **Homepage:**
53
- - **Repository:** [related project repo]
54
- - **Paper:**
55
- - **Leaderboard:**
56
- - **Point of Contact:**
57
-
58
- ### Dataset Summary
59
-
60
- <!-- Provide a longer summary of what this data is. -->
61
-
62
- <!--This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).-->
63
-
64
- This dataset contains the LILA BC full camera trap information with notebook ([`lilabc_CT.ipynb`](https://huggingface.co/datasets/imageomics/lila-bc-camera/blob/main/notebooks/lilabc_CT.ipynb)) exploring available data. The last run of this (in [commit 010ecf0](https://huggingface.co/datasets/imageomics/lila-bc-camera/commit/010ecf0c6a2e0c99c9481cea793d8b1556b5c71e)) uses and produces the lila CSVs found [here](https://huggingface.co/datasets/imageomics/lila-bc-camera/tree/010ecf0c6a2e0c99c9481cea793d8b1556b5c71e/data).
65
- More details on this are below in [Data Instances](#data-instances).
66
-
67
- Looks at potential test sets constructed from 7 different LILA datasets (uses [data/potential-test-sets/lila_image_urls_and_labels.csv](https://huggingface.co/datasets/imageomics/lila-bc-camera/blob/37b93ddf25c63bc30d8488ef78c1a53b9c4a3115/data/potential-test-sets/lila_image_urls_and_labels.csv) (sha256:3fdf87ceea75f8720208a95350c3c70831a6c1c745a92bb68c7f2c3239e4c455) to separate them out):
68
- We're specifically interested in the following datasets identified in the [spreadsheet](https://docs.google.com/spreadsheets/d/1sC90DolAvswDUJ1lNSf0sk_norR24LwzX2O4g9OxMZE/edit?usp=drive_link) as labeled at the image-level.
69
- - [Snapshot Safari 2024 Expansion](https://lila.science/datasets/snapshot-safari-2024-expansion/)
70
- - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/)
71
- - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
72
- - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
73
- - [SWG Camera Traps 2018-2020](https://lila.science/datasets/swg-camera-traps)
74
- - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
75
- - [ENA24-detection](https://lila.science/datasets/ena24detection)
76
-
77
- There are 2,867,312 images in this subset (once humans and non-creatures are removed).
78
-
79
- [NOAA Puget Sound Nearshore Fish 2017-2018](https://lila.science/datasets/noaa-puget-sound-nearshore-fish) could be interesting for the combined categories, though it is _very_ general (has only three labels: `fish`, `crab`, `fish_and_crab`). It also isn't included in the CSV, so not explored further.
80
-
81
- More details on this provided in [Test Data Instances](#test-data-instances), below.
82
-
83
- **Repo file description at [commit 87e2e4d](https://huggingface.co/datasets/imageomics/lila-bc-camera/tree/87e2e4d46cf1e8daadd74b7738856a1e30754de3) when we were considering it for BioCLIP v1 testing:**
84
-
85
- Images have been deduplicated and reduced down to species designation, with the main CSV filtered to just those with species labels and only one animal per image. This was done by pulling the first instance of an animal so that there are not repeat images of the same animal from essentially the same time.
86
-
87
- The deduplicated collection ([lila_image_urls_and_labels_species.csv](https://huggingface.co/datasets/imageomics/lila-bc-camera/blob/f2d596714c46bf30edf1f45efe88b3a09b3c5f81/data/lila_image_urls_and_labels_species.csv)) has 6,365,985 images (compared to the full dataset of 16,833,848 at time of download). Its [associated taxonomy mapping release](https://huggingface.co/datasets/imageomics/lila-bc-camera/blob/f2d596714c46bf30edf1f45efe88b3a09b3c5f81/data/lila-taxonomy-mapping_release.csv).
88
-
89
- See the [LILA BC HF Dataset](https://huggingface.co/datasets/society-ethics/lila_camera_traps) for more inforamtion and updated data.
90
 
 
91
 
 
 
 
92
 
93
  ### Supported Tasks and Leaderboards
94
- [More Information Needed]
95
 
96
  ### Languages
97
- [More Information Needed]
98
 
99
  ## Dataset Structure
100
 
101
  ```
102
  /dataset/
103
- data/
104
- lila-taxonomy-mapping_release.csv
105
- lila_image_urls_and_labels.csv
106
- lila_image_urls_and_labels_species.csv # Outdated
107
- lila_image_urls_and_labels_wHumans.csv
108
- potential-test-sets/
109
- lila-taxonomy-mapping_release.csv
110
- lila_image_urls_and_labels.csv
111
- filtered/
112
- ENA24-imbalanced.csv
113
- ENA24-balanced.csv
114
- ENA24-balanced-small.csv
115
- desert-lion-upper-lower-bound.csv
116
- desert-lion-upper-bound.csv
117
- desert-lion-balanced.csv
118
- island-lower-bound_common.csv
119
- island-lower-bound_family.csv
120
- island-imbalanced_family.csv
121
- island-balanced.csv
122
- island-imbalanced_common.csv
123
- ohio-small-animals-upper-lower-bound.csv
124
- ohio-small-animals-upper-bound.csv
125
- ohio-small-animals-balanced.csv
126
- orinoquia-upper-lower-bound.csv
127
- orinoquia-upper-bound.csv
128
- orinoquia-balanced.csv
 
 
 
 
 
129
  notebooks/
130
  lilabc_CT.ipynb
131
  lilabc_CT.py
132
  lilabc_test-<dataset_name>.ipynb
133
- lilabc_test-EDA.py
134
  lilabc_test-filter.ipynb
135
  lilabc_test-filter.py
 
 
 
 
136
  ```
137
 
138
- **Notes:**
139
- - `dataset_name` is one of `desert-lion`, `ENA24`, `island`, `ohio-small-animal`, or `orinoquia`. Each collection of `<dataset_name>-<size_indicator>` CSVs are created in their corresponding `lilabc_test-<dataset_name>` notebook.
140
- - All the "balanced" datasets and `ENA24-balanced-small.csv` have 12 images per species (or family, in the case of the island-balanced CSV). `ENA24-balanced.csv` has 56 images per species.
141
- - `upper-bound` are max 10K images per species, with no minimum (this often means the smallest classification class has just 1 image).
142
- - `upper-lower-bound` CSVs are max 10K images per species and minimum of 10.
143
- - ENA24 has a minimum of 56 images per species and a maximum of 893, so `ENA24-imbalanced.csv` is just all images containing a single species.
144
- - The island camera traps were mostly only labeled to family level, so there are common name and family versions. The `imbalanced` sets are just all images with common name or family designation, respectively. The `lower-bound` are only those with at least ten images per class (by common name and family), and `balanced` is just 12 images per family.
145
-
146
-
147
  ### Data Instances
148
 
149
- The [`data/lila_image_urls_and_labels.csv`](https://huggingface.co/datasets/imageomics/lila-bc-camera/blob/010ecf0c6a2e0c99c9481cea793d8b1556b5c71e/data/lila_image_urls_and_labels.csv) has all images with non-taxa (identified by `scientific_name`, `common_name`, and `kingdom` are null) or `human` original labels filtered out and has 10,104,328 images.
150
- 7,521,712 have full 7-rank taxa, with 891 unique 7-tuple strings (908 unique including subranks), with 890 unique scientific names -- this count is from before humans were removed (there are 257,159 images with humans listed and they do have full 7-rank taxa).
151
- Final version at this stage has 9,849,119 images, 907 unique scientific names.
152
-
153
- **annotation_level**
154
- ```
155
- sequence 4156306
156
- image 2892394
157
- unknown 2886844
158
- ```
159
 
160
- **non-taxa labels:**
161
- ```
162
- original_label
163
- problem 288579
164
- blurred 184620
165
- ignore 177546
166
- vehicle 26445
167
- unknown 26170
168
- snow on lens 17552
169
- foggy lens 15832
170
- vegetation obstruction 6994
171
- malfunction 5640
172
- unclassifiable 3484
173
- motorcycle 3423
174
- misdirected 2832
175
- other 2474
176
- unidentifiable 1472
177
- foggy weather 1380
178
- lens obscured 866
179
- sun 835
180
- end 616
181
- fire 578
182
- misfire 400
183
- eye_shine 328
184
- start 321
185
- tilted 56
186
- unidentified 39
187
- ```
188
-
189
- **Datasets with the non-taxa labels:**
190
- ```
191
- dataset_name
192
- SWG Camera Traps 650745
193
- Idaho Camera Traps 66339
194
- NACTI 26015
195
- WCS Camera Traps 18320
196
- Wellington Camera Traps 3484
197
- Orinoquia Camera Traps 1280
198
- Island Conservation Camera Traps 1269
199
- Snapshot Serengeti 568
200
- ENA24 293
201
- Channel Islands Camera Traps 159
202
- Snapshot Mountain Zebra 7
203
- Snapshot Camdeboo 3
204
- ```
205
 
206
- ### Test Data Instances
207
-
208
- **data/potential-test-sets/lila_image_urls_and_labels.csv:** Reduced down to the datasets of interest listed below; all those with `original_label` "empty" or null `scientific_name` (these had non-taxa labels) were removed.
209
- Additionally, added a `multi_species` column (boolean to indicate multiple species are present in the image--it gets listed once for each species in the image) and a count of how many different species are in each of those images (`num_species` column).
210
-
211
- There are 367 unique scientific names in this subset (355 by full 7-rank), 184 unique among just those labeled at the image-level (180 by full 7-rank) (as indicated by the CSV).
212
- This was then subdivided into CSVs for each of the target datasets (`data/potential-test-sets/<dataset_name>_image_urls_and_labels.csv`).
213
- These were initially identified from our [master spreadsheet](https://docs.google.com/spreadsheets/d/1sC90DolAvswDUJ1lNSf0sk_norR24LwzX2O4g9OxMZE/edit?gid=0#gid=0), identifying image-level labeled datasets and those that are a meaningful measure of our biodiversity-focused model (e.g., includes rare species--those less-commonly seen, targeting areas with greater biodiversity).
214
-
215
- - [Snapshot Safari 2024 Expansion](https://lila.science/datasets/snapshot-safari-2024-expansion/) -- actually labeled by sequence, so not a good choice for testing
216
- - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/)
217
  - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
218
- - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
219
- - [SWG Camera Traps 2018-2020](https://lila.science/datasets/swg-camera-traps) -- actually labeled by sequence, so not a good choice for testing
220
- - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
221
  - [ENA24-detection](https://lila.science/datasets/ena24detection)
 
 
 
 
 
 
 
222
 
223
- Multi-species counts (full):
224
- ```
225
- num_species
226
- 1.0 2753832
227
- 2.0 114825
228
- 3.0 13995
229
- 4.0 1704
230
- 5.0 230
231
- 14.0 42
232
- ```
233
- For Image-level labels:
234
- ```
235
- num_species
236
- 1.0 305821
237
- 2.0 1154
238
- 3.0 3
239
- ```
240
- Looks like we'll have about 306K images across the 5 datasets that have image-level labels.
241
-
242
-
243
 
244
  ### Data Fields
245
- [More Information Needed]
246
- <!--
247
- Describe the types of the data files or the columns in a CSV with metadata.
248
- -->
249
-
250
- Each of the `<dataset_name>_<type>` CSVs has the following columns.
251
 
252
- - `dataset_name`: name of the LILA BC dataset
253
- - `url_gcp`, `url_aws`, `url_azure` are URLs to potentially access the image, we recommend `url_aws`.
254
- - `image_id`: unique identifier for the image.
 
255
  - `sequence_id`: ID of the sequence to which the image belongs.
256
  - `location_id`: ID of the location at which the camera was placed.
257
  - `frame_num`: generally 0, 1, or 2, indicates order of image within a sequence.
@@ -260,120 +130,139 @@ Each of the `<dataset_name>_<type>` CSVs has the following columns.
260
  - `common_name`: vernacular name of the animal in the image. For the island CSV, this is generally for the family, but it's a mix.
261
  - `kingdom`: kingdom of the animal in the image.
262
  - `phylum`: phylum of the animal in the image.
263
- - `class`: class of the animal in the image.
264
  - `order`: order of the animal in the image.
265
  - `family`: family of the animal in the image.
266
  - `genus`: genus of the animal in the image. About half null in the island CSVs.
267
  - `species`: species of the animal in the image. Mostly null in the island CSVs.
268
- - `num_sp_images`: number of images of that species in the dataset.
269
- For the island CSVs, instead of `num_sp_images` there are `num_fam_images` and `num_cn_images` representing the number of images for the family or common name, respectively.
270
 
271
- Additionally, the `ohio-small-animals` CSVs have a `filename` column defined as `OH_sm_animals_<filename in url_aws>`.
272
 
 
 
 
 
 
273
 
274
  ### Data Splits
275
- [More Information Needed]
276
- <!--
277
- Give your train-test splits for benchmarking
278
- -->
279
 
280
  ## Dataset Creation
281
 
282
  ### Curation Rationale
283
- [More Information Needed]
284
 
285
  ### Source Data
286
 
287
- #### Initial Data Collection and Normalization
288
- [More Information Needed]
289
-
290
- #### Who are the source language producers?
291
- [More Information Needed]
292
 
293
- ### Annotations
 
 
 
 
294
 
295
- #### Annotation process
296
- [More Information Needed]
297
 
298
- #### Who are the annotators?
299
- [More Information Needed]
300
 
301
  ### Personal and Sensitive Information
302
- [More Information Needed]
303
-
304
- <!-- For instance, if your data includes people or endangered species. -->
305
 
306
  ## Considerations for Using the Data
307
- ### Social Impact of Dataset
308
- [More Information Needed]
309
 
310
- ### Discussion of Biases
311
- [More Information Needed]
312
 
313
- ### Other Known Limitations
314
- [More Information Needed]
315
 
316
- <!-- For instance, if your data exhibits a long-tailed distribution (and why). -->
317
 
318
- ## Additional Information
319
 
320
- ### Dataset Curators
321
- Elizabeth Campolongo
322
 
323
- ### Licensing Information
324
 
325
- This compilation is licensed under the [Community Data License Agreement (permissive variant)](https://cdla.io/permissive-1-0/), same as the images and metadata which belong to their original sources (see citation directions below).
326
 
327
- ### Citation Information
328
 
329
- For test sets (provided citations on their LILA BC pages are included):
 
 
 
 
 
 
 
 
 
 
 
330
 
331
  - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/)
332
  - Balasubramaniam S. [Optimized Classification in Camera Trap Images: An Approach with Smart Camera Traps, Machine Learning, and Human Inference](https://etd.ohiolink.edu/acprod/odb_etd/etd/r/1501/10?clear=10&p10_accession_num=osu1721417695430687). Master’s thesis, The Ohio State University. 2024.
 
 
 
 
 
 
 
 
 
 
333
  - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
 
 
 
 
 
 
 
 
 
 
334
  - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
335
  - Vélez J, McShea W, Shamon H, Castiblanco‐Camacho PJ, Tabak MA, Chalmers C, Fergus P, Fieberg J. [An evaluation of platforms for processing camera‐trap data using artificial intelligence](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14044). Methods in Ecology and Evolution. 2023 Feb;14(2):459-77.
 
 
 
 
 
 
 
 
 
336
  - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
 
 
 
 
 
 
 
 
337
  - [ENA24-detection](https://lila.science/datasets/ena24detection)
338
  - Yousif H, Kays R, Zhihai H. Dynamic Programming Selection of Object Proposals for Sequence-Level Animal Species Classification in the Wild. IEEE Transactions on Circuits and Systems for Video Technology, 2019. ([bibtex](http://lila.science/wp-content/uploads/2019/12/hayder2019_bibtex.txt))
 
 
 
 
 
 
 
 
 
 
339
 
340
- [More Information Needed]
341
- <!--
342
- If you want to include BibTex, replace "<>"s with your info
343
- -for an associated paper:
344
- ```
345
- @article{<ref_code>,
346
- title = {<title>},
347
- author = {<author1 and author2>},
348
- journal = {<journal_name>},
349
- year = <year>,
350
- url = {<DOI_URL>},
351
- doi = {<DOI>}
352
- }
353
- ```
354
- -just for data:
355
- ```
356
- @misc{<ref_code>,
357
- author = {<author1 and author2>},
358
- title = {<title>},
359
- year = {<year>},
360
- url = {https://huggingface.co/datasets/imageomics/<dataset_name>},
361
- doi = {<doi once generated>},
362
- publisher = {Hugging Face}
363
- }
364
- ```
365
- -->
366
-
367
- <!---
368
- If the data is modified from another source, add the following.
369
-
370
- Please be sure to also cite the original data source:
371
- <citation>
372
- -->
373
 
 
374
 
375
- ### Contributions
376
 
377
- The [Imageomics Institute](https://imageomics.org) is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
378
 
379
- <!-- You may also want to credit the source of your data, i.e., if you went to a museum or nature preserve to collect it. -->
 
1
  ---
 
2
  language:
3
  - en
4
+ - la
5
+ pretty_name: IDLE-OO Camera Traps
6
  tags:
7
  - biology
8
  - image
9
+ - imageomics
10
  - animals
11
  - CV
12
+ - balanced
13
  - camera traps
14
+ - mammals
15
+ - birds
16
+ - reptiles
17
+ - amphibians
18
+ - lions
19
+ - rodents
20
+ - frogs
21
+ - toads
22
+ - island
23
+ - desert
24
+ - ohio
25
  size_categories:
26
+ - 1K<n<10K
27
+ task_categories:
28
+ - image-classification
29
+ - zero-shot-classification
30
  ---
31
 
32
+ # Dataset Card for IDLE-OO Camera Traps
33
 
34
+ IDLE-OO Camera Traps is a 5-dataset benchmark of camera trap images from the [Labeled Information Library of Alexandria: Biology and Conservation (LILA BC)](https://lila.science) with a total of 2,586 images for species classification. Each of the 5 benchmarks is **balanced** to have the same number of images for each species within it (between 310 and 1120 images), representing between 16 and 39 species.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
+ ### Dataset Description
37
 
38
+ - **Curated by:** Elizabeth Campolongo, Jianyang Gu, and Net Zhang
39
+ - **Homepage:** https://imageomics.github.io/bioclip-2/
40
+ - **Paper:** TBA
41
 
42
  ### Supported Tasks and Leaderboards
43
+ Image classification, particularly for species classification in camera trap images.
44
 
45
  ### Languages
46
+ English, Latin
47
 
48
  ## Dataset Structure
49
 
50
  ```
51
  /dataset/
52
+ desert-lion-balanced.csv
53
+ ENA24-balanced.csv
54
+ island-balanced.csv
55
+ ohio-small-animals-balanced.csv
56
+ orinoquia-balanced.csv
57
+ images/
58
+ desert-lion/
59
+ <image 1>
60
+ <image 2>
61
+ ...
62
+ <image 352>
63
+ ENA24/
64
+ <image 1>
65
+ <image 2>
66
+ ...
67
+ <image 1120>
68
+ island/
69
+ <image 1>
70
+ <image 2>
71
+ ...
72
+ <image 310>
73
+ ohio-small-animals/
74
+ <image 1>
75
+ <image 2>
76
+ ...
77
+ <image 468>
78
+ orinoquia/
79
+ <image 1>
80
+ <image 2>
81
+ ...
82
+ <image 336>
83
  notebooks/
84
  lilabc_CT.ipynb
85
  lilabc_CT.py
86
  lilabc_test-<dataset_name>.ipynb
 
87
  lilabc_test-filter.ipynb
88
  lilabc_test-filter.py
89
+ potential-test-sets/
90
+ lila-taxonomy-mapping_release.csv
91
+ lila_image_urls_and_labels.csv
92
+ <dataset_name>_image_urls_and_labels.csv
93
  ```
94
 
 
 
 
 
 
 
 
 
 
95
  ### Data Instances
96
 
97
+ **potential-test-sets/lila_image_urls_and_labels.csv:** Reduced down to the datasets of interest listed below (from [potential-test-sets/lila_image_urls_and_labels.csv](https://huggingface.co/datasets/imageomics/IDLE-OO-Camera-Traps/blob/37b93ddf25c63bc30d8488ef78c1a53b9c4a3115/data/potential-test-sets/lila_image_urls_and_labels.csv) (sha256:3fdf87ceea75f8720208a95350c3c70831a6c1c745a92bb68c7f2c3239e4c455)); all those with `original_label` "empty" or null `scientific_name` (these had non-taxa labels) were removed.
98
+ Additionally, we added a `multi_species` column (boolean to indicate multiple species are present in the image--it gets listed once for each species in the image) and a count of how many different species are in each of those images (`num_species` column).
99
+ This was then subdivided into CSVs for each of the target datasets (`potential-test-sets/<dataset_name>_image_urls_and_labels.csv`) in `notebooks/lilabc_test-filter.ipynb`. Each dataset was evaluated and sampled in its associated notebook (`notebooks/lilabc_test-<dataset_name>.ipynb`).
 
 
 
 
 
 
 
100
 
101
+ There are 184 unique scientific names in this subset (180 by full 7-rank) of those labeled at the image-level (as indicated by the CSV). This was then subdivided into CSVs for each of the target datasets (`<dataset_name>-balanced.csv`).
102
+ These were initially identified as image-level labeled datasets and those that are a meaningful measure of our biodiversity-focused model (e.g., includes rare species--those less-commonly seen, targeting areas with greater biodiversity). The balanced datasets for each are described below.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
 
 
 
 
 
 
 
 
 
 
 
104
  - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
105
+ - 352 images: 32 species, with 11 images per species.
 
 
106
  - [ENA24-detection](https://lila.science/datasets/ena24detection)
107
+ - 1120 images: 20 species, with 56 images per species.
108
+ - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
109
+ - 310 images: 16 species, with 10 images per species; 33 common names, 10 images per common name for all but 4 ("rooster", "petrel", "petrel chick", and "domestic chiecken"). This dataset was mostly just labeled to the family level.
110
+ - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/):
111
+ - 468 images: 39 species, with 12 images per species.
112
+ - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
113
+ - 336 images: 28 species, with 12 images per species.
114
 
115
+ **Notes:**
116
+ - `notebooks/lilabc_CT.ipynb` contains earlier analyses to understand the data provided by LILA BC (see commit [fe34008](https://huggingface.co/datasets/imageomics/IDLE-OO-Camera-Traps/commit/fe34008cba2ef33856291dd2d74cac21f6942cfc)).
117
+ - Not all notebooks will run under the current dataset organization (check the relative path, filenames have not changed).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
  ### Data Fields
 
 
 
 
 
 
120
 
121
+ Each of the `<dataset_name>-balanced` CSVs has the following columns.
122
+ - `dataset_name`: full name of the LILA BC dataset, for reference in docs (this README) use the shorthand from the CSV names.
123
+ - `url_gcp`, `url_aws`, `url_azure` are URLs to potentially access the image, we used `url_aws` or `url_gcp`.
124
+ - `image_id`: unique identifier for the image (provided by source).
125
  - `sequence_id`: ID of the sequence to which the image belongs.
126
  - `location_id`: ID of the location at which the camera was placed.
127
  - `frame_num`: generally 0, 1, or 2, indicates order of image within a sequence.
 
130
  - `common_name`: vernacular name of the animal in the image. For the island CSV, this is generally for the family, but it's a mix.
131
  - `kingdom`: kingdom of the animal in the image.
132
  - `phylum`: phylum of the animal in the image.
133
+ - `cls`: class of the animal in the image.
134
  - `order`: order of the animal in the image.
135
  - `family`: family of the animal in the image.
136
  - `genus`: genus of the animal in the image. About half null in the island CSVs.
137
  - `species`: species of the animal in the image. Mostly null in the island CSVs.
138
+ - `filepath`: path to the image from the `images/` directory (`<dataset-name>/<image filename>`).
 
139
 
140
+ **Notes:**
141
 
142
+ - For all but the Ohio small animals dataset CSV, the images are named based on a `uuid` determined at the time of download. They were originally downloaded using the [distributed-downloader package](https://github.com/Imageomics/distributed-downloader), so they also have the following two columns:
143
+ - `hashsum_original`: MD5 hash of the original jpg image downloaded based on the CSV provided by LILA BC.
144
+ - `hashsum_resized`: MD5 hash of the resized image (based on setting to resize if over 720 pixels in any dimension).
145
+ - The `ohio-small-animals` CSV have a `filename` column defined as `OH_sm_animals_<filename in url_aws>` and a `md5` column containing the MD5 hash of the image as downloaded from the AWS bucket.
146
+ - The `island-balanced` CSV has an additional `num_cn_images` column indicating the number of images with that animal's common name.
147
 
148
  ### Data Splits
149
+
150
+ These datasets were curated to create a small collection of camera trap image test sets.
 
 
151
 
152
  ## Dataset Creation
153
 
154
  ### Curation Rationale
155
+ As stated above, the goal of these datasets is to provide a collection of species classification test sets for camera trap images. Species classification within camera trap images is a real-world downstream use-case, on which a biological foundation model should be tested. These datasets were selected from those available on [LILA BC](https://lila.science/datasets) since they are labeled at the image-level, and would thus not include frames labeled as containing an animal when it is simply the animal's habitat. The [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/) were of particular interest for their stated purpose of assisting in the prevention of endangered island species' extinction and the varied ecosystems represented.
156
 
157
  ### Source Data
158
 
159
+ The images and their labels come from the following 5 LILA BC datasets. The labels are provided at the image level (not sequence level). Please see the source links for more information on the individual datasets.
 
 
 
 
160
 
161
+ - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
162
+ - [ENA24-detection](https://lila.science/datasets/ena24detection)
163
+ - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
164
+ - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/)
165
+ - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
166
 
 
 
167
 
168
+ ### Annotations
169
+ Annotations provided by the source data providers ([aligned by LILA BC](https://lila.science/taxonomy-mapping-for-camera-trap-data-sets/)) are used for this test set.
170
 
171
  ### Personal and Sensitive Information
172
+ These images come from an existing, public biodiversity data repository, which publishes them without associated GPS locations for the species in the images and they ensure the removal of all humans (who would otherwise have been labeled as such), so the there are no concerns.
 
 
173
 
174
  ## Considerations for Using the Data
 
 
175
 
176
+ This collection of small balanced datasets was designed for testing the classification ability of [BioCLIP 2](https://github.com/Imageomics/bioclip-2) to classify species in camera trap images, a practical use-case and one on which it was not extensively trained.
 
177
 
178
+ ### Bias, Risks, and Limitations
179
+ The available species in these datasets is not a representative sample of species around the world, though they do cover a portion of species of interest to those collecting images using camera traps.
180
 
 
181
 
182
+ ## Licensing Information
183
 
184
+ This compilation is licensed under the [Community Data License Agreement (permissive variant)](https://cdla.io/permissive-1-0/), same as the images and metadata which belong to their original sources (see citation directions below).
 
185
 
 
186
 
187
+ ## Citation
188
 
189
+ Please cite both this compilation and its constituent data sources:
190
 
191
+ ```
192
+ @dataset{idle-oo-camera-traps,
193
+ title = {{IDLE}-{OO} {C}amera {T}raps},
194
+ author = {Elizabeth G Campolongo and Jianyang Gu and Net Zhang},
195
+ year = {2025},
196
+ url = {https://huggingface.co/datasets/imageomics/IDLE-OO-Camera-Traps},
197
+ doi = {},
198
+ publisher = {Hugging Face}
199
+ }
200
+ ```
201
+
202
+ Please be sure to also cite the original data sources (provided citations on their LILA BC pages are included):
203
 
204
  - [Ohio Small Animals](https://lila.science/datasets/ohio-small-animals/)
205
  - Balasubramaniam S. [Optimized Classification in Camera Trap Images: An Approach with Smart Camera Traps, Machine Learning, and Human Inference](https://etd.ohiolink.edu/acprod/odb_etd/etd/r/1501/10?clear=10&p10_accession_num=osu1721417695430687). Master’s thesis, The Ohio State University. 2024.
206
+ - Bibtex:
207
+ ```
208
+ @mastersthesis{balasubramaniam2024-oh-small,
209
+ author = {Balasubramaniam, S.},
210
+ title = {Optimized Classification in Camera Trap Images: An Approach with Smart Camera Traps, Machine Learning, and Human Inference},
211
+ school = {The Ohio State University},
212
+ year = {2024},
213
+ url = {http://rave.ohiolink.edu/etdc/view?acc_num=osu1721417695430687}
214
+ }
215
+ ```
216
  - [Desert Lion Conservation Camera Traps](https://lila.science/datasets/desert-lion-conservation-camera-traps/)
217
+ - No citation provided by source, bibtex:
218
+ ```
219
+ @misc{lion-ct,
220
+ author = {Desert Lion Conservation},
221
+ title = {Desert Lion Conservation Camera Traps},
222
+ howpublished = {https://lila.science/datasets/desert-lion-conservation-camera-traps/},
223
+ month = {July},
224
+ year = {2024},
225
+ }
226
+ ```
227
  - [Orinoquia Camera Traps](https://lila.science/datasets/orinoquia-camera-traps/)
228
  - Vélez J, McShea W, Shamon H, Castiblanco‐Camacho PJ, Tabak MA, Chalmers C, Fergus P, Fieberg J. [An evaluation of platforms for processing camera‐trap data using artificial intelligence](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14044). Methods in Ecology and Evolution. 2023 Feb;14(2):459-77.
229
+ - Bibtex:
230
+ ```
231
+ @article{velez2022choosing-orinoquia,
232
+ title={Choosing an Appropriate Platform and Workflow for Processing Camera Trap Data using Artificial Intelligence},
233
+ author={V{\'e}lez, Juliana and Castiblanco-Camacho, Paula J and Tabak, Michael A and Chalmers, Carl and Fergus, Paul and Fieberg, John},
234
+ journal={arXiv preprint arXiv:2202.02283},
235
+ year={2022}
236
+ }
237
+ ```
238
  - [Island Conservation Camera Traps](https://lila.science/datasets/island-conservation-camera-traps/)
239
+ - No citation provided by source, bibtex:
240
+ ```
241
+ @misc{island-ct,
242
+ author = {Island Conservation},
243
+ title = {Island Conservation Camera Traps},
244
+ howpublished = {https://lila.science/datasets/island-conservation-camera-traps/},
245
+ }
246
+ ```
247
  - [ENA24-detection](https://lila.science/datasets/ena24detection)
248
  - Yousif H, Kays R, Zhihai H. Dynamic Programming Selection of Object Proposals for Sequence-Level Animal Species Classification in the Wild. IEEE Transactions on Circuits and Systems for Video Technology, 2019. ([bibtex](http://lila.science/wp-content/uploads/2019/12/hayder2019_bibtex.txt))
249
+ - Bibtex:
250
+ ```
251
+ @article{yousif2019dynamic-ENA24,
252
+ title={Dynamic Programming Selection of Object Proposals for Sequence-Level Animal Species Classification in the Wild},
253
+ author={Yousif, Hayder and Kays, Roland and He, Zhihai},
254
+ journal={IEEE Transactions on Circuits and Systems for Video Technology},
255
+ year={2019},
256
+ publisher={IEEE}
257
+ }
258
+ ```
259
 
260
+ ## Acknowledgements
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
 
262
+ This work was supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
263
 
264
+ Additionally, we would like to acknowledge and thank [Labeled Information Library of Alexandria: Biology and Conservation (LILA BC)](https://lila.science) for providing a coordinated collection of camera trap images for research use.
265
 
266
+ ## Dataset Card Authors
267
 
268
+ Elizabeth G. Campolongo
data/lila-taxonomy-mapping_release.csv DELETED
The diff for this file is too large to render. See raw diff
 
data/lila_image_urls_and_labels.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1cb6c5e264db95cbeb52634763a5581ebe705461f22316c9deadf8c6ad20c84d
3
- size 7452744161
 
 
 
 
data/lila_image_urls_and_labels_species.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5c4d35b108476ce87b9c9b91440279345dc35fbb2d57c43ee07da69b1ee8533
3
- size 2863476159
 
 
 
 
data/lila_image_urls_and_labels_wHumans.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dfd1599bec3da3c252810b7bef4a3162a439677cbdd49735b1788f39adf1af62
3
- size 7631553713
 
 
 
 
data/potential-test-sets/filtered/ENA24-balanced-small.csv DELETED
The diff for this file is too large to render. See raw diff
 
data/potential-test-sets/filtered/ENA24-imbalanced.csv DELETED
The diff for this file is too large to render. See raw diff
 
data/potential-test-sets/filtered/desert-lion-upper-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:49584e3f9cd7f9e5ac0458f366779ac2222917a1f86ad671d361018483f2a114
3
- size 60820880
 
 
 
 
data/potential-test-sets/filtered/desert-lion-upper-lower-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:be643e7b4eaaf1c46c5d1c55cd62d77184e55b8edab5a4f2e3c7d80782ca273f
3
- size 56028990
 
 
 
 
data/potential-test-sets/filtered/island-imbalanced_common.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c9f8a03083b8579603ca4bfaaff89b86fb5012ca28531dc27a006ea427e7e1f0
3
- size 41982648
 
 
 
 
data/potential-test-sets/filtered/island-imbalanced_family.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0fb2dfd80d2ef28630ecb276e9f2fb7a207c8cea009a1f4940545c749c0ff17
3
- size 37897112
 
 
 
 
data/potential-test-sets/filtered/island-lower-bound_common.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f94c73b999364cd152907272918e634de714d640b1cb69bb5f24f97eb357617
3
- size 37903096
 
 
 
 
data/potential-test-sets/filtered/island-lower-bound_family.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d85c13874b9df3c86369115edf5c4fce3db36684bd47532eda16f84cb9e68a3d
3
- size 37894148
 
 
 
 
data/potential-test-sets/filtered/ohio-small-animals-upper-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:84648e040cae2f0aafbf9ce0489a0233301fb2d935ff78089e4779d1628f19e6
3
- size 74160481
 
 
 
 
data/potential-test-sets/filtered/ohio-small-animals-upper-bound_checksums.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:72456c743b741aeffd035a294bcb1f406670436a5d2215b43067799737e6cdc0
3
- size 12737032
 
 
 
 
data/potential-test-sets/filtered/ohio-small-animals-upper-lower-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7667248d1589e8dca60907590aef8680eae4072dc24e35ba20abe50bae027f54
3
- size 74136444
 
 
 
 
data/potential-test-sets/filtered/orinoquia-upper-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4436251d1f180d5cc93d3b02c437da256c3231771d2f1f6f42d0688e5eb4bf35
3
- size 35138377
 
 
 
 
data/potential-test-sets/filtered/orinoquia-upper-lower-bound.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:063f0c2f6805690cadfb28d90e50fffaade7b2cc950a30c036ea47a7ec98f730
3
- size 29981911
 
 
 
 
data/potential-test-sets/filtered/desert-lion-balanced.csv → desert-lion-balanced.csv RENAMED
File without changes
data/potential-test-sets/filtered/island-balanced.csv → island-balanced.csv RENAMED
File without changes
data/potential-test-sets/filtered/ohio-small-animals-balanced.csv → ohio-small-animals-balanced.csv RENAMED
File without changes
data/potential-test-sets/filtered/orinoquia-balanced.csv → orinoquia-balanced.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/Desert_Lion_Conservation_Camera_Traps_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/ENA24_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/Island_Conservation_Camera_Traps_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/Ohio_Small_Animals_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/Orinoquia_Camera_Traps_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/SWG_Camera_Traps_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/Snapshot_Safari_2024_Expansion_image_urls_and_labels.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/lila-taxonomy-mapping_release.csv RENAMED
File without changes
{data/potential-test-sets → potential-test-sets}/lila_image_urls_and_labels.csv RENAMED
File without changes