Atatürk Üniversitesi Atatürk Üniversitesi
Ara
Yayınlara dön
Makale Tam Makale Uluslararası 2026

Real-time frame-level fish feeding behavior detection using a lightweight CNN-TCN architecture

Zongyao Sha, Dapeng Li, Xufa Ma, Abdulkadir Bayır, Joachim Loo, Chunfang Wang

COMPUTERS AND ELECTRONICS IN AGRICULTURE Cilt 246 · 01.05.2026
DOI ile aç

Özet

Aquaculture, particularly fish farming, is a rapidly growing sector critical for global food security, where efficient feeding management is essential for economic and environmental sustainability. Real-time monitoring of fish feeding behavior can enable intelligent feeding control, thereby reducing waste and optimize growth. Here we proposed frame-level models to make real-time fish feeding behavior detection by combining a Convolutional Neural Network (CNN) with a Temporal Convolutional Network (TCN) from video data. The CNN extracts spatial features from each video frame, while the TCN aggregates temporal dependencies through stacked dilated causal residual blocks, allowing reliable recognition of feeding behavior from frame sequences over time. The models were evaluated against baseline CNN models and CNN/MobileNet + GRU models using grayscale and/or optical flow frames as inputs. Results show that the gray CNN-TCN model achieved the best performance, with accuracy, precision, recall, F1 score, and ROC-AUC all exceeding 0.99, while maintaining real-time inference capability, reaching 1,029 frames per second and a mean latency of 7.77 ms and only moderate computational overhead. Moreover, the input of gray-scale frames alone is sufficient to capture fish feeding behavior, indicating that the commonly used optical flow may be a redundant input for the CNN-TCNs. To align real-time model training and inference, we proposed a three-phase feeding schema comprising the before-feeding phase (B), the immediate after-feeding phase (A), and the subsequent inference phase (S). The B-A-S schema allowed automatic sample labeling and provided a foundation for real-time and intelligent feeder control in recirculating aquaculture systems. The findings indicate that the proposed gray CNN-TCN model, combined with the B-A-S feeding schema, offers an effective and computationally efficient approach for fine-grained fish feeding behavior detection, supporting real-time model training and inference, and thereby enhancing the toolkit available for intelligent feeding control in aquaculture systems.

Atıf için künye

Sha, Z., Li, D., Ma, X., Bayır, A., Loo, J., & Wang, C. (2026). Real-time frame-level fish feeding behavior detection using a lightweight CNN-TCN architecture. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 246. https://doi.org/10.1016/j.compag.2026.111667

BibTeX
@article{sha2026-205658,
  author = {Sha, Zongyao and Li, Dapeng and Ma, Xufa and Bayır, Abdulkadir and Loo, Joachim and Wang, Chunfang},
  title = {Real-time frame-level fish feeding behavior detection using a lightweight CNN-TCN architecture},
  journal = {COMPUTERS AND ELECTRONICS IN AGRICULTURE},
  year = {2026},
  volume = {246},
  issn = {0168-1699},
  doi = {10.1016/j.compag.2026.111667},
  url = {https://akademik.atauni.edu.tr/yayinlar/205658-real-time-frame-level-fish-feeding-behavior-detection-using-a-lightweight-cnn}
}