Abstract
Trail camera imagery has increasingly gained popularity amongst biologists for conservation and ecological research. Minimal human interference required to operate camera traps allows capturing unbiased species activities. Several studies - based on human and wildlife interactions, migratory patterns of various species, risk of extinction in endangered populations - are limited by the lack of rich data and the time-consuming nature of manually annotating trail camera imagery. We introduce a challenging wildlife camera trap classification dataset collected from two different locations in Southwestern Florida, consisting of 104,495 images featuring visually similar species, varying illumination conditions, skewed class distribution, and including samples of endangered species, i.e. Florida panthers. Experimental evaluations with ResNet-50 architecture indicate that this image classification-based dataset can further push the advancements in wildlife statistical modeling. We will make the dataset publicly available.
Introduction
Conservation biology currently faces a significant data bottleneck. While motion-activated camera traps allow for non-invasive wildlife monitoring, they generate a staggering volume of imagery—often hundreds of thousands of photos per survey. Manually sorting these images is an enormous task; researchers estimate that AI automation could save over eight years of human labor for a single large-scale study.
However, existing AI models often fail to generalize across different geographic locations. A model trained on deer in a northern forest may struggle in a southern swamp due to shifts in background, lighting, and camera angles. This "transferability" problem necessitates robust, location-specific datasets that capture the messy reality of field conditions, including "empty" frames, poor lighting, and visually similar species.
The Florida Wildlife Camera Trap Dataset
The core contribution of this work is a curated dataset of 104,495 images featuring 22 distinct species classes. Data was collected between 2018 and 2019 from two Southwestern Florida sites: Corkscrew Swamp and Okaloacoochee Slough State Forest (OKSSF).
The dataset reflects the inherent challenges of field-based computer vision:
- Extreme Class Imbalance: The distribution follows a "long-tail" pattern. For instance, while there are over 36,000 images of deer, rare species like otters and alligators have fewer than 30 images each.
- Real-world Noise: Approximately 17.22% of the images are "Negatives"—frames triggered by wind or heat that contain no animals.
- Visual Deception: Species like bobcats and panthers can appear nearly identical depending on the camera angle or distance. Technical glitches, such as "pink-washed" photos from IR malfunctions and motion blur, further complicate classification.
Methodology
To establish a performance baseline, we employed a standard deep learning pipeline:
- Architecture: ResNet-50 was utilized as the primary classification model.
- Data Augmentation: Techniques such as random cropping, horizontal flipping, and rotation were used to improve model robustness.
- Evaluation: The dataset was partitioned into training (70%), validation (10%), and testing (20%) sets.
- Visualization: t-SNE (t-distributed Stochastic Neighbor Embedding) was used to visualize species clustering in the model's latent space, identifying which species are most frequently confused.
Results and Discussion
The baseline ResNet-50 model achieved a test accuracy of 78.75%. Performance was notably higher for common, distinct species but dropped significantly for rare or visually similar ones. These results underscore the "transferability gap"—the model's success is highly dependent on the specific environment of the training data.
Future work will focus on domain adaptation to help models ignore background noise and focus on the subject. Additionally, specialized loss functions or sampling techniques are needed to address the extreme class imbalance. We also plan to explore semi-supervised learning to leverage the vast amount of unlabeled raw data available from these sites.
Summary updated