A pipeline production transmission monitoring method and system based on artificial intelligence

By dividing reflective and non-reflective areas during pipeline production and transmission monitoring, extracting features and calculating difference value sequences, the problem of inaccurate monitoring caused by changes in illumination is solved, accurate identification of pipeline surface features and monitoring of production consistency are achieved, improving efficiency Accuracy and reliability of monitoring results.

CN118485664BActive Publication Date: 2024-10-29GKBM XIANYANG PIPELINE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410940281.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-29
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

When the existing pipeline production and transmission monitoring method acquires images under different lighting conditions, changes in brightness and contrast lead to shadows and highlights, which mask or exaggerate defects on the pipeline surface, leading to inaccurate quality monitoring results.

Method used

By setting the number of shooting cameras, the preprocessed pipeline image is obtained, divided into reflective areas and non-reflective areas, feature extraction is performed on the reflective images and non-reflective images respectively, the difference value sequence and similarity are calculated, and a sliding window is used to monitor the pipeline surface changes to ensure the accuracy of monitoring results.

Benefits of technology

It achieves accurate monitoring under different lighting conditions, improves the accuracy of pipeline surface feature identification and the ability to monitor production consistency, promptly detects deviations in the production process, prevents potential quality problems, and improves the accuracy and reliability of monitoring results. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485664B_ABST
    Figure CN118485664B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of pipeline production monitoring, and more specifically, to a pipeline production transmission monitoring method and system based on artificial intelligence. The method includes: setting the number of shooting cameras to obtain a preprocessed pipeline image; dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image, respectively extracting features from the reflective image and the non-reflective image, and calculating the difference value of the reflective image at the same time; traversing all shooting moments to obtain a difference value sequence of the reflective image, and similarly obtaining a difference value sequence of the non-reflective image, setting a sliding window of a preset size, and calculating the similarity of the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window to complete the pipeline production monitoring. Through the technical solution of the present invention, the accuracy of the monitoring results can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of pipeline production monitoring, and more specifically, to an artificial intelligence-based pipeline production transmission monitoring method and system. Background Art

[0002] As an important part of modern industry and infrastructure, pipelines are widely used in the fields of oil, gas, chemical industry, urban construction, etc. The quality and efficiency of pipeline production directly affect the safety and economy of the entire project. During the pipeline production process, the conveyor system is responsible for conveying the pipeline from one link of the production line to the next link. Real-time monitoring in this process is crucial to ensure production continuity, improve production efficiency, prevent equipment failures and ensure product quality. The rapid development of artificial intelligence technology, especially machine vision and deep learning technology, has provided new solutions for pipeline production and transmission monitoring. Through non-contact monitoring methods, damage to the pipeline can be effectively avoided, while achieving high-precision and real-time monitoring.

[0003] The existing Chinese patent application document with publication number CN114387245A discloses a method for inspecting the quality of pipeline girth weld radiographs. The method uses the image quality meter in the image as the inspection result, and includes a preprocessing module, a deep learning module, and a post-processing module. In order to ensure the effectiveness of detecting the image quality meter, the algorithm performs a variety of preprocessing and enhancement processing on the image before recognition. In the deep learning algorithm, a large number of optimization techniques are used.

[0004] However, when acquiring images, different lighting angles can not only affect the brightness and contrast of the image, but may also cause the appearance of shadows and highlights. These factors may mask or exaggerate defects on the pipeline surface. Under uniform lighting, these defects may be more obvious, resulting in inaccurate quality monitoring results. Summary of the invention

[0005] In order to solve the problem of inaccurate monitoring results, the present invention proposes a pipeline production transmission monitoring method and system based on artificial intelligence.

[0006] In a first aspect, the present invention discloses a pipeline production and transmission monitoring method based on artificial intelligence, comprising: setting the number of shooting cameras to obtain a preprocessed pipeline image; dividing the pipeline image into a reflective area and a non-reflective area according to a brightness value to obtain a reflective image and a non-reflective image, and extracting features from the reflective image and the non-reflective image respectively, wherein one pipeline image corresponds to one reflective image and one non-reflective image; and calculating the difference value of the reflective image at the same time: ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates Moment Camera Characteristics of the captured reflective image, Indicates The feature mean of the reflective images taken by all cameras at the moment; traverse all shooting moments to obtain the difference value sequence of the reflective images, and similarly obtain the difference value sequence of the non-reflective images, set a sliding window of a preset size, and calculate the similarity of the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window to complete the pipeline production monitoring.

[0007] Distinguish between reflective and non-reflective areas to more accurately extract features of the pipeline. By extracting features from reflective and non-reflective images separately, the solution can perform targeted analysis on images under different lighting conditions. Calculate the difference values ​​of reflective images at different times and obtain the difference value sequence by traversing all times, which helps to identify the change pattern of the pipeline surface under different lighting conditions. Set a sliding window and calculate the similarity of the difference value sequence of reflective and non-reflective images in the window to monitor the consistency of the pipeline production process in real time.

[0008] Preferably, the setting of the number of shooting cameras includes: calculating the length of the pipeline transmitted during one rotation, satisfying the relationship: ,in, It indicates the length of the pipeline that is transported during one rotation. Indicates the speed at which the pipeline is transported, Indicates the angular velocity of the pipe rotation.

[0009] The ratio of the length of the pipe conveyed during one rotation to the length of the conveyor belt photographed by the camera is taken as the number of cameras.

[0010] A reasonable number of cameras can improve the monitoring accuracy of the pipeline transmission process, ensure detection without blind spots, and improve the reliability and stability of the entire monitoring system.

[0011] Preferably, the method of dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain the reflective image and the non-reflective image includes: performing k-means clustering on the brightness values ​​of the pixels in the pipeline image, setting the number of clustering clusters to 2, arranging the brightness values ​​of all the pixels in order from large to small, and selecting the brightness values ​​of two preset positions as the centers of the initial clustering clusters to obtain the reflective area and the non-reflective area; setting the pixel values ​​of the reflective area to 1 and the pixel values ​​of the non-reflective area to 0 to obtain a binary image, and multiplying the binary image with the pipeline image to obtain the reflective image; setting the pixel values ​​of the non-reflective area to 1 and the pixel values ​​of the reflective area to 0 to obtain a binary image, and multiplying the binary image with the pipeline image to obtain the non-reflective image.

[0012] By selecting the initial cluster center through sorting and preset positions, the dependence on the initial conditions of the algorithm is reduced and the efficiency of data processing is improved. Through binarization processing, the features of reflective and non-reflective areas can be clearly extracted, which facilitates feature analysis.

[0013] Preferably, dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image further includes: performing threshold segmentation on the brightness values ​​of pixels in the pipeline image, obtaining a binary image after the threshold segmentation, and multiplying the binary image with the pipeline image to obtain the reflective image; setting the pixel points with a pixel value of 1 in the binary image obtained after the threshold segmentation to 0, and setting the pixel points with a pixel value of 0 to 1, to obtain a new binary image, and multiplying the new binary image with the pipeline image to obtain the non-reflective image.

[0014] Preferably, the method of dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image further includes: performing k-means clustering on the brightness values ​​of the pixels in the pipeline image, setting the number of clusters to 2, and obtaining clusters of reflective areas and clusters of non-reflective areas after clustering; calculating the inter-class distance or intra-class distance of the two clusters; traversing different initial clustering centers to obtain the inter-class distance or the intra-class distance, and taking the maximum value of the inter-class distance or the minimum value of the intra-class distance as the final clustering result to obtain the reflective image and the non-reflective image.

[0015] By clustering and distinguishing areas with different characteristics, the recognition of pipeline surface features is enhanced. The inter-class distance and intra-class distance provide quantitative indicators for evaluating the clustering effect. The inter-class distance reflects the separation between clusters, while the intra-class distance reflects the closeness of data points within the cluster, which helps to understand the quality of clustering.

[0016] Preferably, the feature extraction includes: performing edge detection on the reflective image to obtain a reflective edge image; calculating the grayscale co-occurrence matrix of the reflective edge image, and obtaining the characteristics of the reflective image based on the angular second moment, entropy and contrast of the grayscale co-occurrence matrix, the characteristics including the thickness, complexity and clarity of the edge; similarly, obtaining the characteristics of the non-reflective image.

[0017] Preferably, the difference value also includes:

[0018] ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates the camera and camera Similarity of features of captured reflective images.

[0019] Similarly, the difference value of the non-reflective image is obtained.

[0020] Preferably, the method of completing the pipeline production monitoring includes: in response to the similarity value not being 1, an abnormality occurs in the pipeline photographed at the rightmost moment in the sliding window, marking the moment when the abnormality occurs and deleting it from the difference value sequence of the reflective image and the difference value sequence of the non-reflective image, and continuing to calculate the similarity of the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window.

[0021] The continuous calculation of similarity enables the system to adapt to changes in the pipeline transmission process, improve the effectiveness of the pipeline transmission monitoring system, ensure the stability and safety of the production process, and provide maintenance personnel with timely feedback so that necessary countermeasures can be taken quickly.

[0022] In a second aspect, the present invention discloses an artificial intelligence-based pipeline production and transmission monitoring system, comprising: a processor; and a memory, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, the device executes the above-mentioned artificial intelligence-based pipeline production and transmission monitoring method.

[0023] Beneficial effects of the present invention:

[0024] By intelligently dividing the pipeline image and distinguishing between reflective areas and non-reflective areas, the present invention can carefully capture the subtle changes in the pipeline surface under different lighting conditions, and calculate the differences between these two types of areas respectively, which can reveal the dynamic change pattern of the pipeline surface in real time, including reflection changes caused by light, development of surface defects, material unevenness, etc. This real-time monitoring enhances the ability to monitor production consistency. By continuously tracking and analyzing these differences, deviations in the production process can be discovered in time, potential quality problems can be predicted, and preventive or corrective measures can be taken, thereby improving the accuracy and reliability of the monitoring results, providing strong technical support for automated inspection, quality control and intelligent manufacturing of pipelines, thereby significantly improving product quality, reducing production costs, and improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0026] Figure 1 The present invention is a flowchart of an artificial intelligence-based pipeline production and transmission monitoring method according to an embodiment of the present invention.

[0027] Figure 2 It is a schematic diagram of an artificial intelligence-based pipeline production and transmission monitoring system according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0029] It should be understood that when the description and drawings of the present invention use the terms "first", "second", etc., they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description of the present invention indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0030] The present invention provides a pipeline production transmission monitoring method based on artificial intelligence. Figure 1 As shown, a pipeline production transmission monitoring method based on artificial intelligence includes steps S1 to S4, which are described in detail below.

[0031] S1, set the number of shooting cameras and obtain the pre-processed pipeline image.

[0032] In one embodiment, the camera positions are set according to the experience of those skilled in the art, and the number of cameras to be set for shooting is calculated and set includes:

[0033] Calculate the length of the pipeline that is transported after one rotation, and satisfy the relationship: ,in, It indicates the length of the pipeline that is transported during one rotation. Indicates the speed at which the pipeline is transported, Indicates the angular velocity of the pipe rotation.

[0034] The ratio of the length of the pipe conveyed during one rotation to the length of the conveyor belt photographed by the camera is taken as the number of cameras.

[0035] The number of cameras required to completely capture a circle of the pipeline is obtained. The cameras used will capture multiple pipeline images at the same time, and one pipeline image is selected as the actual pipeline image at the current moment.

[0036] S2, dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image, and performing feature extraction on the reflective image and the non-reflective image respectively.

[0037] It should be noted that when acquiring the features of an image, due to the shooting environment and the material of the pipeline, defects often cannot be extracted or complete defects cannot be extracted during feature extraction. Therefore, the pipeline area needs to be divided into a reflective area and a non-reflective area.

[0038] In one embodiment, the brightness values ​​of the pixels in the pipeline image are clustered based on k-means, the number of clusters is set to 2, the brightness values ​​of all the pixels are arranged in descending order, and the brightness values ​​of two preset positions are selected as the centers of the initial clusters to obtain reflective areas and non-reflective areas, the pixel values ​​of the reflective areas are set to 1, and the pixel values ​​of the non-reflective areas are set to 0 to obtain a binary image, and the binary image is multiplied with the pipeline image to obtain a reflective image; the pixel values ​​of the non-reflective areas are set to 1, and the pixel values ​​of the reflective areas are set to 0 to obtain a binary image, and the binary image is multiplied with the pipeline image to obtain a non-reflective image.

[0039] For example, if there are 8 brightness values ​​after arrangement, the second brightness value and the seventh brightness value are selected as the initial clustering centers, and the specific values ​​can be set by those skilled in the art.

[0040] In one embodiment, threshold segmentation is performed on the brightness values ​​of the pixels in the pipeline image to obtain a binary image after the threshold segmentation, and the binary image is multiplied with the pipeline image to obtain a reflective image; the pixels with a pixel value of 1 in the binary image obtained after the threshold segmentation are set to 0, and the pixels with a pixel value of 0 are set to 1 to obtain a new binary image, and the new binary image is multiplied with the pipeline image to obtain a non-reflective image.

[0041] In one embodiment, the brightness values ​​of the pixels in the pipeline image are clustered based on k-means, and the number of clusters is set to 2. After clustering, clusters of reflective areas and clusters of non-reflective areas are obtained. The inter-class distance or intra-class distance of the two clusters is calculated, and different initial cluster centers are traversed to obtain the inter-class distance or intra-class distance. The maximum value of the inter-class distance or the minimum value of the intra-class distance is used as the final clustering result to obtain a reflective image and a non-reflective image.

[0042] At this point, a reflective image and a non-reflective image can be obtained. It should be noted that one pipeline image corresponds to one reflective image and one non-reflective image.

[0043] Perform edge detection on the reflective image to obtain a reflective edge image; calculate the gray level co-occurrence matrix of the reflective edge image, and obtain the characteristics of the reflective image according to the angular second-order moment, entropy and contrast of the gray level co-occurrence matrix, the characteristics including the thickness, complexity and clarity of the edge.

[0044] Similarly, the features of the non-reflective image are obtained.

[0045] S3, respectively calculating the difference value of the reflective image and the difference value of the non-reflective image.

[0046] In one embodiment, the difference value of the reflected image at the same time is calculated:

[0047] ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates Moment Camera Characteristics of the captured reflective image, Indicates The feature mean of the reflection images taken by all cameras at the moment.

[0048] Similarly, the difference value of the non-reflective image is obtained.

[0049] In one embodiment, the difference value further includes:

[0050] ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates the camera and camera Similarity of features of captured reflective images.

[0051] It should be noted that there is , the similarity calculation result is 1.

[0052] Similarly, the difference value of the non-reflective image is obtained.

[0053] S4, setting a sliding window of a preset size, and calculating the similarity between the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window to complete the pipeline production monitoring.

[0054] In one embodiment, a difference value sequence of the reflective image is obtained by traversing all shooting moments, and a difference value sequence of the non-reflective image is obtained similarly.

[0055] The similarity between the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window is calculated through a sliding window of a preset size. In response to the similarity value not being 1, an abnormality occurs in the pipeline photographed at the rightmost moment in the sliding window. The moment when the abnormality occurs is marked and deleted from the difference value sequence of the reflective image and the difference value sequence of the non-reflective image, and the similarity between the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window is continued to be calculated.

[0056] Exemplarily, since the difference value sequence of the reflective image and the difference value sequence of the non-reflective image are of equal length, the length of the difference value sequence is set to 100, the size of the sliding window is set to 10, and the standard difference value is set to the first 9 data of the sliding window, wherein the standard difference value is the difference value calculated for the pipeline without defects photographed in the history, and the sliding window is:

[0057] , Indicates the first standard difference value of the reflective image, Indicates the second standard difference value of the reflective image. Indicates the 9th standard difference value of the reflective image, Represents the first difference value in the difference value sequence of the reflected image, Indicates the first standard difference value of the non-reflective image. Indicates the second standard difference value of the non-reflective image. Indicates the 9th standard difference value of the non-reflective image, Indicates the first difference value in the difference value sequence of the non-reflective image.

[0058] When the calculated similarity value is 1, the sliding window moves one shooting moment in chronological order, and calculates whether there is an abnormality in the pipeline photographed at the second shooting moment. At this time, the sliding window becomes:

[0059] , Represents the second difference value in the difference value sequence of the reflected image, Represents the second difference value in the difference value sequence of the non-reflective image.

[0060] When the calculated similarity value is not 1, it means that the pipeline photographed at the first shooting moment is abnormal. The first shooting moment is marked and deleted from the difference value sequence of the reflective image and the difference value sequence of the non-reflective image. Then, it is calculated whether the pipeline photographed at the second shooting moment is abnormal. At this time, the sliding window becomes: .

[0061] By analogy, it is possible to determine whether there are any abnormalities in the pipeline images taken at all shooting times, thereby completing the pipeline production monitoring.

[0062] The embodiment of the present invention also discloses a pipeline production transmission monitoring system based on artificial intelligence, referring to Figure 2 , including a processor and a memory, the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an artificial intelligence-based pipeline production and transmission monitoring method according to the present invention is implemented.

[0063] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.

[0064] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.

[0065] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

[0066] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A pipeline production transmission monitoring method based on artificial intelligence, characterized in that: include: Set the number of cameras to obtain pre-processed pipeline images; Divide the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image, and extract features from the reflective image and the non-reflective image respectively, wherein one pipeline image corresponds to one reflective image and one non-reflective image; Calculate the difference value of the reflected image at the same time: ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates Moment Camera Characteristics of the captured reflective image, Indicates The feature mean of the reflection images taken by all cameras at the moment; Traverse all shooting moments to obtain the difference value sequence of the reflective image, and similarly obtain the difference value sequence of the non-reflective image, set a sliding window of a preset size, and calculate the similarity of the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window; in response to the similarity value not being 1, an abnormality occurs in the pipeline photographed at the rightmost moment in the sliding window, delete the time mark of the abnormality from the difference value sequence of the reflective image and the difference value sequence of the non-reflective image, and continue to calculate the similarity of the difference value sequence of the reflective image and the difference value sequence of the non-reflective image in the sliding window to complete the pipeline production monitoring.

2. According to the artificial intelligence-based pipeline production and transmission monitoring method of claim 1, it is characterized in that: The setting of the number of shooting cameras includes: Calculate the length of the pipeline that is transported after one rotation, and satisfy the relationship: ,in, It indicates the length of the pipeline that is transported during one rotation. Indicates the speed at which the pipeline is transported, represents the angular velocity of the pipe rotation; The ratio of the length of the pipe conveyed during one rotation to the length of the conveyor belt photographed by the camera is taken as the number of cameras.

3. The pipeline production and transmission monitoring method based on artificial intelligence according to claim 1 is characterized in that: The step of dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image comprises: Based on k-means clustering, the brightness values ​​of the pixels in the pipeline image are clustered, the number of clusters is set to 2, the brightness values ​​of all pixels are arranged in order from large to small, and the brightness values ​​of two preset positions are selected as the centers of the initial clusters to obtain the reflective area and the non-reflective area; The pixel values ​​of the reflective area are set to 1, and the pixel values ​​of the non-reflective area are set to 0 to obtain a binary image, and the binary image is multiplied with the pipeline image to obtain a reflective image; The pixel values ​​of the non-reflective area are set to 1, and the pixel values ​​of the reflective area are set to 0 to obtain a binary image, and the binary image is multiplied with the pipeline image to obtain a non-reflective image.

4. The pipeline production and transmission monitoring method based on artificial intelligence according to claim 1 is characterized in that: The step of dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image further comprises: Perform threshold segmentation on the brightness values ​​of the pixels in the pipeline image, obtain a binary image after the threshold segmentation, and multiply the binary image with the pipeline image to obtain a reflection image; The pixel points with a pixel value of 1 in the binary image obtained after threshold segmentation are set to 0, and the pixel points with a pixel value of 0 are set to 1 to obtain a new binary image. The new binary image is multiplied by the pipeline image to obtain a non-reflective image.

5. The pipeline production and transmission monitoring method based on artificial intelligence according to claim 1 is characterized in that: The step of dividing the pipeline image into a reflective area and a non-reflective area according to the brightness value to obtain a reflective image and a non-reflective image further comprises: The brightness values ​​of the pixels in the pipeline image are clustered based on k-means, and the number of clusters is set to 2. After clustering, clusters of reflective areas and clusters of non-reflective areas are obtained; Calculate the inter-class distance or intra-class distance between two clusters; Traverse different initial cluster centers to obtain inter-class distances or intra-class distances, take the maximum inter-class distance or the minimum intra-class distance as the final clustering result, and obtain reflective images and non-reflective images.

6. The pipeline production and transmission monitoring method based on artificial intelligence according to claim 1 is characterized in that: The feature extraction comprises: Performing edge detection on the reflective image to obtain a reflective edge image; The gray-level co-occurrence matrix of the reflective edge image is calculated, and the features of the reflective image are obtained according to the angular second-order moment, entropy and contrast of the gray-level co-occurrence matrix, including the thickness, complexity and clarity of the edge; Similarly, the features of the non-reflective image are obtained.

7. The pipeline production and transmission monitoring method based on artificial intelligence according to claim 1 is characterized in that: The difference value also includes: ,in, Indicates The difference value of the reflected image at each moment, Indicates the number of cameras, Indicates the camera and camera similarity of features of the captured reflective images; Similarly, the difference value of the non-reflective image is obtained.

8. An artificial intelligence-based pipeline production and transmission monitoring system, characterized in that: include: Processor; and A memory storing computer instructions, which, when executed by a processor, enables the device to execute an artificial intelligence-based pipeline production and transmission monitoring method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Pipeline circumferential weld ray image quality inspection method

    CN114387245A

  • Semantic segmentation method and device for polyp image

    CN113781489A

  • Roadway safety early warning method and system based on image features

    CN117541997A