Improving Buoy Detection with Deep Transfer Learning for Mussel Farm Automation

Carl McMillan, Junhong Zhao, Bing Xue, Ross Vennell, Mengjie Zhang

Introduction

The aquaculture industry, particularly the cultivation of green-lipped mussels in New Zealand, is undergoing rapid expansion. As these farms scale, the logistical burden of monitoring infrastructure increases. Currently, the task of identifying submerged, damaged, or lost buoys is a manual, labor-intensive process. To modernize this industry, there is an urgent need for automated systems capable of real-time monitoring in the unpredictable maritime environment.

The Challenge of Maritime Object Detection

Automating buoy detection is notoriously difficult due to the "in-the-wild" conditions of the open ocean. Traditional computer vision methods, such as those relying on simple keypoint detection or color thresholding, frequently fail when faced with:

  • Environmental Noise: Capillary waves and sea spray create visual clutter that mimics the appearance of distant objects.
  • Variable Lighting: Low contrast during dawn, dusk, or stormy weather makes it difficult to distinguish buoys from the water's surface.
  • Scale Variance: Buoys appear as tiny clusters of pixels when distant, losing defining features during standard image processing.

Methodology: Leveraging YOLOv7 and Transfer Learning

To address these challenges, this research utilizes YOLOv7 (You Only Look Once, version 7), a state-of-the-art single-stage object detection architecture known for its exceptional balance of speed and precision.

Transfer Learning

Because high-quality, annotated maritime datasets are scarce, the researchers employed transfer learning. The models were initially pre-trained on the Microsoft COCO dataset, allowing them to learn fundamental visual features (edges, textures, and shapes). These pre-trained weights were then fine-tuned using a custom dataset specifically captured from New Zealand mussel farms.

Resolution and Model Scaling

The study investigated two primary versions of the architecture:

  1. Standard YOLOv7: Designed for maximum accuracy.
  2. YOLOv7-tiny: A lightweight version optimized for edge devices and high-speed inference.

A key focus of the experiment was the impact of input resolution. The models were tested at both 640px and 1280px to evaluate how much additional detail is required to reliably detect small, distant buoys.

Data Collection and Robustness Testing

The models were trained and validated on a diverse dataset captured from three sources:

  • Mobile Platforms: 1080p footage from boat-mounted cameras.
  • Fixed Platforms: 4K and low-resolution footage from buoy-mounted cameras.
  • Adverse Weather Scenarios: A dedicated test set featuring high winds, heavy rain, and sea spray on the lens to simulate "worst-case" operational conditions.

Key Insights: Resolution vs. Complexity

The experimental results yielded a significant finding: input resolution matters more than model size for detecting small objects in maritime scenes. Increasing the resolution from 640px to 1280px provided a more substantial performance boost than switching from the "tiny" model to the "full" model. This is because higher resolutions prevent the features of small buoys from being "washed out" during the downsampling process inherent in deep neural networks.

Furthermore, the deep learning approach proved superior to traditional methods by learning global semantic context. The models did not just look for buoy-like pixels; they learned the patterns of buoy lines and the typical placement of objects within the farm environment, allowing for successful detection even when buoys were partially obscured by waves.

Results and Real-World Application

  • Accuracy: The full YOLOv7 model at 1280px achieved a mean Average Precision ([email protected]) of 0.908, demonstrating high reliability.
  • The "Sweet Spot": For practical deployment, YOLOv7-tiny at 1280px emerged as the optimal configuration. It maintained a high frame rate of 62.1 FPS—well beyond the 15 FPS required for standard maritime cameras—while significantly outperforming 640px models in detecting distant objects.
  • Robustness: Models trained on the combined, multi-source dataset showed remarkable resilience in the Adverse Weather Set, proving that data diversity is essential for real-world maritime automation.

Future Directions

While the current system demonstrates high efficacy, future work will explore:

  • Edge Hardware Integration: Testing inference performance on dedicated robotics hardware like the NVIDIA Jetson Nano.
  • Hyperparameter Tuning: Moving beyond default training parameters to further optimize precision.
  • Advanced Architectures: Investigating the use of "attention modules" to further improve the detection of extremely distant or nearly submerged buoys.

By bridging the gap between deep learning research and aquaculture needs, this system paves the way for more efficient, cost-effective, and autonomous mussel farm management.

Summary updated

BibTeX
@inproceedings{mcmillan2023improving,
  author = {Carl McMillan and Junhong Zhao and Bing Xue and Ross Vennell and Mengjie Zhang},
  title = {{Improving Buoy Detection with Deep Transfer Learning for Mussel Farm Automation}},
  booktitle = {IVCNZ},
  year = {2023},
  doi = {10.1109/ivcnz61134.2023.10343657},
}
Figure