Pipeline dredging auxiliary pricing method based on image recognition technology

Through image recognition technology and deep learning, combined with the Hough circle detection algorithm, it can automatically identify pipeline sediments and calculate the degree of sedimentation, solving the problems of low efficiency and large errors of traditional manual calculations, and achieving efficient and accurate calculation of pipeline dredging project costs. .

CN118644682AActive Publication Date: 2024-09-13YANGTZE THREE GORGES TECHNOLOGY & ECONOMY DEVELOPMENT CO LTD

Patent Information

Application Number
CN202410739129.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-13
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

In the existing technology, the cost calculation of municipal pipeline dredging projects relies on traditional manual calculation, which has problems of low efficiency and large errors, which affects the accuracy and efficiency of cost calculation.

Method used

An auxiliary pricing method for pipeline desilting based on image recognition technology is adopted. Through deep learning technology and target detection network, combined with the Hough circle detection algorithm, the siltation in the pipeline cross-section image is automatically identified and the degree of siltation is calculated, and then the desilting cost is calculated, providing An intelligent and efficient solution.

Benefits of technology

It effectively reduces manual calculation errors, improves the accuracy and efficiency of dredging cost calculation, and realizes intelligent and efficient cost management of pipeline dredging projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644682A
    Figure CN118644682A
Patent Text Reader

Abstract

The invention provides a pipeline dredging auxiliary pricing method based on an image recognition technology. The method comprises the following steps: S1, carrying out picture data acquisition, manual labeling and training data set making; s2, taking the target detection network as a basic framework, training the target detection network by using the training data collected in the step S1, and improving the precision of a target detection network model by adjusting and optimizing training parameters to meet the target detection requirements; s3, identifying deposits in the pipeline and a rectangular bounding box thereof by using the target detection model established in the step S2, and obtaining a circle group on the section of the pipeline in combination with a circle detection method based on improved Hough gradient transformation; s4, according to the data obtained in the step S3, the Hough circle where the end point of the sediment detection frame is located is judged, and the sediment deposition degree of the sediment in the pipeline is calculated and evaluated; and S5, according to the pricing formulas under different deposition degrees, the pipeline desilting work cost is calculated. And assistance can be provided for pipeline dredging cost calculation work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of municipal pipe network engineering cost management, and in particular relates to a pipeline dredging auxiliary pricing method based on image recognition technology. Background Art

[0002] As a core component of urban infrastructure, the municipal pipeline system undertakes the key functions of transporting water resources, removing waste and preventing floods. As time goes by, silt, garbage and other debris will inevitably accumulate inside the pipeline, seriously hindering the normal flow of water in the pipeline, and then leading to catastrophic events such as urban waterlogging and flooding, which have a negative impact on the quality of life of urban residents and the sustainable development of the city. In addition, the accumulation of pollutants inside the pipeline may also cause environmental pollution problems and pose a potential threat to the ecological environment. Therefore, it is particularly urgent to conduct regular inspections, repairs and maintenance of municipal pipelines.

[0003] Pipeline desilting is a key task in pipeline maintenance. Cleaning and dredging the silt inside the pipeline can effectively prevent sewage overflow, ensure the smooth flow of the pipeline, and thus ensure the normal operation of the city. Before carrying out pipeline repair work, the pipeline needs to be desilted to make the internal situation of the pipeline clearly visible, and then further judge the pipeline operation status and determine the appropriate repair method. The implementation of desilting work can increase the service life of the pipeline and provide a basis for subsequent repair work.

[0004] The cost calculation of pipeline desilting is an important part of municipal engineering management. However, the current cost calculation of pipeline desilting projects still mainly relies on traditional manual calculation methods, which are prone to misjudgment and low efficiency. Before pricing the pipeline desilting volume, staff need to visually judge the condition of the pipeline before and after desilting. This type of calculation method is not only time-consuming and labor-intensive, but also prone to errors, affecting the accuracy and efficiency of the pipeline desilting cost calculation. Summary of the invention

[0005] Aiming at the pricing characteristics and requirements of municipal pipeline dredging projects, the present invention proposes a pipeline dredging auxiliary pricing method based on image recognition network. This method introduces deep learning technology to assist financial management personnel in cost calculation. While reducing manual calculation errors, it further improves the accuracy of dredging cost calculation, providing an intelligent and efficient solution for municipal pipeline dredging project cost management, so as to solve the problems of low efficiency and large errors of traditional manual calculation methods.

[0006] In order to realize the above technical features, the object of the present invention is achieved as follows: a pipeline dredging auxiliary pricing method based on image recognition technology comprises the following implementation steps: Step S1, using CCTV detection equipment to shoot pipeline video, intercepting pipeline cross-section images containing silt from the video, selecting pipeline cross-section images with suitable angles and clarity through image screening and sampling, pre-processing the images, improving image quality by removing noise, enhancing contrast, and sharpening edges, and annotating them using annotation tools to obtain a data set for training the target detection network; Step S2, based on the target detection network, construct a pipeline cross-section image target detection model, use the data set obtained in step S1 to train the model, adjust the model parameters to optimize the model recognition effect, and improve the model accuracy until the target detection requirements are met; Step S3, using the target detection model trained in step S2 to identify the pipeline cross-section image, identify the sediment and mark its target detection frame, and use the Hough circle detection algorithm to obtain the pipeline cross-section circle parameter group; Step S4, based on the sediment target detection frame information obtained in step S3, determine the Hough circle where the detection frame endpoints are located, use the above information to calculate the height of the sediment cross section relative to the pipeline cross section, and determine the degree of pipeline siltation; Step S5, substituting the obtained data into the pipeline desilting pricing formula under different pipe diameters and different siltation degrees to further obtain the pipeline desilting cost.

[0007] The CCTV detection equipment in step S1 is a common model, and the collected pipeline cross-section image is taken vertically along the pipeline cross-section.

[0008] The target detection network is based on the EfficientDet deep learning algorithm, including a weighted bidirectional feature pyramid network module for feature fusion, which provides rich contextual information through top-down and bottom-up paths for multi-scale and high-level semantic information processing; a composite scaling strategy for network optimization, which achieves optimal resource utilization efficiency by adopting a strategy of simultaneously adjusting network depth, width and input resolution; including a Soft-NMS algorithm for reducing overlapping detection boxes; including a decoder module for classification and regression of output results, which converts the extracted and fused feature maps into accurate target boxes and category probabilities to complete the target detection task.

[0009] IoU and GIOU are used as quality evaluation criteria to more accurately measure the degree of overlap between the detection box and the true box.

[0010] The method for identifying pipeline sediment in step S3 is: calling the target detection model to identify the image, and drawing the corresponding detection frame while identifying the sediment to intuitively display its area in the image; the method for detecting Hough circles in the pipeline image is: calling the circle detection algorithm based on the improved Hough gradient transform, processing the image, and identifying the circular structure in the pipeline cross section.

[0011] The method for determining the Hough circle where the two end points of the bottom of the pipeline sediment detection frame are located in step S4 is: for each detected Hough circle, calculate the distance from the center of each circle to the two end points of the detection frame, and determine whether it is equal to the radius of the Hough circle. If the distance from the center of the circle to the two points of the sediment detection frame is equal to or close to its radius, then the Hough circle is the Hough circle.

[0012] The method for judging the degree of silt accumulation in the pipeline in step S4 is: using the coordinate information of the center of the Hough circle and the coordinate information of the two end points at the bottom of the silt detection frame, calculating the average distance of the line connecting the two end points relative to the center of the circle, obtaining the ratio of the distance average to the diameter, and further evaluating the degree of silt accumulation in the pipeline.

[0013] The method for calculating the cost in step S5 is as follows: specific pricing formulas are preset corresponding to different pipe diameters and different siltation degrees, and the acquired proportion data, pipe diameter data and pipe section length are substituted into the corresponding pricing formula to finally calculate the pipeline desilting cost.

[0014] The pipeline dredging cost calculation model is connected to the front end of the cost calculation system through a network, and can display the acquired image data information, cost calculation process, and calculation result data on the front end interface. While assisting financial management personnel to quickly calculate the pipeline dredging cost, it is convenient for management personnel to check the calculation process and results, providing double protection for the accuracy of the cost calculation.

[0015] The present invention has the following beneficial effects: 1. The deep learning algorithm is used to obtain pipeline sediment information and evaluate the degree of sedimentation, which can effectively eliminate the subjective and uncertain factors of manual visual identification, and the algorithm has a high recognition accuracy.

[0016] 2. The target detection algorithm is upgraded quickly. Through data enhancement and other means, the data set used for training the algorithm can be effectively expanded. With the increase of training data and the update of the model, the accuracy of model target detection can be further improved.

[0017] 3. The front end and management terminal can be connected to form an intelligent calculation system for pipeline dredging cost. The identification results and calculation process can be automatically sent to the front end to realize the visualization of the calculation process, which is convenient for financial management personnel to review the calculation process and further ensure the accuracy and reliability of the calculation results.

[0018] 4. The specific cost calculation process can be flexibly applied according to the pricing formula specified for different projects and has strong applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0020] Figure 1It is a schematic diagram of the technical process of the present invention.

[0021] Figure 2 Schematic diagram of the Hough circle detection process.

[0022] Figure 3 Schematic diagram of pipeline cross-section target detection and Hough circle.

[0023] In the figure: 1: sediment detection frame; 2: Hough circle where endpoints M and N are located; 3: sediment; M and N are the endpoints of the sediment detection frame; C is the center of the Hough circle. DETAILED DESCRIPTION

[0024] The technical solutions adopted in the embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments included in the present invention. Those skilled in the art may also combine the embodiments described herein with other embodiments. All other implementation methods obtained by modifying and polishing the embodiments of the present invention without creative work shall fall within the scope of protection of the present invention.

[0025] like Figure 1 As shown, a pipeline dredging auxiliary pricing method based on image recognition technology includes the following steps: Step S1, using QV and CCTV equipment to shoot images of pipelines containing sediment, selecting pipeline cross-section images with suitable angles and clarity through image screening and sampling, and annotating the images using annotation tools to obtain a training data set; Step S2, constructing a pipeline cross-section target detection model based on the target detection network, training the model using the data set constructed in step S1, improving the model performance by iteratively adjusting parameters and optimizing the training strategy, and optimizing the model accuracy to the application requirement level; Step S3, using the trained target detection model to identify the pipeline cross-section image, identify the sediment and calibrate its detection frame, where M and N are the two end points at the bottom of the detection frame; using Hough circle detection to obtain the pipeline cross-section circle group, calculate the distance between the center C of each Hough circle and the two end points M and N of the detection frame, and determine the Hough circle where the detection frame endpoints are located by comparing the Hough circle radius with the distance; Step S4, using the pixel information of M, N and the center of the Hough circle obtained in step S3, calculate the average distance d from the line connecting the two points M and N to the center of the Hough circle, and determine the degree of pipe siltation by calculating the ratio of the height of the silt to the diameter of the pipe section; Step S5, substituting the siltation degree information in step S4 into the pricing formula corresponding to the pipe diameter and the proportion of silt, and calculating the final calculation result of the pipeline desilting cost.

[0026] Preferably, the municipal pipelines described in the present invention are all circular pipelines. Before shooting, the pipeline distribution and direction are comprehensively considered to divide the pipeline sections. The movement and shooting direction of the QV and CCTV equipment are perpendicular to the circular cross-section of the pipeline, which effectively avoids problems such as poor data collection effect due to factors such as pipeline turns and ups and downs during the data collection process.

[0027] Preferably, when constructing the target detection network training data set in step S1, in order to ensure the quality of the data set, the captured photos need to be screened and preprocessed, and a high-quality and high-accuracy training data set is obtained by removing noise, enhancing contrast, and sharpening edges, so as to avoid factors such as insufficient light and excessive image noise from affecting the model training process.

[0028] Preferably, in step S2, an EfficientDet network is used to construct a target detection model, and the input image is deeply analyzed by a deep learning algorithm. In the feature extraction stage, the model uses EfficientNet as the backbone network, and extracts useful visual features from the input image through an effective feature extraction mechanism. The feature is then transmitted to the Bi-directional Feature Pyramid Network (BiFPN) module for feature fusion to capture multi-scale contextual information. The Compound Scaling strategy for network optimization adopts a strategy of simultaneously adjusting the network depth, width and input resolution to achieve optimal resource utilization efficiency; including a Soft-NMS algorithm for reducing overlapping detection frames, more effectively reducing overlapping detection frames to improve the accuracy of target detection; including a decoder module for classification and regression of output results, converting the extracted and fused feature maps into accurate target frames and category probabilities to complete the target detection task. In addition, IoU (Intersection over Union) and GIOU (Generalized Intersection over Union) are used as quality evaluation criteria to more accurately measure the degree of overlap between the detection frame and the true frame.

[0029] In the prediction phase, the model decodes the fused features through the decoder and makes a target classification decision for each pixel, thereby generating a label map containing the sediment detection box. The decoding process includes an upsampling operation to restore the resolution of the feature map and obtain more accurate detection results through feature fusion.

[0030] Preferably, the accuracy of the model can be improved by adjusting training parameters, optimizing training data sets, etc. With the update and upgrade of the algorithm, a more efficient target detection model can be obtained by training with existing data sets. The key steps to build a target detection model are as follows: (1) Weighted feature fusion: In BiFPN, feature maps of different scales are fused by weighted summation, which can usually be expressed as: ; in: is the output feature map, , is the input feature map, , is the corresponding weight coefficient.

[0031] (2) Hybrid Scaling: EfficientDet uses a hybrid scaling method to unify the scale configuration of the model, which specifically involves the adjustment of network width, depth, and resolution, which can usually be expressed as: ; in: Represents the scaled network width, depth and resolution respectively , , is the original data, , , is the scaling factor.

[0032] (3) Output of target detection: Predicting the location and category of the target from the feature map usually involves anchor boxes and non-maximum suppression (NMS). Its loss function consists of two parts, namely classification loss and detection box regression loss, which can usually be expressed as: ; in: is the total loss, is the classification loss, is the bounding box regression loss.

[0033] Preferably, in step S3, the target model will output the sediment boundary box and the corresponding category label, identify the location of the detected sediment, draw the sediment detection box on the original image, and obtain the coordinate information of the detection box endpoints. Hough circle detection can be performed simultaneously with target detection, wherein Hough circle detection can directly use the HoughCircles function in OpenCV, which can ensure that the coordinate system of target detection and the coordinate system of Hough circle detection are in the same coordinate system, which is convenient for further analysis and data processing. The main process of Hough circle detection is as follows: Figure 2 The key steps include the following aspects: (1) Edge detection: Use the Canny algorithm for edge detection.

[0034] (2) Gradient calculation: For each pixel in the image ( x , y ), use the Sobel operator to calculate the size of the gradient G and direction Theta.

[0035] ; in, , They are points ( x , y )exist x and y Direction gradient.

[0036] (3) Hough transform voting: For each point in the edge image ( x , y ), in its gradient direction Theta, for all points in Hough space ( a , b ) to vote: ; (4) Accumulator space: Hough space is a two-dimensional accumulator array N ( a , b ), used to record each possible center ( a , b ) The value of the corresponding position of the accumulator increases for each voting center.

[0037] (5) Extraction of circle center and radius: By searching the accumulator space N( a , b ) to determine the position of the circle center. Once the circle center ( a , b ), the corresponding radius r c It can be calculated by the following formula: ; Among them, (x, y) is the original edge point used in voting.

[0038] Preferably, the method for determining the Hough circle where the detection frame endpoints M and N are located in step S4 is: Based on the shooting angle and the nature of the detection frame, the two end points at the bottom of the detection frame are the connection points between the sediment and the pipe cross-section circle. Step S3 can obtain the coordinates M (X a ,Y a )、N(X b ,Y b), Hough circle transform returns the center coordinates and radius of all detected circles. In OpenCV, the HoughCircles function returns a three-element array (x i ,y i ,r i ), where (x i ,y i ) is the coordinate of the center of the circle, r i is the radius. The distances between the center and the two end points of the circle are: ; .

[0039] Further calculate the difference between the two distances and the radius of the Hough circle, and repeat this calculation process. When the difference is the smallest, the circle is the Hough circle where the sediment is located. The center of the Hough circle is C, and the coordinates of the center are (x c ,y c ), the radius is r c .

[0040] Preferably, in step S4, the method for determining the degree of sediment accumulation is: calculating the average distance d from the line connecting the two points M and N to the center of the Hough circle, and then calculating the ratio of the sediment height to the pipe cross-sectional diameter. The average distance d is calculated by the formula: ; And it is stipulated that there is a line MN below the center of the Hough circle d c is positive and is above the center of the Hough circle d c If the value is negative, the calculation formula for the siltation degree is: ; That is, the ratio of the deposition thickness to the pipe diameter.

[0041] In step S5, different pricing formulas correspond to different pipe diameters and siltation degrees, such as: "For pipe diameters between 300 mm and 600 mm, 1 / 4 of the pipe is silted, and the comprehensive unit price is 65.73 yuan / meter". The price of the dredging project can be calculated by automatically selecting and substituting the corresponding pricing formula according to the actual situation of the detected pipe section.

[0042] Preferably, based on the auxiliary pricing method provided by the present invention, a wireless network is used to connect the cost calculation management front end and the management terminal, so that a pipeline dredging auxiliary pricing system can be constructed to realize visualization of the calculation process, so that engineering personnel can check and review the calculation results. Furthermore, by optimizing and updating the algorithm, the system function can be continuously improved and expanded.

[0043] It should be noted that the above is only a specific implementation method of the present invention, and its purpose is to enable other technical personnel in the field to understand the specific content and implementation method of the present invention. The embodiment is only the best embodiment of the present invention and is not equivalent to all embodiments. Any equivalent changes or modifications to the embodiments within the scope of the claims of the present invention should fall within the protection scope of the present invention.

Claims

1. A pipeline dredging auxiliary pricing method based on image recognition technology, characterized in that: The implementation steps include: Step S1, using CCTV detection equipment to shoot pipeline video, intercepting pipeline cross-section images containing silt from the video, selecting pipeline cross-section images with suitable angles and clarity through image screening and sampling, pre-processing the images, improving image quality by removing noise, enhancing contrast, and sharpening edges, and annotating them using annotation tools to obtain a data set for training the target detection network; Step S2, based on the target detection network, construct a pipeline cross-section image target detection model, use the data set obtained in step S1 to train the model, adjust the model parameters to optimize the model recognition effect, and improve the model accuracy until the target detection requirements are met; Step S3, using the target detection model trained in step S2 to identify the pipeline cross-section image, identify the sediment and mark its target detection frame, and use the Hough circle detection algorithm to obtain the pipeline cross-section circle parameter group; Step S4, based on the sediment target detection frame information obtained in step S3, determine the Hough circle where the detection frame endpoints are located, use the above information to calculate the height of the sediment cross section relative to the pipeline cross section, and determine the degree of pipeline siltation; Step S5, substituting the obtained data into the pipeline desilting pricing formula under different pipe diameters and different siltation degrees to further obtain the pipeline desilting cost.

2. According to claim 1, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The CCTV detection equipment in step S1 is a common model, and the collected pipeline cross-section image is taken vertically along the pipeline cross-section.

3. According to claim 2, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The target detection network is based on the EfficientDet deep learning algorithm, including a weighted bidirectional feature pyramid network module for feature fusion, which provides rich contextual information through top-down and bottom-up paths for multi-scale and high-level semantic information processing; a composite scaling strategy for network optimization, which simultaneously adjusts the network depth, width and input resolution to achieve optimal resource utilization efficiency; It includes a Soft-NMS algorithm for reducing overlapping detection boxes; it includes a decoder module for classification and regression of output results, which converts the extracted and fused feature maps into accurate target boxes and category probabilities to complete the target detection task.

4. According to claim 3, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: IoU and GIOU are used as quality evaluation criteria to more accurately measure the degree of overlap between the detection box and the true box.

5. According to claim 4, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The method for identifying pipeline sediment in step S3 is: calling the target detection model to identify the image, and drawing the corresponding detection frame while identifying the sediment to intuitively display its area in the image; the method for detecting Hough circles in the pipeline image is: calling the circle detection algorithm based on the improved Hough gradient transform, processing the image, and identifying the circular structure in the pipeline cross section.

6. According to claim 5, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The method for determining the Hough circle where the two end points of the bottom of the pipeline sediment detection frame are located in step S4 is: for each detected Hough circle, calculate the distance from the center of each circle to the two end points of the detection frame, and determine whether it is equal to the radius of the Hough circle. If the distance from the center of the circle to the two points of the sediment detection frame is equal to or close to its radius, then the Hough circle is the Hough circle.

7. According to claim 6, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The method for judging the degree of silt accumulation in the pipeline in step S4 is: using the coordinate information of the center of the Hough circle and the coordinate information of the two end points at the bottom of the silt detection frame, calculating the average distance of the line connecting the two end points relative to the center of the circle, obtaining the ratio of the distance average to the diameter, and further evaluating the degree of silt accumulation in the pipeline.

8. According to claim 7, a pipeline dredging auxiliary pricing method based on image recognition technology is characterized by: The method for calculating the cost in step S5 is as follows: specific pricing formulas are preset corresponding to different pipe diameters and different siltation degrees, and the acquired proportion data, pipe diameter data and pipe section length are substituted into the corresponding pricing formula to finally calculate the pipeline desilting cost.

9. A pipeline dredging auxiliary pricing method based on image recognition technology according to claim 1, characterized in that: The pipeline dredging cost calculation model is connected to the front end of the cost calculation system through a network, and can display the acquired image data information, cost calculation process, and calculation result data on the front end interface. While assisting financial management personnel to quickly calculate the pipeline dredging cost, it is convenient for management personnel to check the calculation process and results, providing double protection for the accuracy of the cost calculation.

Citation Information

Patent Citations

  • Forward-looking sonar image target detection method and system based on YOLOv5

    CN114677602A

  • Concrete pipeline damage identification and volume quantification method based on PointNet + + neural network

    CN114758222A

  • Sewage pipeline siltation thickness calculation method and online monitoring device

    CN115238225A

  • Drainage pipe network siltation judgment method based on depth sequence model

    CN115270372A

  • Intelligent channel dredging identification management method based on GIS (Geographic Information System)

    CN116844065A

Cited By

  • Drainage pipeline deposition degree evaluation method and device based on image graph fitting algorithm

    CN119600008A