CN115661438B - Off-site water level monitoring and flood prevention early warning method based on machine vision - Google Patents
Off-site water level monitoring and flood prevention early warning method based on machine vision Download PDFInfo
- Publication number
- CN115661438B CN115661438B CN202211295173.1A CN202211295173A CN115661438B CN 115661438 B CN115661438 B CN 115661438B CN 202211295173 A CN202211295173 A CN 202211295173A CN 115661438 B CN115661438 B CN 115661438B
- Authority
- CN
- China
- Prior art keywords
- water level
- water
- value
- gauge
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 483
- 238000012544 monitoring process Methods 0.000 title claims abstract description 79
- 230000002265 prevention Effects 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000000630 rising effect Effects 0.000 claims description 15
- 230000002708 enhancing effect Effects 0.000 claims description 4
- 230000001965 increasing effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A50/00—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
Landscapes
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
The invention is applicable to the technical field of water level monitoring, and provides an off-site water level monitoring and flood prevention early warning method based on machine vision, which comprises the following steps: acquiring a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge figures; the method comprises the steps of calling a water gauge mask image corresponding to the camera, wherein the water gauge mask image comprises a plurality of water gauge frames, and water level scales are marked on the edges of the water gauge frames; covering the water gauge mask image above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in a water gauge frame, and determining the water level value of each water level monitoring point; and calling the water level early warning value of each water level monitoring point, and generating first flood prevention early warning information when one water level value is larger than the corresponding water level early warning value. The camera can collect images of a plurality of water gauges at the same time and automatically obtain the water level value, and is fast and efficient.
Description
Technical Field
The invention relates to the technical field of water level monitoring, in particular to an off-site water level monitoring and flood prevention early warning method based on machine vision.
Background
The water level monitoring is an important monitoring index of a water body, the accurate and reliable water level monitoring has important significance for water resource scheduling, people traveling and flood prevention, the traditional water level monitoring method mainly comprises the steps of setting a water gauge with a certain scale in water, shooting the water surface through a camera to obtain water surface and water gauge images, observing the shot images through human eyes, and reading out the current water level value according to the scale on the water gauge. However, due to factors such as distance and light, the scale marks on the water gauge in the picture cannot be distinguished. With the rapid development of computer vision and image processing technology, the image shot by a camera can be processed and analyzed with high efficiency by utilizing the computer vision technology, specifically, the total length of the water gauge is determined firstly, then the water level value is obtained through the proportion of the water gauge in the image to the water surface, which requires that the camera must look at the water gauge, if the camera is erected obliquely, the actual length represented by one pixel at the upper end of the water gauge in the image is inconsistent with the actual length represented by one pixel at the lower end of the image, so that the error of the water level value calculated by utilizing the proportional relation is larger. Therefore, it is necessary to provide an off-site water level monitoring and flood prevention early warning method based on machine vision, so as to solve the above problems.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide an off-site water level monitoring and flood prevention early warning method based on machine vision so as to solve the problems in the prior art.
The invention discloses an off-site water level monitoring and flood prevention early warning method based on machine vision, which comprises the following steps:
acquiring a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge figures;
the method comprises the steps of calling a water gauge mask image corresponding to the camera, wherein the water gauge mask image comprises a plurality of water gauge frames, water level scales are marked on the edges of the water gauge frames, and the positions of the water gauge frames are in one-to-one correspondence with the positions of the water gauge images;
covering the water gauge mask image above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in a water gauge frame, and determining the water level value of each water level monitoring point;
and calling the water level early warning value of each water level monitoring point, and generating first flood prevention early warning information when one water level value is larger than the corresponding water level early warning value.
As a further scheme of the invention: the water gauge mask images are directly fetched from a water gauge mask library, the water gauge mask library comprises a plurality of water gauge mask images, and the number value of the water gauge mask images is the same as that of the cameras.
As a further scheme of the invention: the step of determining the water level value of each water level monitoring point specifically comprises the following steps:
the coverage image is enhanced according to the color of the water gauge, so that the water gauge graph is enhanced;
and determining the lower end point of the water gauge graph, and determining the corresponding water level scale according to the lower end point to obtain a water level value.
As a further scheme of the invention: the step of enhancing the coverage image according to the color of the water gauge so as to enhance the water gauge graph specifically comprises the following steps:
determining a color area to be enhanced according to the color of the water gauge and the tolerance range value;
and increasing the saturation of the color area in the coverage image so that the water gauge graph is enhanced.
As a further scheme of the invention: determining a lower endpoint of the water gauge graph, determining a corresponding water level scale according to the lower endpoint, and obtaining a water level value, wherein the method specifically comprises the following steps of:
determining a lower endpoint of the water gauge graph, and determining water level scale values which are nearest to the lower endpoint and are positioned above the lower endpoint, wherein each water level scale mark is provided with a certain number of water level scale values at intervals;
determining the number of water level scales at intervals between the lower end point and the water level scale values;
the water level value is calculated, the water level value=the water level scale value-the number of water level scales is equal to h, wherein h represents the height value represented by each grid of water level scale.
As a further scheme of the invention: the method further comprises the steps of:
acquiring rainfall forecast information, wherein the rainfall forecast information is average rainfall of a first set time value in the future;
the method comprises the steps of calling historical record information, wherein the historical record information comprises historical average rainfall and corresponding historical water rising speed;
and generating second flood prevention early warning information according to the historical record information and the rainfall forecast information.
As a further scheme of the invention: the step of generating second flood prevention early warning information according to the historical record information and the rainfall forecast information specifically comprises the following steps:
determining the water rising speed according to the average rainfall in the historical record information and the rainfall forecast information;
and calling the water level value of each water level monitoring point, calculating the expected time required by the water level value to reach the water level early warning value according to the water rising speed and the water level value, and generating second flood prevention early warning information when the expected time is smaller than a second set time value.
Another object of the present invention is to provide an off-site water level monitoring and flood prevention early warning system based on machine vision, the system comprising:
the water level image acquisition module is used for acquiring a water level image containing a plurality of water level monitoring points through the camera, wherein the water level image contains a plurality of water gauge patterns;
the water gauge mask image calling module is used for calling a water gauge mask image corresponding to the camera, the water gauge mask image comprises a plurality of water gauge frames, the edges of the water gauge frames are marked with water level scales, and the positions of the water gauge frames are in one-to-one correspondence with the positions of the water gauge images;
the water level value determining module is used for covering the water gauge mask image above the water level image to obtain a covering image, so that the water gauge image in the water level image is displayed in the water gauge frame, and the water level value of each water level monitoring point is determined;
and the first flood prevention early warning information module is used for retrieving the water level early warning value of each water level monitoring point, and generating first flood prevention early warning information when one water level value is larger than the corresponding water level early warning value.
As a further scheme of the invention: the water level value determining module includes:
the water gauge graph enhancement unit is used for enhancing the coverage image according to the color of the water gauge so as to enhance the water gauge graph;
the water level value determining unit is used for determining the lower end point of the water gauge graph, determining the corresponding water level scale according to the lower end point and obtaining the water level value.
As a further scheme of the invention: the system also comprises a second flood prevention early warning information module, and the second flood prevention early warning information module specifically comprises:
the rainfall forecast information unit is used for acquiring rainfall forecast information, and the rainfall forecast information is average rainfall of a first set time value in the future;
the historical record calling unit is used for calling historical record information, and the historical record information comprises historical average rainfall and corresponding historical water rising speed;
the second flood prevention early warning information unit is used for generating second flood prevention early warning information according to the historical record information and the rainfall forecast information.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, a water level image containing a plurality of water level monitoring points is acquired through a camera, then a water gauge mask image corresponding to the camera is called, the water gauge mask image comprises a plurality of water gauge frames, water level scales are marked on the edges of the water gauge frames, the water gauge mask image is covered above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in the water gauge frames, and the water level value of each water level monitoring point is determined. The camera can collect images of a plurality of water gauges simultaneously and automatically obtain the water level value, is quick and efficient, does not need to look at the water gauges in a head-up mode, and is more convenient to use.
Drawings
FIG. 1 is a water level image of a plurality of water gauge patterns included in an off-site water level monitoring and flood control pre-warning method based on machine vision.
Fig. 2 is a water gauge mask image including a plurality of water gauge frames in an off-site water level monitoring and flood prevention pre-warning method based on machine vision.
Fig. 3 is a flow chart of an off-site water level monitoring and flood control early warning method based on machine vision.
Fig. 4 is a flow chart of determining a water level value of each water level monitoring point in an off-site water level monitoring and flood prevention early warning method based on machine vision.
Fig. 5 is a flowchart of generating second flood control early warning information according to historical record information and rainfall forecast information in an off-site water level monitoring and flood control early warning method based on machine vision.
Fig. 6 is a schematic structural diagram of an off-site water level monitoring and flood control early warning system based on machine vision.
Fig. 7 is a schematic structural diagram of a water level value determining module in an off-site water level monitoring and flood prevention early warning system based on machine vision.
Fig. 8 is a schematic structural diagram of a second flood control warning information module in an off-site water level monitoring and flood control warning system based on machine vision.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Specific implementations of the invention are described in detail below in connection with specific embodiments.
As shown in fig. 1, 2 and 3, the embodiment of the invention provides an off-site water level monitoring and flood prevention early warning method based on machine vision, which comprises the following steps:
s100, acquiring a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge patterns;
s200, a water gauge mask image corresponding to the camera is called, the water gauge mask image comprises a plurality of water gauge frames, water level scales are marked on the edges of the water gauge frames, and the positions of the water gauge frames are in one-to-one correspondence with the positions of the water gauge images;
s300, covering the water gauge mask image above the water level image to obtain a covered image, displaying the water gauge image in the water level image in a water gauge frame, and determining the water level value of each water level monitoring point;
s400, the water level early warning value of each water level monitoring point is called, and when one water level value is larger than the corresponding water level early warning value, first flood prevention early warning information is generated.
It should be noted that water level monitoring is an important monitoring index of a water body, accurate and reliable water level monitoring has important significance for water resource scheduling, people traveling and flood prevention, and the traditional water level monitoring method mainly comprises the steps of setting a water gauge with a certain scale in water, shooting the water surface through a camera to obtain water surface and water gauge images, observing the shot images through human eyes, and reading out the current water level value according to the scale on the water gauge. However, due to factors such as distance and light, the scale marks on the water gauge in the picture cannot be distinguished. With the rapid development of computer vision and image processing technology, the image shot by a camera can be processed and analyzed with high efficiency by utilizing the computer vision technology, specifically, the total length of the water gauge is determined firstly, then the water level value is obtained through the proportion of the water gauge in the image to the water surface, which requires that the camera must look at the water gauge, if the camera is erected obliquely, the actual length represented by one pixel at the upper end of the water gauge in the image is inconsistent with the actual length represented by one pixel at the lower end of the image, so that the error of the water level value calculated by utilizing the proportion relation is larger.
In the embodiment of the invention, the water level monitoring system comprises a plurality of cameras and a plurality of water level monitoring points, wherein each water level monitoring point is provided with a water gauge, and one camera corresponds to a plurality of water level monitoring points without looking up the water gauge as the water level monitoring points are more. When monitoring the water level, firstly, collecting a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge figures; the embodiment of the invention establishes a water gauge mask library in advance, wherein the water gauge mask library comprises a plurality of water gauge mask images, the number value of the water gauge mask images is the same as that of the cameras, and the water gauge mask images are in one-to-one correspondence with the cameras; then, a water gauge mask image corresponding to the camera is called from a water gauge mask library, the water gauge mask image comprises a plurality of water gauge frames, the edges of the water gauge frames are marked with water level scales, the positions of the water gauge frames correspond to the positions of the water gauge graphs one by one, the water gauge mask image is drawn in advance according to the shooting picture of the camera, and the water level scales on the water gauge frames are not necessarily uniformly distributed; then covering the water gauge mask image above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in a water gauge frame, and the water level value of each water level monitoring point can be determined; and calling the water level early-warning value of each water level monitoring point, wherein the water level early-warning value is preset, and when one water level value is larger than the corresponding water level early-warning value, first flood prevention early-warning information is generated. The camera in the embodiment of the invention can collect images of a plurality of water gauges simultaneously and automatically obtain the water level value, is quick and efficient, does not need to look at the water gauges in a head-up mode, and is more convenient to use.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of determining the water level value of each of the water level monitoring points specifically includes:
s301, enhancing the coverage image according to the color of the water gauge, so that the water gauge graph is enhanced;
s302, determining the lower end point of the water gauge graph, and determining the corresponding water level scale according to the lower end point to obtain a water level value.
In the embodiment of the invention, in order to obtain the water level value, the coverage image is enhanced according to the color of the water gauge, so that the water gauge graph is enhanced, the lower end point of the water gauge graph is conveniently and automatically identified and obtained, specifically, the color area needing to be enhanced is determined according to the color of the water gauge and the tolerance range value, the color of the water gauge is preset, preferably, the color of the water gauge is easy to identify, for example, red, and a certain tolerance range value needs to be set in order to avoid the influence of weather and light; the saturation of the color area in the overlay image is then increased so that the water gauge pattern is significantly enhanced. Then, the lower endpoint of the water gauge graph can be determined, then, the corresponding water level scale is determined according to the lower endpoint to obtain the water level value, it is to be noted that each water level scale mark with a certain number of water level scale values at intervals, for example, each five water level scales marks with one water level scale value, specifically, the water level scale value closest to the lower endpoint and located above the lower endpoint is determined, the number of water level scales at intervals between the lower endpoint and the water level scale values is determined, finally, the water level value is calculated, the water level value = the water level scale value-the number of water level scales is calculated, wherein h represents the height value represented by each water level scale, for example, h = 1 cm, the number of water level scales is 3, the determined water level scale value is 50 cm, and the water level value is 47 cm.
As shown in fig. 5, as a preferred embodiment of the present invention, the method further includes:
s501, acquiring rainfall forecast information, wherein the rainfall forecast information is average rainfall of a first set time value in the future;
s502, historical record information is called, wherein the historical record information comprises historical average rainfall and corresponding historical water rising speed;
and S503, generating second flood prevention early warning information according to the historical record information and the rainfall forecast information.
In the embodiment of the invention, further, rainfall forecast information can be obtained through weather forecast, wherein the rainfall forecast information is the average rainfall of a first set time value in the future, for example, the rainfall forecast information is the average rainfall of 2 hours in the future of 4mm/h; then, historical record information is called, wherein the historical record information comprises historical average rainfall and corresponding historical water rising speed; thus, second flood prevention early warning information can be generated according to the historical record information and the rainfall forecast information. Specifically, determining the current water rising speed according to the average rainfall in the historical record information and the rainfall forecast information; and then, the water level value of each water level monitoring point is called, the expected time required for the water level value to reach the water level early warning value is calculated according to the water rising speed and the water level value, when the expected time is smaller than a second set time value, second flood prevention early warning information is generated, the first set time value and the second set time value are set values in advance, and it is easy to understand that the first set time value should be larger than the second set time value.
As shown in fig. 6, the embodiment of the invention further provides an off-site water level monitoring and flood prevention early warning system based on machine vision, which comprises:
the water level image acquisition module 100 is used for acquiring a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge patterns;
the water gauge mask image calling module 200 is used for calling a water gauge mask image corresponding to the camera, the water gauge mask image comprises a plurality of water gauge frames, the edges of the water gauge frames are marked with water level scales, and the positions of the water gauge frames are in one-to-one correspondence with the positions of the water gauge images;
the water level value determining module 300 is configured to cover the water gauge mask image above the water level image to obtain a covered image, so that a water gauge image in the water level image is displayed in a water gauge frame, and a water level value of each water level monitoring point is determined;
and the first flood prevention early warning information module 400 is used for retrieving the water level early warning value of each water level monitoring point, and generating first flood prevention early warning information when one water level value is larger than the corresponding water level early warning value.
In the embodiment of the invention, the water level monitoring system comprises a plurality of cameras and a plurality of water level monitoring points, wherein each water level monitoring point is provided with a water gauge, and one camera corresponds to a plurality of water level monitoring points without looking up the water gauge as the water level monitoring points are more. When monitoring the water level, firstly, collecting a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge figures; the embodiment of the invention establishes a water gauge mask library in advance, wherein the water gauge mask library comprises a plurality of water gauge mask images, the number value of the water gauge mask images is the same as that of the cameras, and the water gauge mask images are in one-to-one correspondence with the cameras; then, a water gauge mask image corresponding to the camera is called from a water gauge mask library, the water gauge mask image comprises a plurality of water gauge frames, the edges of the water gauge frames are marked with water level scales, the positions of the water gauge frames correspond to the positions of the water gauge graphs one by one, the water gauge mask image is drawn in advance according to the shooting picture of the camera, and the water level scales on the water gauge frames are not necessarily uniformly distributed; then covering the water gauge mask image above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in a water gauge frame, and the water level value of each water level monitoring point can be determined; and calling the water level early-warning value of each water level monitoring point, wherein the water level early-warning value is preset, and when one water level value is larger than the corresponding water level early-warning value, first flood prevention early-warning information is generated. The camera in the embodiment of the invention can collect images of a plurality of water gauges simultaneously and automatically obtain the water level value, is quick and efficient, does not need to look at the water gauges in a head-up mode, and is more convenient to use.
As shown in fig. 7, as a preferred embodiment of the present invention, the water level value determining module 300 includes:
a water gauge graph enhancement unit 301, configured to enhance the coverage image according to the color of the water gauge, so that the water gauge graph is enhanced;
the water level value determining unit 302 is configured to determine a lower endpoint of the water gauge graph, determine a corresponding water level scale according to the lower endpoint, and obtain a water level value.
In the embodiment of the invention, in order to obtain the water level value, the coverage image is enhanced according to the color of the water gauge, so that the water gauge graph is enhanced, the lower end point of the water gauge graph is conveniently and automatically identified and obtained, specifically, the color area needing to be enhanced is determined according to the color of the water gauge and the tolerance range value, the color of the water gauge is preset, preferably, the color of the water gauge is easy to identify, for example, red, and a certain tolerance range value needs to be set in order to avoid the influence of weather and light; the saturation of the color area in the overlay image is then increased so that the water gauge pattern is significantly enhanced. Then, the lower endpoint of the water gauge graph can be determined, then, the corresponding water level scale is determined according to the lower endpoint to obtain the water level value, it is to be noted that each water level scale mark with a certain number of water level scale values at intervals, for example, each five water level scales marks with one water level scale value, specifically, the water level scale value closest to the lower endpoint and located above the lower endpoint is determined, the number of water level scales at intervals between the lower endpoint and the water level scale values is determined, finally, the water level value is calculated, the water level value = the water level scale value-the number of water level scales is calculated, wherein h represents the height value represented by each water level scale, for example, h = 1 cm, the number of water level scales is 3, the determined water level scale value is 50 cm, and the water level value is 47 cm.
As shown in fig. 8, as a preferred embodiment of the present invention, the system further includes a second flood prevention warning information module 500, where the second flood prevention warning information module 500 specifically includes:
a rainfall forecast information unit 501, configured to obtain rainfall forecast information, where the rainfall forecast information is an average rainfall of a first set time value in the future;
a history retrieving unit 502, configured to retrieve history information, where the history information includes a historical average rainfall and a corresponding historical water rising speed;
and a second flood prevention pre-warning information unit 503, configured to generate second flood prevention pre-warning information according to the history information and the rainfall forecast information.
In the embodiment of the invention, further, rainfall forecast information can be obtained through weather forecast, wherein the rainfall forecast information is the average rainfall of a first set time value in the future, for example, the rainfall forecast information is the average rainfall of 2 hours in the future of 4mm/h; then, historical record information is called, wherein the historical record information comprises historical average rainfall and corresponding historical water rising speed; thus, second flood prevention early warning information can be generated according to the historical record information and the rainfall forecast information. Specifically, determining the current water rising speed according to the average rainfall in the historical record information and the rainfall forecast information; and then, the water level value of each water level monitoring point is called, the expected time required for the water level value to reach the water level early warning value is calculated according to the water rising speed and the water level value, when the expected time is smaller than a second set time value, second flood prevention early warning information is generated, the first set time value and the second set time value are set values in advance, and it is easy to understand that the first set time value should be larger than the second set time value.
The foregoing description of the preferred embodiments of the present invention should not be taken as limiting the invention, but rather should be understood to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (5)
1. The off-site water level monitoring and flood prevention early warning method based on machine vision is characterized by comprising the following steps of:
acquiring a water level image containing a plurality of water level monitoring points through a camera, wherein the water level image contains a plurality of water gauge figures;
the method comprises the steps of calling a water gauge mask image corresponding to the camera, wherein the water gauge mask image comprises a plurality of water gauge frames, water level scales are marked on the edges of the water gauge frames, and the positions of the water gauge frames are in one-to-one correspondence with the positions of the water gauge images;
covering the water gauge mask image above the water level image to obtain a covered image, so that the water gauge image in the water level image is displayed in a water gauge frame, and determining the water level value of each water level monitoring point;
the water level early warning value of each water level monitoring point is called, and when one water level value is larger than the corresponding water level early warning value, first flood prevention early warning information is generated;
the step of determining the water level value of each water level monitoring point specifically comprises the following steps:
the coverage image is enhanced according to the color of the water gauge, so that the water gauge graph is enhanced;
determining a lower endpoint of the water gauge graph, and determining a corresponding water level scale according to the lower endpoint to obtain a water level value;
determining a lower endpoint of the water gauge graph, determining a corresponding water level scale according to the lower endpoint, and obtaining a water level value, wherein the method specifically comprises the following steps of:
determining a lower endpoint of the water gauge graph, and determining water level scale values which are nearest to the lower endpoint and are positioned above the lower endpoint, wherein each water level scale mark is provided with a certain number of water level scale values at intervals;
determining the number of water level scales at intervals between the lower end point and the water level scale values;
the water level value is calculated, the water level value=the water level scale value-the number of water level scales is equal to h, wherein h represents the height value represented by each grid of water level scale.
2. The off-site water level monitoring and flood prevention early warning method based on machine vision according to claim 1, wherein the water gauge mask images are directly fetched from a water gauge mask library, the water gauge mask library comprises a plurality of water gauge mask images, and the number value of the water gauge mask images is the same as that of cameras.
3. The off-site water level monitoring and flood prevention early warning method based on machine vision according to claim 1, wherein the step of enhancing the coverage image according to the color of the water gauge to enhance the water gauge pattern comprises the following steps
Determining a color area to be enhanced according to the color of the water gauge and the tolerance range value;
and increasing the saturation of the color area in the coverage image so that the water gauge graph is enhanced.
4. The machine vision-based off-station water level monitoring and flood prevention early warning method of claim 1, further comprising:
acquiring rainfall forecast information, wherein the rainfall forecast information is average rainfall of a first set time value in the future;
the method comprises the steps of calling historical record information, wherein the historical record information comprises historical average rainfall and corresponding historical water rising speed;
and generating second flood prevention early warning information according to the historical record information and the rainfall forecast information.
5. The method for monitoring off-site water level and early warning for flood control according to claim 4, wherein the step of generating the second early warning information for flood control according to the history information and the rainfall forecast information comprises the following steps:
determining the water rising speed according to the average rainfall in the historical record information and the rainfall forecast information;
and calling the water level value of each water level monitoring point, calculating the expected time required by the water level value to reach the water level early warning value according to the water rising speed and the water level value, and generating second flood prevention early warning information when the expected time is smaller than a second set time value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211295173.1A CN115661438B (en) | 2022-10-21 | 2022-10-21 | Off-site water level monitoring and flood prevention early warning method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211295173.1A CN115661438B (en) | 2022-10-21 | 2022-10-21 | Off-site water level monitoring and flood prevention early warning method based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115661438A CN115661438A (en) | 2023-01-31 |
CN115661438B true CN115661438B (en) | 2024-03-08 |
Family
ID=84988681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211295173.1A Active CN115661438B (en) | 2022-10-21 | 2022-10-21 | Off-site water level monitoring and flood prevention early warning method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115661438B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108681848A (en) * | 2018-08-25 | 2018-10-19 | 黄河水利委员会黄河水利科学研究院 | One kind " Trinity " small reservoir or silt arrester flood season method for early warning |
KR102039955B1 (en) * | 2018-08-10 | 2019-11-04 | 주식회사 지엠케이정보통신 | Weather information measuring device through intelligent imagery analysis |
CN110956182A (en) * | 2019-09-23 | 2020-04-03 | 四创科技有限公司 | Method for detecting water area shoreline change based on deep learning |
CN112016831A (en) * | 2020-08-27 | 2020-12-01 | 西安易辑数字科技有限公司 | AI intelligent forecast-based urban waterlogging landing area identification method |
CN112949624A (en) * | 2021-01-25 | 2021-06-11 | 西安电子科技大学 | Water level detection method and device based on water gauge, electronic equipment and storage medium |
CN113435442A (en) * | 2021-05-07 | 2021-09-24 | 三峡大学 | Water level measuring method and device, water gauge and electronic equipment |
WO2021238030A1 (en) * | 2020-05-26 | 2021-12-02 | 浙江大学 | Water level monitoring method for performing scale recognition on the basis of partitioning by clustering |
CN115014299A (en) * | 2022-08-10 | 2022-09-06 | 山脉科技股份有限公司 | Flood peak early warning method based on Internet of things and big data |
CN115186858A (en) * | 2022-03-29 | 2022-10-14 | 南京南瑞水利水电科技有限公司 | Transformer substation flood inundation risk early warning method and system based on different influence types |
-
2022
- 2022-10-21 CN CN202211295173.1A patent/CN115661438B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102039955B1 (en) * | 2018-08-10 | 2019-11-04 | 주식회사 지엠케이정보통신 | Weather information measuring device through intelligent imagery analysis |
CN108681848A (en) * | 2018-08-25 | 2018-10-19 | 黄河水利委员会黄河水利科学研究院 | One kind " Trinity " small reservoir or silt arrester flood season method for early warning |
CN110956182A (en) * | 2019-09-23 | 2020-04-03 | 四创科技有限公司 | Method for detecting water area shoreline change based on deep learning |
WO2021238030A1 (en) * | 2020-05-26 | 2021-12-02 | 浙江大学 | Water level monitoring method for performing scale recognition on the basis of partitioning by clustering |
CN112016831A (en) * | 2020-08-27 | 2020-12-01 | 西安易辑数字科技有限公司 | AI intelligent forecast-based urban waterlogging landing area identification method |
CN112949624A (en) * | 2021-01-25 | 2021-06-11 | 西安电子科技大学 | Water level detection method and device based on water gauge, electronic equipment and storage medium |
CN113435442A (en) * | 2021-05-07 | 2021-09-24 | 三峡大学 | Water level measuring method and device, water gauge and electronic equipment |
CN115186858A (en) * | 2022-03-29 | 2022-10-14 | 南京南瑞水利水电科技有限公司 | Transformer substation flood inundation risk early warning method and system based on different influence types |
CN115014299A (en) * | 2022-08-10 | 2022-09-06 | 山脉科技股份有限公司 | Flood peak early warning method based on Internet of things and big data |
Also Published As
Publication number | Publication date |
---|---|
CN115661438A (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10878556B2 (en) | Interactive semi-automated borescope video analysis and damage assessment system and method of use | |
CN110197180B (en) | Character defect detection method, device and equipment | |
CN112013921B (en) | Method, device and system for acquiring water level information based on water level gauge measurement image | |
CN112036409A (en) | Reading identification method and device of liquid level meter | |
CN110263754B (en) | Method and device for removing shading of off-screen fingerprint, computer equipment and storage medium | |
CN115661438B (en) | Off-site water level monitoring and flood prevention early warning method based on machine vision | |
CN117218130B (en) | Image dimension reduction acquisition method and system for positioning iron element segregation defect | |
CN115661131B (en) | Image identification method and device, electronic equipment and storage medium | |
CN116309838A (en) | Point cloud map positioning capability evaluation system, method, electronic device and storage medium | |
CN116152219A (en) | Concrete member damage detection and assessment method and system thereof | |
CN115526855A (en) | Method and device for detecting subfissure defect of battery piece, computer equipment and storage medium | |
CN114612427A (en) | Nameplate defect detection method and device, electronic equipment and storage medium | |
CN111145674B (en) | Display panel detection method, electronic device and storage medium | |
CN113450385A (en) | Night work engineering machine vision tracking method and device and storage medium | |
CN116134488A (en) | Point cloud labeling method, point cloud labeling device, computer equipment and storage medium | |
CN117935097B (en) | Building surface analysis method and system based on unmanned aerial vehicle wall crawling | |
CN116051521B (en) | River channel width calculation method and system based on satellite images | |
CN113421282B (en) | Motion detection method, apparatus, and medium | |
CN116740163A (en) | Method and device for measuring width and width uniformity of grain ridge | |
CN116363101A (en) | Post-correction method, system, equipment and medium for defect detection based on small image | |
CN113139454B (en) | Road width extraction method and device based on single image | |
CN113077513B (en) | Visual positioning method and device and computer equipment | |
CN113469162B (en) | Pointer instrument identification method, device, equipment and medium based on double-scale segmentation | |
CN116399418B (en) | Water level identification method and system based on fixed camera | |
CN117058244A (en) | Visual evaluation method based on multi-camera calibration and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |