基于改进YOLOv8n的智能鱼类识别与监测系统研究与应用
Research and Application on an Intelligent System for Fish Recognition and Monitoring Based on Improved YOLOv8n
摘要: 传统海洋生物人工观测存在效率低、风险高、破坏环境等短板,难以实现长期连续监测。为此,本研究设计了一套基于改进YOLOv8n的智能鱼类识别与监测系统。通过动态加权数据增强与注意力机制优化,以及构造了适配的损失函数体系,显著提升了模型在水下复杂环境中的鲁棒性与识别精度。系统集成了算法模型、PyQt5上位机软件与边缘部署适配,创新解决了多线程任务冲突、中文标签显示失真及多源数据实时转换等工程难题。实验表明,系统在13类鱼类数据集上mAP@0.5达94%,F1分数0.904,支持毫秒级识别响应与中文可视化输出。本系统为海洋生物多样性监测、智能科考与物种预警提供了高效可靠的技术解决方案,具备重要科研与应用价值。
Abstract: The traditional manual observation of marine organisms suffers from shortcomings such as low efficiency, high risk, and environmental disruption, making it difficult to achieve long-term continuous monitoring. To address this issue, this study designs an intelligent fish recognition and monitoring system based on the improved YOLOv8n. Through dynamic weighted data augmentation, attention mechanism optimization, and the construction of an adaptive loss function system, the robustness and recognition accuracy of the model in complex underwater environments are significantly enhanced. The system integrates algorithm models, PyQt5 upper computer software, and edge deployment adaptation, innovatively solving engineering challenges including multi-thread task conflicts, Chinese label display distortion, and real-time conversion of multi-source data. Experimental results show that the system achieves a mean Average Precision (mAP@0.5) of 94% and an F1 score of 0.904 on a dataset containing 13 fish species, supporting millisecond-level recognition response and Chinese visualization output. This system provides an efficient and reliable technical solution for marine biodiversity monitoring, intelligent scientific expeditions, and species early warning, and holds significant scientific research and application value.
文章引用:刘新雨, 崔旭旭, 陈俊, 邵春霖, 刘俊男. 基于改进YOLOv8n的智能鱼类识别与监测系统研究与应用[J]. 计算机科学与应用, 2026, 16(2): 161-168. https://doi.org/10.12677/csa.2026.162048

参考文献

[1] Ertan, Z., Korkut, B., Gördük, G., Kulavuz, B., Bakırman, T. and Bayram, B. (2024) Enhancement of Underwater Images with Artificial Intelligence. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 4, 149-156. [Google Scholar] [CrossRef
[2] Cong, X., Zhao, Y., Gui, J., et al. (2024) A Comprehensive Survey on Underwater Image Enhancement Based on Deep Learning.
[3] Ren, S.Q., He, K.M., Girshick, R. and Sun, J. (2017) Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39, 1137-1149. [Google Scholar] [CrossRef] [PubMed]
[4] Redmon, J., Divvala, S., Girshick, R. and Farhadi, A. (2016) You Only Look Once: Unified, Real-Time Object Detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 779-788. [Google Scholar] [CrossRef
[5] Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C., et al. (2016) SSD: Single Shot Multibox Detector. In: Leibe, B., et al., Eds., Computer VisionECCV 2016, Springer International Publishing, 21-37. [Google Scholar] [CrossRef
[6] Awad, A., Saleem, A., Paheding, S., et al. (2024) Beneath the Surface: The Role of Underwater Image Enhancement in Object Detection.
[7] Wang, G., Chen, Y., An, P., Hong, H., Hu, J. and Huang, T. (2023) UAV-YOLOv8: A Small-Object-Detection Model Based on Improved YOLOv8 for UAV Aerial Photography Scenarios. Sensors, 23, Article No. 7190. [Google Scholar] [CrossRef] [PubMed]
[8] Zhang, H., Wang, Y., Dayoub, F. and Sunderhauf, N. (2021) VarifocalNet: An IoU-Aware Dense Object Detector. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 20-25 June 2021, 11099-11108. [Google Scholar] [CrossRef
[9] Zhang, Y., Ren, W., Zhang, Z., Jia, Z., Wang, L. and Tan, T. (2022) Focal and Efficient IOU Loss for Accurate Bounding Box Regression. Neurocomputing, 506, 146-157. [Google Scholar] [CrossRef
[10] Qin, X., Yu, C., Liu, B. and Zhang, Z. (2024) YOLO8-FASG: A High-Accuracy Fish Identification Method for Underwater Robotic System. IEEE Access, 12, 73354-73362. [Google Scholar] [CrossRef
[11] Jahanbakht, M., Xiang, W., Waltham, N.J. and Azghadi, M.R. (2022) Distributed Deep Learning and Energy-Efficient Real-Time Image Processing at the Edge for Fish Segmentation in Underwater Videos. IEEE Access, 10, 117796-117807. [Google Scholar] [CrossRef