Zhenzuo Zhang , Jiawei Li , Cuiwen Su , Zhiyong Wang , Yachao Li , Daoliang Li , Yingyi Chen , Chunhong Liu
{"title":"基于改进型 YOLOv8 的鱼类计数方法","authors":"Zhenzuo Zhang , Jiawei Li , Cuiwen Su , Zhiyong Wang , Yachao Li , Daoliang Li , Yingyi Chen , Chunhong Liu","doi":"10.1016/j.aquaeng.2024.102450","DOIUrl":null,"url":null,"abstract":"<div><p>In industrial aquaculture, accurately counting fish in real-time is crucial for optimizing feeding strategies, preventing disease, and managing water quality. Current methods utilizing sensors, acoustics, machine learning, and density map regression face challenges such as high costs, invasiveness, and computational complexity. To address these limitations, we propose the YOLOv8n-MEMAGD method for accurate real-time fish counting. This method enhances YOLOv8 by incorporating the GELU activation function, MPDIoU for localization loss, and the C2f-FAM and C2f-MSCA modules into the backbone network. Additionally, the neck network is redesigned with a gather-and-distribution mechanism. Experimental results under land-based industrial aquaculture conditions demonstrate that YOLOv8n-MEMAGD achieved a mean absolute error (MAE) of 2.28 and a root mean square error (RMSE) of 2.84, even in challenging conditions such as fish overlap, aggregation, and background confounding. Compared to YOLOv8n, the proposed method increased average precision (AP50) for fish detection by 6.2 %, and significantly reduced MAE and RMSE by 61.4 % and 65.2 %, respectively, compared to CSRNet. Additionally, the method achieved a frame rate of 61 frames per second (FPS) when the number of fish ranged from 79 to 91, representing a 390.4 % increase over CSRNet. By comparing heatmaps, the proposed method demonstrates more effective detection of fish edge contours than current advanced algorithms. In conclusion, the proposed method shows promise for application in aquacultural scenarios with higher turbidity and larger number of fish.</p></div>","PeriodicalId":8120,"journal":{"name":"Aquacultural Engineering","volume":"107 ","pages":"Article 102450"},"PeriodicalIF":3.6000,"publicationDate":"2024-08-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A method for counting fish based on improved YOLOv8\",\"authors\":\"Zhenzuo Zhang , Jiawei Li , Cuiwen Su , Zhiyong Wang , Yachao Li , Daoliang Li , Yingyi Chen , Chunhong Liu\",\"doi\":\"10.1016/j.aquaeng.2024.102450\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>In industrial aquaculture, accurately counting fish in real-time is crucial for optimizing feeding strategies, preventing disease, and managing water quality. Current methods utilizing sensors, acoustics, machine learning, and density map regression face challenges such as high costs, invasiveness, and computational complexity. To address these limitations, we propose the YOLOv8n-MEMAGD method for accurate real-time fish counting. This method enhances YOLOv8 by incorporating the GELU activation function, MPDIoU for localization loss, and the C2f-FAM and C2f-MSCA modules into the backbone network. Additionally, the neck network is redesigned with a gather-and-distribution mechanism. Experimental results under land-based industrial aquaculture conditions demonstrate that YOLOv8n-MEMAGD achieved a mean absolute error (MAE) of 2.28 and a root mean square error (RMSE) of 2.84, even in challenging conditions such as fish overlap, aggregation, and background confounding. Compared to YOLOv8n, the proposed method increased average precision (AP50) for fish detection by 6.2 %, and significantly reduced MAE and RMSE by 61.4 % and 65.2 %, respectively, compared to CSRNet. Additionally, the method achieved a frame rate of 61 frames per second (FPS) when the number of fish ranged from 79 to 91, representing a 390.4 % increase over CSRNet. By comparing heatmaps, the proposed method demonstrates more effective detection of fish edge contours than current advanced algorithms. In conclusion, the proposed method shows promise for application in aquacultural scenarios with higher turbidity and larger number of fish.</p></div>\",\"PeriodicalId\":8120,\"journal\":{\"name\":\"Aquacultural Engineering\",\"volume\":\"107 \",\"pages\":\"Article 102450\"},\"PeriodicalIF\":3.6000,\"publicationDate\":\"2024-08-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Aquacultural Engineering\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S014486092400061X\",\"RegionNum\":2,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Aquacultural Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S014486092400061X","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
A method for counting fish based on improved YOLOv8
In industrial aquaculture, accurately counting fish in real-time is crucial for optimizing feeding strategies, preventing disease, and managing water quality. Current methods utilizing sensors, acoustics, machine learning, and density map regression face challenges such as high costs, invasiveness, and computational complexity. To address these limitations, we propose the YOLOv8n-MEMAGD method for accurate real-time fish counting. This method enhances YOLOv8 by incorporating the GELU activation function, MPDIoU for localization loss, and the C2f-FAM and C2f-MSCA modules into the backbone network. Additionally, the neck network is redesigned with a gather-and-distribution mechanism. Experimental results under land-based industrial aquaculture conditions demonstrate that YOLOv8n-MEMAGD achieved a mean absolute error (MAE) of 2.28 and a root mean square error (RMSE) of 2.84, even in challenging conditions such as fish overlap, aggregation, and background confounding. Compared to YOLOv8n, the proposed method increased average precision (AP50) for fish detection by 6.2 %, and significantly reduced MAE and RMSE by 61.4 % and 65.2 %, respectively, compared to CSRNet. Additionally, the method achieved a frame rate of 61 frames per second (FPS) when the number of fish ranged from 79 to 91, representing a 390.4 % increase over CSRNet. By comparing heatmaps, the proposed method demonstrates more effective detection of fish edge contours than current advanced algorithms. In conclusion, the proposed method shows promise for application in aquacultural scenarios with higher turbidity and larger number of fish.
期刊介绍:
Aquacultural Engineering is concerned with the design and development of effective aquacultural systems for marine and freshwater facilities. The journal aims to apply the knowledge gained from basic research which potentially can be translated into commercial operations.
Problems of scale-up and application of research data involve many parameters, both physical and biological, making it difficult to anticipate the interaction between the unit processes and the cultured animals. Aquacultural Engineering aims to develop this bioengineering interface for aquaculture and welcomes contributions in the following areas:
– Engineering and design of aquaculture facilities
– Engineering-based research studies
– Construction experience and techniques
– In-service experience, commissioning, operation
– Materials selection and their uses
– Quantification of biological data and constraints