Skip to content
Open access

An underwater precision fish counting framework using transformer with feature offset aggregation and occlusion-aware attention in aquaculture

Sep 2026 · Journal of King Saud University: Computer and Information Sciences · Vol 38 · 0 citations · 51 references

TL;DR

A novel deep learning framework designed to enhance the accuracy and robustness of fish counting, termed OGLA-Net is proposed and systematically evaluated across three datasets, demonstrating that the proposed counting framework delivers high accuracy across diverse conditions, providing a reliable solution for automatic counting.

Abstract

Accurate fish counting seeks to estimate the total number of fish within an image and is widely applied in fields such as sustainable aquaculture management, aquatic ecosystem monitoring, and population management. However, challenges arise due to variations in fish pose, occlusion resulting from aggregation, and background interference from elements such as aquatic plants, rocks, and suspended particles. To address these issues, this paper proposes a novel deep learning framework designed to enhance the accuracy and robustness of fish counting, termed OGLA-Net. First, Feature Offset Aggregation Strategy (FOAS) is employed to learn deformable representations to adapt to pose variations and mitigate inconsistencies in fish orientation, better coping with the variability of fish bodies during counting. Second, the Deformable-Guided Positional (DefoGP) module constructs an explicit guidance map in both spatial and frequency domains to focus on fish edges and group distributions, thereby enhancing the model’s capability to handle occlusions to solve the problem of dense fish counting. Finally, the Gated Soft Latent Attention(GSLA) mechanism suppresses redundant background textures through soft masking and adaptive gating of attention heads, effectively improving the anti-interference capability when monitoring complex underwater environments. The proposed method is systematically evaluated across three datasets: UGCD (uniform density distribution), CCD (complex background), and DGCD (high-density distribution). The method achieves MAE and RMSE values of 3.499 and 4.742 on the UGCD. It also maintained superior performance on the CCD and DGCD datasets. These results demonstrate that the proposed counting framework delivers high accuracy across diverse conditions, providing a reliable solution for automatic counting.

Read PDF

Similar papers

Open access Sep 2026

FishMonitorAI: An Efficient and Lightweight Deep Learning Model for Underwater Fish Detection in Resource-Constrained Environments

Accurate and efficient fish detection in underwater environments is fundamental to the advancement of automated aquaculture monitoring and selective fishing systems. However, the deployment of existing object detection models in such environments remains challenging due to wavelength-dependent light absorption, suspend...

Van Le, M. Astapova, M. Uzdiaev et al. · 0 citations
Open access 2026

A Monocular Depth Estimation Framework for Improved Underwater Fish Biomass Assessment

A computer vision pipeline that integrates monocular depth estimation using MiDaS with YOLOv11 object detection with the aim of delivering accurate and reliable weight estimation without the need for using stereo-cameras is presented, making it very well-suited for practical deployment in real-world aquaculture environ...

Said Al-Abri, S. Keshvari, Rami Al-Hmouz et al. · 0 citations
Open access Sep 2026

YOLO-CBNet: A robust attention-enhanced detection framework for underwater fish recognition in aquaculture environments

The accurate identification of fish species remains a pivotal challenge in aquaculture, as it directly influences population management, health monitoring, and overall production efficiency. Yet, underwater environments often present difficult conditions such as reduced visibility, suspended particles, and uneven light...

Mahdi Hamzaoui, Leila Bousbia, Mohamed Ould-Elhassen Aoueileyine et al. · 0 citations
Open access Sep 2026

A Geometry-Aware Framework with Dynamic Edge Relation Modeling for Underwater Fish Perception and Non-Contact Body Size Estimation

Accurate underwater fish perception is a prerequisite for intelligent aquaculture, providing essential support for automated growth monitoring and precision feeding. Nevertheless, underwater imaging is severely affected by light scattering and cluttered backgrounds, making reliable fish perception and image-based non-c...

Mu Ding, Xiao-Hua Huang, Gen Li et al. · 0 citations
Dataset Open access Aug 2026

A Dataset for Fish Segmentation and Tracking in Underwater Videos

An open-source, browser-based annotation tool integrating the Segment Anything Model (SAM2) and CUTIE for efficient semi-automatic segmentation and tracking and facilitates high-quality annotations without specialized hardware, improving accessibility and reproducibility within the marine imaging community.

Josep S. Sánchez, J. Lisani, I. A. Catalán et al. · 0 citations
Open access Sep 2026

Underwater tiny object detection network based on multi-scale attention and adaptive feature fusion

Experimental results demonstrate that the proposed Bidirectional weighted Concat with Efficient multi-scale Attention You Only Look Once (BCEA-YOLO) method outperforms competing methods for underwater object detection, and edge deployment tests on the NVIDIA Jetson platform validate its real-time inference efficiency.

Xing-Yu Wang, Yu-Han Lin, Quan J. Wang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.