A method for monitoring offshore oil pollution using drones based on the fusion of multiple machine learning algorithms
The UAV maritime oil pollution monitoring method integrated with multiple machine learning algorithms, combined with convolutional neural network, wavelet neural network and SVM, achieves high-precision, low-cost, all-weather maritime oil pollution monitoring, solving the limitations of monitoring scope in existing technologies. and high cost issues, improving the efficiency and safety of oil spill detection.
Patent Information
- Application Number
- CN202111267660.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-10-29
AI Technical Summary
Existing marine oil spill monitoring technology has problems such as limited monitoring range, high cost, and being affected by climate conditions, making it difficult to achieve efficient, low-cost, all-weather oil spill detection.
Using a UAV maritime oil pollution monitoring method based on multiple machine learning algorithms, combined with convolutional neural network, wavelet neural network and SVM, the UAV collects sea surface images, performs image preprocessing and feature extraction, and builds multiple neural network models to achieve Automated, real-time oil pollution identification and alarm.
It achieves high-precision, low-cost, all-weather maritime oil pollution monitoring, reduces the risk of oil spill detection, saves human resources, and improves the accuracy and efficiency of subsequent oil containment work.
Smart Images

Figure CN114022794B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of marine pollution monitoring, and specifically relates to a method for monitoring marine oil pollution using an unmanned aerial vehicle based on the fusion of multiple machine learning algorithms. Background Art
[0002] In recent years, with the increasing demand for crude oil and the continuous progress of the marine transportation industry, the marine transportation volume of oil and its products has continued to increase, and the frequency of oil spills in the process of marine oil exploration, development and transportation has also continued to increase, often causing large-scale marine pollution and causing serious damage to marine ecosystems, fisheries, public health and other social interests. Although people have made many preparations for oil spills, due to the unpredictability and suddenness of marine oil spills, the marine pollution problem caused by oil spills is still serious. How to determine the occurrence of oil spills at the first time is still a top priority, and marine oil spill pollution monitoring is of great significance.
[0003] In the detection of oil spills on the sea surface, the commonly used technologies currently include satellite remote sensing monitoring, aerial remote sensing monitoring and patrol ship monitoring. Satellite remote sensing monitoring has the advantages of a wide monitoring range, real-time detection around the clock, and easy processing of image data, but it requires the use of expensive and limited satellite equipment, a long revisit cycle, low spatial resolution, and is subject to climatic conditions. Aerial remote sensing monitoring has the advantages of strong mobility, high spatial resolution, and the ability to monitor large areas in real time, but the cost of calling aircraft is high and it is subject to the influence of complex marine environment and climatic conditions. Patrol ship monitoring has a certain degree of mobility and can monitor oil spills at sea in rainy and foggy days, but the monitoring range is small. Summary of the invention
[0004] The purpose of the present invention is to provide a method for monitoring offshore oil pollution using an unmanned aerial vehicle (UAV) based on the fusion of multiple machine learning algorithms, which combines the advantages of low cost, real-time convenience, and strong maneuverability of UAVs with the excellent image classification capabilities of convolutional neural networks, wavelet neural networks, and SVMs, thereby achieving higher monitoring accuracy and reducing the danger of oil spill detection. The all-weather, automated oil pollution monitoring further saves human resources, while making subsequent oil containment work more accurate and efficient, and can serve as a beneficial supplement to the existing technology.
[0005] In order to solve the above technical problems, the technical solution of the present invention is: a method for monitoring oil pollution at sea by using drones based on the fusion of multiple machine learning algorithms, comprising the following steps:
[0006] Collect multiple sets of sea surface images through drones to create training samples;
[0007] The training samples were preprocessed and the convolutional neural network training set was established through data enhancement. The feature vectors were extracted through image compression and DCT transformation to establish the wavelet neural network training set. The gray-level co-occurrence matrix of the training samples was calculated, the image texture feature values were selected, and the SVM training set was established.
[0008] Construct a convolutional neural network model and select a convolutional neural network training set for unsupervised learning to obtain a trained convolutional neural network;
[0009] Construct a wavelet neural network model and select a wavelet neural network training set for training to obtain a trained wavelet neural network;
[0010] Select the SVM training set, input the feature vector to build the SVM training model, and obtain the trained SVM classifier;
[0011] Use drones to cruise and take photos in the target sea area to obtain pictures of the sea surface where oil pollution is unknown;
[0012] Use the trained convolutional neural network and the trained wavelet neural network to identify the sea surface pictures with unknown oil pollution, generate recognition results, and use the recognition results as the basis for judging whether the target sea area has oil pollution;
[0013] Select the corresponding sea areas with oil pollution problems in the identification results and report the incident to the supervision center.
[0014] The data augmentation methods for establishing the convolutional neural network training set include at least mirror flipping, random rotation, random cropping and color perturbation.
[0015] The specific steps of establishing the wavelet neural network training set are: perform two-dimensional wavelet decomposition on the training samples, extract the low-frequency part, and quantize the encoding; use two-dimensional DCT to extract the characteristic coefficient matrix, and select the part of the characteristic coefficient matrix containing a large amount of energy as the input vector of the wavelet neural network model.
[0016] The image texture feature values selected in the SVM training set include at least entropy, energy, consistency, contrast and variance, and the image texture feature values are used as feature vectors input to the SVM.
[0017] The convolutional neural network model adopts a Lenet-5-like structure, which includes the following 7 layers of network structure: convolution layer C1, pooling layer S2, convolution layer C3, pooling layer S4, convolution layer C5, fully connected layer F6 and output layer.
[0018] The method for judging whether there is oil pollution in the target sea area is as follows: the sea surface picture of unknown presence or absence of oil pollution is submitted to the convolutional neural network and the wavelet neural network for parallel recognition. If the recognition results of both are yes, it is judged that there is oil pollution in the target sea area; if the recognition results of both are no, it is judged that there is no oil pollution in the target sea area; if the recognition results of both are one and no, the image target collected by the UAV is submitted to the SVM for recognition. If the SVM recognition result is yes, it is judged that there is oil pollution in the target sea area; if the SVM recognition result is no, it is judged that there is no oil pollution in the target sea area; among them, the recognition result of yes indicates that the neural network or classifier judges that there is oil pollution in the target sea area, and the recognition result of no indicates that the neural network or classifier judges that there is oil pollution in the target sea area.
[0019] A system for using the above-mentioned method for monitoring oil pollution at sea using a drone based on the fusion of multiple machine learning algorithms is also provided, comprising:
[0020] The acquisition module is used to collect multiple sets of sea surface images through drones to establish training samples;
[0021] The preprocessing module is used to perform image preprocessing on the training samples and establish a convolutional neural network training set through data enhancement; extract feature vectors through image compression and DCT transformation to establish a wavelet neural network training set; calculate the gray-level co-occurrence matrix of the training samples, select image texture feature values, and establish an SVM training set;
[0022] The training module is used to construct a convolutional neural network model and select a convolutional neural network training set for unsupervised learning to obtain a trained convolutional neural network; construct a wavelet neural network model and select a wavelet neural network training set for training to obtain a trained wavelet neural network; select an SVM training set, input a feature vector to model the SVM training, and obtain a trained SVM classifier;
[0023] The judgment module is used to use the acquisition module to cruise and take pictures in the target sea area after the training module completes the training, so as to obtain sea surface pictures of unknown presence or absence of oil pollution; use the trained convolutional neural network and the trained wavelet neural network to identify the sea surface pictures of unknown presence or absence of oil pollution, generate recognition results, and use the recognition results as the basis for judging whether the target sea area has oil pollution; select the corresponding sea area with oil pollution problems in the recognition results, and alarm the supervision center.
[0024] The data enhancement method for establishing the convolutional neural network training set in the preprocessing module at least includes mirror flipping, random rotation, random cropping and color perturbation; the specific steps for establishing the wavelet neural network training set are: performing two-dimensional wavelet decomposition on the training samples, extracting the low-frequency part, and quantizing the encoding; using two-dimensional DCT to extract the feature coefficient matrix, and selecting the part of the feature coefficient matrix containing a large amount of energy as the input vector of the wavelet neural network model; the image texture eigenvalues selected in the SVM training set include at least entropy, energy, consistency, contrast and variance, and the image texture eigenvalues are used as the eigenvectors of the input SVM.
[0025] The convolutional neural network model in the training module adopts a Lenet-5-like structure, which includes the following 7-layer network structure: convolution layer C1, pooling layer S2, convolution layer C3, pooling layer S4, convolution layer C5, fully connected layer F6 and output layer.
[0026] The method for judging whether the target sea area has oil pollution in the judgment module is as follows: the sea surface picture of unknown oil pollution is submitted to the convolutional neural network and the wavelet neural network for parallel recognition. If the recognition results of both are yes, it is judged that the target sea area has oil pollution; if the recognition results of both are no, it is judged that the target sea area does not have oil pollution; if the recognition results of the two are one and no, the image target collected by the drone is submitted to the SVM for recognition. If the SVM recognition result is yes, it is judged that the target sea area has oil pollution; if the SVM recognition result is no, it is judged that the target sea area does not have oil pollution; among them, the recognition result of yes indicates that the neural network or classifier judges that the target sea area has oil pollution, and the recognition result of no indicates that the neural network or classifier judges that the target sea area does not have oil pollution.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] The present invention provides a method for monitoring offshore oil pollution based on unmanned aerial vehicles and multiple neural networks, which combines the advantages of low cost, real-time convenience and high maneuverability of unmanned aerial vehicles with the excellent image classification capabilities of convolutional neural networks, wavelet neural networks and SVMs, thereby achieving higher monitoring accuracy and reducing the danger of oil spill detection. The all-weather, automated oil pollution monitoring further saves human resources and makes subsequent oil containment work more accurate and efficient, thereby serving as a beneficial supplement to existing technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of a flow chart of an embodiment of the present invention;
[0030] FIG2(a) is an original image of a training sample in a convolutional neural network training set in an embodiment of the present invention; FIG2(b) is a horizontally flipped image of a training sample in a convolutional neural network training set in an embodiment of the present invention; FIG2(c) is a vertically flipped image of a training sample in a convolutional neural network training set after color perturbation in an embodiment of the present invention; FIG2(d) is a randomly cropped image of a training sample in a convolutional neural network training set after color perturbation in an embodiment of the present invention;
[0031] Figure 3 This is a flow chart of SVM training in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0033] To achieve this purpose, the technical solution steps adopted by the present invention are as follows:
[0034] (1) Use drones to collect a large number of sea surface images and establish training samples.
[0035] (2) Perform image preprocessing on the training samples. Establish a training set for the convolutional neural network through data enhancement; extract feature vectors through image compression and DCT transformation to establish a training set for the wavelet neural network; and establish a training set for the SVM by calculating the gray-level co-occurrence matrix of the training samples and selecting the eigenvalues of the image texture.
[0036] (3) Construct a convolutional neural network model and select the corresponding training set for unsupervised learning to obtain a trained convolutional neural network.
[0037] (4) Construct a wavelet neural network model and select the corresponding training set for training to obtain a trained wavelet neural network.
[0038] (5) Select the SVM training set, input the feature vector to build the SVM training model, and obtain the trained SVM classifier.
[0039] (6) Use drones to cruise and take photos in the target sea area to obtain images of the sea surface where it is unknown whether there is oil pollution.
[0040] (7) Using the trained multiple neural networks to identify the image targets collected by the drone in step (6), the identification results are used as the basis for determining whether there is oil pollution in the target sea area.
[0041] (8) Alert the supervision center via AIS when there is oil pollution in the sea area.
[0042] In the step (2), the data enhancement methods used for the convolutional neural network training set include mirror flipping, random rotation, random cropping and color disturbance. The image compression method used for the wavelet neural network training set is to perform two-dimensional wavelet decomposition on the image, extract the low-frequency part therein, and quantize and encode it. The two-dimensional DCT is used to extract the characteristic coefficient matrix of the compressed image, and the part containing a large amount of energy in the characteristic coefficient matrix is selected as the input vector of the wavelet neural network model. The image texture feature values selected for the SVM training set include entropy, energy, consistency, contrast and variance, and these five feature values constitute the feature vector input to the SVM.
[0043] In the step (3), the convolutional neural network adopts a Lenet-5-like structure, which includes a total of 7 layers of network structure excluding the input layer, namely, convolution layer C1, pooling layer S2, convolution layer C3, pooling layer S4, convolution layer C5, fully connected layer F6 and output layer.
[0044] Reference Figure 1 The present invention provides a method for monitoring oil pollution at sea using a drone based on the fusion of multiple machine learning algorithms. When it is specifically applied to actual scenarios, the recognition and judgment of the target image is carried out according to the following process: the image target collected by the drone is first submitted to the convolutional neural network and the wavelet neural network for parallel recognition. If the recognition results are all yes, it is judged that there is oil pollution in the target sea area; if the recognition results are all no, it is judged that there is no oil pollution in the target sea area; if the recognition results are one and one no, the image target collected by the drone is submitted to SVM for recognition. If the SVM recognition result is yes, it is judged that there is oil pollution in the target sea area; if the SVM recognition result is no, it is judged that there is no oil pollution in the target sea area. The recognition result is used as the basis for judging whether there is oil pollution in the target sea area. If the recognition result shows oil pollution, the sea area with oil pollution problems will be reported to the supervision center through AIS.
[0045] Referring to Figure 2, in the process of establishing a training set, the present invention mainly collects training samples by means of drone cruise photography, but due to the objective limitations of the environment and equipment, there is still a certain gap in the diversity of samples from the training needs of the deep learning network. For this problem, the present invention uses a data enhancement method to increase the diversity of pictures and the amount of training data based on the collection of sea surface pictures. The advantage of using the data enhancement method is that it can improve the environmental adaptability of the oil spill recognition model, increase the anti-noise ability, and also improve the robustness and practicality of the oil spill recognition model. The data enhancement methods used in the present invention include: mirror flipping, random rotation, random cropping and color perturbation, etc. Through these data enhancement methods, a vertical and horizontal symmetrical image of the original image can be formed; the angle of the oil spill image to be identified can be adjusted to form oil spill images at different angles; the size of the cropped image can be set, and a part of the original image can be randomly taken; images with different saturation, brightness, contrast, sharpness and other parameters from the original image can be generated, so as to achieve the purpose of obtaining a large amount of data before training and establish a relatively complete and diverse training set.
[0046] After two-dimensional wavelet decomposition of the training samples, the image is divided into two parts: low frequency and high frequency. At this time, the energy of the image is mainly concentrated in the low-frequency component. The low-frequency scale space describes the approximate characteristics of the image and reflects the approximate representation of the image as a whole; the high-frequency part only contains its edge information in the horizontal and vertical directions, and has obvious directionality. The low-frequency part in the first-level decomposition structure of the image is extracted, and the low-frequency part of the first-level decomposition is quantized and encoded. It can not only reduce the dimension of the feature data, but also effectively preserve the key information of the original image, reducing the error of feature extraction. The two-dimensional DCT transform feature coefficients of the image are not easily disturbed by factors such as noise, illumination and rotation, which can effectively reduce the adverse effects of the external environment on the image. Therefore, the DCT transform is applied to the compressed image, and the part containing a large amount of energy in the coefficient matrix is selected as the input vector of the wavelet neural network model.
[0047] Reference Figure 3 Gray-level co-occurrence matrix is a widely used texture statistical analysis method and texture measurement technology, which can obtain texture information well without losing necessary information. For each gray-level co-occurrence matrix, several eigenvalues of the texture can be obtained. The present invention selects five commonly used texture features to construct a eigenvector:
[0048] Contrast reflects the clarity of the image and the depth of the texture grooves. The more pixel pairs with grayscale difference, that is, large contrast, the greater Con.
[0049] Entropy mainly describes the disorder of the image and also describes the average amount of information in the image source.
[0050] The angular second moment is a measure of the uniformity of image distribution. When the texture is coarse, its value is larger.
[0051] Consistency reflects the homogeneity of image texture and measures the local changes in image texture. A large value indicates that there is a lack of changes between different regions of the image texture and the local texture is very uniform.
[0052] The size of correlation reflects the fineness of the image texture. A small correlation indicates a larger texture, and a large correlation indicates a finer texture.
[0053] These texture features of the training sample images are extracted, and then the SVM is trained to find the best classifier to realize the recognition and judgment of oil pollution.
[0054] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.
[0055] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for monitoring oil pollution at sea using drones based on the fusion of multiple machine learning algorithms. It is characterized in that The following steps are involved: Collect multiple sets of sea surface images through drones to create training samples; The training samples were preprocessed and the convolutional neural network training set was established through data enhancement. The feature vectors were extracted through image compression and DCT transformation to establish the wavelet neural network training set. The gray-level co-occurrence matrix of the training samples was calculated, the image texture feature values were selected, and the SVM training set was established. Construct a convolutional neural network model and select a convolutional neural network training set for unsupervised learning to obtain a trained convolutional neural network; Construct a wavelet neural network model and select a wavelet neural network training set for training to obtain a trained wavelet neural network; Select the SVM training set, input the feature vector to build the SVM training model, and obtain the trained SVM classifier; Use drones to cruise and take photos in the target sea area to obtain pictures of the sea surface where oil pollution is unknown; Use the trained convolutional neural network and the trained wavelet neural network to identify the sea surface pictures with unknown oil pollution, generate recognition results, and use the recognition results as the basis for judging whether the target sea area has oil pollution; Select the corresponding sea areas with oil pollution problems in the identification results and report to the supervision center; The method for judging whether there is oil pollution in the target sea area is as follows: the sea surface picture of unknown presence or absence of oil pollution is submitted to the convolutional neural network and the wavelet neural network for parallel recognition. If the recognition results of both are yes, it is judged that there is oil pollution in the target sea area; if the recognition results of both are no, it is judged that there is no oil pollution in the target sea area; if the recognition results of both are one and no, the image target collected by the UAV is submitted to the SVM for recognition. If the SVM recognition result is yes, it is judged that there is oil pollution in the target sea area; if the SVM recognition result is no, it is judged that there is no oil pollution in the target sea area; among them, the recognition result of yes indicates that the neural network or classifier judges that there is oil pollution in the target sea area, and the recognition result of no indicates that the neural network or classifier judges that there is oil pollution in the target sea area.
2. According to claim 1, a method for monitoring oil pollution at sea using drones based on the fusion of multiple machine learning algorithms, It is characterized in that The data augmentation methods for establishing the convolutional neural network training set include at least mirror flipping, random rotation, random cropping and color perturbation.
3. According to claim 1, a method for monitoring oil pollution at sea using drones based on the fusion of multiple machine learning algorithms, It is characterized in that The specific steps of establishing the wavelet neural network training set are: perform two-dimensional wavelet decomposition on the training samples, extract the low-frequency part, and quantize the encoding; use two-dimensional DCT to extract the characteristic coefficient matrix, and select the part of the characteristic coefficient matrix containing a large amount of energy as the input vector of the wavelet neural network model.
4. According to claim 1, a method for monitoring oil pollution at sea using drones based on the fusion of multiple machine learning algorithms, It is characterized in that The image texture feature values selected in the SVM training set include at least entropy, energy, consistency, contrast and variance, and the image texture feature values are used as feature vectors of the input SVM.
5. According to claim 1, a method for monitoring oil pollution at sea using drones based on the fusion of multiple machine learning algorithms, It is characterized in that The convolutional neural network model adopts a Lenet-5-like structure, which includes the following 7 layers of network structure: convolution layer C1, pooling layer S2, convolution layer C3, pooling layer S4, convolution layer C5, fully connected layer F6 and output layer.
6. A system using the method for monitoring oil pollution at sea by using a drone based on the fusion of multiple machine learning algorithms as claimed in claim 1, It is characterized in that include: The acquisition module is used to collect multiple sets of sea surface images through drones to establish training samples; The preprocessing module is used to perform image preprocessing on the training samples and establish a convolutional neural network training set through data enhancement; extract feature vectors through image compression and DCT transformation to establish a wavelet neural network training set; calculate the gray-level co-occurrence matrix of the training samples, select image texture feature values, and establish an SVM training set; The training module is used to construct a convolutional neural network model and select a convolutional neural network training set for unsupervised learning to obtain a trained convolutional neural network; construct a wavelet neural network model and select a wavelet neural network training set for training to obtain a trained wavelet neural network; Select the SVM training set, input the feature vector to build the SVM training model, and obtain the trained SVM classifier; The judgment module is used to use the acquisition module to cruise and take pictures in the target sea area after the training module is completed, so as to obtain sea surface pictures with or without oil pollution; the trained convolutional neural network and the trained wavelet neural network are used to identify the sea surface pictures with or without oil pollution, generate recognition results, and use the recognition results as the basis for judging whether the target sea area has oil pollution; the corresponding sea area with oil pollution problems in the recognition results is selected, and an alarm is sent to the supervision center; The method for judging whether the target sea area has oil pollution in the judgment module is as follows: the sea surface picture of unknown oil pollution is submitted to the convolutional neural network and the wavelet neural network for parallel recognition. If the recognition results of both are yes, it is judged that the target sea area has oil pollution; if the recognition results of both are no, it is judged that the target sea area does not have oil pollution; if the recognition results of the two are one and no, the image target collected by the drone is submitted to the SVM for recognition. If the SVM recognition result is yes, it is judged that the target sea area has oil pollution; if the SVM recognition result is no, it is judged that the target sea area does not have oil pollution; among them, the recognition result of yes indicates that the neural network or classifier judges that the target sea area has oil pollution, and the recognition result of no indicates that the neural network or classifier judges that the target sea area does not have oil pollution.
7. The system according to claim 6, It is characterized in that The data enhancement method for establishing the convolutional neural network training set in the preprocessing module at least includes mirror flipping, random rotation, random cropping and color perturbation; the specific steps for establishing the wavelet neural network training set are: performing two-dimensional wavelet decomposition on the training samples, extracting the low-frequency part, and quantizing the encoding; using two-dimensional DCT to extract the feature coefficient matrix, and selecting the part of the feature coefficient matrix containing a large amount of energy as the input vector of the wavelet neural network model; the image texture eigenvalues selected in the SVM training set include at least entropy, energy, consistency, contrast and variance, and the image texture eigenvalues are used as the eigenvectors of the input SVM.
8. The system according to claim 6, It is characterized in that The convolutional neural network model in the training module adopts a Lenet-5-like structure, which includes the following 7-layer network structure: convolution layer C1, pooling layer S2, convolution layer C3, pooling layer S4, convolution layer C5, fully connected layer F6 and output layer.
