A method and device for collecting sea surface pollutant data based on a dual-stage method

Through a two-stage sea surface pollutant data collection method, UAV image collection and powder dropping technology are used to obtain three-dimensional data of sea surface pollutants, which solves the problem of difficulty in quantitative analysis in the existing technology and achieves more efficient pollution control. Thickness measurement and data analysis.

CN117147545BActive Publication Date: 2024-10-25GUANGDONG POLYTECHNIC NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311105909.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2024-10-25
Estimated Expiration
2043-08-29

AI Technical Summary

Technical Problem

The existing UAV sea surface pollutant data collection method can only collect two-dimensional images, making it difficult to achieve quantitative analysis and lacking three-dimensional data.

Method used

Using a two-stage sea surface pollutant data collection method, the first drone is used to conduct real-time image collection and qualitative analysis, select a designated location to drop the powder, and use the second drone to collect images at different time points, combined with ultraviolet irradiation, Obtain image data before and after the heavy object falls to form a sea surface pollutant data package.

Benefits of technology

It achieves quantitative analysis of sea surface pollutants, obtains three-dimensional data with higher information density, and supports more accurate pollutant thickness measurement and data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117147545B_ABST
    Figure CN117147545B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for collecting sea surface pollutant data based on a two-stage method, wherein the method comprises: a first UAV terminal controls a first UAV to perform a first-stage real-time image collection and processing; performs a qualitative analysis of sea surface pollutants; selects at least one designated location; performs a powder delivery process; a second UAV terminal controls a second UAV to fly to the at least one designated location to perform a heavy object drop process; performs a second-stage image collection and processing; turns on an ultraviolet generator to perform image collection and processing to obtain at least two third images; uses the qualitative analysis results, the second image and the at least two third images together as a sea surface pollutant data packet, thereby completing the data collection process and achieving the purpose of data collection with higher information density.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of computers, and in particular to a method and device for collecting sea surface pollutant data based on a dual-stage method. Background Art

[0002] Marine pollution is always accompanied by the process of marine resource development, so sea surface pollutants inevitably exist in some sea areas. In order to control the degree of marine pollution, it is necessary to collect and process the data of these sea surface pollutants. At present, with the development of drone technology, drones can be used to collect and process images of these sea surface pollutants. However, the current drone image collection and processing method is only to take pictures of polluted sea areas in the air, which can only obtain flat sea surface image data, which is only suitable for qualitative analysis of sea surface pollutants. Therefore, the existing sea surface pollutant data collection scheme needs to be improved. Summary of the invention

[0003] The present invention proposes a dual-stage sea surface pollutant data collection method, comprising the following steps:

[0004] S1: The first UAV terminal controls the first UAV to perform patrol flight along a preset trajectory, and uses a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition and processing to obtain a first real-time image sequence;

[0005] S2: the first UAV terminal performs a qualitative analysis of the sea surface pollutants according to a preset sea surface pollutant qualitative detection method based on at least a portion of the images in the first real-time image sequence, outputs a qualitative analysis result, and sends the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants;

[0006] S3: The first UAV terminal selects at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method;

[0007] S4: The first UAV terminal performs a powder placement process at the at least one designated location to place a preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants;

[0008] S5: The second drone terminal communicates with the first drone terminal, and controls the second drone to fly to the at least one designated location according to the communication result, and performs a heavy object drop process at the first time point to drop the heavy object preset in the second drone to the sea surface location where the powder is dropped;

[0009] S6: The second drone terminal uses a second visible light image collector preset in the second drone to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point;

[0010] S7: The second UAV terminal turns on the ultraviolet generator preset in the second UAV at the third time point, so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and uses the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than the preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface;

[0011] S8: The second UAV terminal uses the qualitative analysis result, the second image and at least two third images as a data packet of sea surface pollutants, thereby completing the data collection process.

[0012] Furthermore, before step S2 of the first UAV terminal performing a qualitative analysis of the sea surface pollutants based on at least a portion of the images in the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, outputting a qualitative analysis result, and sending the qualitative analysis result to a preset second UAV terminal, the method includes:

[0013] S11: using a preset visible light image collector to respectively perform image acquisition and processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images;

[0014] S12: According to the pollutant types corresponding to the multiple sample polluted sea areas, label the multiple sample pollution images respectively to obtain multiple corresponding sample data;

[0015] S13: Divide the plurality of sample data into a plurality of training data and a plurality of test data;

[0016] S14: calling a preset deep convolutional neural network model, and inputting a plurality of training data into the deep convolutional neural network model for training to obtain a preliminary analysis model;

[0017] S15: using a plurality of test data to perform a test process on the preliminary analysis model, and determining whether the test process result is a pass;

[0018] S16: If the result of the detection processing is that the detection is passed, the preliminary analysis model is used as a qualitative analysis model for sea surface pollutants;

[0019] The step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the first real-time image sequence according to the preset sea surface pollutant qualitative detection method to output a qualitative analysis result, and sending the qualitative analysis result to a preset second UAV terminal includes:

[0020] S201: inputting at least a portion of the images in the first real-time image sequence into the sea surface pollutant qualitative analysis model for processing, so as to obtain a qualitative analysis result output by the sea surface pollutant qualitative analysis model;

[0021] S202: Send the qualitative analysis result to a preset second drone terminal.

[0022] Furthermore, in the step S11 of using a preset visible light image collector to respectively perform image acquisition processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images, the plurality of sample contaminated images are acquired when the plurality of sample contaminated sea areas are in a calm state;

[0023] In the step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the images in the first real-time image sequence according to the preset sea surface pollutant qualitative detection method, outputting a qualitative analysis result, and sending the qualitative analysis result to the preset second UAV terminal, at least a portion of the images in the first real-time image sequence are acquired when the sea surface is in a calm state;

[0024] In the step S6 of using a second visible light image collector preset in the second drone at the second time point to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped to obtain a second image, at the second time point, the heavy object does not contact the sea surface, and the second image is acquired when the sea surface is in a calm state.

[0025] Furthermore, the step S3 of selecting at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method includes:

[0026] S301: performing a multi-color value selection process on a first real-time image corresponding to the sea area where the sea surface pollutant is located to obtain a plurality of color values; wherein the distance difference between any two selected color values ​​is greater than a preset distance threshold;

[0027] S302: performing difference processing on a plurality of color values ​​to obtain a plurality of color value differences, and determining whether the plurality of color value differences are all less than a preset difference threshold;

[0028] S303: If the multiple color value differences are all smaller than the preset difference threshold, only the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located is selected as the designated position.

[0029] Furthermore, after step S302 of performing subtraction processing on the multiple color values ​​to obtain multiple color value differences and determining whether the multiple color value differences are all less than a preset difference threshold, the following steps are included:

[0030] S3021: If the differences of the multiple color values ​​are not uniformly smaller than a preset difference threshold, determining whether the selected color value includes the center point of the first real-time image corresponding to the sea area where the sea surface pollutants are located;

[0031] S3022: If included, all color value selection locations are taken as designated locations;

[0032] S3023: If not included, the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located, and all the locations where the color values ​​are selected, are used as designated locations.

[0033] Furthermore, after the step S8 of using the qualitative analysis result, the second image and at least two third images together as the sea surface pollutant data packet to complete the data collection process, the following steps are included:

[0034] S81: according to the qualitative analysis result, calling the corresponding thickness prediction model;

[0035] S82: inputting the second image and at least two third images into a thickness prediction model to obtain a thickness value output by the thickness prediction model;

[0036] Before the step S81 of calling the corresponding thickness prediction model according to the qualitative analysis result, the following steps are included:

[0037] S801: For a sea area where the pollutant thickness is known and the pollutant type is the same as the qualitative analysis result, a powder placement process is performed to place the preset powder on and / or in the sea surface pollutants;

[0038] S802: Dropping a heavy object at the location of the sea surface where the powder is dropped to create splashes;

[0039] S803: performing image acquisition processing using a visible light image collector to obtain a second sample image;

[0040] S804: Turning on the ultraviolet generator to irradiate the sea surface where the powder is placed with ultraviolet rays, and using the visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third sample images;

[0041] S805: combining the second sample image and at least two third sample images into a sample image set, and marking corresponding contaminant thickness labels;

[0042] S806: Adjust the sea area or adjust the pollutant thickness, repeat steps S801-S805 to obtain multiple labeled sample image sets, and use the multiple labeled sample image sets to train a preset deep neural network model to obtain the thickness prediction model.

[0043] The present invention provides a dual-stage sea surface pollutant data collection device, comprising:

[0044] A first real-time image acquisition module is used to instruct the first UAV terminal to control the first UAV to perform patrol flight along a preset trajectory, and use a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition processing to obtain a first real-time image sequence;

[0045] The qualitative analysis module is used to instruct the first UAV terminal to perform a qualitative analysis of the sea surface pollutants based on at least a portion of the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, so as to output a qualitative analysis result, and send the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants;

[0046] A location selection module, used to instruct the first UAV terminal to select at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method;

[0047] a powder delivery module, used to instruct the first UAV terminal to perform powder delivery processing at the at least one designated location, so as to deliver the preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants;

[0048] A heavy object falling module is used to instruct the second drone terminal to communicate with the first drone terminal, and control the second drone to fly to the at least one designated location according to the communication result, and perform a heavy object falling process at a first time point to drop the heavy object preset in the second drone to the sea surface location where the powder is dropped;

[0049] A second image acquisition module is used to instruct the second drone terminal to use a second visible light image collector preset in the second drone to perform a second-stage image acquisition process on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point;

[0050] The third image acquisition module is used to instruct the second drone terminal to turn on the ultraviolet generator preset in the second drone at a third time point so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and use the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than a preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface;

[0051] The data packet generation module is used to instruct the second UAV terminal to use the qualitative analysis results, the second image and at least two third images as a sea surface pollutant data packet, thereby completing the data collection process.

[0052] The present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0053] The present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the methods and steps described above is implemented.

[0054] The present invention is based on a two-stage sea surface pollutant data collection method and device. The first UAV terminal controls the first UAV to perform a first-stage real-time image collection and processing; performs a qualitative analysis of sea surface pollutants; selects at least one designated location; performs a powder delivery process; the second UAV terminal controls the second UAV to fly to the at least one designated location to perform a heavy object drop process; performs a second-stage image collection and processing; turns on an ultraviolet generator to perform image collection and processing to obtain at least two third images; uses the qualitative analysis results, the second image and the at least two third images together as a sea surface pollutant data packet, thereby completing the data collection process and achieving the purpose of data collection with higher information density (for example, the collected data can be used for quantitative analysis of sea surface pollutants). BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a schematic diagram of the process of a dual-stage sea surface pollutant data collection method according to an embodiment of the present invention;

[0056] Figure 2 It is a schematic block diagram of the structure of a dual-stage sea surface pollutant data collection device according to an embodiment of the present invention;

[0057] Figure 3 The present invention is a block diagram showing the structure of a computer device according to an embodiment of the present invention.

[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.

[0061] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone.

[0062] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0063] Reference Figure 1 The embodiment of the present invention provides a method for collecting sea surface pollutant data based on a dual-stage method, comprising the following steps:

[0064] S1: The first UAV terminal controls the first UAV to perform patrol flight along a preset trajectory, and uses a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition and processing to obtain a first real-time image sequence;

[0065] S2: the first UAV terminal performs a qualitative analysis of the sea surface pollutants according to a preset sea surface pollutant qualitative detection method based on at least a portion of the images in the first real-time image sequence, outputs a qualitative analysis result, and sends the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants;

[0066] S3: The first UAV terminal selects at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method;

[0067] S4: The first UAV terminal performs a powder placement process at the at least one designated location to place a preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants;

[0068] S5: The second drone terminal communicates with the first drone terminal, and controls the second drone to fly to the at least one designated location according to the communication result, and performs a heavy object drop process at the first time point to drop the heavy object preset in the second drone to the sea surface location where the powder is dropped;

[0069] S6: The second drone terminal uses a second visible light image collector preset in the second drone to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point;

[0070] S7: The second UAV terminal turns on the ultraviolet generator preset in the second UAV at the third time point, so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and uses the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than the preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface;

[0071] S8: The second UAV terminal uses the qualitative analysis result, the second image and at least two third images as a data packet of sea surface pollutants, thereby completing the data collection process.

[0072] The present invention relates to the collection of sea surface pollutant data, and does not include the subsequent data analysis process, that is, the present invention does not limit the subsequent data analysis process. Therefore, any feasible scheme for performing data analysis on the sea surface pollutant data packets collected by the present invention is within the protection scope of the present invention.

[0073] The analysis process of the sea surface pollutant data packet of the present invention can be processed by a simple manual analysis method or an intelligent analysis method. The most crude manual analysis method is, for example, to call a plurality of pre-set comparison images (images of the same pollutant type under different thicknesses under the influence of a heavy object falling) according to the qualitative analysis results, and then compare the differences between the comparison image, the second image and at least two third images with the naked eye, so as to obtain a relatively rough quantitative analysis result (i.e., the pollutant thickness).

[0074] The reasons why the present invention is implemented include:

[0075] 1. The thickness of the pollutant is related to the degree of change in the sea surface caused by the fall of heavy objects.

[0076] For example, for highly viscous oil pollutants, the larger the thickness value, the smaller the splashes after the heavy object falls, and the darker the color under visible light. In addition, the density and distribution of pollutants in the waves generated by the heavy object falls are also directly related to the thickness of the pollutants, and these densities and distribution states will also be reflected in the wave image.

[0077] Therefore, the condition of the sea surface covered with pollutants after a heavy object falls is different from that of the sea surface not covered with pollutants after a heavy object falls; the condition of the sea surface covered with thinner pollutants after a heavy object falls is different from that of the sea surface covered with thicker pollutants after a heavy object falls (this will be reflected in the visible light image, for example, in the visible light image, the size of the waves, the color of the waves and other features are related to the thickness of the pollutants). Generally speaking, the sea surface covered with pollutants (such as highly viscous oil pollutants) will suppress the scale of waves generated by the fall of heavy objects, while the sea surface covered with thicker pollutants has a stronger ability to suppress the scale of waves generated by the fall of heavy objects.

[0078] Based on this, compared with traditional data collection schemes, the data collection scheme of the present invention can collect three-dimensional data by collecting visible light images after heavy objects fall in polluted sea areas, which is not only conducive to qualitative analysis, but also to quantitative analysis.

[0079] 2. Use a preset powder made of visible light material that can absorb ultraviolet rays and then emit a specified color to construct the color hierarchy of the image, which is conducive to subsequent quantitative data analysis.

[0080] The present invention can be applied to any feasible scenario, preferably to the scenario of data collection of pollutant-rich sea surface, and the collected data can be used as the basis for analyzing three-dimensional data (such as pollutant thickness). The enriched pollutant can be any feasible pollutant, such as oil pollutants, algae pollutants, etc.

[0081] The present invention has the following characteristics:

[0082] 1. The dual-UAV solution makes it unnecessary for the first UAV to change its flight altitude, which is conducive to preliminary rapid detection; the second UAV can fly quickly and control the appropriate flight altitude at the detection position, and can fly at high speed at positions that do not require detection, which is conducive to overall rapid detection. Compared with the single-UAV solution, the overall efficiency is improved.

[0083] 2. The visible light images before and after the heavy object falls are used as the collected data to obtain three-dimensional data, rather than the plane data of the traditional solution, which makes it possible to realize subsequent quantitative detection.

[0084] 3. The powder is made of visible light material that can absorb ultraviolet rays and then emit a specified color, thereby improving the color hierarchy and facilitating the accurate analysis of subsequent data.

[0085] As described in the above steps S1-S4, the first UAV terminal controls the first UAV to perform patrol flight along a preset trajectory, and uses the first visible light image collector preset in the first UAV to perform the first stage of real-time image acquisition processing to obtain a first real-time image sequence; the first UAV terminal, according to the preset sea surface pollutant qualitative detection method, performs a qualitative analysis of the sea surface pollutants based on at least a part of the images in the first real-time image sequence, outputs the qualitative analysis results, and sends the qualitative analysis results to the preset second UAV terminal; wherein the qualitative analysis results are the types of sea surface pollutants; the first UAV terminal, according to the preset position selection method, selects at least one designated position above the sea area where the sea surface pollutants are located; the first UAV terminal performs powder delivery processing at the at least one designated position to deliver the preset powder on the sea surface pollutants and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then radiate a specified color, and the specified color is different from the color of the current sea surface pollutants.

[0086] The executor at this time is the first UAV terminal, and its main purpose is to conduct preliminary rapid detection. It can control the first UAV to cruise horizontally at the same altitude, that is, the preset trajectory is at the same altitude, which is conducive to rapid detection and to improving the flight time.

[0087] The first real-time image sequence is obtained by collecting images of the sea surface, which may include polluted sea areas or unpolluted sea areas (this is the reason why it is based on at least a part of the images in the first real-time image sequence, rather than all the images in the first real-time image sequence). Therefore, it is necessary to conduct a qualitative analysis first to determine whether there are sea surface pollutants and the specific types of sea surface pollutants. Among them, the qualitative detection method of sea surface pollutants can be any feasible method, such as using an image recognition algorithm to output qualitative analysis results. Since only the first real-time image sequence of the plane is obtained at this time, it is impossible to conduct further quantitative analysis.

[0088] The position selection method can be any feasible method, which can select a suitable designated position based on the corresponding first real-time image, and the designated position will be used for subsequent further image acquisition, so powder delivery processing, heavy object falling processing, image acquisition processing, etc. are required here.

[0089] The preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color. It can be any feasible material, such as a maleic anhydride copolymer-based resin (used to absorb ultraviolet rays and emit blue visible light) or a rare earth-based doped material (such as rare earth-doped calcium titanate). According to the energy band theory, since its energy gap is adjusted after being doped, the ground state electrons can be stimulated to jump upward to a higher energy band under the condition of ultraviolet irradiation, and the electrons in the higher energy band are unstable and will jump downward multiple times, thereby emitting multiple photons. When the corresponding energy gap during the multiple downward jumps matches the color of certain visible light, the phenomenon of absorbing ultraviolet rays and reflecting visible light of the corresponding color will occur. In addition, the intrinsic color of the preset powder is not limited by the present invention, but it is preferably a color similar to that of marine pollutants.

[0090] The purpose of using this special preset powder in the present invention is that, firstly, it will not interfere with normal image data acquisition (when the ultraviolet generator is not turned on), and secondly, it can provide image data with color levels (when the ultraviolet generator is turned on), and the normal image data and the image data under ultraviolet light collected in a very short time (which can be regarded as simultaneous) can form a sharp contrast, which is conducive to determining the distribution status of the preset powder. Combined with the subsequent image data of the falling heavy object, it is easier and more accurate to determine the state of wave spray being suppressed by sea surface pollutants, which is conducive to determining the thickness of sea surface pollutants.

[0091] In addition, if further accuracy of data collection and data analysis is sought, the time of delivery of the preset powder, the diffusion time in the pollutant, and the collection time points of the second image and the third image can be precisely controlled, thereby utilizing the different characteristics of the diffusion speed of the preset powder in seawater and the diffusion speed in the pollutant, so as to facilitate the analysis of the interface between the pollutant and the seawater. However, this is a further solution, and even if this preferred method of precise control is not adopted, it will not affect the implementation of the present invention. In addition, the reason for using this special powder instead of directly using ordinary pigments is that ordinary pigments are relatively difficult to identify and are easily interfered with (because there may be interferers of similar colors), and when using this special powder, due to the difference between the previous and next images (i.e., the first of the subsequent second image and the third image), the initial distribution state of the preset powder can be clearly known.

[0092] Furthermore, the powder delivery treatment can also be carried out by throwing or catapulting the object wrapped with preset powder (can be wrapped in thin ice cubes) into the sea surface, thereby increasing the speed at which the powder diffuses into the pollutants on the sea surface. Of course, the outer layer of the object can be decomposed in the pollutants on the sea surface.

[0093] In one embodiment, the first UAV terminal performs a qualitative analysis of the sea surface pollutants based on at least a portion of the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, outputs a qualitative analysis result, and sends the qualitative analysis result to a preset second UAV terminal before step S2, including:

[0094] S11: using a preset visible light image collector to respectively perform image acquisition and processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images;

[0095] S12: According to the pollutant types corresponding to the multiple sample polluted sea areas, label the multiple sample pollution images respectively to obtain multiple corresponding sample data;

[0096] S13: Divide the plurality of sample data into a plurality of training data and a plurality of test data;

[0097] S14: calling a preset deep convolutional neural network model, and inputting a plurality of training data into the deep convolutional neural network model for training to obtain a preliminary analysis model;

[0098] S15: using a plurality of test data to perform a test process on the preliminary analysis model, and determining whether the test process result is a pass;

[0099] S16: If the result of the detection processing is that the detection is passed, the preliminary analysis model is used as a qualitative analysis model for sea surface pollutants;

[0100] The step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the first real-time image sequence according to the preset sea surface pollutant qualitative detection method to output a qualitative analysis result, and sending the qualitative analysis result to a preset second UAV terminal includes:

[0101] S201: inputting at least a portion of the images in the first real-time image sequence into the sea surface pollutant qualitative analysis model for processing, so as to obtain a qualitative analysis result output by the sea surface pollutant qualitative analysis model;

[0102] S202: Send the qualitative analysis result to a preset second drone terminal.

[0103] The present invention uses a qualitative analysis model of sea surface pollutants based on a deep convolutional neural network model to perform preliminary analysis to determine the type of sea surface pollutants. Since the first real-time image sequence includes multiple first real-time images, when there are multiple polluted sea areas, multiple qualitative analysis results will be output, and the first real-time image sequence also includes first real-time images corresponding to unpolluted sea areas, and these first real-time images will not correspond to the type of sea surface pollutants, which is why a description method based on at least a portion of the images in the first real-time image sequence is used.

[0104] In one embodiment, in the step S11 of using a preset visible light image collector to respectively perform image acquisition processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images, the plurality of sample contaminated images are acquired when the plurality of sample contaminated sea areas are in a calm state;

[0105] In the step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the images in the first real-time image sequence according to the preset sea surface pollutant qualitative detection method, outputting a qualitative analysis result, and sending the qualitative analysis result to the preset second UAV terminal, at least a portion of the images in the first real-time image sequence are acquired when the sea surface is in a calm state;

[0106] In the step S6 of using a second visible light image collector preset in the second drone at the second time point to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped to obtain a second image, at the second time point, the heavy object does not contact the sea surface, and the second image is acquired when the sea surface is in a calm state.

[0107] As described in the above steps, it is ensured that all image data are collected when the sea surface is calm, which can make the collected data more convincing and help improve the credibility of subsequent data analysis results. The calm state can be determined based on the visible light image collector. For example, the visible light image collector collects two images at a preset time interval, and then compares the difference between the two images to determine whether the sea surface is calm.

[0108] In one embodiment, the step S3 of selecting at least one designated location above the sea area where the sea surface pollutant is located according to a preset location selection method includes:

[0109] S301: performing a multi-color value selection process on a first real-time image corresponding to the sea area where the sea surface pollutant is located to obtain a plurality of color values; wherein the distance difference between any two selected color values ​​is greater than a preset distance threshold;

[0110] S302: performing difference processing on a plurality of color values ​​to obtain a plurality of color value differences, and determining whether the plurality of color value differences are all less than a preset difference threshold;

[0111] S303: If the multiple color value differences are all smaller than the preset difference threshold, only the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located is selected as the designated position.

[0112] As described in the above steps, select a suitable designated position. If the difference between multiple color values ​​is not large, that is, the multiple color value differences are all less than the preset difference threshold, it indicates that the sea surface pollutants are evenly distributed, so only the center point of the first real-time image corresponding to the sea area where the sea surface pollutants are located is selected as the designated position. This avoids selecting multiple unnecessary designated positions and reduces unnecessary consumption of computing resources.

[0113] Furthermore, after step S302 of performing subtraction processing on the multiple color values ​​to obtain multiple color value differences and determining whether the multiple color value differences are all less than a preset difference threshold, the following steps are included:

[0114] S3021: If the differences of the multiple color values ​​are not uniformly smaller than a preset difference threshold, determining whether the selected color value includes the center point of the first real-time image corresponding to the sea area where the sea surface pollutants are located;

[0115] S3022: If included, all color value selection locations are taken as designated locations;

[0116] S3023: If not included, the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located, and all the locations where the color values ​​are selected, are used as designated locations.

[0117] Therefore, when the color value difference is large, a plurality of relatively comprehensive designated positions are selected, and the plurality of designated positions must include the center point of the first real-time image, so that more comprehensive data can be collected.

[0118] As described in the above steps S5-S8, the second drone terminal communicates with the first drone terminal, and controls the second drone to fly to the at least one designated location according to the communication result, and performs a heavy object falling process at a first time point to drop the heavy object preset in the second drone to the sea surface position where the powder is placed; the second drone terminal uses a second visible light image collector preset in the second drone at a second time point to perform a second stage image acquisition process on the sea surface position where the powder is placed to obtain a second image; wherein the second time point is after the first time point; the second drone terminal turns on the ultraviolet generator preset in the second drone at a third time point to make The position of the sea surface where the powder is dropped by ultraviolet irradiation is obtained, and a second visible light image collector is used to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than a preset interval value, and the first image of the at least two third images is acquired when the heavy object does not contact the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface; the second UAV terminal uses the qualitative analysis results, the second image and the at least two third images together as a sea surface pollutant data packet, thereby completing the data acquisition process.

[0119] The execution subject at this time is the second drone terminal. The second drone controlled by the second drone terminal of the present invention takes off after the first drone, because it takes time for the preset powder to diffuse. Since the second drone terminal communicates with the first drone terminal first, the second drone terminal can obtain relevant information, such as the location of powder delivery, the time of powder delivery, the type of powder, etc. Further, in order to collect data more accurately, the first time point can be accurately controlled according to the diffusion speed of the powder in the current sea surface pollutants and the time of powder delivery. Of course, a predetermined first time point can also be set based only on empirical data (that is, the time difference between the first time point and the powder delivery time point is a fixed value). Therefore, the first time point, the second time point and the third time point in the present invention can all be preset values.

[0120] Any feasible heavy object can be used for the treatment of falling heavy objects, and such heavy objects can be recyclable or non-recyclable. The recyclable type means that there is a rope connection between the heavy object and the drone, and the heavy object can be recovered through the rope after the heavy object falls; the non-recyclable type means that when the heavy object falls, the heavy object will sink to the bottom of the sea. The purpose of the falling of heavy objects is to change the state of the sea surface, and under the same conditions of the falling of heavy objects, the sea surface pollutants with larger thickness values ​​will suppress the changes in the sea surface state more, which is why the present invention collects data according to the above scheme.

[0121] At the second time point, a second visible light image collector preset in the second drone is used to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped to obtain a second image. The second image at this time is an original image, which can be regarded as a basic control image, and does not include the color data of the preset image stimulated to display. In addition, the second visible light image collector is preferably a high-speed camera. The second time point can also be a preset time point, that is, the time difference between the second time point and the first time point is a preset value.

[0122] At the third time point, the ultraviolet generator preset in the second drone is turned on to irradiate the sea surface position where the powder is dropped with ultraviolet light, and the second visible light image collector is used to perform image acquisition processing without changing the shooting parameters to obtain at least two third images. It should be noted that when the third image is acquired, its shooting parameters are the same as those when the second image is acquired, which makes the second image have a correlation relationship that can be directly compared, which is conducive to using the second image and at least two third images as a data packet. In addition, there are at least two third images, the first of which is acquired when the sea surface state has not changed, that is, the first image of at least two third images is acquired when the weight does not touch the sea surface. The difference between the third image and the second image at this time can be regarded as the difference in the specified color generated by the preset powder under the stimulation of ultraviolet light. The other third images can be further used as a basis for measuring the degree of change in the sea surface state after the heavy object falls.

[0123] Furthermore, the time difference between the third time point and the second time point should be as small as possible, that is, the interval between the third time point and the second time point is less than a preset interval value. The third time point can also be set based on experience, that is, the difference between the third time point and the second time point is a predetermined value.

[0124] As can be seen from the above, the second image and at least two third images can be used as the basis for analyzing thickness data, that is, as the basis for quantitative analysis. Combined with the above qualitative analysis results, the purpose of more comprehensive and accurate data collection can be achieved. Therefore, the qualitative analysis results, the second image and at least two third images are used as the sea surface pollutant data packet to complete the data collection process. In addition, the second image or the third image in the present invention not only includes information such as pixel color value, but also includes other information such as image acquisition time point.

[0125] In one embodiment, after the step S8 of using the qualitative analysis result, the second image and the at least two third images together as the sea surface pollutant data packet to complete the data collection process, the process includes:

[0126] S81: according to the qualitative analysis result, calling the corresponding thickness prediction model;

[0127] S82: inputting the second image and at least two third images into a thickness prediction model to obtain a thickness value output by the thickness prediction model;

[0128] Before the step S81 of calling the corresponding thickness prediction model according to the qualitative analysis result, the following steps are included:

[0129] S801: For a sea area where the pollutant thickness is known and the pollutant type is the same as the qualitative analysis result, a powder placement process is performed to place the preset powder on and / or in the sea surface pollutants;

[0130] S802: Dropping a heavy object at the location of the sea surface where the powder is dropped to create splashes;

[0131] S803: performing image acquisition processing using a visible light image collector to obtain a second sample image;

[0132] S804: Turning on the ultraviolet generator to irradiate the sea surface where the powder is placed with ultraviolet rays, and using the visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third sample images;

[0133] S805: combining the second sample image and at least two third sample images into a sample image set, and marking corresponding contaminant thickness labels;

[0134] S806: Adjust the sea area or adjust the pollutant thickness, repeat steps S801-S805 to obtain multiple labeled sample image sets, and use the multiple labeled sample image sets to train a preset deep neural network model to obtain the thickness prediction model.

[0135] Although the present invention does not limit how to perform data analysis, an embodiment is still provided here to achieve quantitative analysis of sea surface pollutants. Among them, as can be seen from the above, the second image and at least two third images are directly related to the thickness of sea surface pollutants, and the deep neural network model is suitable for analyzing data with clear correlation relationships. Therefore, the present invention adopts a thickness prediction model trained based on a deep neural network model to perform thickness numerical prediction processing to obtain a thickness value. The training data of the thickness prediction model should correspond to the aforementioned second image and at least two third images, and unlike ordinary image recognition models, when the training data of the thickness prediction model is annotated, it is annotated with a thickness numerical label instead of a type label. The deep neural network model used can adopt any feasible model, such as a deep convolutional neural network model, a residual network model, an adversarial network model, and the like.

[0136] Reference Figure 2 The embodiment of the present invention provides a dual-stage sea surface pollutant data collection device, comprising:

[0137] The first real-time image acquisition module 10 is used to instruct the first UAV terminal to control the first UAV to perform patrol flight along a preset trajectory, and use a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition processing to obtain a first real-time image sequence;

[0138] The qualitative analysis module 20 is used to instruct the first UAV terminal to perform a qualitative analysis of the sea surface pollutants based on at least a portion of the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, so as to output a qualitative analysis result, and send the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants;

[0139] The location selection module 30 is used to instruct the first UAV terminal to select at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method;

[0140] The powder delivery module 40 is used to instruct the first UAV terminal to perform powder delivery processing at the at least one designated location to deliver the preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants;

[0141] The heavy object falling module 50 is used to instruct the second drone terminal to communicate with the first drone terminal, and control the second drone to fly to the at least one designated location according to the communication result, and perform a heavy object falling process at a first time point to drop the heavy object preset in the second drone to the sea surface location where the powder is dropped;

[0142] The second image acquisition module 60 is used to instruct the second drone terminal to use a second visible light image collector preset in the second drone to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point;

[0143] The third image acquisition module 70 is used to instruct the second drone terminal to start the ultraviolet generator preset in the second drone at a third time point so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and use the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than a preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface;

[0144] The data packet generation module 80 is used to instruct the second UAV terminal to use the qualitative analysis result, the second image and at least two third images together as a sea surface pollutant data packet, thereby completing the data collection process.

[0145] The operations performed by the above modules respectively correspond one-to-one to the steps of the two-stage sea surface pollutant data collection method in the aforementioned implementation method, and will not be repeated here.

[0146] The beneficial effects of the present invention are as follows: the first UAV terminal controls the first UAV to perform the first stage of real-time image acquisition and processing; performs qualitative analysis of sea surface pollutants; selects at least one designated location; performs powder delivery processing; the second UAV terminal controls the second UAV to fly to the at least one designated location to perform heavy object falling processing; performs the second stage of image acquisition and processing; turns on the ultraviolet generator to perform image acquisition and processing to obtain at least two third images; uses the qualitative analysis results, the second image and at least two third images together as a sea surface pollutant data packet, thereby completing the data acquisition process and achieving the purpose of data acquisition with higher information density (for example, the acquired data can be used for quantitative analysis of sea surface pollutants).

[0147] Reference Figure 3In an embodiment of the present invention, a computer device is also provided, which may be a server, and its internal structure may be as shown in the figure. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data used in a two-stage sea surface pollutant data collection method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a two-stage sea surface pollutant data collection method is implemented. The computer device also includes a display screen and an input device, which are respectively used to display a manual interaction interface and to receive input data.

[0148] The above-mentioned processor executes the above-mentioned method for collecting sea surface pollutant data based on the two-stage method, wherein the steps included in the method correspond one-to-one to the steps of executing the method for collecting sea surface pollutant data based on the two-stage method in the aforementioned embodiment, and are not repeated here.

[0149] Those skilled in the art can understand that the structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.

[0150] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method for collecting sea surface pollutant data based on a two-stage method is implemented. The steps included in the method correspond one-to-one to the steps of executing the method for collecting sea surface pollutant data based on a two-stage method in the aforementioned embodiment, and are not repeated here.

[0151] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by hardware related to a computer program or instructions. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0152] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.

[0153] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for collecting sea surface pollutant data based on a two-stage method, characterized in that: include: S1: The first UAV terminal controls the first UAV to perform patrol flight along a preset trajectory, and uses a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition and processing to obtain a first real-time image sequence; S2: the first UAV terminal performs a qualitative analysis of the sea surface pollutants according to a preset sea surface pollutant qualitative detection method based on at least a portion of the images in the first real-time image sequence, outputs a qualitative analysis result, and sends the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants; S3: The first UAV terminal selects at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method; S4: The first UAV terminal performs a powder placement process at the at least one designated location to place a preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants; S5: The second drone terminal communicates with the first drone terminal, and controls the second drone to fly to the at least one designated location according to the communication result, and performs a weight drop process at a first time point to drop the weight preset in the second drone to the sea surface location where the powder is dropped; at the first time point, the weight does not fall into the sea surface; S6: The second drone terminal uses a second visible light image collector preset in the second drone to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point; S7: The second UAV terminal turns on the ultraviolet generator preset in the second UAV at the third time point, so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and uses the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than the preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface; S8: The second UAV terminal uses the qualitative analysis result, the second image and at least two third images as a data packet of sea surface pollutants, thereby completing the data collection process.

2. The method for collecting sea surface pollutant data based on a dual-stage method according to claim 1 is characterized in that: Before step S2, the first UAV terminal performs a qualitative analysis of the sea surface pollutants based on at least a portion of the images in the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, outputs a qualitative analysis result, and sends the qualitative analysis result to a preset second UAV terminal, including: S11: using a preset visible light image collector to respectively perform image acquisition and processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images; S12: According to the pollutant types corresponding to the multiple sample polluted sea areas, label the multiple sample pollution images respectively to obtain multiple corresponding sample data; S13: Divide the plurality of sample data into a plurality of training data and a plurality of test data; S14: calling a preset deep convolutional neural network model, and inputting a plurality of training data into the deep convolutional neural network model for training to obtain a preliminary analysis model; S15: using a plurality of test data to perform a test process on the preliminary analysis model, and determining whether the test process result is a pass; S16: If the result of the detection processing is that the detection is passed, the preliminary analysis model is used as a qualitative analysis model for sea surface pollutants; The step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the first real-time image sequence according to the preset sea surface pollutant qualitative detection method to output a qualitative analysis result, and sending the qualitative analysis result to a preset second UAV terminal includes: S201: inputting at least a portion of the images in the first real-time image sequence into the sea surface pollutant qualitative analysis model for processing, so as to obtain a qualitative analysis result output by the sea surface pollutant qualitative analysis model; S202: Send the qualitative analysis result to a preset second drone terminal.

3. The method for collecting sea surface pollutant data based on a dual-stage method according to claim 2 is characterized in that: In the step S11 of using a preset visible light image collector to respectively perform image acquisition processing on a plurality of preset sample contaminated sea areas to obtain a plurality of sample contaminated images, the plurality of sample contaminated images are acquired when the plurality of sample contaminated sea areas are in a calm state; In the step S2 of performing a qualitative analysis of sea surface pollutants based on at least a portion of the images in the first real-time image sequence according to the preset sea surface pollutant qualitative detection method, outputting a qualitative analysis result, and sending the qualitative analysis result to the preset second UAV terminal, at least a portion of the images in the first real-time image sequence are acquired when the sea surface is in a calm state; In the step S6 of using a second visible light image collector preset in the second drone at the second time point to perform a second stage of image acquisition processing on the sea surface position where the powder is dropped to obtain a second image, at the second time point, the heavy object does not contact the sea surface, and the second image is acquired when the sea surface is in a calm state.

4. The method for collecting sea surface pollutant data based on a dual-stage method according to claim 1 is characterized in that: The step S3 of selecting at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method comprises: S301: performing a multi-color value selection process on a first real-time image corresponding to the sea area where the sea surface pollutant is located to obtain a plurality of color values; wherein the distance difference between any two selected color values ​​is greater than a preset distance threshold; S302: performing difference processing on a plurality of color values ​​to obtain a plurality of color value differences, and determining whether the plurality of color value differences are all less than a preset difference threshold; S303: If the multiple color value differences are all smaller than the preset difference threshold, only the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located is selected as the designated position.

5. The method for collecting sea surface pollutant data based on a dual-stage method according to claim 4 is characterized in that: After step S302 of performing subtraction processing on the multiple color values ​​to obtain multiple color value differences and determining whether the multiple color value differences are all less than a preset difference threshold, the method further includes: S3021: If the differences of the multiple color values ​​are not uniformly smaller than a preset difference threshold, determining whether the selected color value includes the center point of the first real-time image corresponding to the sea area where the sea surface pollutants are located; S3022: If included, all color value selection locations are taken as designated locations; S3023: If not included, the center point of the first real-time image corresponding to the sea area where the sea surface pollutant is located, and all the locations where the color values ​​are selected, are used as designated locations.

6. The method for collecting sea surface pollutant data based on a dual-stage method according to claim 1 is characterized in that: After the step S8 of taking the qualitative analysis result, the second image and at least two third images together as the sea surface pollutant data packet to complete the data collection process, the method includes: S81: according to the qualitative analysis result, calling the corresponding thickness prediction model; S82: inputting the second image and at least two third images into a thickness prediction model to obtain a thickness value output by the thickness prediction model; Before the step S81 of calling the corresponding thickness prediction model according to the qualitative analysis result, the following steps are included: S801: For a sea area where the pollutant thickness is known and the pollutant type is the same as the qualitative analysis result, a powder placement process is performed to place the preset powder on and / or in the sea surface pollutants; S802: Dropping a heavy object at the location of the sea surface where the powder is dropped to create splashes; S803: performing image acquisition processing using a visible light image collector to obtain a second sample image; S804: Turning on the ultraviolet generator to irradiate the sea surface where the powder is placed with ultraviolet rays, and using the visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third sample images; S805: combining the second sample image and at least two third sample images into a sample image set, and marking corresponding contaminant thickness labels; S806: Adjust the sea area or adjust the pollutant thickness, repeat steps S801-S805 to obtain multiple labeled sample image sets, and use the multiple labeled sample image sets to train a preset deep neural network model to obtain the thickness prediction model.

7. A dual-stage sea surface pollutant data collection device, characterized in that: include: A first real-time image acquisition module is used to instruct the first UAV terminal to control the first UAV to perform patrol flight along a preset trajectory, and use a first visible light image collector preset in the first UAV to perform a first stage of real-time image acquisition processing to obtain a first real-time image sequence; The qualitative analysis module is used to instruct the first UAV terminal to perform a qualitative analysis of the sea surface pollutants based on at least a portion of the first real-time image sequence according to a preset sea surface pollutant qualitative detection method, so as to output a qualitative analysis result, and send the qualitative analysis result to a preset second UAV terminal; wherein the qualitative analysis result is a type of sea surface pollutants; A location selection module, used to instruct the first UAV terminal to select at least one designated location above the sea area where the sea surface pollutants are located according to a preset location selection method; a powder delivery module, used to instruct the first UAV terminal to perform powder delivery processing at the at least one designated location, so as to deliver the preset powder on and / or in the sea surface pollutants; wherein the preset powder is composed of a visible light material that can absorb ultraviolet rays and then emit a specified color, and the specified color is different from the color of the current sea surface pollutants; The heavy object falling module is used to instruct the second drone terminal to communicate with the first drone terminal, and control the second drone to fly to the at least one designated location according to the communication result, and perform the heavy object falling process at a first time point to drop the heavy object preset in the second drone to the sea surface position where the powder is dropped; at the first time point, the heavy object does not fall into the sea surface; A second image acquisition module is used to instruct the second drone terminal to use a second visible light image collector preset in the second drone to perform a second-stage image acquisition process on the sea surface position where the powder is dropped at a second time point to obtain a second image; wherein the second time point is after the first time point; The third image acquisition module is used to instruct the second drone terminal to turn on the ultraviolet generator preset in the second drone at a third time point so that the ultraviolet rays irradiate the sea surface position where the powder is dropped, and use the second visible light image collector to perform image acquisition processing without changing the shooting parameters to obtain at least two third images; wherein the third time point is after the second time point, and the interval between the third time point and the second time point is less than a preset interval value, the first image of the at least two third images is acquired when the heavy object does not touch the sea surface, and the other images of the at least two third images are acquired after the heavy object falls into the sea surface; The data packet generation module is used to instruct the second UAV terminal to use the qualitative analysis results, the second image and at least two third images as a sea surface pollutant data packet, thereby completing the data collection process.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.