Improved weighted bidirectional FPN aquatic real-time target detection model based on cross-scale connections | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Improved weighted bidirectional FPN aquatic real-time target detection model based on cross-scale connections Liubing Jiang, Yujie Mu, Li Che, Yongman Wu This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4001173/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract As a pillar industry in coastal areas, aquaculture needs artificial intelligence technology to drive its economic development. This paper proposes a new method of multi-scale feature fusion and integrates it into the YOLOv5 backbone network for automated operations in the aquaculture industry. This model completes the computerized classification and detection of aquatic products, increases the industry's productivity, and fosters economic development. To provide a foundation of data for training the model, this research creates a dataset comprising 15 species of marine products. The data preprocessing section suggests an underwater image enhancement approach to raise the dataset's quality. Mosaic data augmentation is presented to enrich the dataset and bolster its features. A weighted bi-directional feature pyramid network is improved and fused into the necking network to improve the ability of multi-scale feature fusion of the network, significantly strengthening the efficiency of feature extraction of the network. Moreover, the accuracy and speed of model prediction are significantly increased by integrating the SimAM attention mechanism and introducing the FReLU activation function in the network backbone section. The comparison and ablation experiments show the suggested model's superiority and efficacy. The enhanced YOLOv5 target detection model's experimental results, verified by the mAP and FPS evaluation metrics, can achieve 0.953 and 203 frames per second. Compared to the base YOLOv5 network, the evaluation metrics improved by 0.067 and 48 frames per second, respectively. In summary, our method can quickly and accurately identify aquatic products and achieve real-time target detection of marine products, laying the foundation for developing automation systems in the aquaculture industry. underwater target recognition automated aquaculture improved YOLOv5 underwater image enhancement Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 1. Introduction The oceans are a massive energy reservoir and an indispensable power source for humankind's sustainable development. The rich resources in the oceans can be rationally developed and utilized, while the oceans, lakes, and rivers provide the environment for human economic production. Aquaculture is a rapidly expanding sector of the agricultural structure, contributing significantly to both the fishery economy and the national economy. It can vigorously drive the economic development of coastal areas and gradually become a pillar industry. Globally, farmed aquatic products' overall production is also rising yearly. The scale of farming and quality benefits have an impact on the aquaculture industry's financial income. Traditional low-density, low-yield aquaculture methods, which are driven by the quality and yield of aquatic products, have not been able to keep up with the demands of the marine economy's development. As a result, the aquaculture industry has incorporated new and modern information technology and intelligent technology to optimize the chain of aquaculture. However, it's crucial to use computer vision technologies to create novel aquaculture, which can achieve production modernization and automation, improve production efficiency, promote the development of the fishery economy, and save workforce and material resources. Since 2014, deep learning-based target detection technology has advanced quickly, and its range of applications is growing, such as road surface collapse detection [ 1 ], crop pest detection [ 2 ], ship target detection [ 3 ], and the field of automatic driving [ 4 ]. The mainstream underwater target recognition technology currently includes sonar image detection [ 5 ]and underwater optical image detection [ 6 – 8 ]. Sonar equipment is more expensive and will cause a certain degree of noise pollution, affecting the growth and development of aquatic organisms, so the underwater target recognition technology based on sonar equipment does not apply to the field of aquaculture. Underwater optical images taken by underwater camera equipment using optical image processing technology can realize the accurate recognition of submerged targets. Underwater cameras with underwater robots and other automated equipment for underwater operations can complete the feeding and fishing of specific types of aquatic products. They will not cause pollution of the underwater environment. As technology advances, so do their precision and frame rate, which can completely satisfy the automation requirements of the aquaculture sector. Target detection techniques built on deep learning have become increasingly popular as a result of deep learning's advancement and superior performance. Currently, classical target recognition algorithms mainly include single-stage and multi-stage approaches. Single-stage approaches include YOLO (You Only Look Once) series [ 9 ], SSD [ 10 ], and RetinaNet [ 11 ] algorithms. Single-stage target detection algorithms mean the target can be detected by extracting features only once, and their recognition speed is faster. Still, their accuracy is inferior compared to multi-stage methods. Multi-stage methods include RCNN [ 12 ], Fast RCNN [ 13 ], Faster RCNN [ 14 ], and Mask RCNN [ 15 ] algorithms. Multi-stage target detection methods lower the inference speed while increasing detection accuracy by first extracting instance bounding boxes based on the input picture and then performing secondary correction based on the candidate region to obtain the detection point results, which is suitable for the domain of higher requirements on the accuracy of detection, but does not require real-time performance. Even though prediction accuracy is still inferior to the two-stage target detection algorithms, the YOLO series' quicker inference time has made it a mainstay in the industry's marketplace.Even though prediction accuracy is still inferior to the two-stage target detection algorithms, the YOLO series' quicker inference time has made it a mainstay in the industry's marketplace. The YOLOv5 network introduces adaptive anchor box calculation and adaptive image scaling based on YOLOv4 [ 16 ]. It improves the scale of CSPNet [ 17 ] in the backbone network so that it has four scales of network structure: S, M, L, and XL, which can be applied to various fields to meet different needs. Compared with the latest YOLOv7 and YOLOv8 networks, the YOLOv5 model technology is more mature. The network structure is more stable and more robust. Especially for the research field of this paper, the model needs to be able to perform well in real underwater scenes with a certain degree of real-time, which has a higher demand for the stability and flexibility of the model, combined with the above considerations, and this paper chooses YOLOv5 as the basic network of the model. The capability of feature extraction for target detection models is crucial, and to achieve a higher level of multi-scale feature fusion, this paper introduces an improved weighted bi-directional feature pyramid network (BiFPN [ 18 ]) instead of the original PANet [ 19 ] structure in the YOLOv5 neck network. Traditional aquatic organism identification methods can use machine learning techniques to recognize the class of marine organisms being studied. For example, classifiers such as Naive Bayes [ 20 ] (NB), Decision Tree [ 21 ] (DT), and Support Vector Machine (SVM) algorithms rely on manual selection techniques for feature extraction, i.e., selecting the relevant traits based on human subjectivity and the selection of characteristics using such methods is very subjective, insufficient, and tends to overlook essential features; thus their accuracy is limited. Several researchers have made rapid progress using deep learning to implement target detection algorithms in the last several years. In 2020, Song et al. [ 22 ] achieved mAP values greater than 90% on a small dataset of aquatic organisms by combining the Mask R-CNN with the MSRCR technique for image augmentation. Although the detection accuracy was increased, the training period was lengthy. The same year, Han et al. [ 23 ] integrated the refined YOLOv3 algorithm into an underwater robot for real-time detection of enhanced marine creature images. Nevertheless, the method is plagued by leakage issues and is unable to identify marine species with hazy edges. Using the enhanced YOLOv4 network, Mao et al. [ 24 ] presented a model in 2021 for the detection of marine species in shallow waters. To increase detection accuracy, the YOLOv4 network's Embedded Connection (EC) component was built and integrated. This technique lowers computing work while increasing detection accuracy. Iqbal et al. [ 25 ] presented a significant end-to-end CNN in 2022 with the goal of classifying fish behavior into two groups: normal and hungry. By changing the number of layers in the fully connected layer and deciding whether to employ the maximum pooling technique, they were able to assess the CNN's performance. According to the experimental results, the detection method's accuracy may be increased by 10% to reach 98% accuracy and demonstrate high performance by including a maximum pooling function into the CNN's shallow architecture and adding three fully connected layers. For the categorization of fish species, Kaya et al. [ 26 ] developed the CNN-based model IsVoNet8, which demonstrated a 91.37% classification accuracy in 2023. The same year, Ren et al. [ 27 ] conducted a study that used LIBS and Raman spectroscopy to create a new method of fish species identification. They combined two machine learning algorithms, SVM and CNN, with Raman spectroscopic data from 13 different fish species to generate a classification model, with the proposed CNN model achieving the highest classification accuracy of 96.2%. Even if the field of underwater target recognition has made great strides in the past, there is still much space for improvement, particularly in the areas of aquatic creature detection, localization, species identification, and quantitative statistics. At the same time, underwater target recognition requires high real-time performance, so designing a fast and high-accuracy underwater target detection model is vital. This study presents research that enhances the YOLOv5 algorithm and applies it to underwater target detection, aiming to achieve automated rearing and fishing in the aquaculture industry. The real-time classification and detection model for aquaculture that this study suggests greatly enhances the speed and accuracy of underwater target recognition, saves fishermen's time, increases the productivity of fishermen, and fosters the growth of the aquaculture sector. To summarize, our work has made the following major contributions: This study creates an underwater target recognition dataset consisting of 1108 aquatic images of different resolutions containing 15 common aquatic species. A training set plus a validation set comprise our dataset: 178 images make up the validation set and 930 images make up the training set. The corresponding labels were also created for this dataset; Because of the low-quality images captured using underwater cameras, there are often cases of low image contrast, high noise, color deviation from the real world, and uneven or darker brightness. An underwater image quality improvement technique is shown as a solution to this issue. It can successfully raise the quality of the image and automatically modify the brightness of the image to fix the color deviation issue. The accuracy of subsequent target recognition is significantly improved; Because environmental conditions limit underwater image acquisition, the gathered dataset contains a rather limited number of images. The training effect is general, so this paper introduces the Mosaic data enhancement algorithm, which enriches the dataset and expands the number of images to twice as many as the previous ones. The ablation experiments' findings demonstrate how the dataset preparation technique can successfully raise the mean average precision (mAP) value while boosting network robustness; In this paper, the backbone and neck networks of YOLOv5 are improved, and the YOLOv5-SimF target detection model is proposed, which introduces the SimAM [ 28 ] attention mechanism and the FReLU activation function [ 29 ], which significantly improves the network's inference speed and recognition accuracy, and is used for realizing real-time automated classification and recognition of aquatic products. This is how the remainder of the paper is structured. The "Materials and Methods" section describes the dataset, the dataset preprocessing process, and the YOLOv5-SimF object detection model. The "Results" section shows the experimental results. The "Discussion" section analyzes and discusses the experimental results. The "Conclusions" section summarizes the work of this paper. 2. Materials and Methods 2.1. Experimental dataset and its pre-processing 2.1.1. Dataset preparation This study creates a dataset containing 15 aquatic species categories with 1108 marine images divided into training and validation sets. Existing open datasets of underwater images cover a wide range of biotic and abiotic targets. In contrast, the dataset created in this paper focuses on underwater biotic targets, which are economically viable. It is a dataset of underwater images collected specifically for the aquatic sector, from which a target detection model trained on this dataset can be used to achieve fine-grained target classification for fish. The dataset's sources are aquatic photographs collected from farms and various images online. The 15 aquatic species are abalone, carp, salmon, jellyfish, scallop, perch, silver pomfret, catfish, grouper, shrimp, tilefish, crab, squid, yellow croaker, and turbot. These cover most of the common aquatic species in the aquaculture industry. We construct corresponding labels for each target in each image of this dataset for the network to learn and train. The dataset species sampling is shown in Fig. 1 . 2.1.2. Underwater image enhancement network Underwater images captured by underwater camera equipment will have different degrees of quality degradation problems, affecting the accuracy of target detection, so it's essential to pre-process underwater images before target detection. Underwater optical images generally have three types of issues: uneven brightness or darkness; different wavelengths of light are absorbed and scattered by the water medium to different degrees, and underwater images generally show blue-green color, with specific color deviation; propagation of underwater light will be absorbed and scattered by the water medium, resulting in image fogging and reduced contrast. For the above three types of problems, this paper proposes an underwater image enhancement network that can make better the degradation of underwater images. The backbone structure of the underwater image enhancement network is shown in Fig. 2 . First, the white balance algorithm is used to enhance the contrast and adjust the hue of the image, and the principle as in Eq. ( 1 ). $$\left\{ \begin{gathered} C\left( {R^{\prime}} \right)=C\left( R \right) * \frac{{\overline {R} +\overline {G} +\overline {B} }}{{3\overline {R} }} \hfill \\ C\left( {G^{\prime}} \right)=C\left( G \right) * \frac{{\overline {R} +\overline {G} +\overline {B} }}{{3\overline {G} }} \hfill \\ C\left( {B^{\prime}} \right)=C\left( B \right) * \frac{{\overline {R} +\overline {G} +\overline {B} }}{{3\overline {B} }} \hfill \\ \end{gathered} \right.$$ 1 where \(C\left( R \right)\) , \(C\left( G \right)\) and \(C\left( B \right)\) represent the input image R, G and B three-channel components, \(C\left( {R^{\prime}} \right)\) , \(C\left( {G^{\prime}} \right)\) and \(C\left( {B^{\prime}} \right)\) represent the output image three-channel components, \(\overline {R}\) , \(\overline {G}\) and \(\overline {B}\) represent the average value of the image in the three channels. Second, the image's brightness is adjusted by an improved gamma correction. The gamma correction is ineffective in correcting overly bright or dark regions due to a small range of gamma values. The enhanced gamma correction improves in correcting both areas of uneven brightness of the image, and the improved gamma correction as in Eq. ( 2 )-( 5 ). $$O\left( {x,y} \right)=255 \times {\left( {\frac{{i\left( {x,y} \right)}}{{255}}} \right)^\gamma }$$ 2 $$\gamma 1=\frac{1}{{1+\left( {1 - \theta \times \frac{m}{{255}}} \right) \times \cos \left( {\pi \times \frac{{L\left( {x,y} \right)}}{{255}}} \right)}}$$ 3 $$\gamma 2=\frac{1}{{1+\left( {1 - \theta \times \left( {1 - \frac{m}{{255}}} \right)} \right) \times \cos \left( {\pi \times \frac{{L\left( {x,y} \right)}}{{255}}} \right)}}$$ 4 $$\gamma =\left\{ \begin{gathered} \gamma 1,\frac{m}{{255}} \leqslant 0.5 \hfill \\ \gamma 2,\frac{m}{{255}}>0.5 \hfill \\ \end{gathered} \right.$$ 5 where \(O\left( {x,y} \right)\) denotes the pixel value of the image after improved gamma correction, denotes the average value of the pixels of the input image, \(L\left( {x,y} \right)\) denotes the value of the pixels of the input image, and \(\theta\) = 0.6for the best correction effect. Finally, Underwater image color deviance is corrected using the unsupervised color correction approach. The algorithm simultaneously linearly stretches the histograms of the R, G, and B channels in the RGB color model and the S and I channels in the HSI color model to improve the image contrast and enhance the actual color and brightness of the image. The comparison of the original and improved images of the test set data is shown in Fig. 3 . The approach described in this research is contrasted with four additional image enhancement algorithms in order to confirm its efficacy; the comparison algorithms include MSRCR, UDCP, CLAHE, and Water-Net [ 30 ], of which the first three are traditional machine learning techniques, deep learning network is the final one. Two measures are employed in this paper to evaluate the image quality: UIQM [ 31 ] and UCIQE [ 32 ], which are targeted to assess the performance of underwater image enhancement algorithms. Table 1 demonstrates the experimental results, and it is evident that the suggested method performs better than the other algorithms that were examined. Table 1 Evaluation results algorithms UIQM UCIQE MSRCR 1.965 0.478 UDCP 2.093 0.845 CLAHE 1.862 0.351 Water-Net 1.458 0.745 Proposed method 2.205 0.855 2.1.3. Mosaic augmentation The Mosaic augmentation method is used to preprocess the dataset to enable the model better to learn the distinct features of various aquatic species. Compared with the image data on land, the acquisition of underwater image data is more complex. The acquisition conditions are restricted, and nowadays, the number of open datasets of underwater images is small, which is not enough to complete the training of multi-species target detection models. Hence, the model training effect is hardly satisfactory. In addition, fish targets are generally more aggregated and have smaller target sizes, making the network feature extraction process more difficult. Therefore, enhancement of the existing dataset is essential. Mosaic data enhancement is an improved version of the CutMix data enhancement method. Compared with other data enhancement methods, Mosaic data enhancement does not have extraneous pixels, which improves the training efficiency and further enhances the model's orientation ability and classification performance, and the inference cost remains unchanged. This method stitches any four images in the dataset by random scaling, random cropping, and random arranging, which enriches the training dataset significantly when the many minor targets are added via random scaling so that the robustness of the network is improved. At the same time, in the case of only one GPU, good results can be achieved even if the batch size cannot be set too large. Two times as many datasets are available thanks to mosaic data augmentation. Figure 4 depicts the mosaic data augmentation procedure. 2.2. Adaptive anchor box calculation and adaptive image scaling In order to train the model, it first generates a prediction box based on the original anchor box. This prediction box is then compared to the ground-truth box; the error between the two is computed, the update is inverted, and the network parameters are iterated. The first anchor box value in YOLOv5 is encoded into the code, and each training session adaptively determines the ideal anchor box value across various training sets. Moreover, before each image is input into the model for training, it must be scaled to a standard size because the resolution of the images in the dataset varies. The YOLO algorithm typically uses the sizes 416*416 and 608*608. The size of the black edges at the ends of the photographs varies after scaling and filling due to the variations in the aspect ratio of the images. The inference speed will be impacted by information redundancy if more pixel values are filled. To reduce processing and speed up inference, YOLOv5 has been changed to adaptively add the least amount of black edges to the image. 2.3. YOLOv5-SimF Target Detection Model 2.3.1. Improved YOLOv5 algorithm The input, neck, head, and backbone networks make up the four components of the YOLOv5 network. In order to centralize the information of the images W and H on the channel and act as downsampling without causing information loss, the input image is first sliced before being fed into the backbone network. The Convolutional Layer, Batch Normalization, and FReLU activation function make up the CBF module in the backbone network section. Target identification, semantic segmentation, and image classification are among the tasks where the FReLU activation function performs better than activation functions like ReLU and SiLU. It gets around activation functions' insensitivity to spatial cues when performing visual tasks. FReLU, an activation function specifically created for visual tasks, adds very little spatial conditional overhead to ReLU and PReLU, extending them to 2D activation. It somewhat raises the accuracy of small target detection.The formula for FReLU is found in Eq. ( 6 )-( 7 ). $$y=\hbox{max} \left( {xc,i,j,T\left( {xc,i,j} \right)} \right)$$ 6 $$T\left( {xc,i,j} \right)=x_{{c,i,j}}^{\omega }\cdot p_{c}^{\omega }$$ 7 where \(T\left( {xc,i,j} \right)\) represents a simple and efficient spatial context feature extractor. \(x_{{c,i,j}}^{\omega }\) represents the window centered at the 2D position \(\left( {i,j} \right)\) on the channel ; \(p_{c}^{\omega }\) represents the shared parameters of this window in the same channel. The image undergoes a series of CBF module downsampling in the backbone section and CSP module feature extraction to generate a set of feature maps with different resolutions. At the backbone network's terminus, the SPPCSP module is introduced. In the primary YOLOv5 network, SPP is used for processing; the role of SPP is to obtain different receptive fields through maximum pooling and increase the receptive fields so that the network can adapt to varying resolutions of feature maps.SPP utilizes maximum pooling at four different scales for processing, and it has four different receptive fields used to distinguish between large, medium, and small targets. Here, the SPP module is improved by introducing the SPPCSP module, which divides the features into two parts, one of which is processed by conventional CBF, and the SPP structure processes the other. Finally, the two parts are concatenated, reducing the computation by half and achieving speed improvement. In the neck network structure, a feature pyramid network (FPN) considers multiple scales of features and performs multi-scale feature fusion; however, FPN pass information top-down, resulting in feature fusion being limited by the unidirectional information flow. The original YOLOv5 introduced PANet in the neck network to improve this shortcoming, which achieves bottom-up feature delivery but simultaneously requires more parameters and computational cost. To address this problem and improve the efficiency of the target detection model, this paper presents a key innovation in the necking network, where BiFPN is improved to make it more suitable for YOLOv5 networks, and its effectiveness is experimentally evaluated. In addition, YOLOv5 provides four different sizes of network models, S, M, L, and XL, which have different depths and widths.YOLOv5s denotes the lightest network, and YOLOv5xl is the deepest and widest network. Here, by modifying the values of a set of hyperparameters, the number of network layers and convolutional kernels can be set, thus choosing to use networks with different specifications. The inference speed that is fastest, YOLOv5s, also has the lowest accuracy. YOLOv5xl has the slowest inference speed and the highest accuracy, which are suitable for application domains with different needs. In this study, The base network, YOLOv5m, can meet real-time performance requirements and attain a high accuracy rate. In the head network, the RepConv [ 33 ] structure is introduced. RepConv obtains a good performance on the VGG [ 34 ] structure by reparameterization, which raises the accuracy of the network's predictions without adding more parameters or convolutional computation. The RepConv structure has different network constructs for training and inference. The output is obtained by summing two branches with different numbers of convolutional kernels and a normalized branch during training, and during inference, the branch parameters are reparameterized to the main branch. The number of channels in the final output feature map is 3 × (NC + 5), where 3 denotes three anchor boxes with different aspect ratios, NC represents the number of categories, and 5 indicates the two parameters of the anchor box's center point and the two parameters of the anchor box's length and width plus a foreground probability parameter for the anchor box. YOLOv5 reduces overfitting by employing Dropblock [ 35 ] regularization, which is derived from the 2017 Cutout [ 36 ] method of data augmentation. In this method, Dropblock applies Cutout to each feature map after Cutout zeroes out portions of the input image. It starts with a tiny ratio during training and grows this ratio linearly with the training process, as opposed to having a set zeroing ratio. Dropblock, in contrast to Cutout, is more efficient and offers a thorough upgrade and enhancement to the network's regularization process. Figure 5 displays the core components and network architecture of the YOLOv5-SimF target detection model. 2.3.2. Weighted bi-directional feature pyramid network In this paper, a significant innovation is accomplished in the YOLOv5 neck network, which further improves the network's performance with better accuracy and higher efficiency than the original YOLOv5 network. We improve the weighted bi-directional feature pyramid network and introduce it into our proposed network architecture. The experimental results show that the innovation can not only be adapted to the existing network architecture but also that the network's performance has been improved critically, mainly in terms of the efficiency and accuracy of the target detection model. The main schematic diagram of the improved BiFPN network is shown in Fig. 6 (c): effective bidirectional cross-scale connections and weighted feature fusion introduced to aggregate features at different resolutions of the feature map. Each node in Fig. 6 corresponds to features at different scales. The BiFPN in Fig. 6 (c) removes some nodes that have only one input and without feature fusion, then they contribute less to the feature fusion network, and a simplified PANet bi-directional network is obtained by excising these nodes; secondly, in order to improve the ability of the network to fuse the features, an additional edge is added to the original input-to-output nodes that are at the same level. These added edges correspond to the dashed and red solid arrows in Fig. 5 (a). At the same time, it does not add much computational cost. Finally, in order to achieve a higher level of feature fusion, we will repeat a feature network layer multiple times, i.e., top-down and bottom-up bi-directional path network layers, which corresponds to Fig. 5 (a) can be seen in Fig. 6 (c) with repeated blocks = 3, i.e., the feature network layer is repeated three times. The principle of multi-scale aggregation is shown in Eq. ( 8 ). $${\overrightarrow P ^{out}}=f\left( {{{\overrightarrow P }^{in}}=P_{{li}}^{{in}}} \right),i=1,2...$$ 8 where \(P_{{li}}^{{in}}\) denotes the \(li\) -layer feature, the network aims to find a transformation can efficiently aggregate different input features \({\overrightarrow P ^{in}}\) and output a new set of features \({\overrightarrow P ^{out}}\) . For input features with different resolutions, whose importance varies because they contribute differently to the output features, an additional weight should be assigned to each input, and the network should be allowed to learn the value of the weight. Here, the weights are calculated using fast normalized feature fusion with the following formula: $$O=\sum\nolimits_{i} {\frac{{\omega i}}{{\varepsilon +\sum\nolimits_{j} {\omega j} }} \cdot Ii}$$ 9 where \(\omega i \geqslant 0\) is ensured by applying the Relu activation function after each \(\omega i\) and \(\varepsilon =0.0001\) to ensure numerical stability, and the weights are between 0 and 1 by the normalization process. In summary, BiFPN integrates bidirectional cross-scale connections and a fast normalized feature fusion‘s weight calculation method to optimize multi-scale feature fusion in neck networks, and ablation experiments validate the effectiveness of introducing the improved BiFPN network. 2.3.3. SimAM attention mechanism This study incorporates the SimAM attention mechanism into the neck network to further increase the prediction accuracy of the YOLOv5-SimF model. Lightweight and effective, the SimAM attention module is simple to use. SimAM concentrates on information related to both channel and spatial dimensions. In the situation of restricted mathematical resources, no extra parameters are required to calculate the 3D attention weights, successfully avoiding the issue of growing model parameters caused by structural modifications. The attention mechanism weights can be computed using only an energy function. Through the computation of the energy function, it is possible to determine that a neuron's significance increases and its distinction from other neurons is more pronounced when its energy is lower. Consequently, the SimAM attention mechanism has a wide range of applications and is capable of precisely capturing the important information found in image features. Figure 7 depicts the architecture of the SimAM attention mechanism. In Fig. 7 , the 3-D weights are calculated as follows: $$\mathop X\limits^{ \bullet } =sigmoid\left( {\frac{1}{E}} \right) \odot X$$ 10 $$E=\frac{{4\left( {{\sigma ^2}+\lambda } \right)}}{{{{\left( {t - \mu } \right)}^2}+2{\sigma ^2}+2\lambda }}$$ 11 where is the input feature, is the energy function on each channel, and the sigmoid function is used to limit the possible oversize values in . is the value of the input feature \(t \in X\) , \(\lambda\) is the constant \(1e - 4\) , \(\mu\) and \({\sigma ^2}\) denote the mean and variance of each channel in respectively, which are calculated by the following formulas: $$\mu =\frac{1}{M}\sum\nolimits_{{i=1}}^{M} {xi}$$ 12 $${\sigma ^2}=\frac{1}{M}\sum\nolimits_{{i=1}}^{M} {{{\left( {xi - \mu } \right)}^2}}$$ 13 where \(M=H \times W\) denotes the number of neurons on each channel.The weight of each neuron can be obtained through the above calculation, and introducing this attention mechanism improves the accuracy of the model target detection without increasing the computational burden of the network effectively. 2.3.4. Loss function of the model Three components make up the target detection model's overall loss: confidence loss, localization loss, and classification loss. Classification loss employs a binary cross-entropy loss for each category prediction, taking into account the possibility that a target may belong to many categories simultaneously. The calculation formula is as follows: $$yi=sigmoid\left( {xi} \right)=\frac{1}{{1+{e^{ - xi}}}}$$ 14 $$Lclass= - \sum\limits_{{i=1}}^{N} {y_{i}^{ * }\log \left( {{y_i}} \right)+\left( {1 - y_{i}^{ * }} \right)\log \left( {1 - {y_i}} \right)}$$ 15 where denotes the total number of categories, \(xi\) is the predicted value of the current category, \({y_i}\) is the probability of the current category obtained after the activation function, and \(y_{i}^{ * }\) is the label of the true value of the current category, which takes the value of 0 or 1. The localization loss in this paper is the CIoU LOSS [ 37 ] function. Three geometric characteristics are considered by the CIoU LOSS function: aspect ratio, centroid distance, and overlap area. In order to bring the prediction boxes closer to the ground truth box, CIoU adds the loss of the prediction boxes' scale based on DIoU as well as the loss of their length and width. In addition to increasing the prediction box regression's speed and accuracy, CIoU takes the bounding box aspect ratio's scaling information into account. The formulation of localization loss is found in Eq. (16)-( 18 ). \(Llocal=1 - CIoU=1 - \left( {IoU - \left( {\frac{{{\rho ^2}\left( {b,{b^{gt}}} \right)}}{{{c^2}}}} \right)+\alpha \upsilon } \right)\) (16) \(\upsilon =\frac{4}{{{\pi ^2}}}{\left( {\arctan \frac{{{w^{gt}}}}{{{h^{gt}}}} - \arctan \frac{w}{h}} \right)^2}\) (17) $$\alpha =\frac{\upsilon }{{\left( {1 - IoU} \right)+\upsilon }}$$ 18 where \(IoU\) represents the intersection over union, \(\rho\) represents the Euclidean distance between and \({b^{gt}}\) , represents the parameter of the center coordinates of the prediction box, \({b^{gt}}\) represents the parameter of the center coordinates of the real target bounding box, and \({\rho ^2}\) represents the square of the distance between the two center points. represents the length of the diagonal of the smallest outer rectangle of the two rectangles. \(\alpha\) and \(\upsilon\) are parameters that measure the consistency of the aspect ratio. \({w^{gt}}\) and \({h^{gt}}\) represent the width and height of the true box, and and represent the width and height of the predicted box. Confidence loss employs a binary cross-entropy loss function, just as classification loss. The following is the precise calculation formula: $$Lconf\left( {o,c} \right)= - \frac{{\sum\limits_{{i=1}}^{N} {\left( {oi\ln \left( {\widehat {c}i} \right)+\left( {1 - oi} \right)\ln \left( {1 - \widehat {c}i} \right)} \right)} }}{N}$$ 19 $$\widehat {c}i=sigmoid\left( {ci} \right)$$ 20 where \(oi \in \left[ {0,1} \right]\) denotes the IoU of the predicted and real boxes, is the predicted value, \(\widehat {c}i\) is the predicted confidence obtained from via sigmoid activation function, and is the number of positive and negative samples.The total loss function for the target detection model is calculated as follows: $$LOSS={\lambda _1}Lclass+{\lambda _2}Llocal+{\lambda _3}Lconf$$ 21 where \({\lambda _1}\) , \({\lambda _2}\) and \({\lambda _3}\) are balancing parameters. The DIoU Non-Maximum Suppression (DIoU NMS) technique is used in the post-processing step of the target detection algorithm to reduce false detections and eliminate duplicate boxes. The highest-scoring detected box and all other detected boxes are given a corresponding IoU value in the conventional NMS algorithm, and those boxes whose values are greater than the NMS threshold are filtered out. As can be observed, the only element taken into account by the traditional NMS algorithm is IoU. Nevertheless, in real-world application scenarios, only one detection box is frequently left behind after NMS processing when two distinct objects are quite close to one another because of the relatively large IoU value. This results in the error scenario of missed detection. Because the IoU ignores the aspect ratio and center point distance, it simply takes into account the overlap region between the predicted and actual boxes. This is why the DIoU NMS takes into account both the IoU and the separation between the two boxes' center points. It might be regarded as a box of two objects and won't be filtered out if the IoU between two boxes is comparatively significant yet the distance between the centers of two boxes is rather large. The false detection rate of the traditional NMS method is successfully decreased by the DIoU NMS algorithm. 3. Results 3.1. Experimental environment and parameter settings The environment for model training, as well as testing, is a PC with NVIDIA GeForce RTX 3060 Laptop GPU, memory 16G, 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz CPU, and Windows 11 OS. Pytorch 1.7.1, CUDA 11.0, CUDNN 8.2, Python 3.8. The experimental parameter settings are shown in Table 2 . The settings of the hyperparameters Depth_multiple and Width_multiple in Table 2 specify the depth and width of the network, i.e., the number of layers of convolutional layers and convolutional kernels in the network. Table 2 Parameter settings. Parameter Size Learning rate 1e-4 Optimizer Adam Batch size 8 Epoch 100 Depth_multiple 0.67 3.2. Evaluation metrics of Experimental result This paper uses the following evaluation measures for the experimental results: F1, AP (Average Precision), mAP (mean Average Precision), R (Recall), P (Precision), and FPS (Frames per Second). The precision P value denotes the percentage of the model-predicted positive samples that really contain positive samples. The percentage of positive samples that the model successfully detected out of all positive samples is represented by recall R. The accuracy of class detection is measured by average precision (AP), which is the average of the precision under various recall rates. The value of AP is the size of the area under the PR curve. The following is the precise calculation formula: $$P=\frac{{TP}}{{TP+FP}}$$ 22 $$R=\frac{{TP}}{{TP+FN}}$$ 23 $$AP=\int_{0}^{1} {P\left( R \right)dR}$$ 24 where \(TP\) indicates that positive samples are predicted as positive, \(FP\) indicates that positive samples are predicted as negative, and \(FN\) indicates that negative samples are predicted as positive. Eq. ( 24 ) represents the PR curve obtained by setting different confidence levels with R as the horizontal coordinate and P as the vertical coordinate, and the area enclosed by this PR curve and the coordinate axis is the value of AP. The accuracy of multiple-category detection is measured by the mean average of precision, or mAP, which is the average of the APs of several categories. The mAP50 and mAP50-95 are the evaluation measures used in this project. The average precision when the intersection over the union IoU threshold is 0.5 is denoted by the mAP50, and the average precision when the IoU threshold is between 0.5 and 0.95 is denoted by the mAP50-95. The F1 Score, which takes accuracy and memory into account and provides a thorough assessment of the model's advantages and disadvantages, is calculated as the harmonic average of recall and precision. The number of frames per second (FPS) that the model is able to detect is used to gauge its inference speed. The specific calculation formula is as follows: $$mAP=\frac{{\sum\limits_{{i=1}}^{N} {APi} }}{N} \times 100\%$$ 25 $$F1=\frac{{2PR}}{{P+R}}$$ 26 where is the number of categories and \(APi\) is the \(AP\) of the category. 3.3. Experimental results For the 15 categories of this study, the experimental results are shown in Table 3 . Table 3 Experimental results of each category. Class P R AP50 AP50-95 Abalone 0.918 0.882 0.950 0.690 Carp 1 0.989 0.995 0.818 Catfish 0.881 0.900 0.932 0.635 Grouper 0.839 0.875 0.955 0.696 Squid 0.903 0.915 0.944 0.707 Tilefish 0.899 0.938 0.937 0.782 Shrimp 0.968 1 0.995 0.861 Crab 0.972 0.951 0.976 0.746 Turbot 0.819 0.697 0.775 0.519 Yellow croaker 0.994 0.917 0.947 0.724 Salmon 0.952 1 0.995 0.866 Jellyfish 0.984 1 0.995 0.745 Scallop 0.952 0.955 0.993 0.815 Perch 1 0.990 0.995 0.782 Silver pomfret 0.814 0.873 0.907 0.695 Figure 8 displays the visualization results of the YOLOv5-SimF model provided in this paper in the experimental test set. From this, it is evident that the 15 species of aquatic products engaged in this study can be accurately classified and localized. When paired with hardware, deep learning's exceptional performance makes it possible for the aquaculture sector to operate automatically. The model is entirely applicable to real-world scenarios due to its high recognition accuracy and low misdetection rate. Figure 9 displays the results of the real-time target detection sampling of the natural undersea scene. 4. Discussion 4.1. Experimental label database The experiments labeled the ground truth box of each image in the dataset created in this paper. The distribution of labels in the dataset is shown in Fig. 10 The horizontal coordinates of the histograms in Fig. 10 (a) indicate the different categories, and the vertical coordinates indicate the number of label instances in the different categories. Figure 10 (b) counts the length and width of all ground truth boxes in the dataset, where the center coordinates of each ground truth box are set at the same position. The scatter plots in Fig. 10 (c) and Fig. 10 (d) represent the distribution of the ground truth box's center coordinates (x,y) in the image and the width and height distribution of the ground truth box, respectively. In addition, Fig. 11 summarizes the labels of the training set data and plots the relationship diagram between the four variables of the training set data labels: x, y, width, and height. The histogram in the first row of Fig. 11 shows the distribution of the horizontal coordinates x of the center point of the anchor box. It can be seen that the horizontal coordinates x of the center point are concentrated in the positions of 0.25, 0.50, and 0.75 of the image, with the position of 0.50 in the center of the image being the most prevalent; the histogram in the second row shows the distribution of the vertical coordinates y of the center point of the anchor box, it can be seen that the vertical coordinate y is uniformly distributed over the image at 0.25, 0.50 and 0.75. The histogram in the third row shows the distribution of the width of the anchor boxes, and it can be seen that most of the anchor boxes are not wider than half of the image; the histogram in the last line shows the distribution of the height of the anchor boxes, and it can be seen that the height of most of the anchor boxes is not more than half of the image. 4.2. Model performance The target detection classification model's confusion matrix is displayed in Fig. 12 The number in the matrix's square represents the likelihood that the model will correctly identify the category, while the horizontal and vertical axes represent the actual and predicted categories, respectively. By using the confusion matrix diagram, the classification model presented in this research may accomplish a more accurate classification task. Figure 13 displays the curve diagrams for the target detection model's operational outcomes, by which the performance of a model can be more intuitively assessed. Figure 13 (a) shows the F1-Confidence curve, which can reflect the relationship between the F1 scores and the confidence level; Fig. 13 (b) represents the Precision-Confidence curve, which reflects the precision values under different confidence thresholds; Fig. 13 (c) shows PR curve, the area under this curve is taken as AP; Fig. 13 (d) shows Recall-Confidence curve, which reflects the relationship between recall and confidence. The visual examination of the model evaluation metrics during the dataset's training is displayed in Fig. 14 , where 100 epochs are represented by the horizontal axis. In addition to the changes in accuracy, recall, mAP50, and mAP50-95 of the model throughout training, the figure shows variations in box loss, objectness loss, and categorization loss for the training and validation sets during the model training period. 4.3. Ablation experiment analysis We performed ablation experiments to confirm the efficacy of the dataset preparation, and Table 4 displays the findings. The experimental findings demonstrate that the dataset's Mosaic data and underwater image augmentation can greatly increase the model prediction accuracy, as evidenced by the mAP50's 0.16 and mAP50-95's 0.206 improvements. Table 4 Ablation experiment results of dataset preprocessing. Underwater image enhancement network Mosaic augmentation P R mAP50 mAP50-95 0.778 0.782 0.793 0.533 √ 0.815 0.806 0.822 0.599 √ 0.881 0.900 0.932 0.635 √ √ 0.927 0.925 0.953 0.739 We performed ablation experiments on the enhanced model to confirm the efficacy of the suggested improved YOLOv5 model; the outcomes are displayed in Table 5 . The preprocessed training dataset is utilized for the various models in Table 5 . The ablation experiments validated the effectiveness of each component separately, where the one without introducing the improved BiFPN network is the original YOLOv5 feature extraction network: the FPN + PAN structure. The experimental results show that the improved BiFPN network contributes greatly to the model's performance. The prediction accuracy significantly improves without sacrificing much of the model's inference speed. The model's gain in accuracy after introducing the improved BiFPN network is much greater than the decrease in speed.The enhanced model's FPS increases by 48 frames per second, F1 Score increases by 0.061, mAP50-95 increases by 0.041, and mAP50 improves by 0.067. The trial outcomes show how well the YOLOv5 model has been improved by our work. Table 5 Ablation experiment results of improved YOLOv5. SPPCSP FReLU SimAM RepConv Improved BiFPN P R mAP50 mAP50-95 FPS F1 0.856 0.874 0.886 0.698 155 0.865 √ 0.854 0.876 0.885 0.697 199 0.865 √ √ 0.862 0.874 0.895 0.695 206 0.870 √ √ √ 0.879 0.882 0.897 0.705 210 0.880 √ √ √ √ 0.889 0.892 0.902 0.709 211 0.891 √ √ √ √ √ 0.927 0.925 0.953 0.739 203 0.926 We also carried out comparison studies on four different sizes of YOLOv5 networks in order to balance the requirements of target detection for accuracy and speed. The findings are displayed in Table 6 . Table 6 indicates that while the larger-scale network model can achieve higher detection accuracy, it is unable to meet the demand for real-time detection. Consequently, after carefully analyzing the experimental data, we selected YOLOv5m as the main network model, which can meet both the higher detection accuracy and real-time detection requirements. The experimental dataset and network structure remain unchanged despite the four network sizes shown in Table 6 only affecting the network's width and depth. Table 6 Comparisons of different scale networks. Model P R mAP50 mAP50-95 FPS YOLOv5s 0.897 0.900 0.921 0.705 256 YOLOv5m 0.927 0.925 0.953 0.739 203 YOLOv5l 0.945 0.958 0.960 0.758 152 YOLOv5xl 0.968 0.974 0.971 0.774 98 4.4. Comparative experiment analysis The YOLOv5-SimF target detection model is presented in this paper, and the mainstream target detection models are chosen to perform a comparison experiment with it. The experimental results are displayed in Table 7 , which demonstrates that the YOLOv5-SimF target detection model performs better overall than the other comparison models. Faster RCNN, Mask RCNN, SSD, RetinaNet, YOLOv3 [ 38 ], YOLOv4, YOLOv5, and YOLOv7 [ 39 ] are the comparative algorithms that have been chosen. Two-stage target detection algorithms, such as Faster R-CNN and Mask R-CNN, have the ability to attain a comparatively high detection accuracy. The FPS is significantly lower than the other models, though.YOLOv7's intricate network structure allows it to attain greater accuracy at the cost of reduced detection speed. Figure 15 demonstrates the comparison of the visualization results of predicting targets between the original YOLOv5 and the model proposed in this paper, from which it can be seen that the accuracy of the improved model in this paper for predicting stacked targets and small targets in the background, as well as the classification and localization accuracy, have been significantly improved. The improved model's efficiency, robustness, and accuracy are verified through qualitative and quantitative analyses. Table 7 Comparison of different target detection models. Model P R mAP50 mAP50-95 FPS F1 Faster R-CNN 0.891 0.928 0.919 0.722 78 0.909 Mask R-CNN 0.898 0.935 0.922 0.726 72 0.916 SSD 0.859 0.886 0.875 0.698 123 0.872 RetinaNet 0.852 0.887 0.872 0.692 134 0.869 YOLOv3 0.892 0.909 0.908 0.733 108 0.900 YOLOv4 0.905 0.906 0.912 0.735 122 0.905 YOLOv5 0.915 0.922 0.925 0.736 155 0.918 YOLOv7 0.924 0.916 0.945 0.739 132 0.919 YOLOv5-SimF 0.927 0.925 0.953 0.739 203 0.926 5. Conclusions In this study, a real-time target detection model, YOLOv5-SimF, is proposed. Our work aims to promote aquaculture development, drive the rapid economic growth of coastal areas, solve traditional aquaculture problems, such as low efficiency and small scale, and modernize and automate aquaculture and save the fishermen's labor and material resources. Firstly, this paper creates a dataset containing 15 different categories of aquatic products from publicly available data and data collected in this experiment, which provides available resources for the subsequent development of aquatic identification. Secondly, this study made the following two innovations in the data preprocessing part: underwater image quality enhancement and Mosaic data enhancement. The former enhances low contrast, uneven brightness, and color bias issues in underwater images, while the latter enriches the training dataset to help the deep learning network better learn the target's features and partially validates the efficacy of data preprocessing through ablation experiments. Next, using the FReLU activation function to overcome the activation function's spatial insensitivity on visual tasks, this paper improves the YOLOv5 network by introducing the YOLOv5-SimF target detection model, which increases the accuracy of small target detection with minimal computational overhead. A novel weighted bi-directional feature pyramid network is proposed and applied to the neck network, which improves the ability of cross-scale feature fusion and aggregates the SimAM attention module to solve the information overload problem, which all-around improves the efficiency and accuracy of the model to predict the target. The RepConv reparameterized convolutional structure is employed in the head network to further improve network prediction accuracy. Furthermore, this research takes into account three geometric parameters for box loss and applies the CIoU LOSS loss function. Lastly, ablation experiments and comparison experiments are carried out in the experimental section of this paper. The ablation experiment results demonstrate the efficacy of the YOLOv5 network's improvements in this study, and the network's advancements greatly increase the precision and speed of target prediction. The YOLOv5-SimF target detection model suggested in this paper is compared with other popular deep learning network models in comparison experiments. The experimental data and experimental visualization comparison results can intuitively show that the performance of the model proposed in this paper is significantly better than that of other compared models. Statistics on the dataset label were also run before the experiment. Furthermore, we present the test results of the natural underwater scenario, including sampling the underwater video detection results. The underwater camera equipment records all of the underwater videos. As a result, the network model in this study exhibits strong robustness and detection performance, making it a valuable reference point for the automation of the genuine aquaculture sector. Declarations Author Contributions: Conceptualization, Y.M.; methodology, Y.M.; software, Y.M. and Y.W.; validation, Y.M.; formal analysis, Y.M.; investigation, Y.M.; resources, Y.M.; data curation, Y.M.; writing—original draft preparation, Y.M.; writing—review and editing, Y.M.; visualization, Y.M.; supervision, Y.M.; project administration, Y.M., L.J., L.C. and Y.W.; funding acquisition, L.J. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by the National Natural Science Foundation of China, grant number 61561010; Guangxi Innovation-Driven Development Special Fund, grant number AA21077008; Guangxi Key Laboratory of Wireless Wideband Communication and Signal Processing, grant numbers GXKL06220102 and GXKL06220108; Guangxi Bagui Scholar, grant number 2019A51; and Innovation Project of GUET Graduate Education, grant numbers 2022YXW07, 2022YCXS080 and 2023YXW02. Data Availability Statement: The datasets generated and/or analyzed during the current study are available from the corresponding author on reasonable request. Conflict of interest The authors declare no competing interests. Ethical approval Not applicable. References Feng, J. H., Yuan, H., Hu, Y. Q., Lin, J., Liu, S. W., Luo, X.: Research on deep learning method for rail surface defect detection. IET Electrical Systems in Transportation. 10(4), 436–442 (2022) Zhao, Y., Liu, L., Xie, C., Wang, R., Wang, F., Bu, Y., Zhang, S.: An effective automatic system deployed in agricultural Internet of Things using Multi-Context Fusion Network towards crop disease recognition in the wild. Applied Soft Computing. 89, 106128 (2020) Zhang, D., Zhan, J., Tan, L., Gao, Y., Župan, R.: Comparison of two deep learning methods for ship target recognition with optical remotely sensed data. Neural Computing and Applications, 33, 4639–4649 (2021) Jia, X., Tong, Y., Qiao, H., Li, M., Tong, J., Liang, B.: Fast and accurate object detector for autonomous driving based on improved YOLOv5. Scientific reports, 13(1), 1–13 (2023) Zou, L., Liang, B., Cheng, X., Li, S., Lin, C.: Sonar Image Target Detection for Underwater Communication System Based on Deep Neural Network. CMES-Computer Modeling in Engineering & Sciences, 137(3)(2023) Chen, L., Liu, Z., Tong, L., Jiang, Z., Wang, S., Dong, J., Zhou, H.: Underwater object detection using Invert Multi-Class Adaboost with deep learning. In: Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2020) Zhao, Z., Liu, Y., Sun, X., Liu, J., Yang, X., Zhou, C.: Composited FishNet: Fish detection and species recognition from low-quality underwater videos. IEEE Transactions on Image Processing, 30, 4719–4734 (2021) Yang, L., Liu, Y., Yu, H., Fang, X., Song, L., Li, D., Chen, Y.: Computer vision models in intelligent aquaculture with emphasis on fish detection and behavior analysis: A review. Archives of Computational Methods in Engineering, 28, 2785–2816 (2021) Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: Unified, real-time object detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 779–788 (2016) Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C. Y., Berg, A. C.: Ssd: Single shot multibox detector. In: Proceedings of the Computer Vision–ECCV 2016: 14th European Conference, pp. 21–37 (2016) Lin, T. Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: Proceedings of the IEEE international conference on computer vision, pp. 2980–2988 (2017) Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 580–587 (2014) Girshick, R.: Fast r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015) Ren, S.; He, K.; Girshick, R.; Sun, J.: Faster r-cnn: Towards real-time object detection with region proposal networks. Advances in neural information processing systems, 28, 91–99 (2015) He, K., Gkioxari, G., Dollár, P., Girshick, R.: Mask r-cnn. In: Proceedings of the IEEE international conference on computer vision, pp. 2961–2969 (2017) Bochkovskiy, A., Wang, C. Y., Liao, H. Y. M.: Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv: 2004.10934 (2020) Wang, C.-Y.; Liao, H.-Y.M.; Wu, Y.-H.; Chen, P.-Y.; Hsieh, J.-W.; Yeh, I.-H.: CSPNet: A new backbone that can enhance learning capability of CNN. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 390–391 (2020) Tan M, Pang R, Le Q V.: Efficientdet: Scalable and efficient object detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10781–10790 (2020) Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J.: Path aggregation network for instance segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 8759–8768 (2018) Li, D., Du, L.: Recent advances of deep learning algorithms for aquacultural machine vision systems with emphasis on fish. Artificial Intelligence Review, 1–40 (2022) Larsen, R., Olafsdottir, H., Ersbøll, B. K.: Shape and texture based classification of fish species. In: Proceedings of the Image Analysis: 16th Scandinavian Conference, pp. 745–749 (2009) Song, S., Zhu, J., Li, X., Huang, Q.: Integrate MSRCR and mask R-CNN to recognize underwater creatures on small sample datasets. IEEE Access, 8, 172848–172858 (2020) Han, F., Yao, J., Zhu, H., Wang, C.: Underwater image processing and object detection based on deep CNN method. Journal of Sensors, 2020 (2020) Mao, G., Weng, W., Zhu, J., Zhang, Y., Wu, F., Mao, Y.: Model for marine organism detection in shallow sea using the improved YOLO-V4 network. Transactions of the Chinese Society of Agricultural Engineering, 37(12), 152–158 (2021) Iqbal, U., Li, D., Akhter, M.: Intelligent Diagnosis of Fish Behavior Using Deep Learning Method. Fishes, 7(4), 201 (2022) Volkan, K. A. Y. A., Akgül, İ., TANIR, Ö. Z.: IsVoNet8: A Proposed Deep Learning Model for Classification of Some Fish Species. Journal of Agricultural Sciences, 29(1), 298–307 (2023) Ren, L., Tian, Y., Yang, X., Wang, Q., Wang, L., Geng, X., … Lin, H.: Rapid identification of fish species by laser-induced breakdown spectroscopy and Raman spectroscopy coupled with machine learning methods. Food Chemistry, 400, 134043 (2023) Yang, L., Zhang, R. Y., Li, L., Xie, X.: Simam: A simple, parameter-free attention module for convolutional neural networks. In: Proceedings of the International conference on machine learning, pp. 11863–11874.(2021) Ma, N., Zhang, X., Sun, J.: Funnel activation for visual recognition. In: Proceedings of the Computer Vision–ECCV 2020: 16th European Conference, pp. 351–368 (2020) Li, C., Guo, C., Ren, W., Cong, R., Hou, J., Kwong, S., Tao, D.: An underwater image enhancement benchmark dataset and beyond. IEEE Transactions on Image Processing, 29, 4376–4389 (2019) Panetta, K., Gao, C., Agaian, S.: Human-visual-system-inspired underwater image quality measures. IEEE Journal of Oceanic Engineering, 41(3), 541–551 (2015) Yang, M., Sowmya, A.: An underwater color image quality evaluation metric. IEEE Transactions on Image Processing, 24(12), 6062–6071 (2015) Ding, X., Zhang, X., Ma, N., Han, J., Ding, G., Sun, J.: Repvgg: Making vgg-style convnets great again. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 13733–13742 (2021) Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv: 1409.1556 (2014) Ghiasi, G., Lin, T. Y., Le, Q. V.: Dropblock: A regularization method for convolutional networks. Advances in neural information processing systems, 31 (2018) DeVries, T., Taylor, G. W.: Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv: 1708.04552 (2017) Zheng, Z.; Wang, P.; Liu, W.; Li, J.; Ye, R.; Ren, D.: Distance-IoU loss: Faster and better learning for bounding box regression. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 12993–13000 (2020) Redmon, J., & Farhadi, A. Yolov3: An incremental improvement. arXiv preprint arXiv: 1804.02767 (2018) Wang, C.-Y.; Bochkovskiy, A.; Liao, H.-Y.M.: YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7464–7475 (2023) Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-4001173","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":275964599,"identity":"c9c6be05-41cf-44bf-9439-ee3f2c04a6be","order_by":0,"name":"Liubing Jiang","email":"","orcid":"","institution":"Guilin University of Electronic Technology","correspondingAuthor":false,"prefix":"","firstName":"Liubing","middleName":"","lastName":"Jiang","suffix":""},{"id":275964600,"identity":"05bf73db-0a00-41c2-be76-aa26f15a3e65","order_by":1,"name":"Yujie Mu","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA00lEQVRIiWNgGAWjYLACCQMGOTb2xsYHCRU1xGsx5uc53Gzw4Mwx4i1KnDkjvU3yYQszYaW6M3LMJCwKbBg3HEhsq0hsYGPgb+9OwKvF7AZQi4RBGrPBgYNtNxJ3yDBInDm7gRgth9kMDjYCtZxhYzCQyCVKy38eg8OMbQWJbcxEazkgIdnG2MZAnJYzz4otJAySDfh5GJslEs4c4yHsl+PJG29L/LGrb5N//vDjj4oaOf72XvxaGBg4DJglkLg8BJSDAPsDxg9EKBsFo2AUjIIRDABq6EmGlUvLUwAAAABJRU5ErkJggg==","orcid":"","institution":"Guilin University of Electronic Technology","correspondingAuthor":true,"prefix":"","firstName":"Yujie","middleName":"","lastName":"Mu","suffix":""},{"id":275964601,"identity":"81f13be0-687d-4eb0-a16f-674e86e7d15e","order_by":2,"name":"Li Che","email":"","orcid":"","institution":"Guilin University of Electronic Technology","correspondingAuthor":false,"prefix":"","firstName":"Li","middleName":"","lastName":"Che","suffix":""},{"id":275964602,"identity":"b9e0ebb1-59c3-4c49-9035-1dc3ed5a0850","order_by":3,"name":"Yongman Wu","email":"","orcid":"","institution":"Guilin University of Electronic Technology","correspondingAuthor":false,"prefix":"","firstName":"Yongman","middleName":"","lastName":"Wu","suffix":""}],"badges":[],"createdAt":"2024-02-29 21:02:21","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-4001173/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-4001173/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":52102174,"identity":"16cb2b4d-b366-4473-96e1-cce4f20557e4","added_by":"auto","created_at":"2024-03-06 19:14:56","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":448619,"visible":true,"origin":"","legend":"\u003cp\u003eThe example of dataset samples. (\u003cstrong\u003ea\u003c/strong\u003e)Abalone; (\u003cstrong\u003eb\u003c/strong\u003e) Carp; (\u003cstrong\u003ec\u003c/strong\u003e) Salmon; (\u003cstrong\u003ed\u003c/strong\u003e)Jellyfish; (\u003cstrong\u003ee\u003c/strong\u003e) Scallop; (\u003cstrong\u003ef\u003c/strong\u003e)Perch; (\u003cstrong\u003eg\u003c/strong\u003e) Silver pomfret; (\u003cstrong\u003eh\u003c/strong\u003e)Catfish; (\u003cstrong\u003ei\u003c/strong\u003e) Grouper; (\u003cstrong\u003ej\u003c/strong\u003e)Shrimp; (\u003cstrong\u003ek\u003c/strong\u003e) Tilefish; (\u003cstrong\u003el\u003c/strong\u003e)Crab; (\u003cstrong\u003em\u003c/strong\u003e) Squid; (\u003cstrong\u003en\u003c/strong\u003e)Yellow croaker; (\u003cstrong\u003eo\u003c/strong\u003e) Turbot.\u003c/p\u003e","description":"","filename":"figure1.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/e98fac56937e7d25190ad42b.png"},{"id":52104033,"identity":"8340f794-2d0f-4227-9e9f-44ea46e5043d","added_by":"auto","created_at":"2024-03-06 19:22:56","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":133794,"visible":true,"origin":"","legend":"\u003cp\u003eBackbone structure of underwater image enhancement network.\u003c/p\u003e","description":"","filename":"figure2.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/e0422f8d6b5a0bbe97ef612b.png"},{"id":52102176,"identity":"96a9cce4-8169-4e3f-b493-266f99d8a143","added_by":"auto","created_at":"2024-03-06 19:14:56","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":711501,"visible":true,"origin":"","legend":"\u003cp\u003eComparison between original images and enhanced images. (\u003cstrong\u003ea\u003c/strong\u003e) Original images; (\u003cstrong\u003eb\u003c/strong\u003e) Enhanced images.\u003c/p\u003e","description":"","filename":"figure3.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/847d6cdec8b24bf1d5ef53ef.png"},{"id":52102184,"identity":"fadbdc5f-a095-4945-a77f-0a49ea1ae5cc","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":174456,"visible":true,"origin":"","legend":"\u003cp\u003eMosaic augmentation.\u003c/p\u003e","description":"","filename":"figure4.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/2e996249e6b87c3502e5ea8b.png"},{"id":52102179,"identity":"d5a7667f-9e94-4814-8aa3-b97c6efbae0a","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":331067,"visible":true,"origin":"","legend":"\u003cp\u003eNetwork architecture and basic components of YOLOv5-SimF target detection model. (\u003cstrong\u003ea\u003c/strong\u003e) network architecture; (\u003cstrong\u003eb\u003c/strong\u003e) basic components.\u003c/p\u003e","description":"","filename":"figure5a.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/fd979cd7d86c72f04241376c.png"},{"id":52104034,"identity":"38bf5f28-c650-402f-b7d3-569b689313c8","added_by":"auto","created_at":"2024-03-06 19:22:57","extension":"png","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":122065,"visible":true,"origin":"","legend":"\u003cp\u003eFeature network structure diagram. (\u003cstrong\u003ea\u003c/strong\u003e) FPN; (\u003cstrong\u003eb\u003c/strong\u003e) PANet; (\u003cstrong\u003ec\u003c/strong\u003e)BiFPN.\u003c/p\u003e","description":"","filename":"figure6.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/8611fd2f624f3265bfada227.png"},{"id":52102185,"identity":"8f83d6de-cfdf-449f-a728-8ee9b677eb7a","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":39815,"visible":true,"origin":"","legend":"\u003cp\u003eSimAM attention mechanism structure\u003c/p\u003e","description":"","filename":"figure7.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/222e74e9a5faa7c092d6a4d9.png"},{"id":52102181,"identity":"5e78190e-a106-4742-bef0-5206fe3ff8b8","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":8,"title":"Figure 8","display":"","copyAsset":false,"role":"figure","size":1482896,"visible":true,"origin":"","legend":"\u003cp\u003eExperimental test set visualization results\u003c/p\u003e","description":"","filename":"figure8.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/3ffc3d5558f2e6269c9761df.png"},{"id":52102177,"identity":"59dce112-73f6-4400-a371-bbc226a201b1","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":9,"title":"Figure 9","display":"","copyAsset":false,"role":"figure","size":1688903,"visible":true,"origin":"","legend":"\u003cp\u003eReal-time target detection sampling\u003c/p\u003e","description":"","filename":"figure9.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/4a413b711ac292ee1358080e.png"},{"id":52102180,"identity":"190a4c07-9971-48e5-8080-9eca8cb72044","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":10,"title":"Figure 10","display":"","copyAsset":false,"role":"figure","size":271632,"visible":true,"origin":"","legend":"\u003cp\u003eLabels and label distribution. (\u003cstrong\u003ea\u003c/strong\u003e) number and class of labels in the dataset; (\u003cstrong\u003eb\u003c/strong\u003e) ground truth box; (\u003cstrong\u003ec\u003c/strong\u003e) center point coordinate distribution of ground truth box; (\u003cstrong\u003ed\u003c/strong\u003e) width and height distribution of ground truth box.\u003c/p\u003e","description":"","filename":"figure10.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/1cd317da4c52f54aab9ff75f.png"},{"id":52102183,"identity":"bf9d3932-ad25-4047-b2e7-45533ee51ea7","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":11,"title":"Figure 11","display":"","copyAsset":false,"role":"figure","size":192088,"visible":true,"origin":"","legend":"\u003cp\u003eLabels correlogram.\u003c/p\u003e","description":"","filename":"figure11.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/950dc780db54f10047b19348.png"},{"id":52102182,"identity":"38edf499-1ef2-4518-9328-e8920fece254","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":12,"title":"Figure 12","display":"","copyAsset":false,"role":"figure","size":89882,"visible":true,"origin":"","legend":"\u003cp\u003eConfusion matrix diagram.\u003c/p\u003e","description":"","filename":"figure12.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/93b62e2e8987363a58805cd4.png"},{"id":52102189,"identity":"58c83103-8c83-4c02-b1b2-666aa3f3c8ec","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":13,"title":"Figure 13","display":"","copyAsset":false,"role":"figure","size":147077,"visible":true,"origin":"","legend":"\u003cp\u003eOperation results curve. (\u003cstrong\u003ea\u003c/strong\u003e) F1-Confidence curve; (\u003cstrong\u003eb\u003c/strong\u003e) Precision-Confidence curve; (\u003cstrong\u003ec\u003c/strong\u003e) Precision-Recall curve; (\u003cstrong\u003ed\u003c/strong\u003e) Recall-Confidence curve.\u003c/p\u003e","description":"","filename":"figure13.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/18e49cd3d98727c475a89427.png"},{"id":52102187,"identity":"5eae821e-dc92-4511-b04c-c6e67599a2c4","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":14,"title":"Figure 14","display":"","copyAsset":false,"role":"figure","size":150696,"visible":true,"origin":"","legend":"\u003cp\u003eVisual analysis of model evaluation indicators during training.\u003c/p\u003e","description":"","filename":"figure14.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/9a0e12430203b6401fb37716.png"},{"id":52102188,"identity":"399a282a-c7d4-4f4c-871b-bf7015a654f5","added_by":"auto","created_at":"2024-03-06 19:14:57","extension":"png","order_by":15,"title":"Figure 15","display":"","copyAsset":false,"role":"figure","size":1115227,"visible":true,"origin":"","legend":"\u003cp\u003eDetection result comparison. (\u003cstrong\u003ea\u003c/strong\u003e) YOLOv5; (\u003cstrong\u003eb\u003c/strong\u003e) YOLOv5-SimF.\u003c/p\u003e","description":"","filename":"figure15.png","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/da1f4466d6df552ade017669.png"},{"id":52106956,"identity":"bd277d05-6277-411c-8e9e-f235cee7649d","added_by":"auto","created_at":"2024-03-06 19:47:01","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":9134419,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4001173/v1/b4267e97-e5a4-4c0d-9b13-2bde2557581b.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Improved weighted bidirectional FPN aquatic real-time target detection model based on cross-scale connections","fulltext":[{"header":"1. Introduction","content":"\u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe oceans are a massive energy reservoir and an indispensable power source for humankind's sustainable development. The rich resources in the oceans can be rationally developed and utilized, while the oceans, lakes, and rivers provide the environment for human economic production. Aquaculture is a rapidly expanding sector of the agricultural structure, contributing significantly to both the fishery economy and the national economy. It can vigorously drive the economic development of coastal areas and gradually become a pillar industry. Globally, farmed aquatic products' overall production is also rising yearly. The scale of farming and quality benefits have an impact on the aquaculture industry's financial income. Traditional low-density, low-yield aquaculture methods, which are driven by the quality and yield of aquatic products, have not been able to keep up with the demands of the marine economy's development. As a result, the aquaculture industry has incorporated new and modern information technology and intelligent technology to optimize the chain of aquaculture. However, it's crucial to use computer vision technologies to create novel aquaculture, which can achieve production modernization and automation, improve production efficiency, promote the development of the fishery economy, and save workforce and material resources.\u003c/p\u003e \u003cp\u003eSince 2014, deep learning-based target detection technology has advanced quickly, and its range of applications is growing, such as road surface collapse detection [\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e], crop pest detection [\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e], ship target detection [\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e], and the field of automatic driving [\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e]. The mainstream underwater target recognition technology currently includes sonar image detection [\u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e5\u003c/span\u003e]and underwater optical image detection [\u003cspan additionalcitationids=\"CR7\" citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e]. Sonar equipment is more expensive and will cause a certain degree of noise pollution, affecting the growth and development of aquatic organisms, so the underwater target recognition technology based on sonar equipment does not apply to the field of aquaculture. Underwater optical images taken by underwater camera equipment using optical image processing technology can realize the accurate recognition of submerged targets. Underwater cameras with underwater robots and other automated equipment for underwater operations can complete the feeding and fishing of specific types of aquatic products. They will not cause pollution of the underwater environment. As technology advances, so do their precision and frame rate, which can completely satisfy the automation requirements of the aquaculture sector.\u003c/p\u003e \u003cp\u003eTarget detection techniques built on deep learning have become increasingly popular as a result of deep learning's advancement and superior performance. Currently, classical target recognition algorithms mainly include single-stage and multi-stage approaches. Single-stage approaches include YOLO (You Only Look Once) series [\u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e9\u003c/span\u003e], SSD [\u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e10\u003c/span\u003e], and RetinaNet [\u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e11\u003c/span\u003e] algorithms. Single-stage target detection algorithms mean the target can be detected by extracting features only once, and their recognition speed is faster. Still, their accuracy is inferior compared to multi-stage methods. Multi-stage methods include RCNN [\u003cspan citationid=\"CR12\" class=\"CitationRef\"\u003e12\u003c/span\u003e], Fast RCNN [\u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e13\u003c/span\u003e], Faster RCNN [\u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e14\u003c/span\u003e], and Mask RCNN [\u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e15\u003c/span\u003e] algorithms. Multi-stage target detection methods lower the inference speed while increasing detection accuracy by first extracting instance bounding boxes based on the input picture and then performing secondary correction based on the candidate region to obtain the detection point results, which is suitable for the domain of higher requirements on the accuracy of detection, but does not require real-time performance. Even though prediction accuracy is still inferior to the two-stage target detection algorithms, the YOLO series' quicker inference time has made it a mainstay in the industry's marketplace.Even though prediction accuracy is still inferior to the two-stage target detection algorithms, the YOLO series' quicker inference time has made it a mainstay in the industry's marketplace. The YOLOv5 network introduces adaptive anchor box calculation and adaptive image scaling based on YOLOv4 [\u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e16\u003c/span\u003e]. It improves the scale of CSPNet [\u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e17\u003c/span\u003e] in the backbone network so that it has four scales of network structure: S, M, L, and XL, which can be applied to various fields to meet different needs. Compared with the latest YOLOv7 and YOLOv8 networks, the YOLOv5 model technology is more mature. The network structure is more stable and more robust. Especially for the research field of this paper, the model needs to be able to perform well in real underwater scenes with a certain degree of real-time, which has a higher demand for the stability and flexibility of the model, combined with the above considerations, and this paper chooses YOLOv5 as the basic network of the model. The capability of feature extraction for target detection models is crucial, and to achieve a higher level of multi-scale feature fusion, this paper introduces an improved weighted bi-directional feature pyramid network (BiFPN [\u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e18\u003c/span\u003e]) instead of the original PANet [\u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e19\u003c/span\u003e] structure in the YOLOv5 neck network.\u003c/p\u003e \u003cp\u003eTraditional aquatic organism identification methods can use machine learning techniques to recognize the class of marine organisms being studied. For example, classifiers such as Naive Bayes [\u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e20\u003c/span\u003e] (NB), Decision Tree [\u003cspan citationid=\"CR21\" class=\"CitationRef\"\u003e21\u003c/span\u003e] (DT), and Support Vector Machine (SVM) algorithms rely on manual selection techniques for feature extraction, i.e., selecting the relevant traits based on human subjectivity and the selection of characteristics using such methods is very subjective, insufficient, and tends to overlook essential features; thus their accuracy is limited. Several researchers have made rapid progress using deep learning to implement target detection algorithms in the last several years.\u003c/p\u003e \u003cp\u003eIn 2020, Song et al. [\u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e22\u003c/span\u003e] achieved mAP values greater than 90% on a small dataset of aquatic organisms by combining the Mask R-CNN with the MSRCR technique for image augmentation. Although the detection accuracy was increased, the training period was lengthy. The same year, Han et al. [\u003cspan citationid=\"CR23\" class=\"CitationRef\"\u003e23\u003c/span\u003e] integrated the refined YOLOv3 algorithm into an underwater robot for real-time detection of enhanced marine creature images. Nevertheless, the method is plagued by leakage issues and is unable to identify marine species with hazy edges. Using the enhanced YOLOv4 network, Mao et al. [\u003cspan citationid=\"CR24\" class=\"CitationRef\"\u003e24\u003c/span\u003e] presented a model in 2021 for the detection of marine species in shallow waters. To increase detection accuracy, the YOLOv4 network's Embedded Connection (EC) component was built and integrated. This technique lowers computing work while increasing detection accuracy. Iqbal et al. [\u003cspan citationid=\"CR25\" class=\"CitationRef\"\u003e25\u003c/span\u003e] presented a significant end-to-end CNN in 2022 with the goal of classifying fish behavior into two groups: normal and hungry. By changing the number of layers in the fully connected layer and deciding whether to employ the maximum pooling technique, they were able to assess the CNN's performance. According to the experimental results, the detection method's accuracy may be increased by 10% to reach 98% accuracy and demonstrate high performance by including a maximum pooling function into the CNN's shallow architecture and adding three fully connected layers. For the categorization of fish species, Kaya et al. [\u003cspan citationid=\"CR26\" class=\"CitationRef\"\u003e26\u003c/span\u003e] developed the CNN-based model IsVoNet8, which demonstrated a 91.37% classification accuracy in 2023. The same year, Ren et al. [\u003cspan citationid=\"CR27\" class=\"CitationRef\"\u003e27\u003c/span\u003e] conducted a study that used LIBS and Raman spectroscopy to create a new method of fish species identification. They combined two machine learning algorithms, SVM and CNN, with Raman spectroscopic data from 13 different fish species to generate a classification model, with the proposed CNN model achieving the highest classification accuracy of 96.2%. Even if the field of underwater target recognition has made great strides in the past, there is still much space for improvement, particularly in the areas of aquatic creature detection, localization, species identification, and quantitative statistics. At the same time, underwater target recognition requires high real-time performance, so designing a fast and high-accuracy underwater target detection model is vital.\u003c/p\u003e \u003cp\u003eThis study presents research that enhances the YOLOv5 algorithm and applies it to underwater target detection, aiming to achieve automated rearing and fishing in the aquaculture industry. The real-time classification and detection model for aquaculture that this study suggests greatly enhances the speed and accuracy of underwater target recognition, saves fishermen's time, increases the productivity of fishermen, and fosters the growth of the aquaculture sector. To summarize, our work has made the following major contributions:\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cul\u003e \u003cli\u003e \u003cp\u003eThis study creates an underwater target recognition dataset consisting of 1108 aquatic images of different resolutions containing 15 common aquatic species. A training set plus a validation set comprise our dataset: 178 images make up the validation set and 930 images make up the training set. The corresponding labels were also created for this dataset;\u003c/p\u003e \u003c/li\u003e \u003cli\u003e \u003cp\u003eBecause of the low-quality images captured using underwater cameras, there are often cases of low image contrast, high noise, color deviation from the real world, and uneven or darker brightness. An underwater image quality improvement technique is shown as a solution to this issue. It can successfully raise the quality of the image and automatically modify the brightness of the image to fix the color deviation issue. The accuracy of subsequent target recognition is significantly improved;\u003c/p\u003e \u003c/li\u003e \u003cli\u003e \u003cp\u003eBecause environmental conditions limit underwater image acquisition, the gathered dataset contains a rather limited number of images. The training effect is general, so this paper introduces the Mosaic data enhancement algorithm, which enriches the dataset and expands the number of images to twice as many as the previous ones. The ablation experiments' findings demonstrate how the dataset preparation technique can successfully raise the mean average precision (mAP) value while boosting network robustness;\u003c/p\u003e \u003c/li\u003e \u003cli\u003e \u003cp\u003eIn this paper, the backbone and neck networks of YOLOv5 are improved, and the YOLOv5-SimF target detection model is proposed, which introduces the SimAM [\u003cspan citationid=\"CR28\" class=\"CitationRef\"\u003e28\u003c/span\u003e] attention mechanism and the FReLU activation function [\u003cspan citationid=\"CR29\" class=\"CitationRef\"\u003e29\u003c/span\u003e], which significantly improves the network's inference speed and recognition accuracy, and is used for realizing real-time automated classification and recognition of aquatic products.\u003c/p\u003e \u003c/li\u003e \u003c/ul\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThis is how the remainder of the paper is structured. The \"Materials and Methods\" section describes the dataset, the dataset preprocessing process, and the YOLOv5-SimF object detection model. The \"Results\" section shows the experimental results. The \"Discussion\" section analyzes and discusses the experimental results. The \"Conclusions\" section summarizes the work of this paper.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e"},{"header":"2. Materials and Methods","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e \u003ch2\u003e2.1. Experimental dataset and its pre-processing\u003c/h2\u003e \u003cdiv id=\"Sec4\" class=\"Section3\"\u003e \u003ch2\u003e2.1.1. Dataset preparation\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThis study creates a dataset containing 15 aquatic species categories with 1108 marine images divided into training and validation sets. Existing open datasets of underwater images cover a wide range of biotic and abiotic targets. In contrast, the dataset created in this paper focuses on underwater biotic targets, which are economically viable. It is a dataset of underwater images collected specifically for the aquatic sector, from which a target detection model trained on this dataset can be used to achieve fine-grained target classification for fish. The dataset's sources are aquatic photographs collected from farms and various images online. The 15 aquatic species are abalone, carp, salmon, jellyfish, scallop, perch, silver pomfret, catfish, grouper, shrimp, tilefish, crab, squid, yellow croaker, and turbot. These cover most of the common aquatic species in the aquaculture industry. We construct corresponding labels for each target in each image of this dataset for the network to learn and train. The dataset species sampling is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec5\" class=\"Section3\"\u003e \u003ch2\u003e2.1.2. Underwater image enhancement network\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eUnderwater images captured by underwater camera equipment will have different degrees of quality degradation problems, affecting the accuracy of target detection, so it's essential to pre-process underwater images before target detection. Underwater optical images generally have three types of issues: uneven brightness or darkness; different wavelengths of light are absorbed and scattered by the water medium to different degrees, and underwater images generally show blue-green color, with specific color deviation; propagation of underwater light will be absorbed and scattered by the water medium, resulting in image fogging and reduced contrast. For the above three types of problems, this paper proposes an underwater image enhancement network that can make better the degradation of underwater images. The backbone structure of the underwater image enhancement network is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eFirst, the white balance algorithm is used to enhance the contrast and adjust the hue of the image, and the principle as in Eq.\u0026nbsp;(\u003cspan refid=\"Equ1\" class=\"InternalRef\"\u003e1\u003c/span\u003e).\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ1\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ1\" name=\"EquationSource\"\u003e\n$$\\left\\{ \\begin{gathered} C\\left( {R^{\\prime}} \\right)=C\\left( R \\right) * \\frac{{\\overline {R} +\\overline {G} +\\overline {B} }}{{3\\overline {R} }} \\hfill \\\\ C\\left( {G^{\\prime}} \\right)=C\\left( G \\right) * \\frac{{\\overline {R} +\\overline {G} +\\overline {B} }}{{3\\overline {G} }} \\hfill \\\\ C\\left( {B^{\\prime}} \\right)=C\\left( B \\right) * \\frac{{\\overline {R} +\\overline {G} +\\overline {B} }}{{3\\overline {B} }} \\hfill \\\\ \\end{gathered} \\right.$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e1\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( R \\right)\\)\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( G \\right)\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( B \\right)\\)\u003c/span\u003e\u003c/span\u003erepresent the input image R, G and B three-channel components,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( {R^{\\prime}} \\right)\\)\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( {G^{\\prime}} \\right)\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(C\\left( {B^{\\prime}} \\right)\\)\u003c/span\u003e\u003c/span\u003erepresent the output image three-channel components,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\overline {R}\\)\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\overline {G}\\)\u003c/span\u003e\u003c/span\u003eand \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\overline {B}\\)\u003c/span\u003e\u003c/span\u003erepresent the average value of the image in the three channels.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eSecond, the image's brightness is adjusted by an improved gamma correction. The gamma correction is ineffective in correcting overly bright or dark regions due to a small range of gamma values. The enhanced gamma correction improves in correcting both areas of uneven brightness of the image, and the improved gamma correction as in Eq.\u0026nbsp;(\u003cspan refid=\"Equ2\" class=\"InternalRef\"\u003e2\u003c/span\u003e)-(\u003cspan refid=\"Equ5\" class=\"InternalRef\"\u003e5\u003c/span\u003e).\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Equ2\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ2\" name=\"EquationSource\"\u003e\n$$O\\left( {x,y} \\right)=255 \\times {\\left( {\\frac{{i\\left( {x,y} \\right)}}{{255}}} \\right)^\\gamma }$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e2\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ3\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ3\" name=\"EquationSource\"\u003e\n$$\\gamma 1=\\frac{1}{{1+\\left( {1 - \\theta \\times \\frac{m}{{255}}} \\right) \\times \\cos \\left( {\\pi \\times \\frac{{L\\left( {x,y} \\right)}}{{255}}} \\right)}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e3\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ4\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ4\" name=\"EquationSource\"\u003e\n$$\\gamma 2=\\frac{1}{{1+\\left( {1 - \\theta \\times \\left( {1 - \\frac{m}{{255}}} \\right)} \\right) \\times \\cos \\left( {\\pi \\times \\frac{{L\\left( {x,y} \\right)}}{{255}}} \\right)}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e4\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ5\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ5\" name=\"EquationSource\"\u003e\n$$\\gamma =\\left\\{ \\begin{gathered} \\gamma 1,\\frac{m}{{255}} \\leqslant 0.5 \\hfill \\\\ \\gamma 2,\\frac{m}{{255}}\u0026gt;0.5 \\hfill \\\\ \\end{gathered} \\right.$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e5\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(O\\left( {x,y} \\right)\\)\u003c/span\u003e\u003c/span\u003edenotes the pixel value of the image after improved gamma correction,\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003edenotes the average value of the pixels of the input image,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(L\\left( {x,y} \\right)\\)\u003c/span\u003e\u003c/span\u003edenotes the value of the pixels of the input image, and\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\theta\\)\u003c/span\u003e\u003c/span\u003e\u0026thinsp;=\u0026thinsp;0.6for the best correction effect.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eFinally, Underwater image color deviance is corrected using the unsupervised color correction approach. The algorithm simultaneously linearly stretches the histograms of the R, G, and B channels in the RGB color model and the S and I channels in the HSI color model to improve the image contrast and enhance the actual color and brightness of the image. The comparison of the original and improved images of the test set data is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e.\u003c/p\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe approach described in this research is contrasted with four additional image enhancement algorithms in order to confirm its efficacy; the comparison algorithms include MSRCR, UDCP, CLAHE, and Water-Net [\u003cspan citationid=\"CR30\" class=\"CitationRef\"\u003e30\u003c/span\u003e], of which the first three are traditional machine learning techniques, deep learning network is the final one. Two measures are employed in this paper to evaluate the image quality: UIQM [\u003cspan citationid=\"CR31\" class=\"CitationRef\"\u003e31\u003c/span\u003e] and UCIQE [\u003cspan citationid=\"CR32\" class=\"CitationRef\"\u003e32\u003c/span\u003e], which are targeted to assess the performance of underwater image enhancement algorithms. Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e demonstrates the experimental results, and it is evident that the suggested method performs better than the other algorithms that were examined.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 1\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eEvaluation results\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"3\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003ealgorithms\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eUIQM\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eUCIQE\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eMSRCR\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c2\"\u003e \u003cp\u003e1.965\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.478\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eUDCP\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c2\"\u003e \u003cp\u003e2.093\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.845\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eCLAHE\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c2\"\u003e \u003cp\u003e1.862\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.351\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eWater-Net\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c2\"\u003e \u003cp\u003e1.458\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.745\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eProposed method\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c2\"\u003e \u003cp\u003e2.205\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.855\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec6\" class=\"Section3\"\u003e \u003ch2\u003e2.1.3. Mosaic augmentation\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe Mosaic augmentation method is used to preprocess the dataset to enable the model better to learn the distinct features of various aquatic species. Compared with the image data on land, the acquisition of underwater image data is more complex. The acquisition conditions are restricted, and nowadays, the number of open datasets of underwater images is small, which is not enough to complete the training of multi-species target detection models. Hence, the model training effect is hardly satisfactory. In addition, fish targets are generally more aggregated and have smaller target sizes, making the network feature extraction process more difficult. Therefore, enhancement of the existing dataset is essential. Mosaic data enhancement is an improved version of the CutMix data enhancement method. Compared with other data enhancement methods, Mosaic data enhancement does not have extraneous pixels, which improves the training efficiency and further enhances the model's orientation ability and classification performance, and the inference cost remains unchanged. This method stitches any four images in the dataset by random scaling, random cropping, and random arranging, which enriches the training dataset significantly when the many minor targets are added via random scaling so that the robustness of the network is improved. At the same time, in the case of only one GPU, good results can be achieved even if the batch size cannot be set too large. Two times as many datasets are available thanks to mosaic data augmentation. Figure\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e depicts the mosaic data augmentation procedure.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003c/div\u003e \u003cdiv id=\"Sec7\" class=\"Section2\"\u003e \u003ch2\u003e2.2. Adaptive anchor box calculation and adaptive image scaling\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eIn order to train the model, it first generates a prediction box based on the original anchor box. This prediction box is then compared to the ground-truth box; the error between the two is computed, the update is inverted, and the network parameters are iterated. The first anchor box value in YOLOv5 is encoded into the code, and each training session adaptively determines the ideal anchor box value across various training sets. Moreover, before each image is input into the model for training, it must be scaled to a standard size because the resolution of the images in the dataset varies. The YOLO algorithm typically uses the sizes 416*416 and 608*608. The size of the black edges at the ends of the photographs varies after scaling and filling due to the variations in the aspect ratio of the images. The inference speed will be impacted by information redundancy if more pixel values are filled. To reduce processing and speed up inference, YOLOv5 has been changed to adaptively add the least amount of black edges to the image.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec8\" class=\"Section2\"\u003e \u003ch2\u003e2.3. YOLOv5-SimF Target Detection Model\u003c/h2\u003e \u003cdiv id=\"Sec9\" class=\"Section3\"\u003e \u003ch2\u003e2.3.1. Improved YOLOv5 algorithm\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe input, neck, head, and backbone networks make up the four components of the YOLOv5 network. In order to centralize the information of the images W and H on the channel and act as downsampling without causing information loss, the input image is first sliced before being fed into the backbone network. The Convolutional Layer, Batch Normalization, and FReLU activation function make up the CBF module in the backbone network section. Target identification, semantic segmentation, and image classification are among the tasks where the FReLU activation function performs better than activation functions like ReLU and SiLU. It gets around activation functions' insensitivity to spatial cues when performing visual tasks. FReLU, an activation function specifically created for visual tasks, adds very little spatial conditional overhead to ReLU and PReLU, extending them to 2D activation. It somewhat raises the accuracy of small target detection.The formula for FReLU is found in Eq.\u0026nbsp;(\u003cspan refid=\"Equ6\" class=\"InternalRef\"\u003e6\u003c/span\u003e)-(\u003cspan refid=\"Equ7\" class=\"InternalRef\"\u003e7\u003c/span\u003e).\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ6\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ6\" name=\"EquationSource\"\u003e\n$$y=\\hbox{max} \\left( {xc,i,j,T\\left( {xc,i,j} \\right)} \\right)$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e6\u003c/div\u003e\u003c/div\u003e \u003cdiv id=\"Equ7\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ7\" name=\"EquationSource\"\u003e\n$$T\\left( {xc,i,j} \\right)=x_{{c,i,j}}^{\\omega }\\cdot p_{c}^{\\omega }$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e7\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(T\\left( {xc,i,j} \\right)\\)\u003c/span\u003e\u003c/span\u003erepresents a simple and efficient spatial context feature extractor. \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(x_{{c,i,j}}^{\\omega }\\)\u003c/span\u003e\u003c/span\u003erepresents the window centered at the 2D position\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\left( {i,j} \\right)\\)\u003c/span\u003e\u003c/span\u003eon the channel\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003e; \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(p_{c}^{\\omega }\\)\u003c/span\u003e\u003c/span\u003erepresents the shared parameters of this window in the same channel.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eThe image undergoes a series of CBF module downsampling in the backbone section and CSP module feature extraction to generate a set of feature maps with different resolutions. At the backbone network's terminus, the SPPCSP module is introduced. In the primary YOLOv5 network, SPP is used for processing; the role of SPP is to obtain different receptive fields through maximum pooling and increase the receptive fields so that the network can adapt to varying resolutions of feature maps.SPP utilizes maximum pooling at four different scales for processing, and it has four different receptive fields used to distinguish between large, medium, and small targets. Here, the SPP module is improved by introducing the SPPCSP module, which divides the features into two parts, one of which is processed by conventional CBF, and the SPP structure processes the other. Finally, the two parts are concatenated, reducing the computation by half and achieving speed improvement. In the neck network structure, a feature pyramid network (FPN) considers multiple scales of features and performs multi-scale feature fusion; however, FPN pass information top-down, resulting in feature fusion being limited by the unidirectional information flow. The original YOLOv5 introduced PANet in the neck network to improve this shortcoming, which achieves bottom-up feature delivery but simultaneously requires more parameters and computational cost. To address this problem and improve the efficiency of the target detection model, this paper presents a key innovation in the necking network, where BiFPN is improved to make it more suitable for YOLOv5 networks, and its effectiveness is experimentally evaluated. In addition, YOLOv5 provides four different sizes of network models, S, M, L, and XL, which have different depths and widths.YOLOv5s denotes the lightest network, and YOLOv5xl is the deepest and widest network. Here, by modifying the values of a set of hyperparameters, the number of network layers and convolutional kernels can be set, thus choosing to use networks with different specifications. The inference speed that is fastest, YOLOv5s, also has the lowest accuracy. YOLOv5xl has the slowest inference speed and the highest accuracy, which are suitable for application domains with different needs. In this study, The base network, YOLOv5m, can meet real-time performance requirements and attain a high accuracy rate. In the head network, the RepConv [\u003cspan citationid=\"CR33\" class=\"CitationRef\"\u003e33\u003c/span\u003e] structure is introduced. RepConv obtains a good performance on the VGG [\u003cspan citationid=\"CR34\" class=\"CitationRef\"\u003e34\u003c/span\u003e] structure by reparameterization, which raises the accuracy of the network's predictions without adding more parameters or convolutional computation. The RepConv structure has different network constructs for training and inference. The output is obtained by summing two branches with different numbers of convolutional kernels and a normalized branch during training, and during inference, the branch parameters are reparameterized to the main branch. The number of channels in the final output feature map is 3 \u0026times; (NC\u0026thinsp;+\u0026thinsp;5), where 3 denotes three anchor boxes with different aspect ratios, NC represents the number of categories, and 5 indicates the two parameters of the anchor box's center point and the two parameters of the anchor box's length and width plus a foreground probability parameter for the anchor box. YOLOv5 reduces overfitting by employing Dropblock [\u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e35\u003c/span\u003e] regularization, which is derived from the 2017 Cutout [\u003cspan citationid=\"CR36\" class=\"CitationRef\"\u003e36\u003c/span\u003e] method of data augmentation. In this method, Dropblock applies Cutout to each feature map after Cutout zeroes out portions of the input image. It starts with a tiny ratio during training and grows this ratio linearly with the training process, as opposed to having a set zeroing ratio. Dropblock, in contrast to Cutout, is more efficient and offers a thorough upgrade and enhancement to the network's regularization process. Figure\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e displays the core components and network architecture of the YOLOv5-SimF target detection model.\u003c/p\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec10\" class=\"Section3\"\u003e \u003ch2\u003e2.3.2. Weighted bi-directional feature pyramid network\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eIn this paper, a significant innovation is accomplished in the YOLOv5 neck network, which further improves the network's performance with better accuracy and higher efficiency than the original YOLOv5 network. We improve the weighted bi-directional feature pyramid network and introduce it into our proposed network architecture. The experimental results show that the innovation can not only be adapted to the existing network architecture but also that the network's performance has been improved critically, mainly in terms of the efficiency and accuracy of the target detection model. The main schematic diagram of the improved BiFPN network is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e(c): effective bidirectional cross-scale connections and weighted feature fusion introduced to aggregate features at different resolutions of the feature map. Each node in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e corresponds to features at different scales. The BiFPN in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e(c) removes some nodes that have only one input and without feature fusion, then they contribute less to the feature fusion network, and a simplified PANet bi-directional network is obtained by excising these nodes; secondly, in order to improve the ability of the network to fuse the features, an additional edge is added to the original input-to-output nodes that are at the same level. These added edges correspond to the dashed and red solid arrows in Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e(a). At the same time, it does not add much computational cost. Finally, in order to achieve a higher level of feature fusion, we will repeat a feature network layer multiple times, i.e., top-down and bottom-up bi-directional path network layers, which corresponds to Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e(a) can be seen in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e(c) with repeated blocks\u0026thinsp;=\u0026thinsp;3, i.e., the feature network layer is repeated three times. The principle of multi-scale aggregation is shown in Eq.\u0026nbsp;(\u003cspan refid=\"Equ8\" class=\"InternalRef\"\u003e8\u003c/span\u003e).\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ8\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ8\" name=\"EquationSource\"\u003e\n$${\\overrightarrow P ^{out}}=f\\left( {{{\\overrightarrow P }^{in}}=P_{{li}}^{{in}}} \\right),i=1,2...$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e8\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(P_{{li}}^{{in}}\\)\u003c/span\u003e\u003c/span\u003edenotes the \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(li\\)\u003c/span\u003e\u003c/span\u003e-layer feature, the network aims to find a transformation\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003ecan efficiently aggregate different input features\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\overrightarrow P ^{in}}\\)\u003c/span\u003e\u003c/span\u003eand output a new set of features\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\overrightarrow P ^{out}}\\)\u003c/span\u003e\u003c/span\u003e.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eFor input features with different resolutions, whose importance varies because they contribute differently to the output features, an additional weight should be assigned to each input, and the network should be allowed to learn the value of the weight. Here, the weights are calculated using fast normalized feature fusion with the following formula:\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Equ9\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ9\" name=\"EquationSource\"\u003e\n$$O=\\sum\\nolimits_{i} {\\frac{{\\omega i}}{{\\varepsilon +\\sum\\nolimits_{j} {\\omega j} }} \\cdot Ii}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e9\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\omega i \\geqslant 0\\)\u003c/span\u003e\u003c/span\u003eis ensured by applying the Relu activation function after each\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\omega i\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\varepsilon =0.0001\\)\u003c/span\u003e\u003c/span\u003eto ensure numerical stability, and the weights are between 0 and 1 by the normalization process. In summary, BiFPN integrates bidirectional cross-scale connections and a fast normalized feature fusion\u0026lsquo;s weight calculation method to optimize multi-scale feature fusion in neck networks, and ablation experiments validate the effectiveness of introducing the improved BiFPN network.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec11\" class=\"Section3\"\u003e \u003ch2\u003e2.3.3. SimAM attention mechanism\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThis study incorporates the SimAM attention mechanism into the neck network to further increase the prediction accuracy of the YOLOv5-SimF model. Lightweight and effective, the SimAM attention module is simple to use. SimAM concentrates on information related to both channel and spatial dimensions. In the situation of restricted mathematical resources, no extra parameters are required to calculate the 3D attention weights, successfully avoiding the issue of growing model parameters caused by structural modifications. The attention mechanism weights can be computed using only an energy function. Through the computation of the energy function, it is possible to determine that a neuron's significance increases and its distinction from other neurons is more pronounced when its energy is lower. Consequently, the SimAM attention mechanism has a wide range of applications and is capable of precisely capturing the important information found in image features. Figure\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003e depicts the architecture of the SimAM attention mechanism.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eIn Fig.\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003e, the 3-D weights are calculated as follows:\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ10\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ10\" name=\"EquationSource\"\u003e\n$$\\mathop X\\limits^{ \\bullet } =sigmoid\\left( {\\frac{1}{E}} \\right) \\odot X$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e10\u003c/div\u003e\u003c/div\u003e \u003cdiv id=\"Equ11\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ11\" name=\"EquationSource\"\u003e\n$$E=\\frac{{4\\left( {{\\sigma ^2}+\\lambda } \\right)}}{{{{\\left( {t - \\mu } \\right)}^2}+2{\\sigma ^2}+2\\lambda }}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e11\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the input feature,\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the energy function on each channel, and the sigmoid function is used to limit the possible oversize values in\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003e. \u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the value of the input feature\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(t \\in X\\)\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\lambda\\)\u003c/span\u003e\u003c/span\u003eis the constant\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(1e - 4\\)\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\mu\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\sigma ^2}\\)\u003c/span\u003e\u003c/span\u003edenote the mean and variance of each channel in\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003erespectively, which are calculated by the following formulas:\u003cdiv id=\"Equ12\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ12\" name=\"EquationSource\"\u003e\n$$\\mu =\\frac{1}{M}\\sum\\nolimits_{{i=1}}^{M} {xi}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e12\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ13\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ13\" name=\"EquationSource\"\u003e\n$${\\sigma ^2}=\\frac{1}{M}\\sum\\nolimits_{{i=1}}^{M} {{{\\left( {xi - \\mu } \\right)}^2}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e13\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(M=H \\times W\\)\u003c/span\u003e\u003c/span\u003edenotes the number of neurons on each channel.The weight of each neuron can be obtained through the above calculation, and introducing this attention mechanism improves the accuracy of the model target detection without increasing the computational burden of the network effectively.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec12\" class=\"Section3\"\u003e \u003ch2\u003e2.3.4. Loss function of the model\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThree components make up the target detection model's overall loss: confidence loss, localization loss, and classification loss. Classification loss employs a binary cross-entropy loss for each category prediction, taking into account the possibility that a target may belong to many categories simultaneously. The calculation formula is as follows:\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ14\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ14\" name=\"EquationSource\"\u003e\n$$yi=sigmoid\\left( {xi} \\right)=\\frac{1}{{1+{e^{ - xi}}}}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e14\u003c/div\u003e\u003c/div\u003e \u003cdiv id=\"Equ15\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ15\" name=\"EquationSource\"\u003e\n$$Lclass= - \\sum\\limits_{{i=1}}^{N} {y_{i}^{ * }\\log \\left( {{y_i}} \\right)+\\left( {1 - y_{i}^{ * }} \\right)\\log \\left( {1 - {y_i}} \\right)}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e15\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003edenotes the total number of categories,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(xi\\)\u003c/span\u003e\u003c/span\u003eis the predicted value of the current category,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({y_i}\\)\u003c/span\u003e\u003c/span\u003eis the probability of the current category obtained after the activation function, and\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(y_{i}^{ * }\\)\u003c/span\u003e\u003c/span\u003eis the label of the true value of the current category, which takes the value of 0 or 1.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eThe localization loss in this paper is the CIoU LOSS [\u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e37\u003c/span\u003e] function. Three geometric characteristics are considered by the CIoU LOSS function: aspect ratio, centroid distance, and overlap area. In order to bring the prediction boxes closer to the ground truth box, CIoU adds the loss of the prediction boxes' scale based on DIoU as well as the loss of their length and width. In addition to increasing the prediction box regression's speed and accuracy, CIoU takes the bounding box aspect ratio's scaling information into account. The formulation of localization loss is found in Eq.\u0026nbsp;(16)-(\u003cspan refid=\"Equ16\" class=\"InternalRef\"\u003e18\u003c/span\u003e).\u003c/p\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003e \u003cul\u003e \u003cli\u003e \u003cp\u003e \u003cspan class=\"InlineEquation\"\u003e \u003cspan class=\"mathinline\"\u003e\\(Llocal=1 - CIoU=1 - \\left( {IoU - \\left( {\\frac{{{\\rho ^2}\\left( {b,{b^{gt}}} \\right)}}{{{c^2}}}} \\right)+\\alpha \\upsilon } \\right)\\)\u003c/span\u003e \u003c/span\u003e (16) \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\upsilon =\\frac{4}{{{\\pi ^2}}}{\\left( {\\arctan \\frac{{{w^{gt}}}}{{{h^{gt}}}} - \\arctan \\frac{w}{h}} \\right)^2}\\)\u003c/span\u003e\u003c/span\u003e (17)\u003c/p\u003e \u003c/li\u003e \u003c/ul\u003e \u003cdiv id=\"Equ16\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ16\" name=\"EquationSource\"\u003e\n$$\\alpha =\\frac{\\upsilon }{{\\left( {1 - IoU} \\right)+\\upsilon }}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e18\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(IoU\\)\u003c/span\u003e\u003c/span\u003erepresents the intersection over union,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\rho\\)\u003c/span\u003e\u003c/span\u003erepresents the Euclidean distance between\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({b^{gt}}\\)\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003erepresents the parameter of the center coordinates of the prediction box,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({b^{gt}}\\)\u003c/span\u003e\u003c/span\u003erepresents the parameter of the center coordinates of the real target bounding box, and\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\rho ^2}\\)\u003c/span\u003e\u003c/span\u003erepresents the square of the distance between the two center points. \u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003erepresents the length of the diagonal of the smallest outer rectangle of the two rectangles. \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\alpha\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\upsilon\\)\u003c/span\u003e\u003c/span\u003eare parameters that measure the consistency of the aspect ratio. \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({w^{gt}}\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({h^{gt}}\\)\u003c/span\u003e\u003c/span\u003erepresent the width and height of the true box, and\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003erepresent the width and height of the predicted box.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eConfidence loss employs a binary cross-entropy loss function, just as classification loss. The following is the precise calculation formula:\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Equ17\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ17\" name=\"EquationSource\"\u003e\n$$Lconf\\left( {o,c} \\right)= - \\frac{{\\sum\\limits_{{i=1}}^{N} {\\left( {oi\\ln \\left( {\\widehat {c}i} \\right)+\\left( {1 - oi} \\right)\\ln \\left( {1 - \\widehat {c}i} \\right)} \\right)} }}{N}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e19\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ18\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ18\" name=\"EquationSource\"\u003e\n$$\\widehat {c}i=sigmoid\\left( {ci} \\right)$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e20\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(oi \\in \\left[ {0,1} \\right]\\)\u003c/span\u003e\u003c/span\u003edenotes the IoU of the predicted and real boxes, \u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the predicted value, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\widehat {c}i\\)\u003c/span\u003e\u003c/span\u003eis the predicted confidence obtained from\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003evia sigmoid activation function, and\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the number of positive and negative samples.The total loss function for the target detection model is calculated as follows:\u003cdiv id=\"Equ19\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ19\" name=\"EquationSource\"\u003e\n$$LOSS={\\lambda _1}Lclass+{\\lambda _2}Llocal+{\\lambda _3}Lconf$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e21\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\lambda _1}\\)\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\lambda _2}\\)\u003c/span\u003e\u003c/span\u003eand\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\lambda _3}\\)\u003c/span\u003e\u003c/span\u003eare balancing parameters.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eThe DIoU Non-Maximum Suppression (DIoU NMS) technique is used in the post-processing step of the target detection algorithm to reduce false detections and eliminate duplicate boxes. The highest-scoring detected box and all other detected boxes are given a corresponding IoU value in the conventional NMS algorithm, and those boxes whose values are greater than the NMS threshold are filtered out. As can be observed, the only element taken into account by the traditional NMS algorithm is IoU. Nevertheless, in real-world application scenarios, only one detection box is frequently left behind after NMS processing when two distinct objects are quite close to one another because of the relatively large IoU value. This results in the error scenario of missed detection. Because the IoU ignores the aspect ratio and center point distance, it simply takes into account the overlap region between the predicted and actual boxes. This is why the DIoU NMS takes into account both the IoU and the separation between the two boxes' center points. It might be regarded as a box of two objects and won't be filtered out if the IoU between two boxes is comparatively significant yet the distance between the centers of two boxes is rather large. The false detection rate of the traditional NMS method is successfully decreased by the DIoU NMS algorithm.\u003c/p\u003e\u003c/div\u003e\u003c/p\u003e \u003c/div\u003e \u003c/div\u003e"},{"header":"3. Results","content":"\u003cdiv id=\"Sec14\" class=\"Section2\"\u003e \u003ch2\u003e3.1. Experimental environment and parameter settings\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe environment for model training, as well as testing, is a PC with NVIDIA GeForce RTX 3060 Laptop GPU, memory 16G, 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz CPU, and Windows 11 OS. Pytorch 1.7.1, CUDA 11.0, CUDNN 8.2, Python 3.8. The experimental parameter settings are shown in Table\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e. The settings of the hyperparameters Depth_multiple and Width_multiple in Table\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e specify the depth and width of the network, i.e., the number of layers of convolutional layers and convolutional kernels in the network.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab2\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 2\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eParameter settings.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"3\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eParameter\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eSize\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colspan=\"1\" nameend=\"c3\" namest=\"c3\"\u003e\u0026nbsp;\u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eLearning rate\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e1e-4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colspan=\"1\" nameend=\"c3\" namest=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eOptimizer\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eAdam\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colspan=\"1\" nameend=\"c3\" namest=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eBatch size\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colspan=\"1\" nameend=\"c3\" namest=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eEpoch\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e100\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colspan=\"1\" nameend=\"c3\" namest=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eDepth_multiple\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c3\" namest=\"c2\"\u003e \u003cp\u003e0.67\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec15\" class=\"Section2\"\u003e \u003ch2\u003e3.2. Evaluation metrics of Experimental result\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThis paper uses the following evaluation measures for the experimental results: F1, AP (Average Precision), mAP (mean Average Precision), R (Recall), P (Precision), and FPS (Frames per Second). The precision P value denotes the percentage of the model-predicted positive samples that really contain positive samples. The percentage of positive samples that the model successfully detected out of all positive samples is represented by recall R. The accuracy of class detection is measured by average precision (AP), which is the average of the precision under various recall rates. The value of AP is the size of the area under the PR curve. The following is the precise calculation formula:\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Equ20\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ20\" name=\"EquationSource\"\u003e\n$$P=\\frac{{TP}}{{TP+FP}}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e22\u003c/div\u003e\u003c/div\u003e \u003cdiv id=\"Equ21\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ21\" name=\"EquationSource\"\u003e\n$$R=\\frac{{TP}}{{TP+FN}}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e23\u003c/div\u003e\u003c/div\u003e \u003cdiv id=\"Equ22\" class=\"Equation\"\u003e \u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ22\" name=\"EquationSource\"\u003e\n$$AP=\\int_{0}^{1} {P\\left( R \\right)dR}$$\u003c/div\u003e \u003cdiv class=\"EquationNumber\"\u003e24\u003c/div\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(TP\\)\u003c/span\u003e\u003c/span\u003eindicates that positive samples are predicted as positive,\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(FP\\)\u003c/span\u003e\u003c/span\u003eindicates that positive samples are predicted as negative, and\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(FN\\)\u003c/span\u003e\u003c/span\u003eindicates that negative samples are predicted as positive. Eq.\u0026nbsp;(\u003cspan refid=\"Equ22\" class=\"InternalRef\"\u003e24\u003c/span\u003e) represents the PR curve obtained by setting different confidence levels with R as the horizontal coordinate and P as the vertical coordinate, and the area enclosed by this PR curve and the coordinate axis is the value of AP.\u003cdiv class=\"BlockQuote\"\u003e\u003cp\u003eThe accuracy of multiple-category detection is measured by the mean average of precision, or mAP, which is the average of the APs of several categories. The mAP50 and mAP50-95 are the evaluation measures used in this project. The average precision when the intersection over the union IoU threshold is 0.5 is denoted by the mAP50, and the average precision when the IoU threshold is between 0.5 and 0.95 is denoted by the mAP50-95. The F1 Score, which takes accuracy and memory into account and provides a thorough assessment of the model's advantages and disadvantages, is calculated as the harmonic average of recall and precision. The number of frames per second (FPS) that the model is able to detect is used to gauge its inference speed. The specific calculation formula is as follows:\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Equ23\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ23\" name=\"EquationSource\"\u003e\n$$mAP=\\frac{{\\sum\\limits_{{i=1}}^{N} {APi} }}{N} \\times 100\\%$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e25\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ24\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ24\" name=\"EquationSource\"\u003e\n$$F1=\\frac{{2PR}}{{P+R}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e26\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003eis the number of categories and\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(APi\\)\u003c/span\u003e\u003c/span\u003eis the\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(AP\\)\u003c/span\u003e\u003c/span\u003eof the\u003cspan class=\"InlineEquation\"\u003e\u003c/span\u003ecategory.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec16\" class=\"Section2\"\u003e \u003ch2\u003e3.3. Experimental results\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eFor the 15 categories of this study, the experimental results are shown in Table\u0026nbsp;\u003cspan refid=\"Tab3\" class=\"InternalRef\"\u003e3\u003c/span\u003e.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab3\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 3\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eExperimental results of each category.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"5\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eClass\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eR\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eAP50\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003eAP50-95\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAbalone\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.918\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.882\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.950\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.690\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eCarp\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.989\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.995\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.818\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eCatfish\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.881\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.900\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.932\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.635\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eGrouper\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.839\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.875\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.955\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.696\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eSquid\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.903\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.915\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.944\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.707\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTilefish\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.899\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.938\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.937\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.782\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eShrimp\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.968\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.995\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.861\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eCrab\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.972\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.951\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.976\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.746\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTurbot\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.819\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.697\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.775\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.519\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYellow croaker\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.994\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.917\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.947\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.724\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eSalmon\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.952\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.995\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.866\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eJellyfish\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.984\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.995\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.745\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eScallop\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.952\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.955\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.993\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.815\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePerch\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.990\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.995\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.782\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eSilver pomfret\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.814\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.873\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.907\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.695\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eFigure\u0026nbsp;\u003cspan refid=\"Fig8\" class=\"InternalRef\"\u003e8\u003c/span\u003e displays the visualization results of the YOLOv5-SimF model provided in this paper in the experimental test set. From this, it is evident that the 15 species of aquatic products engaged in this study can be accurately classified and localized. When paired with hardware, deep learning's exceptional performance makes it possible for the aquaculture sector to operate automatically. The model is entirely applicable to real-world scenarios due to its high recognition accuracy and low misdetection rate. Figure\u0026nbsp;\u003cspan refid=\"Fig9\" class=\"InternalRef\"\u003e9\u003c/span\u003e displays the results of the real-time target detection sampling of the natural undersea scene.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e"},{"header":"4. Discussion","content":"\u003cdiv id=\"Sec18\" class=\"Section2\"\u003e \u003ch2\u003e4.1. Experimental label database\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe experiments labeled the ground truth box of each image in the dataset created in this paper. The distribution of labels in the dataset is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig10\" class=\"InternalRef\"\u003e10\u003c/span\u003e The horizontal coordinates of the histograms in Fig.\u0026nbsp;\u003cspan refid=\"Fig10\" class=\"InternalRef\"\u003e10\u003c/span\u003e(a) indicate the different categories, and the vertical coordinates indicate the number of label instances in the different categories. Figure\u0026nbsp;\u003cspan refid=\"Fig10\" class=\"InternalRef\"\u003e10\u003c/span\u003e(b) counts the length and width of all ground truth boxes in the dataset, where the center coordinates of each ground truth box are set at the same position. The scatter plots in Fig.\u0026nbsp;\u003cspan refid=\"Fig10\" class=\"InternalRef\"\u003e10\u003c/span\u003e(c) and Fig.\u0026nbsp;\u003cspan refid=\"Fig10\" class=\"InternalRef\"\u003e10\u003c/span\u003e(d) represent the distribution of the ground truth box's center coordinates (x,y) in the image and the width and height distribution of the ground truth box, respectively.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eIn addition, Fig.\u0026nbsp;\u003cspan refid=\"Fig11\" class=\"InternalRef\"\u003e11\u003c/span\u003e summarizes the labels of the training set data and plots the relationship diagram between the four variables of the training set data labels: x, y, width, and height. The histogram in the first row of Fig.\u0026nbsp;\u003cspan refid=\"Fig11\" class=\"InternalRef\"\u003e11\u003c/span\u003e shows the distribution of the horizontal coordinates x of the center point of the anchor box. It can be seen that the horizontal coordinates x of the center point are concentrated in the positions of 0.25, 0.50, and 0.75 of the image, with the position of 0.50 in the center of the image being the most prevalent; the histogram in the second row shows the distribution of the vertical coordinates y of the center point of the anchor box, it can be seen that the vertical coordinate y is uniformly distributed over the image at 0.25, 0.50 and 0.75. The histogram in the third row shows the distribution of the width of the anchor boxes, and it can be seen that most of the anchor boxes are not wider than half of the image; the histogram in the last line shows the distribution of the height of the anchor boxes, and it can be seen that the height of most of the anchor boxes is not more than half of the image.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec19\" class=\"Section2\"\u003e \u003ch2\u003e4.2. Model performance\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe target detection classification model's confusion matrix is displayed in Fig.\u0026nbsp;\u003cspan refid=\"Fig12\" class=\"InternalRef\"\u003e12\u003c/span\u003e The number in the matrix's square represents the likelihood that the model will correctly identify the category, while the horizontal and vertical axes represent the actual and predicted categories, respectively. By using the confusion matrix diagram, the classification model presented in this research may accomplish a more accurate classification task. Figure\u0026nbsp;\u003cspan refid=\"Fig13\" class=\"InternalRef\"\u003e13\u003c/span\u003e displays the curve diagrams for the target detection model's operational outcomes, by which the performance of a model can be more intuitively assessed. Figure\u0026nbsp;\u003cspan refid=\"Fig13\" class=\"InternalRef\"\u003e13\u003c/span\u003e(a) shows the F1-Confidence curve, which can reflect the relationship between the F1 scores and the confidence level; Fig.\u0026nbsp;\u003cspan refid=\"Fig13\" class=\"InternalRef\"\u003e13\u003c/span\u003e(b) represents the Precision-Confidence curve, which reflects the precision values under different confidence thresholds; Fig.\u0026nbsp;\u003cspan refid=\"Fig13\" class=\"InternalRef\"\u003e13\u003c/span\u003e(c) shows PR curve, the area under this curve is taken as AP; Fig.\u0026nbsp;\u003cspan refid=\"Fig13\" class=\"InternalRef\"\u003e13\u003c/span\u003e(d) shows Recall-Confidence curve, which reflects the relationship between recall and confidence. The visual examination of the model evaluation metrics during the dataset's training is displayed in Fig.\u0026nbsp;\u003cspan refid=\"Fig14\" class=\"InternalRef\"\u003e14\u003c/span\u003e, where 100 epochs are represented by the horizontal axis. In addition to the changes in accuracy, recall, mAP50, and mAP50-95 of the model throughout training, the figure shows variations in box loss, objectness loss, and categorization loss for the training and validation sets during the model training period.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec20\" class=\"Section2\"\u003e \u003ch2\u003e4.3. Ablation experiment analysis\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eWe performed ablation experiments to confirm the efficacy of the dataset preparation, and Table\u0026nbsp;\u003cspan refid=\"Tab4\" class=\"InternalRef\"\u003e4\u003c/span\u003e displays the findings. The experimental findings demonstrate that the dataset's Mosaic data and underwater image augmentation can greatly increase the model prediction accuracy, as evidenced by the mAP50's 0.16 and mAP50-95's 0.206 improvements.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab4\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 4\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eAblation experiment results of dataset preprocessing.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"6\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c6\" colnum=\"6\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eUnderwater image enhancement network\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMosaic augmentation\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eR\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003emAP50\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c6\"\u003e \u003cp\u003emAP50-95\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.778\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.782\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.793\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.533\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.815\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.806\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.822\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.599\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.881\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.900\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.932\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.635\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.927\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.925\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.953\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.739\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eWe performed ablation experiments on the enhanced model to confirm the efficacy of the suggested improved YOLOv5 model; the outcomes are displayed in Table\u0026nbsp;\u003cspan refid=\"Tab5\" class=\"InternalRef\"\u003e5\u003c/span\u003e. The preprocessed training dataset is utilized for the various models in Table\u0026nbsp;\u003cspan refid=\"Tab5\" class=\"InternalRef\"\u003e5\u003c/span\u003e. The ablation experiments validated the effectiveness of each component separately, where the one without introducing the improved BiFPN network is the original YOLOv5 feature extraction network: the FPN\u0026thinsp;+\u0026thinsp;PAN structure. The experimental results show that the improved BiFPN network contributes greatly to the model's performance. The prediction accuracy significantly improves without sacrificing much of the model's inference speed. The model's gain in accuracy after introducing the improved BiFPN network is much greater than the decrease in speed.The enhanced model's FPS increases by 48 frames per second, F1 Score increases by 0.061, mAP50-95 increases by 0.041, and mAP50 improves by 0.067. The trial outcomes show how well the YOLOv5 model has been improved by our work.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab5\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 5\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eAblation experiment results of improved YOLOv5.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"11\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c6\" colnum=\"6\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c7\" colnum=\"7\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c8\" colnum=\"8\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c9\" colnum=\"9\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c10\" colnum=\"10\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c11\" colnum=\"11\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eSPPCSP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eFReLU\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eSimAM\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eRepConv\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003eImproved BiFPN\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c6\"\u003e \u003cp\u003eP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c7\"\u003e \u003cp\u003eR\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c8\"\u003e \u003cp\u003emAP50\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c9\"\u003e \u003cp\u003emAP50-95\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c10\"\u003e \u003cp\u003eFPS\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c11\"\u003e \u003cp\u003eF1\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.856\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.874\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.886\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.698\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e155\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.865\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.854\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.876\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.885\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.697\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e199\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.865\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.862\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.874\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.895\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.695\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e206\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.870\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.879\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.882\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.897\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.705\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e210\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.880\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.889\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.892\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.902\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.709\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e211\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.891\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e\u0026radic;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e0.927\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.925\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c8\"\u003e \u003cp\u003e0.953\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c9\"\u003e \u003cp\u003e0.739\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c10\"\u003e \u003cp\u003e203\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c11\"\u003e \u003cp\u003e0.926\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eWe also carried out comparison studies on four different sizes of YOLOv5 networks in order to balance the requirements of target detection for accuracy and speed. The findings are displayed in Table\u0026nbsp;\u003cspan refid=\"Tab6\" class=\"InternalRef\"\u003e6\u003c/span\u003e. Table\u0026nbsp;\u003cspan refid=\"Tab6\" class=\"InternalRef\"\u003e6\u003c/span\u003e indicates that while the larger-scale network model can achieve higher detection accuracy, it is unable to meet the demand for real-time detection. Consequently, after carefully analyzing the experimental data, we selected YOLOv5m as the main network model, which can meet both the higher detection accuracy and real-time detection requirements. The experimental dataset and network structure remain unchanged despite the four network sizes shown in Table\u0026nbsp;\u003cspan refid=\"Tab6\" class=\"InternalRef\"\u003e6\u003c/span\u003e only affecting the network's width and depth.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab6\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 6\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eComparisons of different scale networks.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"6\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c6\" colnum=\"6\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eModel\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eR\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003emAP50\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003emAP50-95\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c6\"\u003e \u003cp\u003eFPS\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5s\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.897\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.900\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.921\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.705\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e256\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5m\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.927\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.925\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.953\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.739\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e203\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5l\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.945\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.958\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.960\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.758\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e152\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5xl\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.968\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.974\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.971\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.774\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e98\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec21\" class=\"Section2\"\u003e \u003ch2\u003e4.4. Comparative experiment analysis\u003c/h2\u003e \u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eThe YOLOv5-SimF target detection model is presented in this paper, and the mainstream target detection models are chosen to perform a comparison experiment with it. The experimental results are displayed in Table\u0026nbsp;\u003cspan refid=\"Tab7\" class=\"InternalRef\"\u003e7\u003c/span\u003e, which demonstrates that the YOLOv5-SimF target detection model performs better overall than the other comparison models. Faster RCNN, Mask RCNN, SSD, RetinaNet, YOLOv3 [\u003cspan citationid=\"CR38\" class=\"CitationRef\"\u003e38\u003c/span\u003e], YOLOv4, YOLOv5, and YOLOv7 [\u003cspan citationid=\"CR39\" class=\"CitationRef\"\u003e39\u003c/span\u003e] are the comparative algorithms that have been chosen. Two-stage target detection algorithms, such as Faster R-CNN and Mask R-CNN, have the ability to attain a comparatively high detection accuracy. The FPS is significantly lower than the other models, though.YOLOv7's intricate network structure allows it to attain greater accuracy at the cost of reduced detection speed. Figure\u0026nbsp;\u003cspan refid=\"Fig15\" class=\"InternalRef\"\u003e15\u003c/span\u003e demonstrates the comparison of the visualization results of predicting targets between the original YOLOv5 and the model proposed in this paper, from which it can be seen that the accuracy of the improved model in this paper for predicting stacked targets and small targets in the background, as well as the classification and localization accuracy, have been significantly improved. The improved model's efficiency, robustness, and accuracy are verified through qualitative and quantitative analyses.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab7\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 7\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eComparison of different target detection models.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"7\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c6\" colnum=\"6\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c7\" colnum=\"7\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eModel\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eP\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eR\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003emAP50\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003emAP50-95\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c6\"\u003e \u003cp\u003eFPS\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c7\"\u003e \u003cp\u003eF1\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eFaster R-CNN\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.891\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.928\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.919\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.722\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e78\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.909\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eMask R-CNN\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.898\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.935\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.922\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.726\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e72\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.916\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eSSD\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.859\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.886\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.875\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.698\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e123\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.872\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eRetinaNet\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.852\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.887\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.872\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.692\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e134\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.869\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.892\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.909\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.908\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.733\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e108\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.900\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.905\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.906\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.912\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.735\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e122\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.905\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.915\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.922\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.925\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.736\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e155\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.918\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.924\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.916\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.945\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.739\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e132\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.919\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eYOLOv5-SimF\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e0.927\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.925\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.953\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0.739\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c6\"\u003e \u003cp\u003e203\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c7\"\u003e \u003cp\u003e0.926\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e"},{"header":"5. Conclusions","content":"\u003cp\u003e \u003cdiv class=\"BlockQuote\"\u003e \u003cp\u003eIn this study, a real-time target detection model, YOLOv5-SimF, is proposed. Our work aims to promote aquaculture development, drive the rapid economic growth of coastal areas, solve traditional aquaculture problems, such as low efficiency and small scale, and modernize and automate aquaculture and save the fishermen's labor and material resources. Firstly, this paper creates a dataset containing 15 different categories of aquatic products from publicly available data and data collected in this experiment, which provides available resources for the subsequent development of aquatic identification. Secondly, this study made the following two innovations in the data preprocessing part: underwater image quality enhancement and Mosaic data enhancement. The former enhances low contrast, uneven brightness, and color bias issues in underwater images, while the latter enriches the training dataset to help the deep learning network better learn the target's features and partially validates the efficacy of data preprocessing through ablation experiments. Next, using the FReLU activation function to overcome the activation function's spatial insensitivity on visual tasks, this paper improves the YOLOv5 network by introducing the YOLOv5-SimF target detection model, which increases the accuracy of small target detection with minimal computational overhead. A novel weighted bi-directional feature pyramid network is proposed and applied to the neck network, which improves the ability of cross-scale feature fusion and aggregates the SimAM attention module to solve the information overload problem, which all-around improves the efficiency and accuracy of the model to predict the target. The RepConv reparameterized convolutional structure is employed in the head network to further improve network prediction accuracy. Furthermore, this research takes into account three geometric parameters for box loss and applies the CIoU LOSS loss function. Lastly, ablation experiments and comparison experiments are carried out in the experimental section of this paper. The ablation experiment results demonstrate the efficacy of the YOLOv5 network's improvements in this study, and the network's advancements greatly increase the precision and speed of target prediction. The YOLOv5-SimF target detection model suggested in this paper is compared with other popular deep learning network models in comparison experiments. The experimental data and experimental visualization comparison results can intuitively show that the performance of the model proposed in this paper is significantly better than that of other compared models. Statistics on the dataset label were also run before the experiment. Furthermore, we present the test results of the natural underwater scenario, including sampling the underwater video detection results. The underwater camera equipment records all of the underwater videos. As a result, the network model in this study exhibits strong robustness and detection performance, making it a valuable reference point for the automation of the genuine aquaculture sector.\u003c/p\u003e \u003c/div\u003e \u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eAuthor Contributions:\u003c/strong\u003e Conceptualization, Y.M.; methodology, Y.M.; software, Y.M. and Y.W.; validation, Y.M.; formal analysis, Y.M.; investigation, Y.M.; resources, Y.M.; data curation, Y.M.; writing\u0026mdash;original draft preparation, Y.M.; writing\u0026mdash;review and editing, Y.M.; visualization, Y.M.; supervision, Y.M.; project administration, Y.M., L.J., L.C. and Y.W.; funding acquisition, L.J. All authors have read and agreed to the published version of the manuscript.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eFunding:\u003c/strong\u003e This research was funded by the National Natural Science Foundation of China, grant number 61561010; Guangxi Innovation-Driven Development Special Fund, grant number AA21077008; Guangxi Key Laboratory of Wireless Wideband Communication and Signal Processing, grant numbers GXKL06220102 and GXKL06220108; Guangxi Bagui Scholar, grant number 2019A51; and Innovation Project of GUET Graduate Education, grant numbers 2022YXW07, 2022YCXS080 and 2023YXW02.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eData Availability Statement:\u003c/strong\u003e The datasets generated and/or analyzed during the current study are available from the corresponding author on reasonable request.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConflict of interest\u003c/strong\u003eThe authors declare no competing interests.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eEthical approval\u0026nbsp;\u003c/strong\u003eNot applicable.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eFeng, J. H., Yuan, H., Hu, Y. Q., Lin, J., Liu, S. W., Luo, X.: Research on deep learning method for rail surface defect detection. IET Electrical Systems in Transportation. 10(4), 436\u0026ndash;442 (2022)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhao, Y., Liu, L., Xie, C., Wang, R., Wang, F., Bu, Y., Zhang, S.: An effective automatic system deployed in agricultural Internet of Things using Multi-Context Fusion Network towards crop disease recognition in the wild. Applied Soft Computing. 89, 106128 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhang, D., Zhan, J., Tan, L., Gao, Y., Župan, R.: Comparison of two deep learning methods for ship target recognition with optical remotely sensed data. Neural Computing and Applications, 33, 4639\u0026ndash;4649 (2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eJia, X., Tong, Y., Qiao, H., Li, M., Tong, J., Liang, B.: Fast and accurate object detector for autonomous driving based on improved YOLOv5. Scientific reports, 13(1), 1\u0026ndash;13 (2023)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZou, L., Liang, B., Cheng, X., Li, S., Lin, C.: Sonar Image Target Detection for Underwater Communication System Based on Deep Neural Network. CMES-Computer Modeling in Engineering \u0026amp; Sciences, 137(3)(2023)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChen, L., Liu, Z., Tong, L., Jiang, Z., Wang, S., Dong, J., Zhou, H.: Underwater object detection using Invert Multi-Class Adaboost with deep learning. In: Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1\u0026ndash;8 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhao, Z., Liu, Y., Sun, X., Liu, J., Yang, X., Zhou, C.: Composited FishNet: Fish detection and species recognition from low-quality underwater videos. IEEE Transactions on Image Processing, 30, 4719\u0026ndash;4734 (2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eYang, L., Liu, Y., Yu, H., Fang, X., Song, L., Li, D., Chen, Y.: Computer vision models in intelligent aquaculture with emphasis on fish detection and behavior analysis: A review. Archives of Computational Methods in Engineering, 28, 2785\u0026ndash;2816 (2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRedmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: Unified, real-time object detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 779\u0026ndash;788 (2016)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLiu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C. Y., Berg, A. C.: Ssd: Single shot multibox detector. In: Proceedings of the Computer Vision\u0026ndash;ECCV 2016: 14th European Conference, pp. 21\u0026ndash;37 (2016)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLin, T. Y., Goyal, P., Girshick, R., He, K., Doll\u0026aacute;r, P.: Focal loss for dense object detection. In: Proceedings of the IEEE international conference on computer vision, pp. 2980\u0026ndash;2988 (2017)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGirshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 580\u0026ndash;587 (2014)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGirshick, R.: Fast r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440\u0026ndash;1448 (2015)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRen, S.; He, K.; Girshick, R.; Sun, J.: Faster r-cnn: Towards real-time object detection with region proposal networks. Advances in neural information processing systems, 28, 91\u0026ndash;99 (2015)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHe, K., Gkioxari, G., Doll\u0026aacute;r, P., Girshick, R.: Mask r-cnn. In: Proceedings of the IEEE international conference on computer vision, pp. 2961\u0026ndash;2969 (2017)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBochkovskiy, A., Wang, C. Y., Liao, H. Y. M.: Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv: 2004.10934 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eWang, C.-Y.; Liao, H.-Y.M.; Wu, Y.-H.; Chen, P.-Y.; Hsieh, J.-W.; Yeh, I.-H.: CSPNet: A new backbone that can enhance learning capability of CNN. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 390\u0026ndash;391 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTan M, Pang R, Le Q V.: Efficientdet: Scalable and efficient object detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10781\u0026ndash;10790 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLiu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J.: Path aggregation network for instance segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 8759\u0026ndash;8768 (2018)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLi, D., Du, L.: Recent advances of deep learning algorithms for aquacultural machine vision systems with emphasis on fish. Artificial Intelligence Review, 1\u0026ndash;40 (2022)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLarsen, R., Olafsdottir, H., Ersb\u0026oslash;ll, B. K.: Shape and texture based classification of fish species. In: Proceedings of the Image Analysis: 16th Scandinavian Conference, pp. 745\u0026ndash;749 (2009)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSong, S., Zhu, J., Li, X., Huang, Q.: Integrate MSRCR and mask R-CNN to recognize underwater creatures on small sample datasets. IEEE Access, 8, 172848\u0026ndash;172858 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHan, F., Yao, J., Zhu, H., Wang, C.: Underwater image processing and object detection based on deep CNN method. Journal of Sensors, 2020 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMao, G., Weng, W., Zhu, J., Zhang, Y., Wu, F., Mao, Y.: Model for marine organism detection in shallow sea using the improved YOLO-V4 network. Transactions of the Chinese Society of Agricultural Engineering, 37(12), 152\u0026ndash;158 (2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eIqbal, U., Li, D., Akhter, M.: Intelligent Diagnosis of Fish Behavior Using Deep Learning Method. Fishes, 7(4), 201 (2022)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eVolkan, K. A. Y. A., Akg\u0026uuml;l, İ., TANIR, \u0026Ouml;. Z.: IsVoNet8: A Proposed Deep Learning Model for Classification of Some Fish Species. Journal of Agricultural Sciences, 29(1), 298\u0026ndash;307 (2023)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRen, L., Tian, Y., Yang, X., Wang, Q., Wang, L., Geng, X., \u0026hellip; Lin, H.: Rapid identification of fish species by laser-induced breakdown spectroscopy and Raman spectroscopy coupled with machine learning methods. Food Chemistry, 400, 134043 (2023)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eYang, L., Zhang, R. Y., Li, L., Xie, X.: Simam: A simple, parameter-free attention module for convolutional neural networks. In: Proceedings of the International conference on machine learning, pp. 11863\u0026ndash;11874.(2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMa, N., Zhang, X., Sun, J.: Funnel activation for visual recognition. In: Proceedings of the Computer Vision\u0026ndash;ECCV 2020: 16th European Conference, pp. 351\u0026ndash;368 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLi, C., Guo, C., Ren, W., Cong, R., Hou, J., Kwong, S., Tao, D.: An underwater image enhancement benchmark dataset and beyond. IEEE Transactions on Image Processing, 29, 4376\u0026ndash;4389 (2019)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePanetta, K., Gao, C., Agaian, S.: Human-visual-system-inspired underwater image quality measures. IEEE Journal of Oceanic Engineering, 41(3), 541\u0026ndash;551 (2015)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eYang, M., Sowmya, A.: An underwater color image quality evaluation metric. IEEE Transactions on Image Processing, 24(12), 6062\u0026ndash;6071 (2015)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDing, X., Zhang, X., Ma, N., Han, J., Ding, G., Sun, J.: Repvgg: Making vgg-style convnets great again. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 13733\u0026ndash;13742 (2021)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSimonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv: 1409.1556 (2014)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGhiasi, G., Lin, T. Y., Le, Q. V.: Dropblock: A regularization method for convolutional networks. Advances in neural information processing systems, 31 (2018)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDeVries, T., Taylor, G. W.: Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv: 1708.04552 (2017)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZheng, Z.; Wang, P.; Liu, W.; Li, J.; Ye, R.; Ren, D.: Distance-IoU loss: Faster and better learning for bounding box regression. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 12993\u0026ndash;13000 (2020)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRedmon, J., \u0026amp; Farhadi, A. Yolov3: An incremental improvement. arXiv preprint arXiv: 1804.02767 (2018)\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eWang, C.-Y.; Bochkovskiy, A.; Liao, H.-Y.M.: YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7464\u0026ndash;7475 (2023)\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"underwater target recognition, automated aquaculture, improved YOLOv5, underwater image enhancement","lastPublishedDoi":"10.21203/rs.3.rs-4001173/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4001173/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eAs a pillar industry in coastal areas, aquaculture needs artificial intelligence technology to drive its economic development. This paper proposes a new method of multi-scale feature fusion and integrates it into the YOLOv5 backbone network for automated operations in the aquaculture industry. This model completes the computerized classification and detection of aquatic products, increases the industry's productivity, and fosters economic development. To provide a foundation of data for training the model, this research creates a dataset comprising 15 species of marine products. The data preprocessing section suggests an underwater image enhancement approach to raise the dataset's quality. Mosaic data augmentation is presented to enrich the dataset and bolster its features. A weighted bi-directional feature pyramid network is improved and fused into the necking network to improve the ability of multi-scale feature fusion of the network, significantly strengthening the efficiency of feature extraction of the network. Moreover, the accuracy and speed of model prediction are significantly increased by integrating the SimAM attention mechanism and introducing the FReLU activation function in the network backbone section. The comparison and ablation experiments show the suggested model's superiority and efficacy. The enhanced YOLOv5 target detection model's experimental results, verified by the mAP and FPS evaluation metrics, can achieve 0.953 and 203 frames per second. Compared to the base YOLOv5 network, the evaluation metrics improved by 0.067 and 48 frames per second, respectively. In summary, our method can quickly and accurately identify aquatic products and achieve real-time target detection of marine products, laying the foundation for developing automation systems in the aquaculture industry.\u003c/p\u003e","manuscriptTitle":"Improved weighted bidirectional FPN aquatic real-time target detection model based on cross-scale connections","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-03-06 19:14:49","doi":"10.21203/rs.3.rs-4001173/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"d903cae8-35de-4564-8399-c39da05d8be8","owner":[],"postedDate":"March 6th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2024-03-06T19:14:52+00:00","versionOfRecord":[],"versionCreatedAt":"2024-03-06 19:14:49","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-4001173","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4001173","identity":"rs-4001173","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.