Plankton object detection and classification method based on multi-layer neural network architecture
Through the scene classification, target detection and detail correction model of the compound neural network architecture, the problem of low accuracy of single neural network in plankton detection is solved, and higher detection accuracy and recognition accuracy are achieved.
Patent Information
- Application Number
- PCT/CN2024/078403
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-23
- Publication Date
- 2024-09-06
AI Technical Summary
The existing single-mode neural network architecture has the problem of low detection accuracy in plankton detection, especially the difficulty in detecting non-plankton interference individuals due to different turbidity levels, different plankton densities, and different density of interference objects in the field of view.
It adopts a compound neural network architecture, including scene classification weight model, target detection weight model and detail correction model, to improve detection accuracy through scene classification prediction, plankton detection and difference comparison. Specific steps include obtaining target images, performing scene classification predictions, plankton detection, and comparing through detailed calibration models to obtain the final results.
It improves the accuracy of plankton target detection, reduces the interference of abiotic factors on the identification results, enhances the accuracy of identification and the adaptability to the identification environment, and reduces the detection loss rate.
Smart Images

Figure CN2024078403_06092024_PF_FP
Abstract
Description
A plankton target detection and classification method based on a composite neural network architecture Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a plankton target detection and classification method based on a duplex neural network architecture. Background Art
[0002] The underwater environment is complex and changeable, with diverse plankton species and mixed with various interferences. Therefore, the in-situ images collected by the imager will inevitably show different turbidity levels, different plankton densities, and different densities of interferences in the field of view.
[0003] Currently, existing plankton detection and classification technologies primarily rely on a single neural network architecture. This architecture typically uses multiple convolutional, pooling, and activation layers to extract features from images. This architecture then fuses these features through a feature pyramid to form a region of interest (ROI). Finally, the ROI is analyzed for metrics such as IOU and confidence to determine the detection result. However, current detection results often contain numerous non-plankton interfering individuals, resulting in low detection accuracy. Summary of the Invention
[0004] The present invention provides a plankton target detection and classification method, device, equipment and storage medium based on a duplex neural network architecture, which are used to improve the accuracy of plankton target detection.
[0005] A first aspect of the present invention provides a plankton target detection and classification method using a composite neural network architecture, the plankton target detection and classification method using a composite neural network architecture comprising:
[0006] Constructing a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model, and a detail proofreading model;
[0007] Acquire a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction, thereby obtaining a target scene optimization result;
[0008] According to the target scene optimization result, the target image is input into the target detection weight model to perform plankton detection to obtain a plankton target detection result;
[0009] A target result set is obtained by performing a difference comparison based on the plankton target detection result and the detail proofreading category data set.
[0010] In combination with the first aspect, in a first implementation of the first aspect of the present invention, obtaining a target image to be processed, inputting the target image into the scene classification weight model for scene classification prediction, and obtaining a target scene optimization result includes:
[0011] Acquire a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain an initial scene classification result;
[0012] A preprocessing operation is performed on the initial scene classification result to obtain a target scene optimization result.
[0013] In combination with the first aspect, in a second implementation of the first aspect of the present invention, inputting the target image into the target detection weight model for plankton detection based on the target scene optimization result to obtain a plankton target detection result includes:
[0014] According to the target scene optimization result, loading the corresponding target detection model to perform target detection on the target image, wherein the target detection model includes: a feature extraction network, a region generation network and a target prediction network;
[0015] The target image is subjected to plankton detection by using the target detection model to obtain a plankton target detection result.
[0016] In combination with the first aspect, in a third implementation of the first aspect of the present invention, performing plankton detection on the target image using the target detection model to obtain a plankton target detection result includes:
[0017] Performing image feature extraction on the target image through the feature extraction network to obtain image feature data;
[0018] Inputting the image feature data into the region generation network to extract feature regions to obtain image feature regions;
[0019] The image feature region is input into the target detection network to perform plankton detection to obtain a plankton target detection result.
[0020] In combination with the first aspect, in a fourth embodiment of the first aspect of the present invention, performing a difference comparison based on the plankton target detection result and the detail proofreading category data set to obtain a target result set includes:
[0021] generating a proofreading result set according to the plankton target detection result and the detail proofreading category data set;
[0022] A difference comparison is performed on the plankton target detection result and the proofreading result set to obtain a target result set.
[0023] A second aspect of the present invention provides a plankton target detection and classification device with a dual neural network architecture, the plankton target detection and classification device with a dual neural network architecture comprising:
[0024] A construction module is used to construct a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model and a detail proofreading model;
[0025] A prediction module is used to obtain a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain a target scene optimization result;
[0026] A detection module, configured to input the target image into the target detection weight model to perform plankton detection based on the target scene optimization result, and obtain a plankton target detection result;
[0027] The proofreading module is used to perform a difference comparison based on the plankton target detection result and the detail proofreading category data set to obtain a target result set.
[0028] The third aspect of the present invention provides a plankton target detection and classification device with a duplex neural network architecture, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the plankton target detection and classification device with the duplex neural network architecture executes the above-mentioned plankton target detection and classification method with the duplex neural network architecture.
[0029] A fourth aspect of the present invention provides a computer-readable storage medium, which stores instructions that, when run on a computer, enable the computer to execute the above-mentioned plankton target detection and classification method based on the complex neural network architecture.
[0030] In the technical solution provided by the present invention, a plankton detection model set is constructed, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model and a detail proofreading model; a target image to be processed is obtained, and the target image is input into the scene classification weight model for scene classification prediction to obtain a target scene optimization result; based on the target scene optimization result, the target image is input into the target detection weight model for plankton detection to obtain a plankton target detection result; a difference comparison is performed based on the plankton target detection result and the detail proofreading category data set to obtain a target result set. The present invention improves the accuracy of plankton target detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] FIG1 is a schematic diagram of an embodiment of a method for detecting and classifying plankton targets using a composite neural network architecture according to an embodiment of the present invention;
[0032] FIG2 is a flow chart of plankton detection according to an embodiment of the present invention;
[0033] FIG3 is a flow chart showing a plankton target detection result obtained in an embodiment of the present invention;
[0034] FIG4 is a flow chart of difference comparison according to an embodiment of the present invention;
[0035] FIG5 is a schematic diagram of an embodiment of a plankton target detection and classification device with a complex neural network architecture according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] Embodiments of the present invention provide a method, apparatus, device, and storage medium for detecting and classifying plankton targets using a dual neural network architecture, for improving the accuracy of plankton target detection. The terms "first," "second," "third," "fourth," and so forth (if any) in the specification and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units expressly listed, but may include other steps or units that are not expressly listed or that are inherent to such process, method, product, or apparatus.
[0037] For ease of understanding, the specific process of an embodiment of the present invention is described below. Please refer to Figure 1. An embodiment of the plankton target detection and classification method using a dual neural network architecture in an embodiment of the present invention includes:
[0038] S101, constructing a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model, and a detail proofreading model;
[0039] It is understood that the execution subject of the present invention can be a plankton target detection and classification device with a complex neural network architecture, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example.
[0040] S102, obtaining a target image to be processed, and inputting the target image into a scene classification weight model for scene classification prediction to obtain a target scene optimization result;
[0041] Specifically, a scene category data set is constructed based on a preset total number of scene categories; the scene category data set is input into a preset training model for plankton scene classification training to obtain a scene classification weight model; a target image to be processed is obtained and input into the scene classification weight model for scene classification prediction to obtain an initial scene classification result; and a preprocessing operation is performed on the initial scene classification result to obtain a target scene optimization result. The present invention improves the construction of a deep learning prediction model for plankton classification scenes.
[0042] S103, according to the target scene optimization result, input the target image into the target detection weight model to perform plankton detection, and obtain the plankton target detection result;
[0043] Specifically, a target detection initial training model set is constructed according to a plurality of preset plankton classification scenarios; training data corresponding to each plankton classification scenario is obtained, and the target detection initial training model set is trained according to the training data corresponding to each plankton classification scenario to obtain a target detection weight model set; a detection image to be processed is obtained, and scene prediction is performed on the detection image according to the classification scenario, and at the same time, the detection image is input into the target detection weight model corresponding to the prediction scenario to perform plankton detection to obtain the total number of plankton. The present invention performs pixel normalization processing on the scene classification results, so that the architecture of the present invention adapts to different sea areas, different turbidity and different biological species, expands the breadth of the application environment of the neural network architecture, reduces the loss rate of plankton detection and recognition, and at the same time, the pixel normalization processing improves the clarity of the image and increases the recognition accuracy of the network architecture.
[0044] S104: Perform a difference comparison based on the plankton target detection results and the detail proofreading category data set to obtain a target result set.
[0045] Specifically, the total number of biological categories to be proofread is obtained, and a detailed proofreading category data set is constructed based on the total number of biological categories; the plankton target detection results are obtained, and a proofreading result set is generated based on the plankton target detection results and the detailed proofreading category data set; the plankton target detection results and the proofreading result set are differentially compared to obtain a target result set. By proofreading and correcting the target detection results, the present invention reduces the interference of non-biological factors on the recognition results, removes the non-biological result part, ensures the accuracy of plankton recognition, and solves the problem of high false positive rate in plankton recognition.
[0046] In an embodiment of the present invention, a plankton detection model set is constructed, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model, and a detail proofreading model; a target image to be processed is obtained, and the target image is input into the scene classification weight model for scene classification prediction to obtain a target scene optimization result; based on the target scene optimization result, the target image is input into the target detection weight model for plankton detection to obtain a plankton target detection result; a difference comparison is performed based on the plankton target detection result and the detail proofreading category data set to obtain a target result set. The present invention improves the accuracy of plankton target detection.
[0047] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0048] (1) Obtain the target image to be processed and input the target image into the scene classification weight model for scene classification prediction to obtain the initial scene classification result;
[0049] (2) Preprocess the initial scene classification results to obtain the target scene optimization results.
[0050] Specifically, the server
[0051] In a specific embodiment, as shown in FIG2 , the process of executing step S103 may specifically include the following steps:
[0052] S201. Load the corresponding target detection model to perform target detection on the target image according to the target scene optimization result, wherein the target detection model includes: a feature extraction network, a region generation network, and a target prediction network;
[0053] S202: Perform plankton detection on the target image using a target detection model to obtain a plankton target detection result.
[0054] Specifically, the detection image is input into a target detection model corresponding to the prediction scene, wherein the target detection model includes: a feature extraction network, a region generation network and a target prediction network; image features are extracted from the detection image through the feature extraction network to obtain image feature data; the image feature data is input into the region generation network to extract feature regions to obtain image feature regions; the image feature regions are input into the target detection network to perform plankton detection, and the initial detection results corresponding to the target detection model are output.
[0055] In a specific embodiment, as shown in FIG3 , the process of executing step S202 may specifically include the following steps:
[0056] S301, extracting image features from a target image through a feature extraction network to obtain image feature data;
[0057] S302, inputting the image feature data into a region generation network to extract feature regions to obtain image feature regions;
[0058] S303: Input the image feature area into the target detection network to perform plankton detection, and obtain a plankton target detection result.
[0059] Specifically, a detection image to be processed is obtained, and a scene prediction is performed on the detection image according to the classification scene. At the same time, the detection image is input into the target detection weight model corresponding to the predicted scene to perform plankton detection to obtain the total number of plankton. The present invention performs pixel normalization processing on the scene classification result, which enables the architecture of the present invention to adapt to different sea areas, different turbidity and different biological species, expands the breadth of the application environment of the neural network architecture, reduces the loss rate of plankton detection and recognition, and at the same time, the pixel normalization processing improves the clarity of the image and increases the recognition accuracy of the network architecture.
[0060] In a specific embodiment, as shown in FIG4 , the process of executing step S104 may specifically include the following steps:
[0061] S401, generating a proofreading result set based on the plankton target detection result and the detail proofreading category data set;
[0062] S402: Perform a difference comparison between the plankton target detection result and the proofreading result set to obtain a target result set.
[0063] Specifically, upon receiving a difference comparison instruction, the data format information of the plankton target detection result and the proofreading result set is obtained, and based on the format information, it is determined whether the text information can be directly obtained according to the corresponding encoding format. If so, the data content is directly read; if not, the optical character recognition model is called to obtain the data content, forming data content data, and comparing the data content of the plankton target detection result and the proofreading result set to obtain the target result set.
[0064] The above describes the plankton target detection and classification method of the dual neural network architecture in the embodiment of the present invention. The following describes the plankton target detection and classification device of the dual neural network architecture in the embodiment of the present invention. Please refer to Figure 5. An embodiment of the plankton target detection and classification device of the dual neural network architecture in the embodiment of the present invention includes:
[0065] A construction module 501 is used to construct a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model, and a detail proofreading model;
[0066] The prediction module 502 is used to obtain a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain a target scene optimization result;
[0067] A detection module 503 is configured to input the target image into the target detection weight model to perform plankton detection based on the target scene optimization result, thereby obtaining a plankton target detection result;
[0068] The proofreading module 504 is configured to perform a difference comparison based on the plankton target detection result and the detail proofreading category data set to obtain a target result set.
[0069] Through the collaborative cooperation of the above-mentioned components, a plankton detection model set is constructed, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model and a detail proofreading model; a target image to be processed is obtained, and the target image is input into the scene classification weight model for scene classification prediction to obtain a target scene optimization result; based on the target scene optimization result, the target image is input into the target detection weight model for plankton detection to obtain a plankton target detection result; a difference comparison is performed based on the plankton target detection result and the detail proofreading category data set to obtain a target result set. The present invention improves the accuracy of plankton target detection.
[0070] The present invention also provides a plankton target detection and classification device with a duplex neural network architecture, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the plankton target detection and classification method with the duplex neural network architecture in the above-mentioned embodiments.
[0071] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the plankton target detection and classification method of the complex neural network architecture.
[0072] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0073] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0074] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A plankton target detection and classification method based on a composite neural network architecture, characterized in that: The plankton target detection and classification method of the composite neural network architecture includes: Constructing a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model, and a detail proofreading model; Acquire a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction, so as to obtain a target scene optimization result; According to the target scene optimization result, the target image is input into the target detection weight model to perform plankton detection to obtain a plankton target detection result; A difference comparison is performed based on the plankton target detection results and the detail proofreading category data set to obtain a target result set.
2. The plankton target detection and classification method based on a composite neural network architecture according to claim 1, characterized in that: The step of acquiring a target image to be processed and inputting the target image into the scene classification weight model for scene classification prediction to obtain a target scene optimization result includes: Acquire a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain an initial scene classification result; A preprocessing operation is performed on the initial scene classification result to obtain a target scene optimization result.
3. The plankton target detection and classification method based on a composite neural network architecture according to claim 1, characterized in that: The step of inputting the target image into the target detection weight model to perform plankton detection according to the target scene optimization result to obtain a plankton target detection result includes: According to the target scene optimization result, loading a corresponding target detection model to perform target detection on the target image, wherein the target detection model includes: a feature extraction network, a region generation network and a target prediction network; The target image is subjected to plankton detection by using the target detection model to obtain a plankton target detection result.
4. The plankton target detection and classification method based on a composite neural network architecture according to claim 3, characterized in that: The performing plankton detection on the target image by using the target detection model to obtain a plankton target detection result includes: Extracting image features from the target image through the feature extraction network to obtain image feature data; Inputting the image feature data into the region generation network to extract feature regions to obtain image feature regions; The image feature region is input into the target detection network to perform plankton detection to obtain a plankton target detection result.
5. The method for detecting and classifying plankton targets using a composite neural network architecture according to claim 1, characterized in that: The difference comparison is performed based on the plankton target detection result and the detail proofreading category data set to obtain a target result set, including: Generate a proofreading result set according to the plankton target detection result and the detail proofreading category data set; The plankton target detection result and the proofreading result set are compared for differences to obtain a target result set.
6. A plankton target detection and classification device with a complex neural network architecture, characterized in that: The plankton target detection and classification device of the composite neural network architecture includes: A construction module is used to construct a plankton detection model set, wherein the plankton target detection model set includes: a scene classification weight model, a target detection weight model and a detail proofreading model; A prediction module is used to obtain a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain a target scene optimization result; A detection module, used for inputting the target image into the target detection weight model to perform plankton detection according to the target scene optimization result, and obtaining a plankton target detection result; The proofreading module is used to perform a difference comparison based on the plankton target detection result and the detail proofreading category data set to obtain a target result set.
7. The plankton target detection and classification device with a complex neural network architecture according to claim 6 is characterized in that: The prediction module is specifically used for: Acquire a target image to be processed, and input the target image into the scene classification weight model to perform scene classification prediction to obtain an initial scene classification result; A preprocessing operation is performed on the initial scene classification result to obtain a target scene optimization result.
8. The plankton target detection and classification device with a complex neural network architecture according to claim 6, characterized in that: The detection module is specifically used for: According to the target scene optimization result, loading a corresponding target detection model to perform target detection on the target image, wherein the target detection model includes: a feature extraction network, a region generation network and a target prediction network; The target image is subjected to plankton detection by using the target detection model to obtain a plankton target detection result.
9. A plankton target detection and classification device with a complex neural network architecture, characterized in that: The plankton target detection and classification device of the complex neural network architecture includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory so that the plankton target detection and classification device of the compound neural network architecture executes the plankton target detection and classification method of the compound neural network architecture as described in any one of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, a plankton target detection and classification method based on a complex neural network architecture as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Water body plankton intelligent monitoring platform and method integrating Internet of Things
CN108507625A
Marine organism identification system and identification method based on deep neural network
CN112149612A
Rail foreign matter detection method based on semi-automatic labeling and improved deep learning
CN114926456A
Plankton scene classification method, device and equipment and storage medium
CN116071596A
Plankton proofreading method, device and equipment and storage medium
CN116186559A
