Sewage pool monitoring method, device, equipment and computer readable storage medium

Image recognition technology is used to identify the location and sewage concentration of sewage pools, calculate the sewage pool area and pollution index, solve the problem of low efficiency of sewage discharge monitoring, realize real-time and remote sewage pool monitoring, and improve the monitoring efficiency and environmental protection effect.

CN112016486BActive Publication Date: 2025-01-24WEBANK (CHINA)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010900604.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2025-01-24
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

Sewage discharge monitoring has problems of inefficiency, especially in places with wide distribution and remote locations such as breeding farms, where on-site inspections are inefficient.

Method used

By obtaining area images to be monitored, the preset image recognition model recognizes the location information and sewage concentration coefficients of the sewage tank, calculate the pool area and pollution index of the sewage pool to achieve real -time and remote sewage pool monitoring.

Benefits of technology

It improves the efficiency of sewage pool monitoring, enables timely understanding of the pollution situation of various sewage pools in various regions, and makes timely countermeasures to curb the spread of pollution, which provides powerful help for environmental protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112016486B_ABST
    Figure CN112016486B_ABST
Patent Text Reader

Abstract

The present invention discloses a sewage pool monitoring method, device, equipment and computer-readable storage medium, the method comprising: obtaining a regional image of the area to be monitored, and using a preset image recognition model to identify the location information and sewage pool concentration coefficient in the regional image; calculating the pool area of ​​the sewage pool according to the location information; and calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area. The monitoring personnel can timely understand the pollution situation of each sewage pool in each area, so as to make countermeasures in time, without being restricted by time and space. Compared with the on-site manual inspection method, the sewage pool monitoring efficiency is greatly improved, so as to achieve the situation of timely curbing the spread of pollution, and provide strong help for environmental protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a sewage pool monitoring method, device, equipment and computer-readable storage medium. Background Art

[0002] Sewage discharge is an important cause of environmental pollution. As the country pays more and more attention to environmental protection issues, how to control sewage discharge has become an urgent problem to be solved. Sewage discharge mainly includes industrial sewage discharge, domestic sewage discharge and farm sewage discharge, etc. At present, the government has formulated corresponding laws or penalty regulations for each sewage discharge. However, there are still certain problems in how to effectively and in real time monitor sewage discharge. For example, there are many farms in the country, with different sizes and wide distribution, and some are located in remote locations. It is still difficult to monitor the sewage discharge of all farms. The current on-site inspection method is obviously inefficient. Summary of the invention

[0003] The main purpose of the present invention is to provide a sewage pool monitoring method, device, equipment and computer-readable storage medium, aiming to solve the technical problem of low efficiency in sewage discharge monitoring.

[0004] To achieve the above object, the present invention provides a sewage pool monitoring method, which comprises the following steps:

[0005] Acquire a regional image of the area to be monitored, and use a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image;

[0006] Calculating the pool area of ​​the sewage pool according to the location information;

[0007] The pollution index of the sewage pool is calculated based on the sewage concentration coefficient and the pool area.

[0008] Optionally, before the step of acquiring a regional image of the area to be monitored and using a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image, the step further includes:

[0009] Acquire a training data set, wherein the training data set includes a plurality of remote sensing satellite images containing sewage pools, and location annotations and sewage discharge concentration annotations of the sewage pools in each remote sensing satellite image;

[0010] The training data set is used to train the image recognition model to be trained to obtain the preset image recognition model.

[0011] Optionally, the location information includes a contour coordinate interval of the sewage pool in the regional image, and the step of calculating the pool area of ​​the sewage pool according to the location information includes:

[0012] According to the correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area, converting the outline coordinate interval into the actual coordinate interval of the actual geographical area;

[0013] The water area of ​​the sewage pool is calculated according to the actual coordinate interval.

[0014] Optionally, before the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the step further includes:

[0015] Acquire location information of sewage pool impact points within a preset range around the sewage pool, wherein the sewage pool impact points include public places and / or water networks;

[0016] The distance between the sewage pool and the sewage pool influencing point is calculated based on the location information of the sewage pool and the location information of the sewage pool influencing point;

[0017] The step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area comprises:

[0018] The pollution index of the sewage pool is calculated based on the distance, the sewage concentration coefficient and the pool area.

[0019] Optionally, the sewage discharge coefficient is the volume of pure sewage in a unit volume of the sewage pool, and the step of calculating the pollution index of the sewage pool according to the distance, the sewage discharge concentration coefficient and the pool area includes:

[0020] Obtaining weighted coefficients corresponding to the distance, the sewage concentration coefficient, and the pool area respectively;

[0021] The distance, the sewage concentration coefficient and the pool area are weightedly calculated based on the weighting coefficient to obtain the pollution index of the sewage pool.

[0022] Optionally, the step of obtaining the location information of the sewage pool influencing point within a preset range around the sewage pool includes:

[0023] Acquire a satellite image of an area within a preset range around the sewage pool;

[0024] The satellite image is subjected to target position detection to obtain the position information of the sewage pool influencing point within a preset range around the sewage pool.

[0025] Optionally, after the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the step further includes:

[0026] When it is detected that the pollution index is greater than a preset index, the pollution index and the pollution index of the pollution pool corresponding to each monitoring in a preset historical time period are sent to the monitoring terminal of the monitor, so that the monitoring terminal can visually output the received pollution index and output warning prompt information;

[0027] When it is detected that the pollution index is less than or equal to the preset index, the pollution index is archived.

[0028] To achieve the above object, the present invention further provides a sewage pool monitoring device, the sewage pool monitoring device comprising:

[0029] An identification module is used to obtain a regional image of the area to be monitored, and use a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image;

[0030] A calculation module is used to calculate the pool area of ​​the sewage pool according to the location information; and to calculate the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area.

[0031] To achieve the above objectives, the present invention also provides a sewage pool monitoring device, which includes: a memory, a processor, and a sewage pool monitoring program stored in the memory and executable on the processor, and the sewage pool monitoring program, when executed by the processor, implements the steps of the sewage pool monitoring method as described above.

[0032] In addition, to achieve the above objectives, the present invention also proposes a computer-readable storage medium, on which a sewage pool monitoring program is stored, and when the sewage pool monitoring program is executed by a processor, the steps of the sewage pool monitoring method described above are implemented.

[0033] In the present invention, the regional image of the area to be monitored is obtained, and the location information and the sewage pool concentration coefficient in the regional image are identified by using a preset image recognition model; the pool area of ​​the sewage pool is calculated according to the location information; and the pollution index of the sewage pool is calculated according to the sewage pool concentration coefficient and the pool area. Since the regional image can be obtained by remote sensing satellites, unmanned aerial vehicles or aerial photography aircraft, the regional image of the area to be monitored can be obtained in real time even if it is remote. The location and the sewage pool concentration coefficient in the regional image can be identified by the image recognition model, and the area of ​​the sewage pool can be calculated according to the location. The pollution index of the sewage pool can be roughly calculated by using the area and the sewage concentration coefficient, so that the monitoring personnel can timely understand the pollution situation of each sewage pool in each region, so as to make countermeasures in time, without being restricted by time and space. Compared with the on-site manual inspection method, the sewage pool monitoring efficiency is greatly improved, so as to achieve the situation of timely curbing the spread of pollution, and provide strong help for environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present invention;

[0035] Figure 2 It is a schematic diagram of the flow chart of the first embodiment of the sewage pool monitoring method of the present invention;

[0036] Figure 3 A schematic diagram of a sewage pool monitoring process involved in an embodiment of the present invention;

[0037] Figure 4 It is a functional module schematic diagram of a preferred embodiment of the sewage pool monitoring device of the present invention.

[0038] 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

[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0040] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0041] It should be noted that the sewage pool monitoring device in the embodiment of the present invention can be a smart phone, a personal computer, a server and other devices, and no specific limitation is made here.

[0042] like Figure 1As shown, the sewage pool monitoring device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0043] Those skilled in the art will understand that Figure 1 The equipment structure shown in does not constitute a limitation on the sewage pool monitoring equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0044] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a sewage pool monitoring program. Among them, the operating system is a program for managing and controlling the hardware and software resources of the device, and supports the operation of the sewage pool monitoring program and other software or programs.

[0045] exist Figure 1 In the device shown, the user interface 1003 is mainly used for data communication with the client; the network interface 1004 is mainly used for establishing a communication connection with the server; and the processor 1001 can be used to call the sewage pool monitoring program stored in the memory 1005 and perform the following operations:

[0046] Acquire a regional image of the area to be monitored, and use a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image;

[0047] Calculating the pool area of ​​the sewage pool according to the location information;

[0048] The pollution index of the sewage pool is calculated based on the sewage concentration coefficient and the pool area.

[0049] Furthermore, before the step of obtaining the regional image of the area to be monitored and using a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image, the processor 1001 can also be used to call the sewage pool monitoring program stored in the memory 1005 and perform the following operations:

[0050] Acquire a training data set, wherein the training data set includes a plurality of remote sensing satellite images containing sewage pools, and location annotations and sewage discharge concentration annotations of the sewage pools in each remote sensing satellite image;

[0051] The training data set is used to train the image recognition model to be trained to obtain the preset image recognition model.

[0052] Furthermore, the location information includes a contour coordinate interval of the sewage pool in the regional image, and the step of calculating the pool area of ​​the sewage pool according to the location information includes:

[0053] According to the correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area, converting the outline coordinate interval into the actual coordinate interval of the actual geographical area;

[0054] The water area of ​​the sewage pool is calculated according to the actual coordinate interval.

[0055] Furthermore, before the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the processor 1001 can also be used to call the sewage pool monitoring program stored in the memory 1005 and perform the following operations:

[0056] Acquire location information of sewage pool impact points within a preset range around the sewage pool, wherein the sewage pool impact points include public places and / or water networks;

[0057] The distance between the sewage pool and the sewage pool influencing point is calculated based on the location information of the sewage pool and the location information of the sewage pool influencing point;

[0058] The step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area comprises:

[0059] The pollution index of the sewage pool is calculated based on the distance, the sewage concentration coefficient and the pool area.

[0060] Furthermore, the sewage discharge coefficient is the volume of pure sewage in the sewage pool per unit volume, and the step of calculating the pollution index of the sewage pool according to the distance, the sewage discharge concentration coefficient and the pool area includes:

[0061] Obtaining weighted coefficients corresponding to the distance, the sewage concentration coefficient, and the pool area respectively;

[0062] The distance, the sewage concentration coefficient and the pool area are weightedly calculated based on the weighting coefficient to obtain the pollution index of the sewage pool.

[0063] Furthermore, the step of obtaining the location information of the sewage pool influencing point within a preset range around the sewage pool includes:

[0064] Acquire a satellite image of an area within a preset range around the sewage pool;

[0065] The satellite image is subjected to target position detection to obtain the position information of the sewage pool influencing point within a preset range around the sewage pool.

[0066] Further, after the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the processor 1001 can also be used to call the sewage pool monitoring program stored in the memory 1005 and perform the following operations:

[0067] When it is detected that the pollution index is greater than a preset index, the pollution index and the pollution index of the pollution pool corresponding to each monitoring in a preset historical time period are sent to the monitoring terminal of the monitor, so that the monitoring terminal can visually output the received pollution index and output warning prompt information;

[0068] When it is detected that the pollution index is less than or equal to the preset index, the pollution index is archived.

[0069] Based on the above structure, various embodiments of the sewage pool monitoring method are proposed.

[0070] Reference Figure 2 , Figure 2 It is a schematic flow chart of the first embodiment of the sewage pool monitoring method of the present invention.

[0071] The embodiments of the present invention provide embodiments of the sewage pool monitoring method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here. The execution subjects of each embodiment of the sewage pool monitoring method of the present invention may be devices such as smart phones, personal computers, and servers. For ease of description, the execution subjects are omitted in the following embodiments. In this embodiment, the sewage pool monitoring method includes:

[0072] Step S10, obtaining a regional image of the area to be monitored, and using a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image;

[0073] In this embodiment, the area where sewage pool monitoring is required can be used as the area to be monitored, such as a city or a district, etc., and there may be multiple sewage pools in the area. The sewage pool can be a sewage pool of a farm, an industrial sewage pool and / or a domestic sewage pool, etc. The regional image of the area to be monitored can be taken by remote sensing satellites, drones or aerial photography aircraft, that is, the regional image is taken from above the area to be monitored, and includes the entire area range of the area to be monitored. Furthermore, due to the presence of some pollutants in sewage, the reflection characteristics of sewage and pure water in certain bands will be different, resulting in different colors of the image presented. Since different types of sewage pools contain different pollutants, the bands that can reflect the difference between them and pure water are different, so regional images of specific bands can be collected to monitor specific categories of sewage pools.

[0074] After obtaining the regional image of the area to be monitored, the preset image recognition model can be used to identify the location information and sewage concentration coefficient of the sewage pool in the regional image. Among them, the preset image recognition model can be a pre-set model, which can use commonly used image detection and segmentation networks such as MaskRCNN and FasterRCNN to segment the target object in the image. In this embodiment, the target object is the sewage pool, and the output of the model can be set to the location information and sewage concentration coefficient of all sewage pools in the image. It should be noted that there may be multiple sewage pools in the area to be monitored. In this embodiment, the location information and sewage concentration coefficient of each sewage pool are identified, and the pollution index of each sewage pool is calculated respectively. The following is explained with a sewage pool. The location information of the sewage pool can refer to the location information of the sewage pool in the regional image. Since the sewage pool is generally an area, the location information can be a coordinate interval including the contour coordinate interval of the sewage pool in the regional image, that is, the coordinate interval defined by the coordinates of multiple contour points of the sewage pool in the regional image. The sewage concentration coefficient of the sewage pool can be a coefficient that characterizes the sewage concentration of the sewage pool, for example, the volume of pure sewage per unit volume in the sewage pool. Since the sewage in the sewage pool contains pollutants, the pollutants and pure water appear in different colors in the image, and different color depths represent different sewage concentrations. Therefore, the sewage characteristics of the sewage pool area in the regional image can be extracted through a preset image recognition model, and the sewage concentration of the sewage pool can be estimated based on the sewage characteristics.

[0075] Step S20, calculating the pool area of ​​the sewage pool according to the location information;

[0076] After obtaining the location information of the sewage pool, the pool area of ​​the sewage pool can be calculated based on the location information of the sewage pool. Specifically, when the location information includes the contour coordinate interval of the sewage pool in the regional image, the pool area can be calculated based on the length of the actual geographical area represented by each coordinate unit in the regional image according to the contour coordinate interval. For example, when one pixel is used to represent one coordinate unit, the resolution of the regional image represents the area of ​​the actual geographical area corresponding to one pixel. According to the contour coordinate interval, it is possible to calculate how many pixels in the regional image the sewage pool occupies, and the pool area of ​​the sewage pool is obtained by multiplying the number of pixels by the resolution.

[0077] Furthermore, the location information includes a contour coordinate interval of the sewage pool in the regional image, and the step S20 includes:

[0078] Step S201, converting the outline coordinate interval into an actual coordinate interval of the actual geographical area according to the correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area;

[0079] Step S202, calculating the pool area of ​​the sewage pool according to the actual coordinate interval.

[0080] When the location information of the sewage pool includes the contour coordinate interval of the sewage pool in the regional image, the method of calculating the pool area of ​​the sewage pool according to the contour coordinate interval may also be:

[0081] According to the correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area, the contour coordinate interval is converted into the actual coordinate interval of the actual geographical area. The regional image is shot at a certain resolution, so the coordinate points in the coordinate system of the regional image correspond to the coordinate points in the coordinate system of the actual geographical area. The coordinate system of the actual geographical area can be a longitude and latitude system or other coordinate systems. Therefore, the contour coordinate interval in the regional image can be converted into the actual coordinate interval of the actual geographical area, for example, into a longitude and latitude interval.

[0082] After converting to obtain the actual coordinate interval of the sewage pool in the actual geographical area, the pool area of ​​the sewage pool can be calculated based on the actual coordinate interval. The specific calculation process will not be described in detail here.

[0083] Step S30, calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area.

[0084] After the pool area of ​​the sewage pool is calculated, the pollution index of the sewage pool can be calculated according to the sewage concentration coefficient and the pool area. Specifically, the weighted coefficients corresponding to the sewage concentration coefficient and the pool area can be set in advance according to the degree of influence of the sewage concentration coefficient and the pool area on the pollution index, and the pollution index can be obtained by weighted calculation of the sewage concentration coefficient and the pool area according to the weighted coefficient. Among them, the weighted calculation can be linear weighting or exponential weighting. For example, the pool area is represented by aa, the sewage concentration coefficient is represented by bb, the weighted coefficient corresponding to the pool area is represented by wa, and the weighted coefficient corresponding to the sewage concentration coefficient is represented by wb. Then, the pollution index v=wa*aa+wb*bb is calculated by linear weighting, or the pollution index v=wa*(e^aa-1)+wb*(e^bb-1) is calculated by exponential weighting.

[0085] After calculating the pollution index of the sewage pool, the pollution index can be output, for example, to the monitoring terminal of the monitor, so that the monitor can timely understand the pollution situation of the sewage pool in the monitored area through the monitoring terminal, and then make corresponding countermeasures according to the pollution situation. For example, when the pollution index is too large, the sewage pool can be treated to reduce the pollution it causes to the environment.

[0086] Furthermore, in one embodiment, the sewage monitoring method can be applied to a real-time monitoring system, which can receive a regional image of the area to be monitored sent by a remote sensing satellite in real time or at a fixed time, and calculate the pollution index of each sewage pool in the area to be monitored based on the regional image, and output the location information and pollution index of each sewage pool in real time, for example, visually output in the form of a report or graphic to a display device connected to the real-time monitoring system. Among them, the graphic method can be to mark the location and pollution index of the sewage pool in the regional image, and output the regional image with the mark, so that the monitor can intuitively understand the pollution situation of the sewage pool, or, according to the size of the pollution index, fill the location of the sewage pool in the regional image with different shades of color, for example, the larger the pollution index, the darker the color, to indicate that the pollution situation of the sewage pool is more serious.

[0087] In this embodiment, the regional image of the area to be monitored is obtained, and the location information and the sewage concentration coefficient of the sewage pool in the regional image are identified by using a preset image recognition model; the pool area of ​​the sewage pool is calculated according to the location information; and the pollution index of the sewage pool is calculated according to the sewage concentration coefficient and the pool area of ​​the sewage pool. Since the regional image can be obtained by remote sensing satellites, drones or aerial photography aircraft, the regional image of the area to be monitored can be obtained in real time even if it is remote. The location and the sewage concentration coefficient of the sewage pool in the regional image can be identified by the image recognition model, and the area of ​​the sewage pool can be calculated according to the location. The pollution index of the sewage pool can be roughly calculated using the area and the sewage concentration coefficient, so that the monitoring personnel can timely understand the pollution situation of each sewage pool in each region, so as to make countermeasures in time, without being restricted by time and space. Compared with the on-site manual inspection method, the sewage pool monitoring efficiency is greatly improved, so as to achieve the situation of timely curbing the spread of pollution, and provide strong help for environmental protection.

[0088] Further, based on the above first embodiment, a second embodiment of the sewage pool monitoring method of the present invention is proposed. In this embodiment, before step S10, the method further includes:

[0089] Step S40, obtaining a training data set, wherein the training data set includes a plurality of remote sensing satellite images containing sewage pools, and location markings and sewage concentration markings of the sewage pools in each remote sensing satellite image;

[0090] In this embodiment, the preset image recognition model can be obtained through model training. An image recognition model to be trained is preset, and the structure of the image recognition model can adopt a commonly used image recognition model structure, such as MaskRCNN and FasterRCNN and other commonly used image detection and segmentation networks. The model parameters in the image recognition model to be trained are initialized, which can be random initialization or using preset empirical values.

[0091] A training data set for training the image recognition model to be trained is collected in advance. The training data set includes multiple training data, for example, 10,000 pieces, each of which includes a remote sensing satellite image containing a sewage pool, and a location annotation and a sewage concentration annotation of the sewage pool in the remote sensing satellite image. The resolution of the remote sensing satellite image is not limited, for example, it can be 1024*1024 pixels. The location annotation and the sewage concentration annotation can be obtained by manual annotation using annotation software, such as ArcGIS geographic satellite annotation software.

[0092] Step S50: using the training data set to train the image recognition model to be trained to obtain the preset image recognition model.

[0093] The training data set is used to train the image recognition model to be trained to obtain a preset image recognition model. The process of training the image recognition model can adopt the commonly used machine learning model training process. For example, the image recognition model is trained for multiple rounds using the training data set; in one round of training, each image in the training data set is input into the image recognition model for recognition, and the location information and sewage concentration coefficient of each image are obtained; then the location information and location annotation of each image are used to calculate the location recognition loss, and the sewage concentration coefficient and sewage concentration annotation of each image are used to calculate the sewage concentration recognition loss, and the two losses are added to obtain the total loss; then, according to the total loss, the gradient value corresponding to each model parameter in the image recognition model is calculated according to the gradient descent algorithm and the back propagation algorithm, and the corresponding model parameters are updated using each gradient value, and the image recognition model after the updated model parameters is used as the basis for the next round of training; after multiple rounds of iterative training, until the conditions for stopping training are detected, the image recognition model finally updated is used as the preset image recognition model; wherein the stopping condition can be set as needed, for example, it can be the convergence of the total loss, or reaching a predetermined training round, or reaching a predetermined training duration, etc.

[0094] In this embodiment, a training data set is obtained by collecting a large number of remote sensing satellite images containing sewage pools and marking the locations of the sewage pools and the sewage pool discharge concentrations in the images. The training data set is used to train the image recognition model to be trained, and the trained image recognition model is used as the preset image recognition model, so that the preset image recognition model can accurately identify the location information and the sewage pool discharge concentration coefficient in the regional image of the area to be monitored, and then calculate an accurate pollution index to provide monitoring personnel with timely and accurate sewage pool pollution conditions.

[0095] Further, based on the above first and second embodiments, a third embodiment of the sewage pool monitoring method of the present invention is proposed. In this embodiment, before step S30, the method further includes:

[0096] Step S60, obtaining location information of sewage pool influence points within a preset range around the sewage pool, wherein the sewage pool influence points include public places and / or water networks;

[0097] In this embodiment, taking into account that in actual application scenarios, some sewage pools are located close to residential areas, rivers or lakes, which will affect the surrounding residents, rivers and lakes. Therefore, when considering the pollution situation of the sewage pool, the distance between the sewage pool and these potentially affected places should also be considered.

[0098] In this embodiment, the places that may be affected by the sewage pool are called sewage pool impact points, which may specifically include some residential areas, public places such as schools and hospitals, and water networks such as rivers, lakes and oceans.

[0099] Before calculating the pollution index of the sewage pool, the location information of the sewage pool impact point within the preset range around the sewage pool can be obtained. Among them, the preset range around the sewage pool can refer to the area to be monitored, or it can be an area defined by a certain distance with the sewage pool as the center. The certain distance here can be set according to specific experience. Alternatively, a basic distance can be preset, and then the sewage pool's sewage concentration coefficient is multiplied by this distance to obtain the area corresponding to the sewage pool where the sewage pool impact point needs to be determined; then, the area size corresponding to each sewage pool in the area to be monitored is different, which is related to the sewage pool's sewage concentration coefficient, that is, the larger the sewage pool's sewage concentration coefficient, the larger the corresponding area where the sewage pool impact point needs to be determined.

[0100] The location information of the sewage pool impact point within the preset range can be obtained from map software. The map software generally marks the location and name of some places, so the location information of the sewage impact point within the range is extracted from the map software.

[0101] Step S70, calculating the distance between the sewage pool and the sewage pool influence point based on the location information of the sewage pool and the location information of the sewage pool influence point;

[0102] The distance between the sewage pool and the sewage pool influence point is calculated based on the location information of the sewage pool and the location information of the sewage pool influence point. Specifically, for a sewage pool and a sewage influence point, the distance between the sewage pool and the sewage influence point can be calculated in the following manner: the location information of the sewage pool influence point may be a coordinate point in the actual geographical area, or may be a coordinate interval; if the location information of the sewage pool includes the contour coordinate interval of the sewage pool in the regional image of the area to be monitored, the contour coordinate interval can be first converted into the actual coordinate interval of the actual geographical area, and then the shortest distance from the actual coordinate interval to the coordinate point or coordinate interval of the sewage influence point is calculated, that is, the distance between the two nearest coordinate points is found as the distance from the sewage pool to the sewage influence point.

[0103] It should be noted that the preset image recognition model can also directly output the coordinate points of the sewage pool in the regional image, that is, use a coordinate point to represent the location of the sewage pool, and at the same time output a contour coordinate interval to represent the contour of the sewage pool; then, the coordinate point can be converted into an actual coordinate point in the actual geographical area, and then the shortest distance between the actual coordinate point and the coordinate point or coordinate interval of the sewage pool impact point is calculated.

[0104] The step S30 comprises:

[0105] Step S301, calculating the pollution index of the sewage pool according to the distance, the sewage concentration coefficient and the pool area.

[0106] After calculating the distance between the sewage pool and each sewage pool impact point, the pollution index of the sewage pool is calculated according to the distance, the sewage pool sewage concentration coefficient and the pool area. Specifically, the three can be added together to get a total value, and the value can be used as the pollution index, or the three can be directly used as the pollution index, that is, the pollution index includes three aspects of the index.

[0107] Furthermore, the discharge coefficient is the volume of pure sewage per unit volume of the sewage pool, and the step S301 includes:

[0108] Step S3011, obtaining weighted coefficients corresponding to the distance, the sewage concentration coefficient and the pool area respectively;

[0109] Step S3012: performing weighted calculation on the distance, the sewage concentration coefficient and the pool area based on the weighted coefficient to obtain a pollution index of the sewage pool.

[0110] Specifically, the weighted coefficients corresponding to the distance from the sewage pool influencing point, the sewage concentration coefficient and the pool area can be set in advance according to the influence of the three on the pollution index, and the distance, sewage concentration coefficient and pool area are weighted and calculated according to the weighted coefficients to obtain the pollution index. Furthermore, different weighted coefficients can be set for different types of sewage pool influencing points, for example, the weighted coefficients of public places and water networks can be set differently.

[0111] In one embodiment, the Figure 3 The sewage pool monitoring process shown calculates the pollution index of the sewage pool in the monitoring area.

[0112] Furthermore, the step S60 includes:

[0113] Step S601, obtaining a satellite image of an area within a preset range around the sewage pool;

[0114] Step S602: Detect the position of an object on the satellite image to obtain the position information of the sewage pool influencing point within a preset range around the sewage pool.

[0115] In this embodiment, to obtain the location information of the sewage pool influence points in the area within the predicted range around the sewage pool, a satellite image of the area can be obtained first. Specifically, it can be obtained from a satellite image database provided by a remote sensing satellite. Target object detection is performed on the satellite image to obtain the location of the sewage pool influence points in the satellite image, and then the location information of the sewage pool influence points within the preset range around the sewage pool is obtained. Among them, the target object detection can adopt a commonly used image target object detection model, where the target object is various sewage pool influence points, and the position of the sewage pool influence point in the satellite image is converted into its position in the actual geographical area, that is, the location information of each sewage pool influence point is obtained.

[0116] Furthermore, a preset image recognition model can be used to recognize the location of the sewage pool, the sewage concentration coefficient, and the location of the sewage pool impact point in the image, that is, the location recognition of the sewage pool and the sewage pool impact point adopts the same model. Then, the training data of the preset image recognition model includes a satellite image containing the sewage pool and the sewage pool impact point, as well as the location annotation of the sewage pool, the location annotation of the sewage pool impact point, and the sewage concentration annotation in the satellite image.

[0117] Furthermore, in one embodiment, after step S30, the following steps are further included:

[0118] Step S80, when it is detected that the pollution index is greater than a preset index, the pollution index and the pollution index of the pollution pool corresponding to each monitoring in a preset historical time period are sent to the monitoring terminal of the monitor, so that the monitoring terminal can visually output the received pollution index and output warning prompt information;

[0119] After the pollution index of the sewage pool is calculated, it can be detected whether the pollution index is greater than the preset index. Among them, the preset index can be set in advance according to needs. When the pollution index is greater than the preset index, it means that the pollution situation of the sewage pool is relatively serious and needs to be reported. When it is detected that the pollution index is greater than the preset index, the pollution index of the sewage pool obtained during each monitoring within the preset historical time period can be obtained from the historical archive, and the current pollution index and the obtained pollution indexes of previous times are sent to the monitoring terminal of the monitor. Among them, the preset historical time period can be preset, for example, set to the last week, month or year from the time of this monitoring. The frequency of monitoring the monitored area can be preset, such as once a day or once a week, etc., and the historical time period may include the results obtained from multiple monitoring.

[0120] After receiving the pollution index of the sewage pool corresponding to each monitoring, the monitoring terminal can visualize the pollution index and output warning information. The visualization output can be in the form of a table or a line chart. The warning information can be in the form of text, voice, ringing or vibration.

[0121] Step S90: when it is detected that the pollution index is less than or equal to the preset index, the pollution index is archived.

[0122] When it is detected that the pollution index is less than or equal to the preset index, the pollution index can be archived for subsequent use.

[0123] In this embodiment, when it is detected that the pollution index of a sewage pool is high, the pollution index of the sewage pool monitored over a period of history will be automatically sent to the monitoring terminal of the monitor. The monitoring terminal will output each pollution index visually and give warning information, so that the monitor can promptly understand which sewage pools have become seriously polluted and the changing trends, so as to give more effective governance policies based on the changing trends.

[0124] In addition, the present invention also provides a sewage pool monitoring device, referring to Figure 4 , the sewage pool monitoring device comprises:

[0125] The recognition module 10 is used to obtain a regional image of the area to be monitored, and use a preset image recognition model to recognize the location information and sewage concentration coefficient of the sewage pool in the regional image;

[0126] The calculation module 20 is used to calculate the pool area of ​​the sewage pool according to the location information; and to calculate the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area.

[0127] Furthermore, the device also includes:

[0128] A first acquisition module is used to acquire a training data set, wherein the training data set includes a plurality of remote sensing satellite images containing sewage pools, and location annotations and sewage concentration annotations of the sewage pools in each remote sensing satellite image;

[0129] The training module is used to train the image recognition model to be trained using the training data set to obtain the preset image recognition model.

[0130] Furthermore, the location information includes a contour coordinate interval of the sewage pool in the regional image, and the calculation module 20 includes:

[0131] A conversion unit, configured to convert the outline coordinate interval into an actual coordinate interval of the actual geographical area according to a correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area;

[0132] The first calculation unit is used to calculate the water area of ​​the sewage pool according to the actual coordinate interval.

[0133] Furthermore, the device also includes:

[0134] A second acquisition module is used to obtain location information of sewage pool influence points within a preset range around the sewage pool, wherein the sewage pool influence points include public places and / or water networks;

[0135] The calculation module 20 is also used to calculate the distance between the sewage pool and the sewage pool influence point based on the location information of the sewage pool and the location information of the sewage pool influence point;

[0136] The calculation module 20 is also used to calculate the pollution index of the sewage pool according to the distance, the sewage concentration coefficient and the pool area.

[0137] Furthermore, the sewage discharge coefficient is the volume of pure sewage per unit volume of the sewage pool, and the calculation module 20 includes:

[0138] A first acquisition unit is used to acquire weighted coefficients corresponding to the distance, the sewage concentration coefficient and the pool area respectively;

[0139] The second calculation unit is used to perform weighted calculation on the distance, the sewage concentration coefficient and the pool area based on the weighted coefficient to obtain the pollution index of the sewage pool.

[0140] Furthermore, the second acquisition module includes:

[0141] A second acquisition unit is used to acquire a satellite image of an area within a preset range around the sewage pool;

[0142] The detection unit is used to perform target position detection on the satellite image to obtain the position information of the sewage pool impact point within a preset range around the sewage pool.

[0143] Furthermore, the device also includes:

[0144] A sending module, for sending the pollution index and the pollution index of the pollution pool corresponding to each monitoring in a preset historical time period to the monitoring terminal of the monitor when it is detected that the pollution index is greater than a preset index, so that the monitoring terminal can visually output the received pollution index and output warning prompt information;

[0145] The archiving module is used to archive the pollution index when it is detected that the pollution index is less than or equal to the preset index.

[0146] The expanded contents of the specific implementation methods of the sewage pool monitoring device of the present invention are basically the same as the embodiments of the above-mentioned sewage pool monitoring method, and will not be elaborated here.

[0147] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a sewage pool monitoring program is stored. When the sewage pool monitoring program is executed by a processor, the steps of the sewage pool monitoring method described below are implemented.

[0148] The various embodiments of the sewage pool monitoring device and computer-readable storage medium of the present invention can all refer to the various embodiments of the sewage pool monitoring method of the present invention, and will not be repeated here.

[0149] 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, method, article or device 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, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0150] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0152] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made 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 sewage pool monitoring method, characterized in that: The sewage pool monitoring method comprises the following steps: Acquire a regional image of the area to be monitored by remote sensing satellites, drones or aerial photography aircraft, and use a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image; Calculating the pool area of ​​the sewage pool according to the location information; Calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area; The sewage concentration coefficient is the volume of pure sewage in the sewage pool per unit volume. Before the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the step further includes: Acquire location information of sewage pool impact points within a preset range around the sewage pool, wherein the sewage pool impact points include public places and / or water networks; The distance between the sewage pool and the sewage pool influencing point is calculated based on the location information of the sewage pool and the location information of the sewage pool influencing point; The step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area comprises: Obtaining weighted coefficients corresponding to the distance, the sewage concentration coefficient, and the pool area respectively; The distance, the sewage concentration coefficient and the pool area are weightedly calculated based on the weighting coefficient to obtain the pollution index of the sewage pool.

2. The sewage pool monitoring method according to claim 1, characterized in that: Before the step of obtaining a regional image of the area to be monitored and using a preset image recognition model to identify the location information and sewage concentration coefficient of the sewage pool in the regional image, the method further includes: Acquire a training data set, wherein the training data set includes a plurality of remote sensing satellite images containing sewage pools, and location annotations and sewage concentration annotations of the sewage pools in each remote sensing satellite image; The training data set is used to train the image recognition model to be trained to obtain the preset image recognition model.

3. The sewage pool monitoring method according to claim 1, characterized in that: The location information includes the contour coordinate interval of the sewage pool in the regional image, and the step of calculating the pool area of ​​the sewage pool according to the location information includes: According to the correspondence between the coordinate system of the regional image and the coordinate system of the actual geographical area, converting the outline coordinate interval into the actual coordinate interval of the actual geographical area; The water area of ​​the sewage pool is calculated according to the actual coordinate interval.

4. The sewage pool monitoring method according to claim 1, characterized in that: The step of obtaining the location information of the sewage pool influencing point within a preset range around the sewage pool comprises: Acquire a satellite image of an area within a preset range around the sewage pool; The satellite image is subjected to target position detection to obtain the position information of the sewage pool influencing point within a preset range around the sewage pool.

5. The sewage pool monitoring method according to any one of claims 1 to 4, characterized in that: After the step of calculating the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area, the method further includes: When it is detected that the pollution index is greater than a preset index, the pollution index and the pollution index of the sewage pool corresponding to each monitoring in a preset historical time period are sent to the monitoring terminal of the monitor, so that the monitoring terminal can visually output the received pollution index and output warning prompt information; When it is detected that the pollution index is less than or equal to the preset index, the pollution index is archived.

6. A sewage pool monitoring device, characterized in that: The sewage pool monitoring device comprises: An identification module is used to obtain a regional image of the area to be monitored through a remote sensing satellite, a drone or an aerial photography aircraft, and use a preset image recognition model to identify the location information and the sewage concentration coefficient of the sewage pool in the regional image; A calculation module, used to calculate the pool area of ​​the sewage pool according to the location information; and to calculate the pollution index of the sewage pool according to the sewage concentration coefficient and the pool area; A second acquisition module is used to obtain location information of sewage pool influence points within a preset range around the sewage pool, wherein the sewage pool influence points include public places and / or water networks; The calculation module is also used to calculate the distance between the sewage pool and the sewage pool influence point based on the location information of the sewage pool and the location information of the sewage pool influence point; The calculation module comprises: A first acquisition unit is used to acquire weighted coefficients corresponding to the distance, the sewage concentration coefficient and the pool area respectively; The second calculation unit is used to perform weighted calculation on the distance, the sewage concentration coefficient and the pool area based on the weighted coefficient to obtain the pollution index of the sewage pool.

7. A sewage pool monitoring device, characterized in that: The sewage pool monitoring device includes: a memory, a processor, and a sewage pool monitoring program stored in the memory and executable on the processor. When the sewage pool monitoring program is executed by the processor, the steps of the sewage pool monitoring method as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a sewage pool monitoring program, and when the sewage pool monitoring program is executed by the processor, the steps of the sewage pool monitoring method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Atmospheric pollution data acquisition method for industrial park based on unmanned aerial vehicle

    CN104865353A

  • Pollution discharge identification method and device based on image identification technology

    CN111339907A

  • Sewage suspended particles concentration detection system based on image processing

    CN205545686U