Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernel

Zhiqiang Wang, Yiran Pang, Cihan Ulus, Xingquan ZhuarXiv 2023 · DOI · arXiv

Introduction

Manatees are endangered aquatic mammals that frequently gather in shallow waters to feed or regulate body temperature. Monitoring these aggregations is a critical task for conservationists and maritime safety officials. However, manual counting from surveillance footage is labor-intensive and prone to error. Automated solutions must overcome significant challenges, including murky water, surface reflections, and the tendency of manatees to huddle in dense, overlapping clusters.

Methodology

The researchers developed a density-estimation framework that moves beyond traditional object detection. Instead of predicting bounding boxes—which often fail in congested scenes—the model learns to generate a "density map" where the total count is derived by integrating the map's values.

Annotation and the Anisotropic Kernel

A core contribution of this work is the refinement of how ground-truth data is represented. Standard crowd-counting models typically use circular "dot" annotations. However, manatees are elongated and oval-shaped, meaning a circle fails to capture their true orientation or spatial footprint.

Annotation strategies ranging from simple image-level counts to complex bounding boxes. This research highlights "Lines on manatees" as an optimal balance for capturing orientation and shape.

To better capture this geometry, the authors introduced:

  1. Line-Label Annotation: Annotators draw a line from the manatee's head to its tail, capturing both size and orientation.
  2. Anisotropic Gaussian Kernel (AGK): Unlike standard isotropic (circular) kernels, the AGK can be stretched into an ellipse and rotated to match the line-labels. This creates a training target that more accurately reflects the animal's physical presence.
A comparison between manatee point labels (left) and a generated density map (right). The model learns to predict these spatial densities to calculate total population counts.

Model Architecture

The framework was evaluated using several deep learning backbones. The CSRNet (Congested Scene Recognition Network) proved most effective. By utilizing dilated convolutions, CSRNet maintains high-resolution feature maps, allowing the model to distinguish individual animals even in highly congested "huddles" without losing the broader spatial context.

Datasets and Experiments

The primary evaluation was conducted on a new Manatee Counting Dataset, featuring 369 high-quality, deduplicated images from Blue Spring State Park, Florida. To demonstrate the versatility of the AGK approach, the researchers also tested it on the Global Wheat Head Dataset 2021. Wheat heads, like manatees, are elongated and densely packed, making them an ideal secondary test case for shape-aware density estimation.

Key Results

The CSRNet-anisotropy model outperformed standard point-based methods across all metrics:

  • Accuracy: On the manatee dataset, it achieved a Mean Absolute Error (MAE) of 3.011 and a Root Mean Square Error (RMSE) of 3.962.
  • High-Density Robustness: The model showed significant improvements in scenes with 20+ individuals, where traditional methods often struggle with occlusion.
  • Generalizability: On the Wheat Head dataset, the AGK method nearly doubled the counting accuracy, reducing the MAE from 30.1 to 15.7.

Conclusion and Future Work

By aligning the mathematical representation of objects with their actual biological shapes, this research provides a more robust tool for wildlife monitoring. While the model currently faces challenges with extreme scale (very close or very distant views) and static underwater distractors like logs, future work incorporating temporal video data could further enhance its ability to distinguish movement from stationary background objects.

Summary updated

BibTeX
@misc{wang2023counting,
  author = {Zhiqiang Wang and Yiran Pang and Cihan Ulus and Xingquan Zhu},
  title = {{Counting Manatee Aggregations using Deep Neural Networks and Anisotropic Gaussian Kernel}},
  year = {2023},
  eprint = {2311.02315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.02315},
}
Figure