Shrimp Larvae Counting Based on Improved YOLOv5 Model with Regional Segmentation

Sensors (Basel). 2024 Sep 30;24(19):6328. doi: 10.3390/s24196328.

Abstract

Counting shrimp larvae is an essential part of shrimp farming. Due to their tiny size and high density, this task is exceedingly difficult. Thus, we introduce an algorithm for counting densely packed shrimp larvae utilizing an enhanced You Only Look Once version 5 (YOLOv5) model through a regional segmentation approach. First, the C2f and convolutional block attention modules are used to improve the capabilities of YOLOv5 in recognizing the small shrimp. Moreover, employing a regional segmentation technique can decrease the receptive field area, thereby enhancing the shrimp counter's detection performance. Finally, a strategy for stitching and deduplication is implemented to tackle the problem of double counting across various segments. The findings from the experiments indicate that the suggested algorithm surpasses several other shrimp counting techniques in terms of accuracy. Notably, for high-density shrimp larvae in large quantities, this algorithm attained an accuracy exceeding 98%.

Keywords: YOLOv5; attention mechanism; regional segmentation; repeat shrimp removal; shrimp larvae counting.

MeSH terms

  • Algorithms*
  • Animals
  • Image Processing, Computer-Assisted / methods
  • Larva* / physiology

Grants and funding

This research received no external funding.