CN116630795A - River and lake problem identification processing method and device, electronic equipment and storage medium - Google Patents

River and lake problem identification processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116630795A
CN116630795A CN202310491071.5A CN202310491071A CN116630795A CN 116630795 A CN116630795 A CN 116630795A CN 202310491071 A CN202310491071 A CN 202310491071A CN 116630795 A CN116630795 A CN 116630795A
Authority
CN
China
Prior art keywords
lake
river
target
image
preset
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.)
Pending
Application number
CN202310491071.5A
Other languages
Chinese (zh)
Inventor
张会敏
樊博
李祥
王贤慧
田坤
倪攀
张涛
李川
郝骏宸
杨浩
武晓媛
王凯胜
钟钰祺
崔明明
陈俊锡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingyan Lingzhi Information Consulting Beijing Co ltd
Beijing Hehu River Basin Management Center
Original Assignee
Qingyan Lingzhi Information Consulting Beijing Co ltd
Beijing Hehu River Basin Management Center
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingyan Lingzhi Information Consulting Beijing Co ltd, Beijing Hehu River Basin Management Center filed Critical Qingyan Lingzhi Information Consulting Beijing Co ltd
Priority to CN202310491071.5A priority Critical patent/CN116630795A/en
Publication of CN116630795A publication Critical patent/CN116630795A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a method, a device, electronic equipment and a non-transitory computer readable storage medium for identifying and processing river and lake problems, wherein the method comprises the steps of acquiring a first river and lake image, wherein the first river and lake image is acquired by image acquisition equipment; inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image; and under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem. The method, the device, the electronic equipment and the non-transitory computer readable storage medium for identifying and processing the river and lake problems can improve the intelligent degree of finding the river and lake problems.

Description

River and lake problem identification processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent treatment of rivers and lakes, in particular to a method and a device for identifying and treating problems of rivers and lakes, electronic equipment and a non-transitory computer readable storage medium.
Background
The river and lake management protection is a complex system engineering and relates to upstream and downstream, left and right banks, different administrative areas and industries. The comprehensive promotion of river growth in 2016 is an inherent requirement for realizing green development concept and promoting ecological civilization construction, is an effective measure for solving complex water problems in China and maintaining healthy life of rivers and lakes, and is a systematic innovation for perfecting a water treatment system and guaranteeing national water safety.
By 2021, 31 provinces in China all establish long-term preparation of rivers and lakes, and the length of five-level river long lakes in the county and the province of the province reaches more than 120 ten thousand. The river course inspection is an important means for the river and river track, and is also an important way for finding problems of the river and the lake. In addition, media exposure, citizen complaints and other approaches are also important approaches for finding problems in rivers and lakes.
However, at present, the problems of the river and the lake are mainly discovered through the approaches of river length, media exposure, citizen complaints and the like, and the degree of intellectualization of the means for discovering the problems of the river and the lake is not enough.
Disclosure of Invention
The invention provides a method and a device for identifying and processing river and lake problems, electronic equipment and a non-transitory computer readable storage medium, which are used for solving the defect of insufficient intelligent degree of a means for finding river and lake problems in the prior art and improving the intelligent degree of finding river and lake problems.
The invention provides a method for identifying and processing river and lake problems, which comprises the following steps:
acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring a target river and lake;
inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
and under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
According to the method for identifying and processing the river and lake problems, after the correction work order is established, the method comprises the following steps:
receiving a second river and lake image of the modified target river and lake;
inputting the second river and lake image into the target river and lake identification model to obtain a second identification result output by the target river and lake identification model based on the second river and lake image;
closing the rectification work order under the condition that the second identification result comprises a second target result, wherein the second target result is used for indicating that the target river and lake have no river and lake problems;
And maintaining the rectification work order in the condition that the second identification result comprises the first target result.
According to the method for identifying and processing the river and lake problems provided by the invention, the method for establishing the target river and lake identification model comprises the following steps:
acquiring a first training set of a plurality of preset river and lake problems, wherein the first training set comprises a plurality of first image training samples and first problem labels respectively corresponding to the plurality of first image training samples, the first problem labels indicate one of the preset river and lake problems or sub-type problems of one of the preset river and lake problems, and the plurality of preset river and lake problems comprise four disorder problems, river and lake water body conditions problems and river and lake pollution discharge problems;
and inputting the first training set into a first initial model for training to obtain a trained first initial model, and taking the trained first initial model as the target river and lake recognition model.
The method for identifying and processing the river and lake problems provided by the invention further comprises the following steps:
acquiring a second training set, wherein the second training set comprises a plurality of second image training samples and second problem labels respectively corresponding to the plurality of second image training samples, and the second problem labels indicate new preset river and lake problems or new sub-category problems of one of the preset river and lake problems;
And inputting the second training set into the target river and lake identification model for updating training to obtain the updated and trained target river and lake identification model.
According to the method for identifying and processing the river and lake problems, the method for acquiring the first river and lake image comprises the following steps:
acquiring the first river and lake image based on the received problem feedback information, wherein the problem feedback information comprises a river and lake feedback problem, problem occurrence time and a problem occurrence position, and the first river and lake image is an image acquired by image acquisition equipment at the problem occurrence time for a target river and lake positioned at the problem occurrence position;
before the first river and lake image is input into a pre-established target river and lake identification model, the method comprises the following steps:
determining a target river and lake problem associated with the river and lake feedback problem from a plurality of preset river and lake problems;
determining a target river and lake identification model corresponding to the target river and lake problem from a plurality of pre-established river and lake identification models, wherein each river and lake identification model is a model established based on each preset river and lake problem.
According to the method for identifying and processing the river and lake problems, each preset river and lake problem comprises a plurality of sub-type problems, and the method for establishing each river and lake identification model comprises the following steps:
Acquiring a third training set of all sub-class problems belonging to the same preset river and lake problem, wherein the third training set comprises a plurality of third image training samples and third problem labels respectively corresponding to the plurality of third image training samples, and the third problem labels indicate one sub-class problem in the same preset river and lake problem;
inputting the third training set into a third initial model corresponding to the same preset river and lake problem for training, obtaining a trained third initial model, and taking the trained third initial model as a river and lake identification model corresponding to the same preset river and lake problem.
According to the method for identifying and processing the river and lake problems, the method for determining the target river and lake problems associated with the river and lake feedback problems from a plurality of preset river and lake problems comprises the following steps:
carrying out association processing on the river and lake feedback problems to obtain a candidate river and lake problem set, wherein the candidate river and lake problem set comprises at least one candidate river and lake problem;
and taking the preset river and lake problem consistent with the candidate river and lake problem as the target river and lake problem under the condition that one preset river and lake problem is consistent with one candidate river and lake problem.
The invention also provides a device for identifying and processing the river and lake problems, which comprises the following steps:
the image acquisition module is used for acquiring a first river and lake image, wherein the first river and lake image is acquired by image acquisition equipment for acquiring a target river and lake;
the river and lake problem identification module is used for inputting the first river and lake image into a pre-established target river and lake identification model so as to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
the river and lake problem processing module is used for establishing a correction work order under the condition that the first identification result comprises a first target result, wherein the correction work order comprises a correction strategy for correcting the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method for identifying and processing the river and lake problems according to any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of identifying a river or lake problem as described in any one of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a method of identifying and treating a river or lake problem as described in any one of the above.
The invention provides a method, a device, electronic equipment and a non-transitory computer readable storage medium for identifying and processing river and lake problems, wherein the method, the device, the electronic equipment and the non-transitory computer readable storage medium are used for acquiring a first river and lake image, and the first river and lake image is acquired by image acquisition equipment; inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image; under the condition that the first identification result comprises a first target result, a rectification work order is established, the rectification work order comprises a rectification strategy for rectifying the target river and the lake, and the first target result is used for indicating that the target river and the lake have the river and the lake problems. In addition, if the environmental problem of the target river and lake is determined, a correction work order is established, and related personnel are prompted to correct the target river and lake, so that the intelligent degree and timeliness of treating the river and lake problem are improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for identifying and treating river and lake problems;
FIG. 2 is a second flow chart of the method for identifying and treating river/lake problems according to the present invention;
FIG. 3 is a schematic diagram of a problem identification library establishment and problem identification process provided by the present invention;
FIG. 4 is a schematic diagram of a recognition warehouse for water body condition problems of rivers and lakes, pollution discharge problems of rivers and lakes, four disorder problems and the like;
FIG. 5 is a schematic structural view of a river/lake problem recognition processing device provided by the invention;
fig. 6 illustrates a physical structure diagram of an electronic device.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method, apparatus, electronic device and non-transitory computer readable storage medium for identifying and processing river and lake problems of the present invention are described below with reference to fig. 1 to 6.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for identifying and treating a river and lake problem according to the present invention. As shown in fig. 1, in one embodiment, the method for identifying and processing a river and lake problem includes:
110. and acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring the target river and lake.
The target river or lake may refer to a specific river or lake, or may refer to any river or lake, and is not limited herein. The image acquisition device can be fixedly arranged at the bank side of the target river and lake; in addition, the image acquisition device may be an image acquisition device installed on the unmanned aerial vehicle, so that the unmanned aerial vehicle can shoot the target river and lake to obtain a first river and lake image when cruising to the target river and lake, and the image acquisition device is not limited herein.
120. Inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image.
The target river and lake recognition model is a pre-established model and is used for recognizing based on the input river and lake images so as to output recognition results, and the recognition results output by the target river and lake recognition model can reflect whether the river and lake have the river and lake problems.
Optionally, the first recognition result may include a first confidence level corresponding to each preset river and lake problem. If the maximum first confidence coefficient is greater than the confidence coefficient threshold value, the preset river and lake problem corresponding to the maximum first confidence coefficient can be used as the target river and lake problem. Optionally, the plurality of preset river and lake problems include a four disorder problem, a river and lake water condition problem, a river and lake pollution discharge problem and the like.
130. And under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
Wherein the modification work order indicates modification of the target river and lake problem of the target river and lake. Specifically, the rectification work order includes a rectification policy so that a worker performs rectification according to the rectification policy. Alternatively, the rectifying work order can be processed by communicating the river length in the modes of short message, telephone, mail and the like.
According to the technical scheme, a first river and lake image is acquired, wherein the first river and lake image is acquired by image acquisition equipment; inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image; under the condition that the first identification result comprises a first target result, a rectification work order is established, the rectification work order comprises a rectification strategy for rectifying the target river and the lake, and the first target result is used for indicating that the target river and the lake have the river and the lake problem. In addition, if the environmental problem of the target river and lake is determined, a correction work order is established, and related personnel are prompted to correct the target river and lake, so that the intelligent degree and timeliness of treating the river and lake problem are improved.
Referring to fig. 2, fig. 2 is a second flow chart of the method for identifying and treating river and lake problems according to the present invention. As shown in fig. 2, in one embodiment, the method for identifying and processing a river and lake problem includes:
210. And acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring the target river and lake.
220. Inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image.
230. And under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
Reference may be made to the descriptions of the embodiments 110, 120 and 130 described above for 210, 220 and 230, and the descriptions are omitted here.
240. And receiving a second river and lake image of the modified target river and lake.
The second river and lake image can be uploaded image after the target river and lake is rectified, and the rectified target river and lake is photographed; in addition, the second river and lake image may be obtained by reporting the modification completion instruction after modifying the target river and lake, and then the image acquisition device installed on the target river and lake may be called based on the modification completion instruction to shoot the modified target river and lake, or the second river and lake image may be searched from the image shot by the target river and lake by the image acquisition device installed on the unmanned plane based on the modification completion instruction, which is not limited herein.
250. And inputting the second river and lake image into the target river and lake identification model to obtain a second identification result output by the target river and lake identification model based on the second river and lake image.
Optionally, the second recognition result may include a second confidence coefficient corresponding to each preset river and lake problem; if the second confidence coefficient corresponding to the target river and lake problem is larger than the confidence coefficient threshold value, determining that the target river and lake problem still exists in the modified target river and lake; and if the second confidence coefficient corresponding to the target river and lake problem is smaller than the confidence coefficient threshold value, determining that the target river and lake problem does not exist after the modification.
260. And closing the rectification work order under the condition that the second identification result comprises a second target result, wherein the second target result is used for indicating that the target river and lake have no river and lake problems.
In this embodiment, if the second recognition result indicates that the modified target river and lake does not have the target river and lake problem, it indicates that the target river and lake problem has been modified, and the modification work order may be closed at this time.
270. And maintaining the rectification work order in the condition that the second identification result comprises the first target result.
In this embodiment, if the second recognition result indicates that the target river and lake problem still exists in the modified target river and lake, it is indicated that the modification of the river and lake problem is not in place, and the modification work order needs to be maintained until the related personnel modify the target river and lake problem of the target river and lake.
According to the technical scheme, a first river and lake image is acquired, wherein the first river and lake image is acquired by image acquisition equipment; inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image; under the condition that the first identification result comprises a first target result, a modification work order is established, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem; receiving a second river and lake image of the modified target river and lake; inputting the second river and lake image into the target river and lake identification model to obtain a second identification result output by the target river and lake identification model based on the second river and lake image; closing the rectification work order under the condition that the second identification result comprises a second target result, wherein the second target result is used for indicating that the target river and lake have no river and lake problems; and under the condition that the second identification result comprises the first target result, maintaining the rectification work order, and improving the intelligent degree of the river and lake problem treatment because the closed-loop solution of the river and lake problem can be automatically realized. The river and lake management targets of 'no direct sewage draining port of a river channel, no garbage and dregs on two sides, no blackness and no odor of a water body, no floaters on the river surface, no new additional illegal construction of a management range and reduced stock' can be realized, and effective support is provided for the standard track of river length.
It should be noted that, in the target river and lake identification model in this embodiment, training samples corresponding to each of a plurality of preset environmental problems may be input to one initial model for training, or an initial model corresponding to each preset environmental problem may be established for each preset environmental problem in the plurality of preset environmental problems, and the training samples corresponding to each preset environmental problem may be input to the initial model corresponding to each preset environmental problem for training, which is not limited herein.
Firstly, a training sample corresponding to each of a plurality of preset environmental problems is input into an initial model for training.
In one possible implementation, the method for establishing the target river and lake identification model includes:
acquiring a first training set of a plurality of preset river and lake problems, wherein the first training set comprises a plurality of first image training samples and first problem labels respectively corresponding to the plurality of first image training samples, and the first problem labels indicate one of the preset river and lake problems or sub-type problems of one of the preset river and lake problems;
and inputting the first training set into a first initial model for training to obtain a trained first initial model, and taking the trained first initial model as the target river and lake recognition model.
The first image training sample may be an image sample obtained by shooting a river and a lake with a preset environmental problem. The first question label may be a real environmental question label marked on the first image training sample after the first image training sample is obtained. The plurality of preset river and lake problems comprise four disorder problems, river and lake water body condition problems, river and lake pollution discharge problems and the like. Each preset river and lake question includes one or more sub-class questions. Optionally, sub-category problems of the four disorder problem include, but are not limited to, disorder occupancy, disorder digging, disorder stacking and disorder construction occurring within the scope of river and lake protection. Sub-class problems of river and lake water conditions include, but are not limited to, problems of garbage, sundries, waste, floats, dead branches and rotten leaves, spirogyra, duckweed, bottom mud billowing, abnormal water color and the like on the water surface. Sub-class problems of river and lake pollution discharge problems include, but are not limited to, pollution discharge by using a gully or a sewage outlet, obvious boundary lines of river water colors, and the like, and are not limited herein.
In this embodiment, the first training sets of the plurality of preset river and lake problems are all input into a first initial model for training, so as to obtain a target river and lake identification model capable of identifying the plurality of preset river and lake problems.
It should be noted that, for the problems such as the four disorder phenomenon, the recognition can be performed by the recognition module based on the behavior recognition in the model. For the water condition problem, the recognition can be performed by a recognition module based on image and color recognition in the model, that is, the target river and lake recognition model of the embodiment can be a comprehensive recognition model based on image recognition, behavior recognition and color recognition.
It can be understood that if the first image training sample indicates one of the plurality of preset river and lake problems, determining which one of the plurality of preset river and lake problems exists in the target river and lake according to the first recognition result; if the first image training sample indicates one of the sub-class problems of one of the preset river and lake problems, determining which sub-class problem exists in the target river and lake according to the first recognition result.
Referring to fig. 3, fig. 3 is a schematic flow chart of problem identification library establishment and problem identification provided by the present invention.
Specifically, common river and lake problems and four disorder problems in a river management range can be combed, and the problems are respectively imported into a control system according to contents such as water surface floaters, river pollution discharge, river and lake garbage, garbage residue on two sides, water color, illegal construction and the like, so as to establish a problem identification library;
Constructing a comprehensive recognition model based on integration of image recognition, behavior recognition, color recognition and the like, recognizing the acquired information by using the model, manually rechecking the information which cannot be judged, adding the information to a recognition library, and gradually perfecting the content of the recognition library;
image acquisition equipment along the river and lake, citizen report pictures, media exposure pictures, videos and pictures shot by the river and the river, suspected river and lake problems and suspected 'four disorder' problems in the river management range are acquired, the system is utilized for identification, reliability and accuracy of problem identification are improved, and the multisource information technology means is utilized for improving the density and accuracy of the river and the river.
And pushing the river and lake problems and the four disorder problems to the river according to the identified problems.
The identification library is further established based on the river and lake water body condition problem, the river and lake pollution discharge problem, the four disorder problem in the river management range and the like:
refining a problem classification judgment standard, wherein the 'four disorder' problem refers to disorder occupation, disorder digging, disorder stacking and disorder construction in the protection range of rivers and lakes; the water body problem refers to the occurrence of garbage, sundries, wastes, floaters, dead branches, rotten leaves, spirogyra, duckweed, bottom mud billowing, abnormal water body color and the like on the water surface; river course pollution discharge means that a rain water inlet or a sewage outlet is utilized for pollution discharge, and obvious boundary lines appear in the color of the river course water body; establishing problem identification characteristics under different conditions;
Based on collected or collected images, video data and the like, the problem identification library is established based on the clear four disorder, the maintenance of the water environment and the prevention of the river and lake pollution discharge phenomenon.
Further based on a comprehensive recognition model integrating image recognition, behavior recognition and color recognition, analyzing the types of the water surface floaters by recognizing the sizes and types of the water surface floaters; the dynamic change of the floating matters on the water surface is determined by analyzing images of different positions of the river channel and combining the flow velocity of the river channel; the reflection condition of light is reflected by different water colors, the water color change is identified, and the pollution discharge condition is identified; the 'four disorder' behavior in the management range is determined by identifying the behaviors of personnel and machinery in the management range of the river channel. And the system can not be identified by manual auxiliary identification and is used as the supplementary content of the database.
Further based on video acquisition, picture reporting, exposure picture and picture taking during river patrol, the method is matched with a database, accuracy of problem identification is improved, video image acquisition frequency along the river is encrypted, and river patrol density is improved.
Based on the working content of the river, the problem classification is set, and the problem classification mainly comprises a 'four disorder' problem, a water body condition of the river and the lake and a pollution discharge problem of the river and the lake.
Referring to fig. 4, fig. 4 is a schematic diagram of a recognition library for water conditions, pollution discharge and "four disorder" of a river and a lake according to the present invention.
In one possible implementation, the method of the present embodiment further includes:
acquiring a second training set, wherein the second training set comprises a plurality of second image training samples and second problem labels respectively corresponding to the plurality of second image training samples, and the second problem labels indicate new preset river and lake problems or new sub-category problems of one of the preset river and lake problems;
and inputting the second training set into the target river and lake identification model for updating training to obtain the updated and trained target river and lake identification model.
Specifically, in this embodiment, in the actual process of occurrence of the river and lake problems, some new preset river and lake problems are easy to occur, or some new sub-type problems in the preset river and lake problems occur, if the original model is continuously used for identification, the new preset river and lake problems may not be identified, or the new sub-type problems may not be identified.
Therefore, in this embodiment, by acquiring a second training set, where the second training set includes a plurality of second image training samples and second problem labels corresponding to the plurality of second image training samples respectively, the second problem labels indicate a new preset river-lake problem or a new sub-class problem of one of the preset river-lake problems; and inputting the second training set into the target river and lake recognition model for updating training to obtain the updated and trained target river and lake recognition model, namely updating and training the target river and lake recognition model when a new preset river and lake problem or a new sub-class problem in one of the preset river and lake problems occurs, so that accuracy of river and lake problem recognition is improved.
It should be noted that, when the first recognition result indicates that the target river and lake does not have the target river and lake problem, the first river and lake image corresponding to the first recognition result may be uploaded to the server, so that the first river and lake image stored in the server is determined by manual assistance, and if a new preset problem or a new sub-class problem is found, the first river and lake image corresponding to the new preset problem or the new sub-class problem may be used as a second image training sample in the second training sample set, so as to update and train the target river and lake recognition model.
Secondly, a plurality of preset environmental problems are respectively trained and corresponding river and lake identification models are explained.
In one possible implementation, acquiring a first river and lake image includes:
and acquiring the first river and lake image based on the received problem feedback information, wherein the problem feedback information comprises a river and lake feedback problem, problem occurrence time and a problem occurrence position, and the first river and lake image is an image acquired by the image acquisition device at the problem occurrence time for a target river and lake positioned at the problem occurrence position.
The problem feedback information may be problem feedback information reported by a river, or may be problem feedback information reported by a citizen, or may be problem feedback information crawled from news of media exposure, which is not limited herein. The occurrence time of the problems refers to the occurrence time of the feedback problems of the rivers and the lakes, and the occurrence position of the problems refers to the occurrence position of the feedback problems of the rivers and the lakes.
In this embodiment, when the problem feedback information is received, an image acquired by the image acquisition device located at the position where the problem occurs for the river or lake at the time of occurrence of the problem is taken as the first river or lake image based on the problem feedback information.
Before the first river and lake image is input into a pre-established target river and lake identification model, the method comprises the following steps:
determining a target river-lake problem associated with the river-lake feedback problem from a plurality of preset river-lake problems, wherein the plurality of preset river-lake problems comprise a four-disorder problem, a river-lake water body condition problem and a river-lake pollution discharge problem;
determining a target river and lake identification model corresponding to the target river and lake problem from a plurality of pre-established river and lake identification models, wherein each river and lake identification model is a model established based on each preset river and lake problem.
In this embodiment, first, respective corresponding river and lake identification models are respectively built for a plurality of preset river and lake problems, so as to obtain a plurality of river and lake identification models. And acquiring a first river and lake image based on the problem occurrence time and the problem occurrence position of the problem feedback information after the problem feedback information is received, searching a target river and lake problem which is determined to be related to the river and lake feedback problem from a plurality of preset river and lake problems, and determining a target river and lake recognition model corresponding to the target river and lake problem from a plurality of preset river and lake recognition models, so that the first river and lake image is input into the target river and lake recognition model, and a recognition result is obtained.
According to the technical scheme, through establishing respective corresponding river and lake identification models for each preset river and lake problem, when the river and lake is required to be identified, the target river and lake problem associated with the river and lake feedback problem can be determined from a plurality of preset river and lake problems, and the target river and lake identification model corresponding to the target river and lake problem is determined from a plurality of preset river and lake identification models, so that the first identification result corresponding to the first river and lake image is identified based on the target river and lake identification models, that is, the river and lake identification models corresponding to each preset river and lake problem are independent, one river and lake identification model is problematic, normal use of other river and lake identification models is not affected, and the plurality of river and lake identification models are mutually decoupled, so that the reliability of river and lake problem identification is improved. In addition, accuracy of identifying river and lake problems can be improved.
In one possible implementation, each preset river and lake problem includes a plurality of sub-class problems, and the building manner of each river and lake identification model includes:
acquiring a third training set of all sub-class problems belonging to the same preset river and lake problem, wherein the third training set comprises a plurality of third image training samples and third problem labels respectively corresponding to the plurality of third image training samples, and the third problem labels indicate one sub-class problem in the same preset river and lake problem;
Inputting the third training set into a third initial model corresponding to the same preset river and lake problem for training, obtaining a trained third initial model, and taking the trained third initial model as a river and lake identification model corresponding to the same preset river and lake problem.
The third training sample image may be an image sample obtained by photographing a river and a lake with a subclass problem of a unified preset river and lake problem. The third question label may be a real sub-class question label that marks the third image training sample after it is obtained.
In this embodiment, a third training set of all sub-types of questions belonging to the same preset river and lake question is input into a third initial model for training, so that a trained third initial model can be obtained, and the trained third initial model is used as a river and lake recognition model corresponding to the same preset river and lake question.
In some cases, citizens, media or just any river length reflect that the feedback problem of the river and the lake in the feedback information of the problem is not necessarily accurate, that is, the feedback problem of the river and the lake is not necessarily matched with the expression of a plurality of preset river and lake problems, which can lead to the fact that which problems can not be determined, and the problems need to be respectively input into a plurality of river and lake recognition models for recognition, which can lead to very great recognition calculation power.
In one possible implementation, the determining, from a plurality of preset river and lake problems, a target river and lake problem associated with the river and lake feedback problem includes:
carrying out association processing on the river and lake feedback problems to obtain a candidate river and lake problem set, wherein the candidate river and lake problem set comprises at least one candidate river and lake problem;
and taking the preset river and lake problem consistent with the candidate river and lake problem as the target river and lake problem under the condition that one preset river and lake problem is consistent with one candidate river and lake problem.
According to the technical scheme, the river and lake candidate problem set is obtained by carrying out association processing on the river and lake feedback problem, wherein the river and lake candidate problem set comprises at least one river and lake candidate problem; under the condition that one of the preset river and lake problems is consistent with one of the candidate river and lake problems, the preset river and lake problem consistent with the candidate river and lake problem is taken as the target river and lake problem, so that one of the target river and lake recognition models in the multiple river and lake recognition models is determined, and when the river and lake feedback problem in the problem feedback information is not necessarily accurate, the preset river and lake problem consistent with the candidate river and lake problem can be accurately determined as the target river and lake problem, so that one of the target river and lake recognition models in the multiple river and lake recognition models is determined, and the calculation force required by river and lake problem recognition is reduced.
The following describes the identifying and processing device for the river and lake problems provided by the invention, and the identifying and processing device for the river and lake problems described below and the identifying and processing method for the river and lake problems described above can be correspondingly referred to each other.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a device for identifying and treating river and lake problems according to the present invention. As shown in fig. 5, the identifying and processing device for river and lake problems may include:
the image acquisition module 510 is configured to acquire a first river and lake image, where the first river and lake image is an image acquired by an image acquisition device for acquiring a target river and lake; the river and lake problem recognition module 520 is configured to input the first river and lake image into a pre-established target river and lake recognition model, so as to obtain a first recognition result output by the target river and lake recognition model based on the first river and lake image; the river and lake problem processing module 530 is configured to establish a modification work order if the first identification result includes a first target result, where the modification work order includes a modification policy for modifying the target river and lake, and the first target result is used to indicate that the target river and lake has a river and lake problem.
In one possible implementation, the image acquisition module 510 is further configured to receive a second river lake image of the modified target river lake; the river and lake problem recognition module 520 is further configured to input the second river and lake image to the target river and lake recognition model, so as to obtain a second recognition result output by the target river and lake recognition model based on the second river and lake image; the river and lake problem processing module 530 is further configured to close the modification work order if the second identification result includes a second target result, where the second target result is used to indicate that the target river and lake does not have a river and lake problem; and maintaining the rectification work order in the condition that the second identification result comprises the first target result.
In one possible implementation, the apparatus further includes: the first training module is used for acquiring a first training set of a plurality of preset river and lake problems, wherein the first training set comprises a plurality of first image training samples and first problem labels respectively corresponding to the plurality of first image training samples, and the first problem labels indicate one of the preset river and lake problems or a sub-class problem of one of the preset river and lake problems; and inputting the first training set into a first initial model for training to obtain a trained first initial model, and taking the trained first initial model as the target river and lake recognition model.
In a possible implementation, the first training module is further configured to obtain a second training set, where the second training set includes a plurality of second image training samples and second problem labels corresponding to the plurality of second image training samples respectively, where the second problem labels indicate a new preset river-lake problem or a new sub-class problem of one of the preset river-lake problems; and inputting the second training set into the target river and lake identification model for updating training to obtain the updated and trained target river and lake identification model.
In a possible implementation, the image acquisition module 510 is further configured to acquire the first river and lake image based on the received problem feedback information, where the problem feedback information includes a river and lake feedback problem, a problem occurrence time, and a problem occurrence position, and the first river and lake image is an image acquired by the image acquisition device at the problem occurrence time for a target river and lake located at the problem occurrence position; the river and lake problem identification module 520 is further configured to determine a target river and lake problem associated with the river and lake feedback problem from a plurality of preset river and lake problems; determining a target river and lake identification model corresponding to the target river and lake problem from a plurality of pre-established river and lake identification models, wherein each river and lake identification model is a model established based on each preset river and lake problem.
In one possible implementation, each preset river and lake question includes a plurality of sub-class questions, the apparatus further comprising: the second training module is used for acquiring a third training set of all sub-class questions belonging to the same preset river and lake questions, wherein the third training set comprises a plurality of third image training samples and third question labels respectively corresponding to the plurality of third image training samples, and the third question labels indicate one of the sub-class questions in the same preset river and lake questions; inputting the third training set into a third initial model corresponding to the same preset river and lake problem for training, obtaining a trained third initial model, and taking the trained third initial model as a river and lake identification model corresponding to the same preset river and lake problem.
In a possible implementation, the river and lake problem recognition module 520 is further configured to perform association processing on the river and lake feedback problem to obtain a candidate river and lake problem set, where the candidate river and lake problem set includes at least one candidate river and lake problem; and taking the preset river and lake problem consistent with the candidate river and lake problem as the target river and lake problem under the condition that one preset river and lake problem is consistent with one candidate river and lake problem.
Fig. 6 illustrates a physical schematic diagram of an electronic device, as shown in fig. 6, which may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may call logic instructions in the memory 630 to perform a method of identifying and processing a river-lake problem, the method comprising:
acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring a target river and lake;
inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
And under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the method for identifying and processing a river and lake problem provided by the above methods, the method comprising:
acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring a target river and lake;
inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
and under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method for identifying and processing a river and lake problem provided by the above methods, the method comprising:
Acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring a target river and lake;
inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
and under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for identifying and processing the river and lake problems is characterized by comprising the following steps:
acquiring a first river and lake image, wherein the first river and lake image is acquired by an image acquisition device for acquiring a target river and lake;
inputting the first river and lake image into a pre-established target river and lake identification model to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
and under the condition that the first identification result comprises a first target result, establishing a modification work order, wherein the modification work order comprises a modification strategy for modifying the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
2. The method for recognizing and processing a river/lake problem according to claim 1, comprising, after said creating a rectification work order:
receiving a second river and lake image of the modified target river and lake;
inputting the second river and lake image into the target river and lake identification model to obtain a second identification result output by the target river and lake identification model based on the second river and lake image;
closing the rectification work order under the condition that the second identification result comprises a second target result, wherein the second target result is used for indicating that the target river and lake have no river and lake problems;
And maintaining the rectification work order in the condition that the second identification result comprises the first target result.
3. The method for identifying and processing a river and lake problem according to claim 1 or 2, wherein the method for establishing the target river and lake identification model comprises the following steps:
acquiring a first training set of a plurality of preset river and lake problems, wherein the first training set comprises a plurality of first image training samples and first problem labels respectively corresponding to the plurality of first image training samples, and the first problem labels indicate one of the preset river and lake problems or sub-type problems of one of the preset river and lake problems;
and inputting the first training set into a first initial model for training to obtain a trained first initial model, and taking the trained first initial model as the target river and lake recognition model.
4. The method for identifying and processing a river/lake problem as defined in claim 3, further comprising:
acquiring a second training set, wherein the second training set comprises a plurality of second image training samples and second problem labels respectively corresponding to the plurality of second image training samples, and the second problem labels indicate new preset river and lake problems or new sub-category problems of one of the preset river and lake problems;
And inputting the second training set into the target river and lake identification model for updating training to obtain the updated and trained target river and lake identification model.
5. The method for identifying and processing a river/lake problem according to claim 1 or 2, wherein the acquiring the first river/lake image includes:
acquiring the first river and lake image based on the received problem feedback information, wherein the problem feedback information comprises a river and lake feedback problem, problem occurrence time and a problem occurrence position, and the first river and lake image is an image acquired by image acquisition equipment at the problem occurrence time for a target river and lake positioned at the problem occurrence position;
before the first river and lake image is input into a pre-established target river and lake identification model, the method comprises the following steps:
determining a target river and lake problem associated with the river and lake feedback problem from a plurality of preset river and lake problems;
determining a target river and lake identification model corresponding to the target river and lake problem from a plurality of pre-established river and lake identification models, wherein each river and lake identification model is a model established based on each preset river and lake problem.
6. The method for recognizing and processing river and lake problems according to claim 5, wherein each preset river and lake problem includes a plurality of sub-class problems, and the method for establishing each river and lake recognition model includes:
Acquiring a third training set of all sub-class problems belonging to the same preset river and lake problem, wherein the third training set comprises a plurality of third image training samples and third problem labels respectively corresponding to the plurality of third image training samples, and the third problem labels indicate one sub-class problem in the same preset river and lake problem;
inputting the third training set into a third initial model corresponding to the same preset river and lake problem for training, obtaining a trained third initial model, and taking the trained third initial model as a river and lake identification model corresponding to the same preset river and lake problem.
7. The method for identifying and processing a river and lake problem according to claim 5, wherein the determining a target river and lake problem associated with the river and lake feedback problem from a plurality of preset river and lake problems comprises:
carrying out association processing on the river and lake feedback problems to obtain a candidate river and lake problem set, wherein the candidate river and lake problem set comprises at least one candidate river and lake problem;
and taking the preset river and lake problem consistent with the candidate river and lake problem as the target river and lake problem under the condition that one preset river and lake problem is consistent with one candidate river and lake problem.
8. An apparatus for identifying and treating a river/lake problem, comprising:
the image acquisition module is used for acquiring a first river and lake image, wherein the first river and lake image is acquired by image acquisition equipment for acquiring a target river and lake;
the river and lake problem identification module is used for inputting the first river and lake image into a pre-established target river and lake identification model so as to obtain a first identification result output by the target river and lake identification model based on the first river and lake image;
the river and lake problem processing module is used for establishing a correction work order under the condition that the first identification result comprises a first target result, wherein the correction work order comprises a correction strategy for correcting the target river and lake, and the first target result is used for indicating that the target river and lake has a river and lake problem.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of identifying a river or lake according to any one of claims 1 to 7 when the program is executed.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the method of identifying a river or lake according to any one of claims 1 to 7.
CN202310491071.5A 2023-05-04 2023-05-04 River and lake problem identification processing method and device, electronic equipment and storage medium Pending CN116630795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310491071.5A CN116630795A (en) 2023-05-04 2023-05-04 River and lake problem identification processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310491071.5A CN116630795A (en) 2023-05-04 2023-05-04 River and lake problem identification processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116630795A true CN116630795A (en) 2023-08-22

Family

ID=87640866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310491071.5A Pending CN116630795A (en) 2023-05-04 2023-05-04 River and lake problem identification processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116630795A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117370589A (en) * 2023-12-07 2024-01-09 北京瞭望神州科技有限公司 Natural resource full-ecology real-time perception big data management method and management platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117370589A (en) * 2023-12-07 2024-01-09 北京瞭望神州科技有限公司 Natural resource full-ecology real-time perception big data management method and management platform
CN117370589B (en) * 2023-12-07 2024-02-09 北京瞭望神州科技有限公司 Natural resource full-ecology real-time perception big data management method and management platform

Similar Documents

Publication Publication Date Title
Park et al. Patch-based crack detection in black box images using convolutional neural networks
Deb et al. An efficient method of vehicle license plate recognition based on sliding concentric windows and artificial neural network
CN108509919A (en) A kind of detection and recognition methods based on deep learning to waterline in video or picture
CN108388916B (en) Method and system for automatically identifying water floater based on artificial intelligence
CN109740689B (en) Method and system for screening error labeling data of image semantic segmentation
CN116630795A (en) River and lake problem identification processing method and device, electronic equipment and storage medium
CN114842019B (en) Battery plate surface defect detection method, system, storage medium and equipment
CN111583180B (en) Image tampering identification method and device, computer equipment and storage medium
CN110781882A (en) License plate positioning and identifying method based on YOLO model
CN110008917A (en) Fault detection method based on the relay protection device constant value forms data that table understands
CN114387455A (en) Artificial intelligence-based sewage discharge real-time monitoring method, system and equipment
CN116485709A (en) Bridge concrete crack detection method based on YOLOv5 improved algorithm
CN114627316A (en) Hydraulic system oil leakage detection method based on artificial intelligence
CN115035539B (en) Document anomaly detection network model construction method and device, electronic equipment and medium
CN110599458A (en) Underground pipe network detection and evaluation cloud system based on convolutional neural network
CN115995056A (en) Automatic bridge disease identification method based on deep learning
CN117094975A (en) Method and device for detecting surface defects of steel and electronic equipment
CN113537037A (en) Pavement disease identification method, system, electronic device and storage medium
CN115496716A (en) Single and double micronucleus cell image detection method based on deep learning and related equipment
CN115661695B (en) Unmanned aerial vehicle-based river drain monitoring and early warning method and system
CN116484259A (en) Urban pipe network defect position positioning analysis method and system
CN116992880A (en) Building name identification method, device, electronic equipment and storage medium
CN116630683A (en) Road damage detection method based on diffusion self-adaptive feature extraction
CN113450461B (en) Soil-discharging-warehouse geotechnical distribution cloud extraction method
CN115953678A (en) Pavement damage detection method based on local gray extreme point and feature fusion

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