Marine garbage area estimation method based on deep learning and drone remote sensing

Through deep learning and drone remote sensing technology, combined with the Mask R-CNN model, the problem of low efficiency and high cost of marine debris survey is solved, fast and accurate estimation of marine debris area is achieved, and manpower and time costs are reduced.

CN118298326BActive Publication Date: 2024-08-27NATIONAL MARINE ENVIRONMENTAL MONITORING CENTRE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410718088.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-27
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

Existing technologies have low efficiency, limited monitoring range, and high labor costs in marine debris surveys, making it difficult to carry out widely and unable to quickly and accurately estimate the area of ​​marine debris in coastal zones.

Method used

Using methods based on deep learning and drone remote sensing, the Mask R-CNN model is used to obtain segmentation information of marine debris. Combined with the efficient survey capabilities of drones, orthophotos and deep learning models are used to automatically identify marine debris and calculate marine debris. The pixel ratio is multiplied by the coverage area to estimate the area of ​​marine debris.

Benefits of technology

It achieves rapid and accurate identification and estimation of the area of ​​marine debris in the coastal zone, reduces labor and time costs, and improves investigation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118298326B
    Figure CN118298326B
Patent Text Reader

Abstract

The present invention discloses a method for estimating the area of ​​marine garbage based on deep learning and drone remote sensing. The method uses drones to obtain high-resolution image data near the coast, and automatically processes and identifies drone images through a deep learning model to achieve the purpose of extracting marine garbage information, and then multiplies the pixel ratio of the extracted marine garbage by the imaging area of ​​the drone orthophoto to estimate the actual marine garbage area. The present invention can quickly and accurately detect marine garbage in the coastal zone and identify the marine garbage area in its aerial image, thereby roughly estimating the area of ​​marine garbage, reducing the manpower cost and time cost of marine garbage surveys in the coastal zone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of deep learning image segmentation and marine garbage detection and area estimation, and in particular to a method for estimating the area of ​​marine garbage based on deep learning and unmanned aerial vehicle remote sensing. Background Art

[0002] Marine debris pollution has become an important global issue due to the potential risks it poses to marine ecosystems and human health. Affected by tides, waves, and wind, the coastal zone is an important place for marine debris accumulation. For a long time, domestic and foreign countries have monitored beach debris through field sampling surveys, but this method has the disadvantages of low efficiency, limited monitoring range, and high labor costs, making it difficult to carry out widely. In recent years, the rapid development of UAV remote sensing technology has made fast and efficient marine debris survey methods gradually become an increasingly popular choice. At the same time, research on image segmentation technology based on deep learning methods has also made great progress, especially the widespread application of convolutional neural networks (CNN) in the field of image recognition, which has enabled more applications in automatic identification and classification of marine debris. Based on this, how to achieve rapid estimation of the area of ​​marine debris in the coastal zone based on UAV remote sensing and image recognition technology is the key to reducing labor costs and time costs. Summary of the invention

[0003] The present invention is provided to solve the above-mentioned problems existing in the prior art. Therefore, a method for estimating the area of ​​marine garbage based on deep learning and UAV remote sensing is needed. The correlation information between the marine garbage characterization features and other background information features contained in the UAV remote sensing image is learned based on the advantages of the deep learning model, and the segmentation information of the marine garbage is obtained by using the Mask branch in the Mask R CNN model. In addition, the drone has the ability to quickly conduct large-scale surveys and photographs of the coastal zone. Combining it with the automatic identification method of the deep learning model, it can quickly and accurately detect marine garbage in the coastal zone and identify the marine garbage area in its aerial image, thereby roughly estimating the area of ​​marine garbage and reducing the manpower cost and time cost of the coastal marine garbage survey.

[0004] Therefore, the present invention provides a method for estimating the area of ​​marine garbage based on deep learning and drone remote sensing, the method comprising:

[0005] Acquire the marine debris drone remote sensing image and perform orthophoto stitching on the marine debris drone remote sensing image to obtain an orthophoto image;

[0006] Creating a training data set based on the orthophoto, wherein the training data set includes training samples and label data corresponding to the training samples;

[0007] Constructing a deep learning model, and training the deep learning model using the training data set to obtain a trained weight file;

[0008] Obtain orthophotos of garbage spots in the coastal zone, use the trained deep learning model to identify marine garbage in the orthophotos, obtain a segmented image of marine garbage, and calculate the proportion of identified marine garbage pixels in the orthophotos, where the orthophotos are taken by a drone;

[0009] The coverage area of ​​the drone orthophotos is calculated according to the flight altitude of the drone orthophotos, and the coverage area is multiplied by the proportion of the identified marine garbage pixels in the orthophotos to estimate the marine garbage area of ​​the coastal garbage point.

[0010] Furthermore, the following methods are used to obtain the remote sensing images of marine debris by drones:

[0011] Set a collection area, select an area with more beach garbage and richer garbage types as the collection area for UAV remote sensing images of marine garbage, set multiple image control points in the collection area, and collect UAV remote sensing images of marine garbage in the collection area through multiple image control points.

[0012] Furthermore, the marine debris drone remote sensing image is subjected to orthophoto stitching processing to obtain an orthophoto image, specifically including:

[0013] Based on the marine garbage drone remote sensing image, the real geographic coordinate data obtained by the image control points are punctured in the image and then spliced ​​into an orthophoto.

[0014] Furthermore, a training data set is prepared according to the orthophoto, specifically including:

[0015] Based on the orthophoto, according to the remote sensing interpretation characteristics of marine garbage, the range of marine garbage is extracted to obtain vector range data of marine garbage;

[0016] The vector range data of marine debris is combined with the data range of the orthophoto to produce raster data of the same size as the orthophoto range, thus obtaining the label image data;

[0017] Furthermore, the orthophoto image and the label image data are cut into training samples and label data of 512×512 size according to the overlapping remote sensing image, specifically including:

[0018] When the area of ​​the actual cropped image is A and the area to be stitched is a, the overlap ratio of adjacent cropped images is determined to be 1-r 1 / 2 , where r represents the percentage of a in A.

[0019] Furthermore, the deep learning model is trained using the training data set, specifically including:

[0020] Grayscale and binarize the marine garbage sample images. Based on the training with spatial domain information, Fourier transform is used to convert the grayscale and binarized images from the spatial domain to the frequency domain. The transformed images and the original sample data are used as training data sets.

[0021] The training data set is input into a deep learning model, and image features are extracted through the ResNet backbone network in the deep learning model. The ResNet backbone network includes 5 different convolution modules. The image is subjected to 5 different convolution modules of the ResNet backbone network to extract features, and 5 feature layers of different sizes are obtained. The 5 feature layers of different sizes are input into the feature pyramid network (FPN) of the deep learning model, and the candidate boxes are generated and initially screened through the region candidate network layer (RPN). The screened candidate areas are input into the region matching network layer (ROIAlign) to be converted into regions of interest of the same size, and the feature layers output by ROIAlign are classified, regressed, and mask generated;

[0022] Setting training parameters, including initial learning rate, rounds, and number of iterations in each round;

[0023] The deep learning model is trained with the set training parameters to obtain a weight file, and the deep learning model is configured with the weight file to obtain a trained deep learning model.

[0024] Further, the coverage area photographed by the drone is calculated according to the flight altitude of the drone orthophoto, specifically including:

[0025] The coverage area of ​​the drone photography is calculated by the following formula:

[0026] L=H / h × l

[0027] W=H / h × w

[0028] S=L×W

[0029] Wherein, L represents the coverage length of the drone orthophoto, l represents the length of the image sensor, H represents the flight altitude, h represents the focal length of the sensor lens, W represents the coverage width of the drone orthophoto, w represents the width of the image sensor, and S represents the coverage area of ​​the drone orthophoto. The marine garbage area estimation method based on deep learning and drone remote sensing according to each solution of the present invention has at least the following technical effects:

[0030] Compared with the prior art, the present invention firstly utilizes the advantages of deep learning convolutional neural network automatic identification to achieve the purpose of automatically and accurately identifying marine garbage in the coastal zone. Secondly, the present invention proposes a method for quickly estimating the area of ​​marine garbage. The principle of this method is to use the actual coverage area of ​​orthophotos taken by drones at different altitudes and multiply it by the proportion of marine garbage in the photos to estimate the area of ​​marine garbage. This method is suitable for rapid investigation of coastal garbage area in actual work, which can greatly improve the efficiency of investigation. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the embodiments of the invention. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.

[0032] Figure 1 An overall flow chart of a method for estimating marine garbage area based on deep learning and drone remote sensing according to an embodiment of the present invention is shown;

[0033] Figure 2 A flow chart of a method for estimating marine garbage area based on deep learning and drone remote sensing according to an embodiment of the present invention is shown;

[0034] Figure 3 A flowchart of collecting marine garbage drone remote sensing images and data processing according to an embodiment of the present invention is shown;

[0035] Figure 4 A flowchart of producing training samples and label data for a deep learning model according to an embodiment of the present invention is shown;

[0036] Figure 5 A flowchart of training sample data based on the Mask R CCN model according to an embodiment of the present invention is shown;

[0037] Figure 6 A diagram showing the calculation principle of the flight altitude and ground coverage area of ​​a drone according to an embodiment of the present invention is shown;

[0038] Figure 7 A structural diagram of a Mask R-CNN model according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0039] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and specific embodiments, but are not intended to limit the present invention. For the various steps described herein, if there is no necessity for a causal relationship between each other, the order in which they are described as examples herein should not be regarded as a limitation, and those skilled in the art should know that they can be adjusted in order, as long as the logic between them is not destroyed, resulting in the inability to implement the entire process.

[0040] The embodiment of the present invention provides a method for estimating the marine garbage area in the coastal zone based on deep learning and drone remote sensing. Figure 1 The figure shows the overall flow chart of this method. This method is based on the advantages of UAVs being able to quickly obtain high-precision marine garbage images and deep learning convolutional neural networks automatically extracting characteristic feature information of sample objects. The Mask branch of the Mask R CNN deep learning model is used to accurately and finely identify and segment coastal marine garbage. Finally, the proportion of marine garbage in the segmented image is multiplied by the actual coverage area of ​​the photo to obtain the area of ​​real marine garbage, so as to achieve the purpose of quickly estimating the area of ​​marine garbage.

[0041] In detail, Figure 2 As shown, the method for estimating the area of ​​marine garbage based on deep learning and UAV remote sensing includes steps S100 to S500, which are described in detail as follows.

[0042] Step S100, obtaining the marine debris UAV remote sensing image and performing orthophoto stitching processing on the marine debris UAV remote sensing image to obtain an orthophoto image.

[0043] In some embodiments, Figure 3 As shown, the step S100 specifically includes:

[0044] Step S101, select different types of beaches (such as sandy beaches, mudflats, dams or bedrock) and areas rich in garbage types (including plastics, foam, rubber, metal, etc.) as data collection areas, use drones to orthophotograph the collection areas, and obtain marine garbage data.

[0045] For example, first, the route of the drone is planned and set. In order to ensure that the resolution of the drone's orthophoto is higher than 1 cm, the flight altitude is set below 37m, the heading overlap rate is 80%, the side overlap rate is 70%, and the shooting is vertically downward. Before the drone flies, multiple image control points should be arranged according to the actual situation. The image control points are evenly arranged at the four corners and the center of the survey area, and the GNSS receiver is used to smoothly collect the image control points ten times, and collect their CGCS2000 coordinates for image position correction and control.

[0046] Step S102, input the collected UAV remote sensing image into Pix4d software, and input the real geographic coordinates of the image control points into Pix4d, then perform stabbing, and finally splice into an orthophoto.

[0047] It should be noted that the Pix4d software mentioned in this embodiment is an existing mature software. It can be understood that when implementing step S102, including but not limited to, the Pix4d software can be applied for implementation. This is just an example and not a limitation of the present invention.

[0048] Step S200: creating a training data set according to the orthophoto, wherein the training data set includes training samples and label data corresponding to the training samples.

[0049] In some embodiments, Figure 4 As shown, the step S200 specifically includes:

[0050] Step S201, extracting vector range data of marine debris through orthophotos.

[0051] Exemplarily, the orthophoto synthesized in step S102 is input into ArcGIS software, and the scope of marine debris is extracted in ArcGIS software through visual interpretation method according to the remote sensing interpretation characteristics of marine debris.

[0052] Step S202, creating label grid data consistent with the orthophoto range.

[0053] Exemplarily, all marine debris spots are assigned an attribute value of 1. Using the "Feature to Raster" tool of ArcGIS, the marine debris vector data is created as a raster. In the newly created label raster data, pixels with a value of 1 represent marine debris, and pixels with a value of 0 represent background.

[0054] It should be noted that the ArcGIS software mentioned in this embodiment is an existing mature software. It can be understood that when extracting the vector range data of marine debris, including but not limited to, ArcGIS software can be used for implementation. This is just an example and not a limitation of the present invention.

[0055] Step S203, creating training samples and label data. The orthophoto image obtained in step S102 and the label image obtained in step S202 are cut into training samples and label data sets of 512×512 in size according to the overlap of the remote sensing images, and the processed data sets are divided into a training data set and a verification data set.

[0056] Specifically, in step S203, the images are cropped with overlap. Assuming that the area of ​​the actual cropped images is A, and the area to be stitched is a (the percentage of a to A is r), the overlap ratio of adjacent cropped images is 1-r. 1 / 2 The orthophoto and label images were cropped step by step in the order of rows and columns using Python program to obtain sample and label images with exactly the same position and size. Finally, they were divided into training data set and validation data set in the ratio of 80% and 20%.

[0057] Step S300: construct a deep learning model, and train the deep learning model using the training data set.

[0058] In this embodiment, the Mask R-CNN model is used as the deep learning model. The structure of the Mask R-CNN model is as follows: Figure 7 As shown, and further combined Figure 5 As shown, the step S300 specifically includes:

[0059] Step S301, grayscale and binarize the marine garbage sample image, and then use Fourier transform to convert the image from the spatial domain to the frequency domain based on the training using spatial domain information, and use the transformed image together with the original sample data as training data.

[0060] Step S302, input the training data set obtained in step S301 into the Mask R-CNN model. Mask R-CNN first extracts image features through the ResNet backbone network, and its network structure mainly includes 5 different convolution modules (Conv1, Conv2_x, Conv3_x, Conv4_x, Conv5_x). The image is extracted through 5 different convolution modules of the ResNet network to obtain 5 feature layers of different sizes, which are then input into the feature pyramid network. Then, after passing through the RPN layer, ROIAlign is input into the target area of ​​marine debris. Finally, the feature layer output by ROIAlign is classified, regressed, and masked.

[0061] Step S303, setting training parameters: the initial learning rate is set to 0.001, the training is set to 30 rounds, the number of iterations in each round is 1000 times, and the weight decay coefficient is 0.005.

[0062] Step S304, finally obtaining the weight file of the model training, which is used to identify marine debris in the orthophoto.

[0063] For example, taking the DJI Mavic 3E field shooting as an example, a beach-type coastal zone was selected as the sample collection area, and more than 2,300 orthophotos were taken, which were finally stitched into orthophotos, covering a total of 5 hectares of coastal zone with a length of about 1.1 hectares. At least 1,200 sample patches were extracted from the orthophotos and made into training samples and labels. The Mask R CNN model was used for training, and the final model sensitivity was 51% and the accuracy was 76%.

[0064] Step S400, obtaining a single photo, using a trained deep learning model to identify marine debris in the single photo, and obtaining the proportion of marine debris pixels in the single photo identified by segmentation image calculation, wherein the single photo is obtained by taking a drone.

[0065] For example, an orthophoto of marine garbage at a certain spot on the beach was taken at a height of 20m. The garbage area was measured to be 221.63m 2 The trained Mask R CNN model is used to segment the marine debris in a single orthophoto and calculate that the marine debris pixels account for 36.4% of the pixels in the entire photo.

[0066] Step S500, calculating the coverage area of ​​the drone photograph according to the flight altitude of the drone orthophoto, multiplying the coverage area by the proportion of the identified marine debris pixels in a single photo, and estimating the area of ​​the marine debris in the single photo.

[0067] Specifically, Figure 6 As shown, the area captured by the drone orthophoto is determined by the drone's flight altitude. The area is calculated in a similar way to the principle of pinhole imaging. The coverage area captured by the drone can be calculated using the following formula:

[0068] L=H / h × l

[0069] W=H / h × w

[0070] S=L×W

[0071] Among them, L represents the coverage length of the drone photography, H represents the flight altitude, h represents the focal length of the sensor, l represents the length of the photo, W represents the coverage width of the drone photo, w represents the width, and S represents the coverage area captured by the drone.

[0072] Just as an example, take the photos taken by DJI Mavic 3E as an example. Assuming that the distance between the drone and the ground when taking the photo is 20m, and the focal length of DJI Mavic 3E is 12mm, the sensor width and height are 17.3mm and 13mm respectively, then the actual ground length of the photo is 20m / 12mm×17.3mm≈28.83m. Similarly, the actual ground width of the photo is about 21.67m. The final area of ​​the real ground captured in the photo is about 28.83×21.67≈624.65m. 2 The estimated area of ​​marine garbage is 624.65×36.4%≈227.37 m 2 , which is only 5.74 m away from the actual marine garbage area. 2 .

[0073] Obviously, the above embodiments are merely examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the protection scope of the present invention.

Claims

1. A method for estimating marine garbage area based on deep learning and drone remote sensing, characterized in that: The method comprises: Acquire the marine debris drone remote sensing image and process the marine debris drone remote sensing image to obtain an orthophoto; Creating a training data set based on the orthophoto, wherein the training data set includes training samples and label data corresponding to the training samples; Constructing a deep learning model, and training the deep learning model using the training data set; Obtain a single photo, use the trained deep learning model to identify marine debris in the single photo, and obtain the ratio of marine debris pixels in the single photo that are identified by segmentation image calculation, where the single photo is taken by a drone; Calculate the coverage area of ​​the drone photo according to the flight altitude of the drone orthophoto, multiply the coverage area by the proportion of the identified marine debris pixels in a single photo, and estimate the area of ​​marine debris in the single photo; The training data set is produced according to the orthophoto, specifically including: Based on the orthophoto, according to the remote sensing interpretation characteristics of marine garbage, the range of marine garbage is extracted to obtain vector range data of marine garbage; The vector range data of marine debris is combined with the data range of the orthophoto to produce raster data of the same size as the orthophoto range, thus obtaining the label image data; Cutting the orthophoto and the label image data into training samples and label data of a set size in a manner that they overlap; The orthophoto image and the label image data are cut into training samples and label data of a set size in a manner that they overlap, specifically comprising: When the area of ​​the actual cropped image is A and the area to be stitched is a, the overlap ratio of adjacent cropped images is determined to be 1-r 1 / 2 , where r represents the percentage of a in A; The coverage area of ​​the drone photography is calculated based on the flight altitude of the drone orthophoto, specifically including: The coverage area of ​​the drone photography is calculated by the following formula: L=H / h × l W=H / h × w S=L×W Where L represents the coverage length of the drone orthophoto. l represents the length of the image sensor, H represents the flight altitude, h represents the focal length of the lens, W represents the coverage width of the drone’s orthophoto, w It represents the width of the image sensor, and S represents the coverage area of ​​the drone’s orthophoto.

2. The method according to claim 1, characterized in that The following methods are used to obtain the remote sensing images of marine debris by drone: A collection area is set, and a plurality of image control points are set in the collection area, and the marine garbage drone remote sensing images of the collection area are collected through the plurality of image control points.

3. The method according to claim 2, characterized in that The marine debris drone remote sensing image is processed to obtain an orthophoto, specifically including: Based on the marine garbage drone remote sensing image, the real geographic coordinate data obtained by the image control points are punctured in the image and then spliced ​​into an orthophoto.

4. The method according to claim 1, characterized in that: Using the training data set to train the deep learning model specifically includes: Grayscale and binarize the marine garbage sample images. Based on the training with spatial domain information, Fourier transform is used to convert the grayscale and binarized images from the spatial domain to the frequency domain. The transformed images and the original sample data are used as training data sets. The training data set is input into a deep learning model, and image features are extracted through a ResNet backbone network in the deep learning model. The ResNet backbone network includes 5 different convolution modules. The image is subjected to 5 different convolution modules of the ResNet backbone network to extract features, and 5 feature layers of different sizes are obtained. The 5 feature layers of different sizes are input into a feature pyramid network in the deep learning model, and candidate frames are generated and preliminarily screened through a region candidate network layer. The screened candidate regions are input into a region matching network layer to be converted into regions of interest of the same size, and the feature layers output by ROIAlign are classified, regressed, and masked; Setting training parameters, including initial learning rate, rounds, and number of iterations in each round; The deep learning model is trained with the set training parameters to obtain a weight file, and the deep learning model is configured with the weight file to obtain a trained deep learning model.