WO2022121186A1 - Method and apparatus for routing inspection of oil and gas pipelines on the basis of target matching - Google Patents

Method and apparatus for routing inspection of oil and gas pipelines on the basis of target matching Download PDF

Info

Publication number
WO2022121186A1
WO2022121186A1 PCT/CN2021/084540 CN2021084540W WO2022121186A1 WO 2022121186 A1 WO2022121186 A1 WO 2022121186A1 CN 2021084540 W CN2021084540 W CN 2021084540W WO 2022121186 A1 WO2022121186 A1 WO 2022121186A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target
target image
compliance
oil
Prior art date
Application number
PCT/CN2021/084540
Other languages
French (fr)
Chinese (zh)
Inventor
卢春曦
王健宗
黄章成
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2022121186A1 publication Critical patent/WO2022121186A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/462Salient features, e.g. scale invariant feature transforms [SIFT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching

Definitions

  • the present application relates to the field of artificial intelligence, and in particular, to an oil and gas pipeline inspection method based on target matching, an oil and gas pipeline inspection device based on target matching, computer equipment, and a computer-readable storage medium.
  • drones are generally used to monitor oil and gas pipelines in the process of cruising, and to identify illegal construction projects in the pipeline area and construction projects that have been registered in the warehouse.
  • the main detection and identification method for illegal buildings is to extract the buildings in the image by processing the remote sensing images taken by drones at high altitudes through simple corner detection, line segmentation and other traditional image processing methods. out, and then through manual discriminant analysis to confirm whether it is an illegal building.
  • the inventor realized that, in this way, although the traditional image processing method can be used to detect the building from the aerial image, it still requires a lot of manual work to determine whether the building belongs to the illegal building other than the existing buildings in the pipeline area. Judgment, which requires a lot of labor cost investment, and reduces the efficiency of inspection of illegal targets in the oil and gas pipeline area.
  • the main purpose of the present application is to provide an oil and gas pipeline inspection method based on target matching, an oil and gas pipeline inspection device based on target matching, computer equipment and a computer-readable storage medium, aiming to solve how to inspect oil and gas pipelines in the process of inspection. , the problem of improving the efficiency of identifying offending targets within the oil and gas pipeline area.
  • the present application provides an oil and gas pipeline inspection method based on target matching, comprising the following steps:
  • a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images;
  • the neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
  • the target image is an abnormal target image.
  • the present application also provides an oil and gas pipeline inspection device based on target matching, and the oil and gas pipeline inspection device based on target matching includes:
  • the acquisition module is used to collect aerial images in the oil and gas pipeline area by using drones;
  • a processing module for extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image
  • the feature extraction module is used for extracting image features of the target image by using a neural network model to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with a compliance target image; the neural network model performs image feature extraction on the compliance target image during training to obtain a second image feature;
  • a detection module configured to detect a compliance target image that satisfies a preset condition according to the second position and the first position corresponding to the compliance target in the compliance target image;
  • a judgment module for judging whether the detected second image feature corresponding to the compliance target image matches the first image feature
  • a first determination module configured to determine if the target image is the compliance target image
  • the second determination module is configured to determine that the target image is an abnormal target image if not.
  • the present application also provides a computer device, the computer device comprising:
  • the computer equipment includes a memory, a processor, and a target matching-based oil and gas pipeline inspection program that is stored on the memory and can run on the processor, and the target matching-based oil and gas pipeline inspection program is described When the processor executes, the oil and gas pipeline inspection method based on target matching is realized;
  • the steps of the oil and gas pipeline inspection method based on target matching include:
  • a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images;
  • the neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
  • the target image is an abnormal target image.
  • the present application also provides a computer-readable storage medium, on which is stored an oil and gas pipeline inspection program based on target matching, and the oil and gas pipeline inspection program based on target matching is processed.
  • the oil and gas pipeline inspection method based on target matching is realized when the controller is executed;
  • the steps of the oil and gas pipeline inspection method based on target matching include:
  • a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images;
  • the neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
  • the target image is an abnormal target image.
  • the oil and gas pipeline inspection method based on target matching, the oil and gas pipeline inspection device based on target matching, the computer equipment and the computer-readable storage medium provided by this application utilize artificial intelligence and target detection technology to automatically detect oil and gas collected by unmanned aerial vehicles.
  • the image in the pipeline area is subjected to image recognition and feature extraction to obtain the target building in the image, and the image features corresponding to the compliant buildings that are close to the target building are used to perform feature matching with the image features corresponding to the target building. Based on this, it is judged whether the target building is a compliant building, and if not, it is an illegal building, thereby improving the efficiency of identifying illegal targets in the oil and gas pipeline area during the process of patrolling the oil and gas pipeline area.
  • FIG. 1 is a schematic diagram of steps of an oil and gas pipeline inspection method based on target matching in an embodiment of the application;
  • FIG. 2 is a schematic block diagram of an oil and gas pipeline inspection device based on target matching according to an embodiment of the application;
  • FIG. 3 is a schematic structural block diagram of a computer device according to an embodiment of the present application.
  • the oil and gas pipeline inspection method based on target matching includes:
  • Step S10 using unmanned aerial vehicle to collect aerial photography images in the oil and gas pipeline area;
  • Step S20 extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
  • Step S30 using a neural network model to perform image feature extraction on the target image to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliance targets an image; the neural network model performs image feature extraction on the compliance target image during training to obtain a second image feature;
  • Step S40 according to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition
  • Step S50 judging whether the detected second image feature corresponding to the compliance target image matches the first image feature
  • Step S60 if yes, then determine that the target image is the compliance target image
  • Step S70 if no, determine that the target image is an abnormal target image.
  • the terminal of the embodiment may be a computer device (such as a central data platform), or may be an oil and gas pipeline inspection device based on target matching.
  • the drone is an unmanned aircraft, and an image acquisition device is installed on the drone.
  • the terminal establishes a communication connection with the UAV or the data collection site responsible for maintaining the UAV, and the terminal can issue the image acquisition instruction for the oil and gas pipeline area within the designated area to the UAV, so as to control the UAV's monitoring of oil and gas.
  • the area along the pipeline is routinely inspected, and aerial images in the oil and gas pipeline area are collected in real time or regularly.
  • the drone can also use satellite positioning technology or network positioning technology to determine the longitude and latitude coordinates when the drone currently collects the aerial image, and according to The latitude and longitude coordinates generate position information corresponding to the currently collected aerial image.
  • the satellite positioning can use the Beidou positioning system or the GPS (Global Positioning System) system.
  • the drone may send the collected aerial image and the location information corresponding to the aerial image to the terminal in real time; or, the drone first stores the collected aerial image and the location information corresponding to the aerial image, and waits for it.
  • the communication conditions are met after the drone returns to flight (for example, the drone returns to the data acquisition base station), the stored data is sent to the terminal.
  • step S20 after the terminal receives the aerial image in the oil and gas pipeline area based on the drone, it can use image recognition technology to identify the preset target in the aerial image, and extract the preset target in the aerial image.
  • the image area is developed to generate the target image.
  • the preset target can be a building, or other objects except oil and gas pipelines and the surface.
  • the following description takes the target image as a building image as an example (that is, the target in the target image is a building).
  • the terminal may directly use the latitude and longitude coordinates in the position information corresponding to the aerial image where the target image is located as the first position corresponding to the target in the target image (ie, the real position of the target in the real physical world).
  • a target image has at least one target (ie, a building); and if no building is detected in the aerial image, there is no need to generate a target image based on the aerial image.
  • the terminal can also use the latitude and longitude coordinates in the location information corresponding to the aerial image as the midpoint coordinates of the aerial image, and determine the relative positional relationship between the target corresponding to the target image and the midpoint of the aerial image, and collect data according to the drone image.
  • the flying height of the aerial image and the focal length of the image acquisition device determine the scale of the aerial image, and then according to the midpoint coordinates of the aerial image, the relative positional relationship, and the scale of the aerial image, jointly determine the first image corresponding to the target in the target image. a location. In this way, the accuracy of recognizing the target position in the target image can be improved.
  • the terminal can use the target detector of the pre-trained neural network model to detect and extract the buildings in the aerial image, so as to identify and segment the target image in the aerial image, and assign the target image corresponding to the aerial image where the target image is located.
  • the latitude and longitude coordinates in the position information are used as the position corresponding to the target in the target image, and are recorded as the first position.
  • step S30 the terminal constructs a neural network model based on the deep convolutional neural network in advance, and the terminal pre-inputs multiple reference image samples into the neural network model for multiple iterative training, until the model converges, and the training completed Neural network model.
  • the number of the reference image samples is large enough, for example, 10,000 samples.
  • the reference image used to generate the reference image sample may be obtained by the terminal using a drone to collect image data of buildings in the area along the oil and gas pipeline in advance, or the terminal may use other image acquisition means to photograph the area along the oil and gas pipeline. obtained from the buildings inside.
  • the terminal will simultaneously record the position information corresponding to the collected reference image, and when generating the corresponding reference image sample based on the reference image, compare the position information corresponding to the reference image with the generated reference image sample. association.
  • the reference image sample is marked with a compliance target image, and the compliance target is represented as a compliant, non-illegal building.
  • the reference image sample may be a compliant target image marked in the sample by a relevant engineer, and based on the location information associated with the reference image sample, the position of the compliant target image (referred to as the second position) is marked. Then the engineer uses the labeled benchmark image samples as the training samples of the neural network model, and inputs the benchmark image samples into the neural network model for training.
  • the target detector of the neural network model is constructed based on the Mask RCNN network of ResNet50, and the Mask RCNN network can be used to identify and segment the target area in the image.
  • the trained neural network model can also be used to perform step S20 to extract the target image from the aerial image and determine the first position corresponding to the target in the target image, that is, the terminal can directly combine the aerial image with the aerial image.
  • the location information associated with the image is input into the neural network model after training.
  • the Mask RCNN network can obtain the global feature map through the convolutional layer of the neural network model, and on this basis, use the region proposal network to extract the region of interest (RoI, Region of Interest) as the target area, and then use the RoI Align method for all target areas.
  • the target category here is the building category
  • the target position the position is based on the aerial image. After the associated position information is obtained), the detection of the target image in the aerial image is realized, and the first position of the target in the target image is obtained.
  • the training of relevant model parameters of the neural network model is performed based on a plurality of benchmark image samples marked with compliant target images, and the back-propagation algorithm is used in the training. .
  • the basic principle of the back-propagation algorithm is to optimize the network parameters through the gradient descent method with the goal of minimizing the loss function of the training.
  • the formula for gradient descent is:
  • represents the network parameters
  • L( ⁇ ) is the loss function used for network training
  • is the iterative step size.
  • the loss function for a single prediction result consists of the first loss function L cls for object classification and the second loss function L loc for location regression:
  • u is the true class of the target (in this case, a building)
  • p u is the confidence score that the network predicts that the target is u
  • t i and v i are the real and predicted positions of the target, respectively.
  • the Mask RCNN network is used to detect and extract the area of the building image in the reference image sample to obtain the compliant target image, and the compliant target image is processed.
  • the image feature extraction is performed to obtain the image feature corresponding to the compliance target image (referred to as the second image feature).
  • the real position of the compliance target in the compliance target image in the real physical world referred to as the second position
  • the specific technical means used for determining the second position may be the same as the technical means used for determining the first position.
  • the image convolution operation is mainly by setting various feature extraction filter matrices (convolution kernels, such as setting a matrix of size 3*3, or 5*5), and then using the convolution kernel in the original image matrix (image It is actually a matrix composed of pixel values) 'sliding' to realize the convolution operation.
  • convolution kernels such as setting a matrix of size 3*3, or 5*5
  • the terminal records all the second image features into the database by numbering, and associates the second position corresponding to the compliance target in the compliance target image corresponding to the second image feature with the second image feature.
  • the trained neural network model can also be used to extract image features of the target image, and the terminal acquires the image features of the target image extracted by the neural network model as the first image features.
  • step S40 when the terminal obtains the first position corresponding to the target in the target image, it detects whether the second position stored in the database (that is, the second position corresponding to the compliance target in the compliance target image) is There is a second location that satisfies the preset condition.
  • the preset condition includes any one of the following: the second position is within a preset area constructed based on the first position; the distance between the second position and the first position is less than or equal to the preset distance.
  • the terminal may construct a circular area as the preset area with the first position as the midpoint and the preset length as the radius.
  • the terminal may also take the first position as the midpoint of the preset rectangular area, and construct the preset area based on this.
  • the preset length and the side length of the preset rectangle can be set according to actual needs, which are not limited in this embodiment.
  • the terminal further detects whether there is a second position located within the preset area; if so, it is determined that the compliance target image to which the compliance target corresponding to the second position belongs satisfies the preset condition; A compliant target image for preset conditions.
  • the terminal may also first determine the distance between the first position and each second position, and further detect whether the distance between the first position and the second position is less than or equal to the preset distance;
  • the compliance target image to which the compliance target corresponding to the second position belongs satisfies the preset condition; if not, it is determined that the compliance target image to which the compliance target corresponding to the second position belongs does not meet the preset condition, and if all If none of the compliant target images meet the preset conditions, it is further determined that no compliant target images meeting the preset conditions are detected.
  • the preset distance may be set according to actual needs, which is not limited in this embodiment.
  • the second position corresponding to the compliance target in the figure needs to coincide with the first position.
  • the terminal when the terminal detects that there is a compliant target image that satisfies the preset condition, it continues to perform step S50; when the terminal does not detect that there is a compliant target image that meets the preset condition, it directly determines that the target image is abnormal.
  • target image the abnormal target in the abnormal target image can be defined as an illegal building or illegal building.
  • step S50 is substantially performed only based on the compliance target image whose relative position is relatively close to the target image, so as to further determine whether the detected second image feature corresponding to the compliance target image is the same as the first image feature Matching, and do not use the compliant target image whose relative position is far from the target image to perform step S50, so as to avoid using unnecessary image features for image matching, thereby improving the accuracy of subsequent matching image features (because the distance is farther than the matching target image.
  • step S40 Even if the image features of the regulated target image match the target image, they cannot be the same building or the same area); and based on the execution of step S40, compliance targets that are unlikely to match the target image can also be screened out. Therefore, the algorithm complexity of subsequent detection of compliant target images matching the target image is reduced, and the efficiency of image matching is improved, thereby improving the efficiency of identifying illegal targets in the oil and gas pipeline area.
  • the terminal does not detect a compliant target image that satisfies the preset conditions (that is, when the second position corresponding to the compliant target is not detected near the first position corresponding to the target of the target image), it indicates that the target image was located at the previous location. If there is no compliance target set in the area, then the target (ie building) that appears in the area at this time is likely to be the illegal target, so the terminal directly determines the target image as an abnormal target image, thereby reducing the follow-up
  • the algorithm processing of image feature matching improves the efficiency of identifying illegal targets in the oil and gas pipeline area to a certain extent.
  • step S50 when the terminal detects that there is a compliance target image that satisfies the preset condition (that is, detects that there is a second position that satisfies the preset condition), the terminal acquires the second position corresponding to the compliance target image from the database.
  • Image features that is, acquiring a second image feature associated with a second position that satisfies a preset condition), and then detecting whether the acquired second image feature matches the first image feature.
  • the terminal detects whether the second image feature is consistent with the first image feature; if so, determines that the second image feature matches the first image feature; if not, determines that the second image feature does not match the first image feature .
  • the terminal may also perform similarity detection on the first image feature and the second image feature, and further detect whether the similarity between the two is greater than or equal to the preset similarity; One image feature matches; if not, it is determined that the second image feature does not match the first image feature.
  • the value range of the preset similarity may be 90%-100%, and if the preset similarity is 100%, it is equivalent to detecting whether the second image feature is consistent with the first image feature.
  • step S60 when the terminal determines that the detected second image feature corresponding to the compliance target image matches the first image feature of the target image, it indicates that the building in the target image is an existing record in the library If the target image is compliant, the terminal further determines that the target image is a compliant target image.
  • step S70 when the terminal determines that the detected second image feature corresponding to the compliance target image does not match the first image feature of the target image, it means that the building in the target image is not pre-recorded in the library is an abnormal target, the terminal further determines that the target image is an abnormal target image, and determines that the target in the target image is an abnormal target (ie, an illegal building or an illegal building).
  • the reference image samples used to train the neural network model can also be generated based on abnormal target images.
  • the target image is determined.
  • the image is an abnormal target image, and if the second image feature does not match the first image feature, it is determined that the target image is a compliant target image.
  • it is easier to collect compliant target images than abnormal target images in the oil and gas pipeline area, that is, it is easier to collect and generate benchmark image samples based on compliant target images, thereby improving the efficiency of building and training neural network models. Generate benchmark image samples based on compliant target images.
  • artificial intelligence and target detection technology are used to automatically perform image recognition and feature extraction on images in the oil and gas pipeline area collected by unmanned aerial vehicles to obtain the target building in the image, and use the location of the target building to match the target building.
  • the image features corresponding to similar compliant buildings are matched with the image features corresponding to the target building, and based on this, it is judged whether the target building is a compliant building, and if not, it is a violating building, thus improving the inspection process.
  • the step of judging whether the second image feature corresponding to the detected compliance target image matches the first image feature includes:
  • Step S51 obtaining the first hash code of the first image feature, and obtaining the second hash code of the second image feature corresponding to the compliance target image obtained by detection;
  • Step S52 determine the Hamming distance between the first hash code and the second hash code
  • Step S53 using the Hamming distance to determine whether the second image feature matches the first image feature.
  • the terminal when the terminal detects that there is at least one compliance target image that satisfies the preset condition, the terminal acquires the second image feature corresponding to the compliance target image that satisfies the preset condition from the database.
  • an image retrieval algorithm based on a hash function is adopted, and corresponding hash codes are obtained by substituting image features into the hash function set.
  • the hash function set is:
  • h is the hash function
  • the hash function set H is composed of multiple hash functions
  • K is the number of hash functions.
  • the terminal may convert the first image feature into a hash code, so as to obtain the first hash code.
  • the terminal may convert the second image feature into a hash code after acquiring the second image feature from the database, so as to obtain the second hash code corresponding to each second image feature; All the second image features in the database are converted into second hash codes corresponding to the second image features, and then the second hash codes are stored in association with the second image features to generate an image feature library, so that in the generation stage of the image feature library, The hash function set can be trained and learned, and when the terminal needs to obtain the second hash code corresponding to the second image feature, it can be directly obtained from the image feature library.
  • the terminal further calculates the Hamming distance between the first hash code and the second hash code.
  • the calculation formula of Hamming distance is:
  • the Hamming distance represents the number of different bits corresponding to two strings (same length); if the XOR operation is performed on the two strings, and the number of the result is 1, then this number is the Hamming distance.
  • the terminal determines the Hamming distance between the first hash code and the second hash code, it further detects whether the obtained Hamming distance is less than or equal to a preset threshold.
  • the preset threshold is used to measure the size of the Hamming distance, and can be set according to actual needs, for example, the value range can be 0-10; the smaller the Hamming distance, the first hash code and the second hash code The higher the matching degree between the codes, and the Hamming distance is 0, the two are exactly the same.
  • the terminal when the terminal detects that the Hamming distance between the first hash code and the second hash code is less than or equal to a preset threshold, it determines that the second image feature corresponding to the second hash code is the same as the first hash code.
  • Image feature matching when the terminal detects that the Hamming distance between the first hash code and the second hash code is greater than a preset threshold, it determines that the second image feature corresponding to the second hash code and the first image feature Mismatch.
  • the second hash codes corresponding to the multiple second image features will be obtained, and at this time, the first hash code and each The Hamming distance between the second hash codes is obtained, and the Hamming distances corresponding to a plurality of different second hash codes are obtained.
  • the terminal can use the array size sorting, select the Hamming distance with the smallest value from the plurality of Hamming codes, and then execute step S53 based on the selected Hamming distance, so as to use the Hamming distance to determine the second image feature Whether it matches the first image feature; if so, then determine that the second image feature to which the second hash code corresponding to the selected Hamming distance belongs matches the first image feature; if not, then determine that the selected Hamming distance The second image feature to which the second hash code corresponding to the distance belongs does not match the first image feature.
  • the operation efficiency of image feature pairing can be improved, thereby improving the process of inspecting the oil and gas pipeline area.
  • the efficiency of whether there are offending targets in the target image is improved.
  • the method further includes:
  • Step S80 outputting the target image to an associated device
  • Step S81 when receiving a positive response fed back by the associated device to the target image, update the target image to the compliance target image, and generate the reference image sample based on the target image; or,
  • Step S82 when receiving a negative response from the associated device for the target image, maintaining the determination that the target image is the abnormal target image.
  • the target image when the terminal determines that the target image is an abnormal target image, in order to avoid a misjudgment of a newly built compliant building that has not been recorded in the library, the target image can be output to the relevant work responsible for supervising and maintaining oil and gas pipelines
  • the associated equipment of the personnel is transferred to the manual review process for the relevant staff to review whether the target in the target image is an abnormal target.
  • a positive response for feedback on the target image may be sent to the terminal through the associated device.
  • the terminal receives a positive response from the associated device for the target image, indicating that the target in the target image should be a compliant target
  • the terminal can update the previous current target image to a compliant target image, and based on the The target image generates a reference image sample, and the newly generated reference image sample is input into the neural network model to train and update the neural network model, so that the neural network model can add relevant training parameters of the compliant target image.
  • a second image feature matching the first image feature of the target image can be obtained, that is, it will no longer be determined as a non-abnormal target image, and it is determined as a compliant target image.
  • a negative response for feedback on the target image may be sent to the terminal through the associated device.
  • the terminal receives a negative response from the associated device to the target image, indicating that the target in the target image is indeed an abnormal target, the terminal continues to maintain the previous determination that the target image is an abnormal target image, that is, at this time The terminal can be left alone.
  • the method further includes:
  • Step S90 Generate alarm information according to the abnormal target image, and output the alarm information.
  • alarm information may be generated according to the abnormal target image.
  • the terminal may further add the first position associated with the abnormal target image, and/or add the aerial image to which the abnormal target image belongs and the position information associated with the aerial image.
  • the terminal can further determine the information receiving end of relevant law enforcement agencies (such as public security departments, urban management departments, relevant departments responsible for oil and gas pipeline maintenance, etc.), and output the alarm information to the information receiving end to prompt relevant law enforcement agencies to deal with oil and gas in time.
  • relevant law enforcement agencies such as public security departments, urban management departments, relevant departments responsible for oil and gas pipeline maintenance, etc.
  • output the alarm information to the information receiving end to prompt relevant law enforcement agencies to deal with oil and gas in time.
  • Illegal, illegal and illegal buildings near the pipeline can avoid the loss of personnel, economy and environment caused by damage to the oil and gas pipeline as soon as possible.
  • the embodiment of the present application also provides a target matching-based oil and gas pipeline inspection device 10, including:
  • the acquisition module 11 is used for collecting aerial images in the oil and gas pipeline area by using the drone;
  • a processing module 12 for extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
  • the feature extraction module 13 is configured to perform image feature extraction on the target image by using a neural network model to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are labeled There is a compliance target image; the neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
  • a detection module 14 configured to detect a compliance target image that satisfies a preset condition according to the second position and the first position corresponding to the compliance target in the compliance target image;
  • a judgment module 15 configured to judge whether the detected second image feature corresponding to the compliance target image matches the first image feature
  • the first determination module 16 is configured to determine if the target image is the compliance target image
  • the second determination module 17 is configured to determine that the target image is an abnormal target image if not.
  • the judgment module of the oil and gas pipeline inspection device based on target matching includes:
  • an obtaining unit configured to obtain the first hash code of the first image feature, and the second hash code of the second image feature corresponding to the detected compliance target image
  • a determining unit for determining the Hamming distance between the first hash code and the second hash code
  • a judgment unit configured to use the Hamming distance to judge whether the second image feature matches the first image feature.
  • the judging unit is further configured to judge whether the Hamming distance is less than or equal to a preset threshold; if so, judge that the second image feature matches the first image feature; if not, judge the The second image feature does not match the first image feature.
  • the neural network model is constructed based on the Mask RCNN network; the processing module is also used to input the aerial image into the neural network model, to utilize the Mask RCNN network to extract from the aerial image. target image; wherein, the Mask RCNN network is also used to extract the first image feature and the second image feature.
  • the preset condition is any one of the following: the second position is within a preset area constructed based on the first position; the distance between the second position and the first position is less than or equal to the preset distance.
  • oil and gas pipeline inspection device based on target matching also includes:
  • a third determination module configured to determine that the target image is an abnormal target image when the compliance target image that meets the preset condition is not detected.
  • oil and gas pipeline inspection device based on target matching also includes:
  • an output module for outputting the target image to an associated device
  • a first receiving module configured to update the target image to the compliance target image when receiving a positive response from the associated device to the target image, and generate the reference image sample based on the target image ;
  • the second receiving module is configured to maintain the determination that the target image is the abnormal target image when receiving a negative response fed back by the associated device to the target image.
  • oil and gas pipeline inspection device based on target matching also includes:
  • An alarm module configured to generate alarm information according to the abnormal target image, and output the alarm information.
  • an embodiment of the present application further provides a computer device.
  • the computer device may be a server, and its internal structure may be as shown in FIG. 3 .
  • the computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer equipment is used for target matching based oil and gas pipeline inspection procedures.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for inspecting oil and gas pipelines based on target matching is realized.
  • FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • the present application also proposes a computer-readable storage medium, the computer-readable storage medium includes an oil and gas pipeline inspection program based on target matching, and the oil and gas pipeline inspection program based on target matching is executed by a processor.
  • the computer-readable storage medium can be non-volatile or volatile.
  • the oil and gas pipeline inspection method based on target matching utilize artificial intelligence and target detection technology to automatically Perform image recognition and feature extraction on the images in the oil and gas pipeline area collected by man and machine to obtain the target building in the image, and use the image features corresponding to the compliant buildings that are close to the target building.
  • Image features are used for feature matching, and based on this, it is judged whether the target building is a compliant building, and if not, it is an illegal building, thus improving the efficiency of identifying illegal targets in the oil and gas pipeline area during the process of patrolling the oil and gas pipeline area.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Abstract

A method and an apparatus for routing inspection of oil and gas pipelines on the basis of target matching, a computer device and a computer-readable storage medium. The method comprising: extracting a target image from an aerial image in an oil and gas pipeline region; performing image feature extraction on the target image by using a neural network model, to obtain a first image feature, wherein the neural network model is obtained in advance by performing training on the basis of a plurality of reference image samples, and the reference image samples are labeled with compliant target images, and the neural network model performing image feature extraction on the compliant target images in the training process, to obtain a second image feature; determining whether the second image feature corresponding to a detected compliant target image matches the first image feature; and if not, determining that the target image is an anomalous target image. The method increases the efficiency of identifying a violated target in an oil and gas pipeline region.

Description

基于目标匹配的油气管道巡检方法、装置、设备及介质Oil and gas pipeline inspection method, device, equipment and medium based on target matching
本申请要求于2020年12月11日提交中国专利局、申请号为2020114612776,发明名称为“基于目标匹配的油气管道巡检方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 2020114612776 and the title of the invention, which was filed with the China Patent Office on December 11, 2020, and whose name is "target matching-based oil and gas pipeline inspection method, device, equipment and medium", all of which The contents are incorporated herein by reference.
技术领域technical field
本申请涉及人工智能领域,尤其涉及一种基于目标匹配的油气管道巡检方法、基于目标匹配的油气管道巡检装置、计算机设备以及计算机可读存储介质。The present application relates to the field of artificial intelligence, and in particular, to an oil and gas pipeline inspection method based on target matching, an oil and gas pipeline inspection device based on target matching, computer equipment, and a computer-readable storage medium.
背景技术Background technique
在油气管道区域的地面上方若存在违章违建的现象,则可能会导致管道受到损害。因此,现在一般是利用无人机在巡航油气管道过程中进行监测,将管道区域内的违章违建工程与已登记入库的建筑工程进行鉴别。If there is illegal construction above the ground in the oil and gas pipeline area, the pipeline may be damaged. Therefore, drones are generally used to monitor oil and gas pipelines in the process of cruising, and to identify illegal construction projects in the pipeline area and construction projects that have been registered in the warehouse.
目前,对违章建筑的主要检测和鉴别方法,是通过将无人机在高空拍摄的遥感图像,经过简单的角点检测、直线分割等传统图像处理方法进行处理后,将图像中的建筑物提取出来,之后再通过人工的判别分析,确认是否为违章建筑。At present, the main detection and identification method for illegal buildings is to extract the buildings in the image by processing the remote sensing images taken by drones at high altitudes through simple corner detection, line segmentation and other traditional image processing methods. out, and then through manual discriminant analysis to confirm whether it is an illegal building.
但发明人意识到,这样一来,虽然采用传统图像处理方法可以将建筑物从航拍画面中检出,但判断建筑物是否属于管道区域已有建筑之外的违建建筑,仍需要大量的人工进行判断,这就使得需要大量的人力成本投入,并且降低了巡检油气管道区域内的违规目标的效率。However, the inventor realized that, in this way, although the traditional image processing method can be used to detect the building from the aerial image, it still requires a lot of manual work to determine whether the building belongs to the illegal building other than the existing buildings in the pipeline area. Judgment, which requires a lot of labor cost investment, and reduces the efficiency of inspection of illegal targets in the oil and gas pipeline area.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solutions of the present application, and does not mean that the above content is the prior art.
技术问题technical problem
本申请的主要目的在于提供一种基于目标匹配的油气管道巡检方法、基于目标匹配的油气管道巡检装置、计算机设备以及计算机可读存储介质,旨在解决如何在巡检油气管道的过程中,提高识别油气管道区域内的违规目标的效率的问题。The main purpose of the present application is to provide an oil and gas pipeline inspection method based on target matching, an oil and gas pipeline inspection device based on target matching, computer equipment and a computer-readable storage medium, aiming to solve how to inspect oil and gas pipelines in the process of inspection. , the problem of improving the efficiency of identifying offending targets within the oil and gas pipeline area.
技术解决方案technical solutions
为实现上述目的,本申请提供一种基于目标匹配的油气管道巡检方法,包括以下步骤:In order to achieve the above-mentioned purpose, the present application provides an oil and gas pipeline inspection method based on target matching, comprising the following steps:
利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
为实现上述目的,本申请还提供一种基于目标匹配的油气管道巡检装置,所述基于目标匹配的油气管道巡检装置包括:In order to achieve the above object, the present application also provides an oil and gas pipeline inspection device based on target matching, and the oil and gas pipeline inspection device based on target matching includes:
采集模块,用于利用无人机采集油气管道区域内的航拍图像;The acquisition module is used to collect aerial images in the oil and gas pipeline area by using drones;
处理模块,用于从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;a processing module for extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
特征提取模块,用于利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;The feature extraction module is used for extracting image features of the target image by using a neural network model to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with a compliance target image; the neural network model performs image feature extraction on the compliance target image during training to obtain a second image feature;
检测模块,用于根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;a detection module, configured to detect a compliance target image that satisfies a preset condition according to the second position and the first position corresponding to the compliance target in the compliance target image;
判断模块,用于判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;a judgment module for judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
第一判定模块,用于若是,则判定所述目标图像为所述合规目标图像;a first determination module, configured to determine if the target image is the compliance target image;
第二判定模块,用于若否,则判定所述目标图像为异常目标图像。The second determination module is configured to determine that the target image is an abnormal target image if not.
为实现上述目的,本申请还提供一种计算机设备,所述计算机设备包括:To achieve the above purpose, the present application also provides a computer device, the computer device comprising:
所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于目标匹配的油气管道巡检程序,所述基于目标匹配的油气管道巡检程序被所述处理器执行时实现基于目标匹配的油气管道巡检方法;The computer equipment includes a memory, a processor, and a target matching-based oil and gas pipeline inspection program that is stored on the memory and can run on the processor, and the target matching-based oil and gas pipeline inspection program is described When the processor executes, the oil and gas pipeline inspection method based on target matching is realized;
其中,所述基于目标匹配的油气管道巡检方法的步骤包括:Wherein, the steps of the oil and gas pipeline inspection method based on target matching include:
利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有基于目标匹配的油气管道巡检程序,所述基于目标匹配的油气管道巡检程序被处理器执行时实现基于目标匹配的油气管道巡检方法;In order to achieve the above object, the present application also provides a computer-readable storage medium, on which is stored an oil and gas pipeline inspection program based on target matching, and the oil and gas pipeline inspection program based on target matching is processed. The oil and gas pipeline inspection method based on target matching is realized when the controller is executed;
其中,所述基于目标匹配的油气管道巡检方法的步骤包括:Wherein, the steps of the oil and gas pipeline inspection method based on target matching include:
利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设 条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
有益效果beneficial effect
本申请提供的基于目标匹配的油气管道巡检方法、基于目标匹配的油气管道巡检装置、计算机设备以及计算机可读存储介质,利用人工智能和目标检测技术,自动对无人机采集到的油气管道区域内的图像进行图像识别和特征提取,得到图像中的目标建筑物,并采用与目标建筑物位置相近的合规建筑物对应的图像特征,与目标建筑物对应的图像特征进行特征匹配,基于此判断目标建筑物是否为合规建筑物,且若否则为违规建筑物,从而提高了在巡检油气管道区域的过程中,识别油气管道区域内的违规目标的效率。The oil and gas pipeline inspection method based on target matching, the oil and gas pipeline inspection device based on target matching, the computer equipment and the computer-readable storage medium provided by this application utilize artificial intelligence and target detection technology to automatically detect oil and gas collected by unmanned aerial vehicles. The image in the pipeline area is subjected to image recognition and feature extraction to obtain the target building in the image, and the image features corresponding to the compliant buildings that are close to the target building are used to perform feature matching with the image features corresponding to the target building. Based on this, it is judged whether the target building is a compliant building, and if not, it is an illegal building, thereby improving the efficiency of identifying illegal targets in the oil and gas pipeline area during the process of patrolling the oil and gas pipeline area.
附图说明Description of drawings
图1为本申请一实施例中基于目标匹配的油气管道巡检方法步骤示意图;1 is a schematic diagram of steps of an oil and gas pipeline inspection method based on target matching in an embodiment of the application;
图2为本申请一实施例的基于目标匹配的油气管道巡检装置示意框图;2 is a schematic block diagram of an oil and gas pipeline inspection device based on target matching according to an embodiment of the application;
图3为本申请一实施例的计算机设备的结构示意框图。FIG. 3 is a schematic structural block diagram of a computer device according to an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
参照图1,在一实施例中,所述基于目标匹配的油气管道巡检方法包括:1, in one embodiment, the oil and gas pipeline inspection method based on target matching includes:
步骤S10、利用无人机采集油气管道区域内的航拍图像;Step S10, using unmanned aerial vehicle to collect aerial photography images in the oil and gas pipeline area;
步骤S20、从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;Step S20, extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
步骤S30、利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Step S30, using a neural network model to perform image feature extraction on the target image to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliance targets an image; the neural network model performs image feature extraction on the compliance target image during training to obtain a second image feature;
步骤S40、根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;Step S40, according to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
步骤S50、判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;Step S50, judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
步骤S60、若是,则判定所述目标图像为所述合规目标图像;Step S60, if yes, then determine that the target image is the compliance target image;
步骤S70、若否,则判定所述目标图像为异常目标图像。Step S70, if no, determine that the target image is an abnormal target image.
本实施例中,实施例终端可以是计算机设备(如一种中央数据平台),也可以是一种基于目标匹配的油气管道巡检装置。In this embodiment, the terminal of the embodiment may be a computer device (such as a central data platform), or may be an oil and gas pipeline inspection device based on target matching.
如步骤S10所述:无人机即为无人驾驶飞机,在无人机上安装有图像采集装置。终端与无人机或负责维护无人机的数据采集站点建立有通信连接,终端可向无人机下发对针对指定区域范围内的油气管道区域的图像采集指令,以控制无人机对油气管道的沿线区域 进行日常巡检,并实时或定时采集油气管道区域内的航拍图像。As described in step S10: the drone is an unmanned aircraft, and an image acquisition device is installed on the drone. The terminal establishes a communication connection with the UAV or the data collection site responsible for maintaining the UAV, and the terminal can issue the image acquisition instruction for the oil and gas pipeline area within the designated area to the UAV, so as to control the UAV's monitoring of oil and gas. The area along the pipeline is routinely inspected, and aerial images in the oil and gas pipeline area are collected in real time or regularly.
可选的,在利用无人机采集油气管道区域内的航拍图像的过程中,无人机还可以利用卫星定位技术或网络定位技术,确定无人机当前采集航拍图像时的经纬度坐标,并根据经纬度坐标生成当前所采集的航拍图像对应的位置信息。其中,卫星定位可以是利用北斗定位系统,也可以是利用GPS(Global Positioning System)系统。Optionally, in the process of using the drone to collect aerial images in the oil and gas pipeline area, the drone can also use satellite positioning technology or network positioning technology to determine the longitude and latitude coordinates when the drone currently collects the aerial image, and according to The latitude and longitude coordinates generate position information corresponding to the currently collected aerial image. Among them, the satellite positioning can use the Beidou positioning system or the GPS (Global Positioning System) system.
可选的,无人机可以是实时将采集到的航拍图像和航拍图像对应的位置信息发送至终端;或者,无人机先将采集到的航拍图像和航拍图像对应的位置信息进行存储,待无人机返航后具备通信条件时(如无人机返回数据采集基站),再将存储的数据发送至终端。Optionally, the drone may send the collected aerial image and the location information corresponding to the aerial image to the terminal in real time; or, the drone first stores the collected aerial image and the location information corresponding to the aerial image, and waits for it. When the communication conditions are met after the drone returns to flight (for example, the drone returns to the data acquisition base station), the stored data is sent to the terminal.
如步骤S20所述:终端接收到基于无人机采集的油气管道区域内的航拍图像后,可以是利用图像识别技术,识别航拍图像中的预设目标,并提取预设目标在航拍图像中的显像区域,以此生成目标图像。As described in step S20: after the terminal receives the aerial image in the oil and gas pipeline area based on the drone, it can use image recognition technology to identify the preset target in the aerial image, and extract the preset target in the aerial image. The image area is developed to generate the target image.
其中,预设目标可以是建筑物,也可以除油气管道和地表外的其他物件。以下以目标图像为建筑图像为例进行说明(即目标图像中的目标为建筑物)。Among them, the preset target can be a building, or other objects except oil and gas pipelines and the surface. The following description takes the target image as a building image as an example (that is, the target in the target image is a building).
进一步地,终端可以是直接将目标图像所在的航拍图像对应的位置信息中的经纬度坐标,作为目标图像中的目标对应的第一位置(即该目标在现实物理世界的真实位置)。Further, the terminal may directly use the latitude and longitude coordinates in the position information corresponding to the aerial image where the target image is located as the first position corresponding to the target in the target image (ie, the real position of the target in the real physical world).
应当理解的是,一张目标图像至少具有一个目标(即建筑物);而若在航拍图像中检测不到建筑物,则无需基于该航拍图像生成目标图像。It should be understood that a target image has at least one target (ie, a building); and if no building is detected in the aerial image, there is no need to generate a target image based on the aerial image.
或者,终端也可以将航拍图像对应的位置信息中的经纬度坐标,作为航拍图像的中点坐标,并确定目标图像对应的目标与航拍图像中点之间的相对位置关系,以及根据无人机采集该航拍图像时的飞行高度和图像采集装置的焦距确定航拍图像比例尺,然后再根据航拍图像的中点坐标、所述相对位置关系和所述航拍图像比例尺,共同确定目标图像中的目标对应的第一位置。这样,可以提高识别目标图像中的目标位置的准确率。Alternatively, the terminal can also use the latitude and longitude coordinates in the location information corresponding to the aerial image as the midpoint coordinates of the aerial image, and determine the relative positional relationship between the target corresponding to the target image and the midpoint of the aerial image, and collect data according to the drone image. The flying height of the aerial image and the focal length of the image acquisition device determine the scale of the aerial image, and then according to the midpoint coordinates of the aerial image, the relative positional relationship, and the scale of the aerial image, jointly determine the first image corresponding to the target in the target image. a location. In this way, the accuracy of recognizing the target position in the target image can be improved.
或者,终端可以利用预先训练的神经网络模型的目标检测器,对航拍图像中的建筑物进行检测与区域提取,以识别并分割航拍图像中的目标图像,并将目标图像所在的航拍图像对应的位置信息中的经纬度坐标,作为目标图像中的目标对应的位置,记为第一位置。Alternatively, the terminal can use the target detector of the pre-trained neural network model to detect and extract the buildings in the aerial image, so as to identify and segment the target image in the aerial image, and assign the target image corresponding to the aerial image where the target image is located. The latitude and longitude coordinates in the position information are used as the position corresponding to the target in the target image, and are recorded as the first position.
如步骤S30所述:终端预先基于深度卷积神经网络构建有神经网络模型,终端预先将多个基准图像样本输入到所述神经网络模型中进行多次迭代训练,直到模型收敛,得到训练完成的神经网络模型。需要说明的是,所述基准图像样本的数量足够多,例如一万份样本。As described in step S30: the terminal constructs a neural network model based on the deep convolutional neural network in advance, and the terminal pre-inputs multiple reference image samples into the neural network model for multiple iterative training, until the model converges, and the training completed Neural network model. It should be noted that the number of the reference image samples is large enough, for example, 10,000 samples.
可选的,用于生成基准图像样本的基准图像,可以是终端预先利用无人机采集油气管道沿线区域内建筑物的图像数据得到的,也可以是终端利用其他图像采集手段拍摄油气管道沿线区域内的建筑物得到的。而终端在采集基准图像的过程中,同时会记录所采集的基准图像对应的位置信息,并在基于基准图像生成相应的基准图像样本时,将基准图像对应的位置信息与所生成的基准图像样本关联。Optionally, the reference image used to generate the reference image sample may be obtained by the terminal using a drone to collect image data of buildings in the area along the oil and gas pipeline in advance, or the terminal may use other image acquisition means to photograph the area along the oil and gas pipeline. obtained from the buildings inside. In the process of collecting the reference image, the terminal will simultaneously record the position information corresponding to the collected reference image, and when generating the corresponding reference image sample based on the reference image, compare the position information corresponding to the reference image with the generated reference image sample. association.
可选的,基准图像样本中标注有合规目标图像,合规目标表示为合规的、非违建的建筑物。基准图像样本可以是由相关工程师在样本中标注出合规目标图像,并基于基准图像样本关联的位置信息,标注出合规目标图像的位置(记为第二位置)。然后工程师再将标注后的基准图像样本作为神经网络模型的训练样本,并将基准图像样本输入到神经网络模型进行训练。Optionally, the reference image sample is marked with a compliance target image, and the compliance target is represented as a compliant, non-illegal building. The reference image sample may be a compliant target image marked in the sample by a relevant engineer, and based on the location information associated with the reference image sample, the position of the compliant target image (referred to as the second position) is marked. Then the engineer uses the labeled benchmark image samples as the training samples of the neural network model, and inputs the benchmark image samples into the neural network model for training.
可选的,所述神经网络模型的目标检测器基于ResNet50的Mask RCNN网络构建,Mask RCNN网络可用于识别并分割出图像中的目标区域,当将该目标区域设定为建筑物区域后,基于此训练完成的神经网络模型,还可用于执行步骤S20,以从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置,即终端可以直接将航拍图像和航拍图像关联的位置信息输入训练完成后的神经网络模型。Mask RCNN网络可通过神经网络模型的卷积层得到全局特征图,并在此基础上使用区域提议网络提取感兴趣区域 (RoI,Region of Interest)作为目标区域,然后使用RoI Align方法进行所有目标区域(至少具有一个区域)的区域提取与对齐,以及进行归一化处理,最后在经神经网络模型的全连接层中进行目标类别(此处为建筑物类别)及目标位置(该位置基于航拍图像关联的位置信息得到)的确认后,即实现对航拍图像中的目标图像的检测,并得到目标图像中的目标的第一位置。Optionally, the target detector of the neural network model is constructed based on the Mask RCNN network of ResNet50, and the Mask RCNN network can be used to identify and segment the target area in the image. The trained neural network model can also be used to perform step S20 to extract the target image from the aerial image and determine the first position corresponding to the target in the target image, that is, the terminal can directly combine the aerial image with the aerial image. The location information associated with the image is input into the neural network model after training. The Mask RCNN network can obtain the global feature map through the convolutional layer of the neural network model, and on this basis, use the region proposal network to extract the region of interest (RoI, Region of Interest) as the target area, and then use the RoI Align method for all target areas. (with at least one area) area extraction and alignment, and normalization processing, and finally in the fully connected layer of the neural network model, the target category (here is the building category) and the target position (the position is based on the aerial image. After the associated position information is obtained), the detection of the target image in the aerial image is realized, and the first position of the target in the target image is obtained.
可选的,在训练具有Mask RCNN网络的神经网络模型的过程中,基于多个标注有合规目标图像的基准图像样本进行神经网络模型相关模型参数的训练,并在训练中使用反向传播算法。Optionally, in the process of training the neural network model with the Mask RCNN network, the training of relevant model parameters of the neural network model is performed based on a plurality of benchmark image samples marked with compliant target images, and the back-propagation algorithm is used in the training. .
反向传播算法的基本原理为通过梯度下降法,以最小化训练的损失函数(loss)为目标,进行网络参数优化。其中梯度下降的公式为:The basic principle of the back-propagation algorithm is to optimize the network parameters through the gradient descent method with the goal of minimizing the loss function of the training. The formula for gradient descent is:
Figure PCTCN2021084540-appb-000001
Figure PCTCN2021084540-appb-000001
其中,θ代表网络参数,L(θ)为网络训练使用的损失函数,α为迭代步长。Among them, θ represents the network parameters, L(θ) is the loss function used for network training, and α is the iterative step size.
对于目标检测任务(即检测图像中的目标区域),单个预测结果的损失函数由目标分类的第一损失函数L cls和位置回归的第二损失函数L loc组成: For object detection tasks (ie, detecting object regions in images), the loss function for a single prediction result consists of the first loss function L cls for object classification and the second loss function L loc for location regression:
Figure PCTCN2021084540-appb-000002
Figure PCTCN2021084540-appb-000002
其中,u是目标的真实类别(此处即为建筑物),p u是网络预测目标为u的置信度分数。t i和v i分别是目标的真实位置和预测位置。其中
Figure PCTCN2021084540-appb-000003
可以抑制异常样本点对反向传播过程的影响,其公式为:
where u is the true class of the target (in this case, a building), and p u is the confidence score that the network predicts that the target is u. t i and v i are the real and predicted positions of the target, respectively. in
Figure PCTCN2021084540-appb-000003
The influence of abnormal sample points on the back-propagation process can be suppressed, and the formula is:
Figure PCTCN2021084540-appb-000004
Figure PCTCN2021084540-appb-000004
可选的,对于基准图像样本,在神经网络模型训练的过程中,使用Mask RCNN网络对基准图像样本中的建筑物图像进行检测与区域提取,得到合规目标图像,并对合规目标图像进行图像特征提取,得到合规目标图像对应的图像特征(记为第二图像特征)。同时,根据与合规目标图像所属的基准图像样本关联的位置信息,确定合规目标图像中的合规目标在现实物理世界的真实位置(记为第二位置)。需要说明的是,确定第二位置采用的具体技术手段,可以与确定第一位置所采用的技术手段相同。Optionally, for the reference image sample, during the training of the neural network model, the Mask RCNN network is used to detect and extract the area of the building image in the reference image sample to obtain the compliant target image, and the compliant target image is processed. The image feature extraction is performed to obtain the image feature corresponding to the compliance target image (referred to as the second image feature). At the same time, according to the position information associated with the reference image sample to which the compliance target image belongs, the real position of the compliance target in the compliance target image in the real physical world (referred to as the second position) is determined. It should be noted that the specific technical means used for determining the second position may be the same as the technical means used for determining the first position.
应当理解的是,利用深度卷积神经网络进行图像特征的提取是基于对图像进行卷积运算实现的。而图像卷积运算主要是通过设定各种特征提取滤波器矩阵(卷积核,例如设定大小为3*3,或者5*5的矩阵),然后使用该卷积核在原图像矩阵(图像实际是像素值构成的矩阵)‘滑动’,从而实现卷积运算。It should be understood that the extraction of image features by using the deep convolutional neural network is realized based on the convolution operation on the image. The image convolution operation is mainly by setting various feature extraction filter matrices (convolution kernels, such as setting a matrix of size 3*3, or 5*5), and then using the convolution kernel in the original image matrix (image It is actually a matrix composed of pixel values) 'sliding' to realize the convolution operation.
进一步地,终端将所有第二图像特征进行编号录入数据库中,并将第二图像特征对应的合规目标图像中的合规目标对应的第二位置,与该第二图像特征关联。Further, the terminal records all the second image features into the database by numbering, and associates the second position corresponding to the compliance target in the compliance target image corresponding to the second image feature with the second image feature.
可选的,基于训练完成的神经网络模型,还可用于对目标图像进行图像特征提取,终端获取神经网络模型提取得到的目标图像的图像特征,作为第一图像特征。Optionally, based on the trained neural network model, it can also be used to extract image features of the target image, and the terminal acquires the image features of the target image extracted by the neural network model as the first image features.
如步骤S40所述:终端在得到目标图像中的目标对应的第一位置时,则检测数据库中保存的第二位置(即合规目标图像中的合规目标对应的第二位置)中,是否存在满足预设条件的第二位置。As described in step S40: when the terminal obtains the first position corresponding to the target in the target image, it detects whether the second position stored in the database (that is, the second position corresponding to the compliance target in the compliance target image) is There is a second location that satisfies the preset condition.
可选的,所述预设条件包括以下任一个:所述第二位置位于基于所述第一位置构建的预设区域范围内;所述第二位置与所述第一位置之间的距离小于或等于预设距离。Optionally, the preset condition includes any one of the following: the second position is within a preset area constructed based on the first position; the distance between the second position and the first position is less than or equal to the preset distance.
其中,终端可以以第一位置为中点,以预设长度为半径,构建一个圆形区域作为预设区域。当然,终端也可以是将第一位置作为预设矩形区域的中点,并基于此构建预设区域。所述预设长度、预设矩形的边长均可根据实际情况需要设置,本实施例对此不作限定。Wherein, the terminal may construct a circular area as the preset area with the first position as the midpoint and the preset length as the radius. Of course, the terminal may also take the first position as the midpoint of the preset rectangular area, and construct the preset area based on this. The preset length and the side length of the preset rectangle can be set according to actual needs, which are not limited in this embodiment.
然后终端进一步检测是否存在位于预设区域范围内的第二位置;若是,则判定该第二位置对应的合规目标所属的合规目标图像满足预设条件;若否,则判定未检测到满足预设条件的合规目标图像。Then the terminal further detects whether there is a second position located within the preset area; if so, it is determined that the compliance target image to which the compliance target corresponding to the second position belongs satisfies the preset condition; A compliant target image for preset conditions.
可选的,终端也可以是先确定第一位置与各个第二位置之间的距离,并进一步检测第一位置与第二位置之间的距离是否小于或等于预设距离;若是,则判定将该第二位置对应的合规目标所属的合规目标图像满足预设条件;若否,则判定将该第二位置对应的合规目标所属的合规目标图像不满足预设条件,且若所有合规目标图像均不满足预设条件,则进一步判定未检测到满足预设条件的合规目标图像。其中,所述预设距离可根据实际情况需要设置,本实施例对此不作限定。Optionally, the terminal may also first determine the distance between the first position and each second position, and further detect whether the distance between the first position and the second position is less than or equal to the preset distance; The compliance target image to which the compliance target corresponding to the second position belongs satisfies the preset condition; if not, it is determined that the compliance target image to which the compliance target corresponding to the second position belongs does not meet the preset condition, and if all If none of the compliant target images meet the preset conditions, it is further determined that no compliant target images meeting the preset conditions are detected. The preset distance may be set according to actual needs, which is not limited in this embodiment.
应当理解的是,当预设距离取值为0时,则满足预设条件的合规目标图像中,图中合规目标对应的第二位置需要与第一位置重合。It should be understood that, when the preset distance takes a value of 0, in the compliance target image satisfying the preset condition, the second position corresponding to the compliance target in the figure needs to coincide with the first position.
可选的,当终端检测到存在满足预设条件的合规目标图像时,则继续执行步骤S50;当终端未检测到存在满足预设条件的合规目标图像时,则直接判定目标图像为异常目标图像。其中,异常目标图像中的异常目标可定义为违建、违章的建筑物。Optionally, when the terminal detects that there is a compliant target image that satisfies the preset condition, it continues to perform step S50; when the terminal does not detect that there is a compliant target image that meets the preset condition, it directly determines that the target image is abnormal. target image. Among them, the abnormal target in the abnormal target image can be defined as an illegal building or illegal building.
应当理解的是,预设条件实质上是用于衡量第一位置与第二位置之间的远近关系,即满足预设条件的合规目标图像,其对应的第二位置与第一位置之间的距离较近。这样一来,实质上只基于相对位置与目标图像较近的合规目标图像执行步骤S50,以进一步判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配,而不采用相对位置与目标图像较远的合规目标图像执行步骤S50,从而避免采用不必要的图像特征进行图像匹配,进而提高了后续匹配图像特征的准确率(因为距离较远的合规目标图像其图像特征即便与目标图像匹配,两者也不可能为同一栋或同一区域的建筑物);而且基于步骤S40的执行,还可以筛选出与目标图像不太可能匹配的合规目标图像,从而减少了后续检测与目标图像匹配的合规目标图像的算法复杂度,通过提高图像匹配的效率,进而提高了识别油气管道区域内的违规目标的效率。It should be understood that the preset condition is essentially used to measure the distance relationship between the first position and the second position, that is, the compliant target image that meets the preset condition is between the corresponding second position and the first position. distance is closer. In this way, step S50 is substantially performed only based on the compliance target image whose relative position is relatively close to the target image, so as to further determine whether the detected second image feature corresponding to the compliance target image is the same as the first image feature Matching, and do not use the compliant target image whose relative position is far from the target image to perform step S50, so as to avoid using unnecessary image features for image matching, thereby improving the accuracy of subsequent matching image features (because the distance is farther than the matching target image. Even if the image features of the regulated target image match the target image, they cannot be the same building or the same area); and based on the execution of step S40, compliance targets that are unlikely to match the target image can also be screened out. Therefore, the algorithm complexity of subsequent detection of compliant target images matching the target image is reduced, and the efficiency of image matching is improved, thereby improving the efficiency of identifying illegal targets in the oil and gas pipeline area.
而且当终端未检测到满足预设条件的合规目标图像时(即在目标图像的目标对应第一位置附近未检测到合规目标对应的第二位置时),说明此前在目标图像所处的区域内并未设置有合规目标,那么此时出现在该一区域内的目标(即建筑物),很有可能就是违规目标,故而终端直接将该目标图像判定为异常目标图像,从而减少后续进行图像特征匹配的算法处理,在一定程度上提高了识别油气管道区域内的违规目标的效率。Moreover, when the terminal does not detect a compliant target image that satisfies the preset conditions (that is, when the second position corresponding to the compliant target is not detected near the first position corresponding to the target of the target image), it indicates that the target image was located at the previous location. If there is no compliance target set in the area, then the target (ie building) that appears in the area at this time is likely to be the illegal target, so the terminal directly determines the target image as an abnormal target image, thereby reducing the follow-up The algorithm processing of image feature matching improves the efficiency of identifying illegal targets in the oil and gas pipeline area to a certain extent.
如步骤S50所述:当终端检测到存在满足预设条件的合规目标图像时(即检测到存在满足预设条件的第二位置),则从数据库中获取该合规目标图像对应的第二图像特征(即获取满足预设条件的第二位置关联的第二图像特征),然后检测获取得到的第二图像特征与第一图像特征是否匹配。As described in step S50: when the terminal detects that there is a compliance target image that satisfies the preset condition (that is, detects that there is a second position that satisfies the preset condition), the terminal acquires the second position corresponding to the compliance target image from the database. Image features (that is, acquiring a second image feature associated with a second position that satisfies a preset condition), and then detecting whether the acquired second image feature matches the first image feature.
可选的,终端检测第二图像特征与第一图像特征是否一致;若是,则判定第二图像特征与第一图像特征相匹配;若否,则判定第二图像特征与第一图像特征不匹配。Optionally, the terminal detects whether the second image feature is consistent with the first image feature; if so, determines that the second image feature matches the first image feature; if not, determines that the second image feature does not match the first image feature .
可选的,终端也可以是对第一图像特征与第二图像特征进行相似度检测,并进一步检测两者的相似度是否大于或等于预设相似度;若是,则判定第二图像特征与第一图像特征相匹配;若否,则判定第二图像特征与第一图像特征不匹配。其中,预设相似度的取值范围可以是90%-100%,且若预设相似度取值为100%,则相当于是检测第二图像特征与第一图像特征是否一致。Optionally, the terminal may also perform similarity detection on the first image feature and the second image feature, and further detect whether the similarity between the two is greater than or equal to the preset similarity; One image feature matches; if not, it is determined that the second image feature does not match the first image feature. The value range of the preset similarity may be 90%-100%, and if the preset similarity is 100%, it is equivalent to detecting whether the second image feature is consistent with the first image feature.
如步骤S60所述:当终端判定检测得到的所述合规目标图像对应的第二图像特征与目标图像的第一图像特征匹配时,说明目标图像中的建筑物是已有的记录在库的合规目标,则终端进一步判定该目标图像为合规目标图像。As described in step S60: when the terminal determines that the detected second image feature corresponding to the compliance target image matches the first image feature of the target image, it indicates that the building in the target image is an existing record in the library If the target image is compliant, the terminal further determines that the target image is a compliant target image.
如步骤S70所述:当终端判定检测得到的所述合规目标图像对应的第二图像特征与目标图像的第一图像特征不匹配时,说明目标图像中的建筑物是并未预先记录在库的异常 目标,则终端进一步判定该目标图像为异常目标图像,并判定该目标图像中的目标为异常目标(即违建、违章的建筑物)。As described in step S70: when the terminal determines that the detected second image feature corresponding to the compliance target image does not match the first image feature of the target image, it means that the building in the target image is not pre-recorded in the library is an abnormal target, the terminal further determines that the target image is an abnormal target image, and determines that the target in the target image is an abnormal target (ie, an illegal building or an illegal building).
应当理解的是,基于逆向思维,用于训练神经网络模型的基准图像样本也可以是基于异常目标图像生成的,此时则是检测到第二图像特征与第一图像特征匹配时,则判定目标图像为异常目标图像,若第二图像特征与第一图像特征不匹配,则判定目标图像为合规目标图像。但是一般来说,通常在油气管道区域内采集合规目标图像比采集异常目标图像容易,即基于合规目标图像更便于采集生成基准图像样本,进而提高构建并训练神经网络模型的效率,故而优选基于合规目标图像生成基准图像样本。It should be understood that, based on reverse thinking, the reference image samples used to train the neural network model can also be generated based on abnormal target images. In this case, when it is detected that the second image feature matches the first image feature, the target image is determined. The image is an abnormal target image, and if the second image feature does not match the first image feature, it is determined that the target image is a compliant target image. However, generally speaking, it is easier to collect compliant target images than abnormal target images in the oil and gas pipeline area, that is, it is easier to collect and generate benchmark image samples based on compliant target images, thereby improving the efficiency of building and training neural network models. Generate benchmark image samples based on compliant target images.
在一实施例中,利用人工智能和目标检测技术,自动对无人机采集到的油气管道区域内的图像进行图像识别和特征提取,得到图像中的目标建筑物,并采用与目标建筑物位置相近的合规建筑物对应的图像特征,与目标建筑物对应的图像特征进行特征匹配,基于此判断目标建筑物是否为合规建筑物,且若否则为违规建筑物,从而提高了在巡检油气管道区域的过程中,识别油气管道区域内的违规目标的效率。In one embodiment, artificial intelligence and target detection technology are used to automatically perform image recognition and feature extraction on images in the oil and gas pipeline area collected by unmanned aerial vehicles to obtain the target building in the image, and use the location of the target building to match the target building. The image features corresponding to similar compliant buildings are matched with the image features corresponding to the target building, and based on this, it is judged whether the target building is a compliant building, and if not, it is a violating building, thus improving the inspection process. Efficiency in identifying offending targets within the oil and gas pipeline area during the process of the oil and gas pipeline area.
在一实施例中,在上述实施例基础上,所述判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配的步骤包括:In an embodiment, based on the above-mentioned embodiment, the step of judging whether the second image feature corresponding to the detected compliance target image matches the first image feature includes:
步骤S51、获取所述第一图像特征的第一哈希编码,以及获取检测得到的所述合规目标图像对应的第二图像特征的第二哈希编码;Step S51, obtaining the first hash code of the first image feature, and obtaining the second hash code of the second image feature corresponding to the compliance target image obtained by detection;
步骤S52、确定所述第一哈希编码与所述第二哈希编码之间的汉明距离;Step S52, determine the Hamming distance between the first hash code and the second hash code;
步骤S53、利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配。Step S53, using the Hamming distance to determine whether the second image feature matches the first image feature.
本实施例中,当终端检测到存在至少一个满足预设条件的合规目标图像时,则从数据库中获取满足预设条件的合规目标图像对应的第二图像特征。In this embodiment, when the terminal detects that there is at least one compliance target image that satisfies the preset condition, the terminal acquires the second image feature corresponding to the compliance target image that satisfies the preset condition from the database.
可选的,本实施例采用基于哈希函数的图像检索算法,通过将图像特征代入到哈希函数集中,从而得到相应的哈希编码。其中,哈希函数集为:Optionally, in this embodiment, an image retrieval algorithm based on a hash function is adopted, and corresponding hash codes are obtained by substituting image features into the hash function set. Among them, the hash function set is:
H(x)=h 1(x),h 2(x),…,h K(x) H(x)=h 1 (x),h 2 (x),...,h K (x)
其中,h即为哈希函数,哈希函数集H由多个哈希函数组成,K即为哈希函数的数量。对于某图像对应的图像特征x i(i=1,2,…,N),将其特征逐一代入到哈希希函数集中,即可计算得到相应的哈希编码。 Among them, h is the hash function, the hash function set H is composed of multiple hash functions, and K is the number of hash functions. For the image features x i (i=1, 2, .
可选的,终端可以是将第一图像特征转换为哈希编码,从而获取得到第一哈希编码。且终端可以是从数据库中获取到第二图像特征后,将第二图像特征转换为哈希编码,从而得到每个第二图像特征对应的第二哈希编码;或者,终端也可以是预先将数据库中所有第二图像特征转换为第二图像特征对应的第二哈希编码,然后将第二哈希编码与第二图像特征关联存储,生成图像特征库,这样在图像特征库的生成阶段,就可对哈希函数集进行训练学习,且当终端需要获取第二图像特征对应的第二哈希编码时,则直接从图像特征库中获取即可。Optionally, the terminal may convert the first image feature into a hash code, so as to obtain the first hash code. And the terminal may convert the second image feature into a hash code after acquiring the second image feature from the database, so as to obtain the second hash code corresponding to each second image feature; All the second image features in the database are converted into second hash codes corresponding to the second image features, and then the second hash codes are stored in association with the second image features to generate an image feature library, so that in the generation stage of the image feature library, The hash function set can be trained and learned, and when the terminal needs to obtain the second hash code corresponding to the second image feature, it can be directly obtained from the image feature library.
可选的,终端在获取得到第一哈希编码和第二哈希编码后,则进一步计算第一哈希编码与第二哈希编码之间的汉明距离。其中,汉明距离的计算公式为:Optionally, after obtaining the first hash code and the second hash code, the terminal further calculates the Hamming distance between the first hash code and the second hash code. Among them, the calculation formula of Hamming distance is:
Figure PCTCN2021084540-appb-000005
Figure PCTCN2021084540-appb-000005
此处x和y都是n位的编码,
Figure PCTCN2021084540-appb-000006
表示异或运算。
Here x and y are both n-bit codes,
Figure PCTCN2021084540-appb-000006
Represents an exclusive OR operation.
需要说明的是,汉明距离表示两个字符串(相同长度)对应位不同的数量;对两个字符串进行异或运算,并统计结果为1的个数,那么这个数就是汉明距离。It should be noted that the Hamming distance represents the number of different bits corresponding to two strings (same length); if the XOR operation is performed on the two strings, and the number of the result is 1, then this number is the Hamming distance.
可选的,当终端确定第一哈希编码与第二哈希编码之间的汉明距离后,则进一步检测得到的汉明距离是否小于或等于预设阈值。其中,所述预设阈值用于衡量汉明距离的大小, 可以根据实际情况需要设置,例如取值范围可为0-10;汉明距离越小,则第一哈希编码与第二哈希编码之间的匹配度越高,且汉明距离为0,则两者完全一致。Optionally, after the terminal determines the Hamming distance between the first hash code and the second hash code, it further detects whether the obtained Hamming distance is less than or equal to a preset threshold. The preset threshold is used to measure the size of the Hamming distance, and can be set according to actual needs, for example, the value range can be 0-10; the smaller the Hamming distance, the first hash code and the second hash code The higher the matching degree between the codes, and the Hamming distance is 0, the two are exactly the same.
可选的,当终端检测到第一哈希编码与第二哈希编码之间的汉明距离小于或等于预设阈值时,则判定该第二哈希编码对应的第二图像特征与第一图像特征匹配;当终端检测到第一哈希编码与第二哈希编码之间的汉明距离大于预设阈值时,则判定该第二哈希编码对应的第二图像特征与第一图像特征不匹配。Optionally, when the terminal detects that the Hamming distance between the first hash code and the second hash code is less than or equal to a preset threshold, it determines that the second image feature corresponding to the second hash code is the same as the first hash code. Image feature matching; when the terminal detects that the Hamming distance between the first hash code and the second hash code is greater than a preset threshold, it determines that the second image feature corresponding to the second hash code and the first image feature Mismatch.
应当理解的是,当存在多个满足预设条件的合规目标图像时,则会获取得到多个第二图像特征对应的第二哈希编码,此时则分别确定第一哈希编码与每个第二哈希编码之间的汉明距离,得到多个不同第二哈希编码对应的汉明距离。然后终端可以利用数组大小排序,从多个汉明编码中选出数值最小的汉明距离,再基于选出的汉明距离执行步骤S53,以利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配;若是,则判定选出的汉明距离对应的第二哈希编码所属的第二图像特征与第一图像特征匹配;若否,则判定选出的汉明距离对应的第二哈希编码所属的第二图像特征与第一图像特征不匹配。It should be understood that when there are multiple compliance target images that meet the preset conditions, the second hash codes corresponding to the multiple second image features will be obtained, and at this time, the first hash code and each The Hamming distance between the second hash codes is obtained, and the Hamming distances corresponding to a plurality of different second hash codes are obtained. Then the terminal can use the array size sorting, select the Hamming distance with the smallest value from the plurality of Hamming codes, and then execute step S53 based on the selected Hamming distance, so as to use the Hamming distance to determine the second image feature Whether it matches the first image feature; if so, then determine that the second image feature to which the second hash code corresponding to the selected Hamming distance belongs matches the first image feature; if not, then determine that the selected Hamming distance The second image feature to which the second hash code corresponding to the distance belongs does not match the first image feature.
这样,通过利用汉明距离实现第一图像特征与第二图像特征之间的匹配验证,可以提高图像特征配对的运算效率,进而提高了在巡检油气管道区域的过程中,识别油气管道区域内的目标图像中是否存在违规目标的效率。In this way, by using the Hamming distance to realize the matching verification between the first image feature and the second image feature, the operation efficiency of image feature pairing can be improved, thereby improving the process of inspecting the oil and gas pipeline area. The efficiency of whether there are offending targets in the target image.
在一实施例中,在上述实施例基础上,所述判定所述目标图像为异常目标图像的步骤之后,还包括:In an embodiment, on the basis of the above-mentioned embodiment, after the step of determining that the target image is an abnormal target image, the method further includes:
步骤S80、将所述目标图像输出至关联设备;Step S80, outputting the target image to an associated device;
步骤S81、接收到所述关联设备针对所述目标图像反馈的肯定响应时,将所述目标图像更新为所述合规目标图像,并基于所述目标图像生成所述基准图像样本;或者,Step S81, when receiving a positive response fed back by the associated device to the target image, update the target image to the compliance target image, and generate the reference image sample based on the target image; or,
步骤S82、接收到所述关联设备针对所述目标图像反馈的否定响应时,维持所述目标图像为所述异常目标图像的判定。Step S82, when receiving a negative response from the associated device for the target image, maintaining the determination that the target image is the abnormal target image.
本实施例中,当终端判定目标图像为异常目标图像时,为了避免对新建的、尚未记录在库的合规建筑物的误判,可以将目标图像输出至相关负责监管、维护油气管道的工作人员的关联设备,从而转入人工审核流程,以供相关工作人员审核目标图像中的目标是否为异常目标。In this embodiment, when the terminal determines that the target image is an abnormal target image, in order to avoid a misjudgment of a newly built compliant building that has not been recorded in the library, the target image can be output to the relevant work responsible for supervising and maintaining oil and gas pipelines The associated equipment of the personnel is transferred to the manual review process for the relevant staff to review whether the target in the target image is an abnormal target.
可选的,当相关工作人员审核目标图像中的目标为合规目标时,则可以通过关联设备向终端发送针对目标图像进行反馈的肯定响应。当终端接收到所述关联设备针对所述目标图像反馈的肯定响应时,说明目标图像中的目标应为合规目标,则终端可将先前当前目标图像更新为合规目标图像,并基于所述目标图像生成基准图像样本,以及将新生成的基准图像样本输入到神经网络模型中,以对神经网络模型进行训练更新,使得神经网络模型可以新增合规目标图像的相关训练参数,当后续再对同一目标图像进行识别时,即可得到与该目标图像的第一图像特征匹配的第二图像特征,即不会再将其判定未异常目标图像,而且判定为合规目标图像。Optionally, when the relevant staff checks that the target in the target image is a compliant target, a positive response for feedback on the target image may be sent to the terminal through the associated device. When the terminal receives a positive response from the associated device for the target image, indicating that the target in the target image should be a compliant target, the terminal can update the previous current target image to a compliant target image, and based on the The target image generates a reference image sample, and the newly generated reference image sample is input into the neural network model to train and update the neural network model, so that the neural network model can add relevant training parameters of the compliant target image. When the same target image is identified, a second image feature matching the first image feature of the target image can be obtained, that is, it will no longer be determined as a non-abnormal target image, and it is determined as a compliant target image.
可选的,当相关工作人员审核目标图像中的目标为异常目标(例如违规建筑)时,则可以通过关联设备向终端发送针对目标图像进行反馈的否定响应。当终端接收到所述关联设备针对所述目标图像反馈的否定响应时,说明目标图像中的目标确实是异常目标,则终端继续维持先前将该目标图像判定为异常目标图像的判定,即此时终端可以不作处理。Optionally, when the relevant staff checks that the target in the target image is an abnormal target (for example, an illegal building), a negative response for feedback on the target image may be sent to the terminal through the associated device. When the terminal receives a negative response from the associated device to the target image, indicating that the target in the target image is indeed an abnormal target, the terminal continues to maintain the previous determination that the target image is an abnormal target image, that is, at this time The terminal can be left alone.
这样,只在识别出目标图像为非合规目标图像时,才转入人工辅助审核目标图像是否存在异常目标的流程,在一定程度上减少了人工审核目标图像中的目标是否为异常目标的成本,提高了识别油气管道区域内的违规目标的效率,同时还可以避免误判目标图像中存在异常目标的情况发生。In this way, only when the target image is identified as a non-compliant target image, the process of manually assisting the review of whether the target image has abnormal targets will be transferred, which reduces the cost of manually reviewing whether the targets in the target image are abnormal targets to a certain extent. , which improves the efficiency of identifying illegal targets in the oil and gas pipeline area, and also avoids misjudging the existence of abnormal targets in the target image.
在一实施例中,在上述实施例基础上,所述判定所述目标图像为异常目标图像的步骤之后,还包括:In an embodiment, on the basis of the above-mentioned embodiment, after the step of determining that the target image is an abnormal target image, the method further includes:
步骤S90、根据所述异常目标图像生成告警信息,并输出所述告警信息。Step S90: Generate alarm information according to the abnormal target image, and output the alarm information.
本实施例中,当终端判定目标图像为异常目标图像时,则可以根据异常目标图像生成告警信息。其中,在告警信息中,终端可以进一步添加异常目标图像关联的第一位置,和/或添加该异常目标图像所属的航拍图像和航拍图像关联的位置信息。In this embodiment, when the terminal determines that the target image is an abnormal target image, alarm information may be generated according to the abnormal target image. Wherein, in the alarm information, the terminal may further add the first position associated with the abnormal target image, and/or add the aerial image to which the abnormal target image belongs and the position information associated with the aerial image.
进一步地,终端可以进一步确定相关执法机关(如公安部门、城管部门、负责油气管道维护的相关部门等)的信息接收端,并将告警信息输出至信息接收端,以提示相关执法机关及时处理油气管道附近的违规、违章、违建建筑物,及早避免因油气管道遭到损害,而造成人员、经济、环境的损失。Further, the terminal can further determine the information receiving end of relevant law enforcement agencies (such as public security departments, urban management departments, relevant departments responsible for oil and gas pipeline maintenance, etc.), and output the alarm information to the information receiving end to prompt relevant law enforcement agencies to deal with oil and gas in time. Illegal, illegal and illegal buildings near the pipeline can avoid the loss of personnel, economy and environment caused by damage to the oil and gas pipeline as soon as possible.
参照图2,本申请实施例中还提供一种基于目标匹配的油气管道巡检装置10,包括:Referring to FIG. 2, the embodiment of the present application also provides a target matching-based oil and gas pipeline inspection device 10, including:
采集模块11,用于利用无人机采集油气管道区域内的航拍图像;The acquisition module 11 is used for collecting aerial images in the oil and gas pipeline area by using the drone;
处理模块12,用于从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;a processing module 12, for extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
特征提取模块13,用于利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;The feature extraction module 13 is configured to perform image feature extraction on the target image by using a neural network model to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are labeled There is a compliance target image; the neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
检测模块14,用于根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;A detection module 14, configured to detect a compliance target image that satisfies a preset condition according to the second position and the first position corresponding to the compliance target in the compliance target image;
判断模块15,用于判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;A judgment module 15, configured to judge whether the detected second image feature corresponding to the compliance target image matches the first image feature;
第一判定模块16,用于若是,则判定所述目标图像为所述合规目标图像;The first determination module 16 is configured to determine if the target image is the compliance target image;
第二判定模块17,用于若否,则判定所述目标图像为异常目标图像。The second determination module 17 is configured to determine that the target image is an abnormal target image if not.
在一实施例中,在上述实施例基础上,所述基于目标匹配的油气管道巡检装置的判断模块包括:In an embodiment, on the basis of the above-mentioned embodiment, the judgment module of the oil and gas pipeline inspection device based on target matching includes:
获取单元,用于获取所述第一图像特征的第一哈希编码,以及获取检测得到的所述合规目标图像对应的第二图像特征的第二哈希编码;an obtaining unit, configured to obtain the first hash code of the first image feature, and the second hash code of the second image feature corresponding to the detected compliance target image;
确定单元,用于确定所述第一哈希编码与所述第二哈希编码之间的汉明距离;a determining unit for determining the Hamming distance between the first hash code and the second hash code;
判断单元,用于利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配。A judgment unit, configured to use the Hamming distance to judge whether the second image feature matches the first image feature.
进一步地,所述判断单元还用于判断所述汉明距离是否小于或等于预设阈值;若是,则判定所述第二图像特征与所述第一图像特征匹配;若否,则判定所述第二图像特征与所述第一图像特征不匹配。Further, the judging unit is further configured to judge whether the Hamming distance is less than or equal to a preset threshold; if so, judge that the second image feature matches the first image feature; if not, judge the The second image feature does not match the first image feature.
进一步地,所述神经网络模型基于Mask RCNN网络构建;所述处理模块,还用于将所述航拍图像输入到所述神经网络模型中,以利用所述Mask RCNN网络从所述航拍图像中提取目标图像;其中,所述Mask RCNN网络还用于提取所述第一图像特征和所述第二图像特征。Further, the neural network model is constructed based on the Mask RCNN network; the processing module is also used to input the aerial image into the neural network model, to utilize the Mask RCNN network to extract from the aerial image. target image; wherein, the Mask RCNN network is also used to extract the first image feature and the second image feature.
进一步地,所述预设条件为以下任一个:所述第二位置位于基于所述第一位置构建的预设区域范围内;所述第二位置与所述第一位置之间的距离小于或等于预设距离。Further, the preset condition is any one of the following: the second position is within a preset area constructed based on the first position; the distance between the second position and the first position is less than or equal to the preset distance.
进一步地,所述基于目标匹配的油气管道巡检装置还包括:Further, the oil and gas pipeline inspection device based on target matching also includes:
第三判定模块,用于当未检测到满足所述预设条件的所述合规目标图像时,判定所述目标图像为异常目标图像。A third determination module, configured to determine that the target image is an abnormal target image when the compliance target image that meets the preset condition is not detected.
进一步地,所述基于目标匹配的油气管道巡检装置还包括:Further, the oil and gas pipeline inspection device based on target matching also includes:
输出模块,用于将所述目标图像输出至关联设备;an output module for outputting the target image to an associated device;
第一接收模块,用于接收到所述关联设备针对所述目标图像反馈的肯定响应时,将所述目标图像更新为所述合规目标图像,并基于所述目标图像生成所述基准图像样本;或者,a first receiving module, configured to update the target image to the compliance target image when receiving a positive response from the associated device to the target image, and generate the reference image sample based on the target image ;or,
第二接收模块,用于接收到所述关联设备针对所述目标图像反馈的否定响应时,维持所述目标图像为所述异常目标图像的判定。The second receiving module is configured to maintain the determination that the target image is the abnormal target image when receiving a negative response fed back by the associated device to the target image.
进一步地,所述基于目标匹配的油气管道巡检装置还包括:Further, the oil and gas pipeline inspection device based on target matching also includes:
告警模块,用于根据所述异常目标图像生成告警信息,并输出所述告警信息。An alarm module, configured to generate alarm information according to the abnormal target image, and output the alarm information.
参照图3,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于基于目标匹配的油气管道巡检程序。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基于目标匹配的油气管道巡检方法。Referring to FIG. 3 , an embodiment of the present application further provides a computer device. The computer device may be a server, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for target matching based oil and gas pipeline inspection procedures. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for inspecting oil and gas pipelines based on target matching is realized.
本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
此外,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质包括基于目标匹配的油气管道巡检程序,所述基于目标匹配的油气管道巡检程序被处理器执行时实现如以上实施例所述的基于目标匹配的油气管道巡检方法的步骤。可以理解的是,所述计算机可读存储介质可以是非易失性,也可以是易失性。In addition, the present application also proposes a computer-readable storage medium, the computer-readable storage medium includes an oil and gas pipeline inspection program based on target matching, and the oil and gas pipeline inspection program based on target matching is executed by a processor. The steps of the oil and gas pipeline inspection method based on target matching described in the above embodiments. It can be understood that the computer-readable storage medium can be non-volatile or volatile.
综上所述,为本申请实施例中提供的基于目标匹配的油气管道巡检方法、基于目标匹配的油气管道巡检装置、计算机设备和存储介质,利用人工智能和目标检测技术,自动对无人机采集到的油气管道区域内的图像进行图像识别和特征提取,得到图像中的目标建筑物,并采用与目标建筑物位置相近的合规建筑物对应的图像特征,与目标建筑物对应的图像特征进行特征匹配,基于此判断目标建筑物是否为合规建筑物,且若否则为违规建筑物,从而提高了在巡检油气管道区域的过程中,识别油气管道区域内的违规目标的效率。To sum up, the oil and gas pipeline inspection method based on target matching, the oil and gas pipeline inspection device based on target matching, computer equipment and storage medium provided in the embodiments of the application utilize artificial intelligence and target detection technology to automatically Perform image recognition and feature extraction on the images in the oil and gas pipeline area collected by man and machine to obtain the target building in the image, and use the image features corresponding to the compliant buildings that are close to the target building. Image features are used for feature matching, and based on this, it is judged whether the target building is a compliant building, and if not, it is an illegal building, thus improving the efficiency of identifying illegal targets in the oil and gas pipeline area during the process of patrolling the oil and gas pipeline area. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM通过多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、 同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium provided in this application and used in the embodiments may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, apparatus, article or method comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, apparatus, article or method. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, apparatus, article, or method that includes the element.
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related The technical field is similarly included in the scope of patent protection of this application.

Claims (20)

  1. 一种基于目标匹配的油气管道巡检方法,其中,包括:An oil and gas pipeline inspection method based on target matching, comprising:
    利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
    从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
    利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
    根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
    判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
    若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
    若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
  2. 如权利要求1所述的基于目标匹配的油气管道巡检方法,其中,所述判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配的步骤包括:The oil and gas pipeline inspection method based on target matching according to claim 1, wherein the step of judging whether the second image feature corresponding to the detected compliance target image matches the first image feature comprises:
    获取所述第一图像特征的第一哈希编码,以及获取检测得到的所述合规目标图像对应的第二图像特征的第二哈希编码;obtaining the first hash code of the first image feature, and obtaining the second hash code of the second image feature corresponding to the detected compliance target image;
    确定所述第一哈希编码与所述第二哈希编码之间的汉明距离;determining the Hamming distance between the first hash code and the second hash code;
    利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配。Whether the second image feature matches the first image feature is determined by using the Hamming distance.
  3. 如权利要求1所述的基于目标匹配的油气管道巡检方法,其中,所述神经网络模型基于Mask RCNN网络构建;所述从所述航拍图像中提取目标图像的步骤包括:The oil and gas pipeline inspection method based on target matching according to claim 1, wherein, the neural network model is constructed based on the Mask RCNN network; the step of extracting the target image from the aerial image comprises:
    将所述航拍图像输入到所述神经网络模型中,以利用所述Mask RCNN网络从所述航拍图像中提取目标图像;Inputting the aerial image into the neural network model to extract a target image from the aerial image using the Mask RCNN network;
    其中,所述Mask RCNN网络还用于提取所述第一图像特征和所述第二图像特征。Wherein, the Mask RCNN network is also used to extract the first image feature and the second image feature.
  4. 如权利要求1所述的基于目标匹配的油气管道巡检方法,其中,所述预设条件为以下任一个:The oil and gas pipeline inspection method based on target matching according to claim 1, wherein the preset condition is any one of the following:
    所述第二位置位于基于所述第一位置构建的预设区域范围内;the second position is within a preset area constructed based on the first position;
    所述第二位置与所述第一位置之间的距离小于或等于预设距离。The distance between the second position and the first position is less than or equal to a preset distance.
  5. 如权利要求4所述的基于目标匹配的油气管道巡检方法,其中,所述从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置的步骤之后,还包括:The oil and gas pipeline inspection method based on target matching according to claim 4, wherein after the step of extracting the target image from the aerial image and determining the first position corresponding to the target in the target image, further include:
    当未检测到满足所述预设条件的所述合规目标图像时,判定所述目标图像为异常目标图像。When the compliant target image that satisfies the preset condition is not detected, it is determined that the target image is an abnormal target image.
  6. 如权利要求1所述的基于目标匹配的油气管道巡检方法,其中,所述判定所述目标图像为异常目标图像的步骤之后,还包括:The oil and gas pipeline inspection method based on target matching according to claim 1, wherein after the step of determining that the target image is an abnormal target image, the method further comprises:
    将所述目标图像输出至关联设备;outputting the target image to an associated device;
    接收到所述关联设备针对所述目标图像反馈的肯定响应时,将所述目标图像更新为所述合规目标图像,并基于所述目标图像生成所述基准图像样本;或者,When receiving a positive response fed back by the associated device to the target image, update the target image to the compliance target image, and generate the reference image sample based on the target image; or,
    接收到所述关联设备针对所述目标图像反馈的否定响应时,维持所述目标图像为所述异常目标图像的判定。When receiving a negative response fed back by the associated device for the target image, the determination that the target image is the abnormal target image is maintained.
  7. 如权利要求1所述的基于目标匹配的油气管道巡检方法,其中,所述判定所述目标图像为异常目标图像的步骤之后,还包括:The oil and gas pipeline inspection method based on target matching according to claim 1, wherein after the step of determining that the target image is an abnormal target image, the method further comprises:
    根据所述异常目标图像生成告警信息,并输出所述告警信息。Generate alarm information according to the abnormal target image, and output the alarm information.
  8. 一种基于目标匹配的油气管道巡检装置,其中,包括:An oil and gas pipeline inspection device based on target matching, comprising:
    采集模块,用于利用无人机采集油气管道区域内的航拍图像;The acquisition module is used to collect aerial images in the oil and gas pipeline area by using drones;
    处理模块,用于从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;a processing module for extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
    特征提取模块,用于利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;The feature extraction module is used for extracting image features of the target image by using a neural network model to obtain a first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with a compliance target image; the neural network model performs image feature extraction on the compliance target image during training to obtain a second image feature;
    检测模块,用于根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;a detection module, configured to detect a compliance target image that satisfies a preset condition according to the second position and the first position corresponding to the compliance target in the compliance target image;
    判断模块,用于判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;a judgment module for judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
    第一判定模块,用于若是,则判定所述目标图像为所述合规目标图像;a first determination module, configured to determine if the target image is the compliance target image;
    第二判定模块,用于若否,则判定所述目标图像为异常目标图像。The second determination module is configured to determine that the target image is an abnormal target image if not.
  9. 一种计算机设备,其中,所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于目标匹配的油气管道巡检程序,所述基于目标匹配的油气管道巡检程序被所述处理器执行时实现基于目标匹配的油气管道巡检方法;A computer equipment, wherein, the computer equipment comprises a memory, a processor and a target matching-based oil and gas pipeline inspection program that is stored on the memory and can be run on the processor, and the target-matched oil and gas pipeline inspection program When the pipeline inspection program is executed by the processor, a target matching-based oil and gas pipeline inspection method is realized;
    其中,所述基于目标匹配的油气管道巡检方法的步骤包括:Wherein, the steps of the oil and gas pipeline inspection method based on target matching include:
    利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
    从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
    利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
    根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
    判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
    若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
    若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
  10. 如权利要求9所述的计算机设备,其中,所述判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配的步骤包括:The computer device according to claim 9, wherein the step of judging whether the second image feature corresponding to the detected compliance target image matches the first image feature comprises:
    获取所述第一图像特征的第一哈希编码,以及获取检测得到的所述合规目标图像对应的第二图像特征的第二哈希编码;obtaining the first hash code of the first image feature, and obtaining the second hash code of the second image feature corresponding to the detected compliance target image;
    确定所述第一哈希编码与所述第二哈希编码之间的汉明距离;determining the Hamming distance between the first hash code and the second hash code;
    利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配。Whether the second image feature matches the first image feature is determined by using the Hamming distance.
  11. 如权利要求9所述的计算机设备,其中,所述神经网络模型基于Mask RCNN网络构建;所述从所述航拍图像中提取目标图像的步骤包括:The computer equipment according to claim 9, wherein, the neural network model is constructed based on the Mask RCNN network; the step of extracting the target image from the aerial image comprises:
    将所述航拍图像输入到所述神经网络模型中,以利用所述Mask RCNN网络从所述航拍图像中提取目标图像;Inputting the aerial image into the neural network model to extract a target image from the aerial image using the Mask RCNN network;
    其中,所述Mask RCNN网络还用于提取所述第一图像特征和所述第二图像特征。Wherein, the Mask RCNN network is also used to extract the first image feature and the second image feature.
  12. 如权利要求9所述的计算机设备,其中,所述预设条件为以下任一个:The computer device of claim 9, wherein the preset condition is any one of the following:
    所述第二位置位于基于所述第一位置构建的预设区域范围内;the second position is within a preset area constructed based on the first position;
    所述第二位置与所述第一位置之间的距离小于或等于预设距离。The distance between the second position and the first position is less than or equal to a preset distance.
  13. 如权利要求12所述的计算机设备,其中,所述从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置的步骤之后,还包括:The computer device according to claim 12, wherein after the step of extracting the target image from the aerial image and determining the first position corresponding to the target in the target image, the method further comprises:
    当未检测到满足所述预设条件的所述合规目标图像时,判定所述目标图像为异常目标图像。When the compliant target image that satisfies the preset condition is not detected, it is determined that the target image is an abnormal target image.
  14. 如权利要求9所述的计算机设备,其中,所述判定所述目标图像为异常目标图像的步骤之后,还包括:The computer device according to claim 9, wherein after the step of determining that the target image is an abnormal target image, it further comprises:
    将所述目标图像输出至关联设备;outputting the target image to an associated device;
    接收到所述关联设备针对所述目标图像反馈的肯定响应时,将所述目标图像更新为所述合规目标图像,并基于所述目标图像生成所述基准图像样本;或者,When receiving a positive response fed back by the associated device to the target image, update the target image to the compliance target image, and generate the reference image sample based on the target image; or,
    接收到所述关联设备针对所述目标图像反馈的否定响应时,维持所述目标图像为所述异常目标图像的判定。When receiving a negative response fed back by the associated device for the target image, the determination that the target image is the abnormal target image is maintained.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有基于目标匹配的油气管道巡检程序,所述基于目标匹配的油气管道巡检程序被处理器执行时实现基于目标匹配的油气管道巡检方法;A computer-readable storage medium, wherein the computer-readable storage medium stores an oil and gas pipeline inspection program based on target matching, and the oil and gas pipeline inspection program based on target matching realizes target-based matching when the oil and gas pipeline inspection program based on target matching is executed by a processor oil and gas pipeline inspection method;
    其中,所述基于目标匹配的油气管道巡检方法的步骤包括:Wherein, the steps of the oil and gas pipeline inspection method based on target matching include:
    利用无人机采集油气管道区域内的航拍图像;Use drones to collect aerial images in the oil and gas pipeline area;
    从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置;extracting a target image from the aerial image, and determining a first position corresponding to the target in the target image;
    利用神经网络模型对所述目标图像进行图像特征提取,得到第一图像特征,其中,所述神经网络模型预先基于多个基准图像样本训练得到,所述基准图像样本标注有合规目标图像;所述神经网络模型在训练的过程中对所述合规目标图像进行图像特征提取,得到第二图像特征;Use a neural network model to perform image feature extraction on the target image to obtain the first image feature, wherein the neural network model is pre-trained based on a plurality of reference image samples, and the reference image samples are marked with compliant target images; The neural network model performs image feature extraction on the compliance target image during the training process to obtain a second image feature;
    根据所述合规目标图像中的合规目标对应的第二位置和所述第一位置,检测满足预设条件的合规目标图像;According to the second position and the first position corresponding to the compliance target in the compliance target image, detecting a compliance target image that satisfies a preset condition;
    判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配;judging whether the detected second image feature corresponding to the compliance target image matches the first image feature;
    若是,则判定所述目标图像为所述合规目标图像;If so, determine that the target image is the compliance target image;
    若否,则判定所述目标图像为异常目标图像。If not, it is determined that the target image is an abnormal target image.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述判断检测得到的所述合规目标图像对应的第二图像特征是否与所述第一图像特征匹配的步骤包括:The computer-readable storage medium of claim 15, wherein the step of judging whether the second image feature corresponding to the detected compliance target image matches the first image feature comprises:
    获取所述第一图像特征的第一哈希编码,以及获取检测得到的所述合规目标图像对应的第二图像特征的第二哈希编码;obtaining the first hash code of the first image feature, and obtaining the second hash code of the second image feature corresponding to the detected compliance target image;
    确定所述第一哈希编码与所述第二哈希编码之间的汉明距离;determining the Hamming distance between the first hash code and the second hash code;
    利用所述汉明距离判断所述第二图像特征与所述第一图像特征是否匹配。Whether the second image feature matches the first image feature is determined by using the Hamming distance.
  17. 如权利要求15所述的计算机可读存储介质,其中,所述神经网络模型基于Mask RCNN网络构建;所述从所述航拍图像中提取目标图像的步骤包括:The computer-readable storage medium of claim 15, wherein the neural network model is constructed based on a Mask RCNN network; the step of extracting the target image from the aerial image comprises:
    将所述航拍图像输入到所述神经网络模型中,以利用所述Mask RCNN网络从所述航拍图像中提取目标图像;Inputting the aerial image into the neural network model to extract a target image from the aerial image using the Mask RCNN network;
    其中,所述Mask RCNN网络还用于提取所述第一图像特征和所述第二图像特征。Wherein, the Mask RCNN network is also used to extract the first image feature and the second image feature.
  18. 如权利要求15所述的计算机可读存储介质,其中,所述预设条件为以下任一个:The computer-readable storage medium of claim 15, wherein the preset condition is any one of the following:
    所述第二位置位于基于所述第一位置构建的预设区域范围内;the second position is within a preset area constructed based on the first position;
    所述第二位置与所述第一位置之间的距离小于或等于预设距离。The distance between the second position and the first position is less than or equal to a preset distance.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述从所述航拍图像中提取目标图像,并确定所述目标图像中的目标对应的第一位置的步骤之后,还包括:The computer-readable storage medium according to claim 18, wherein after the step of extracting the target image from the aerial image and determining the first position corresponding to the target in the target image, the method further comprises:
    当未检测到满足所述预设条件的所述合规目标图像时,判定所述目标图像为异常目标图像。When the compliant target image that satisfies the preset condition is not detected, it is determined that the target image is an abnormal target image.
  20. 如权利要求15所述的计算机可读存储介质,其中,所述判定所述目标图像为异常目标图像的步骤之后,还包括:The computer-readable storage medium of claim 15, wherein after the step of determining that the target image is an abnormal target image, the method further comprises:
    将所述目标图像输出至关联设备;outputting the target image to an associated device;
    接收到所述关联设备针对所述目标图像反馈的肯定响应时,将所述目标图像更新为所述合规目标图像,并基于所述目标图像生成所述基准图像样本;或者,When receiving a positive response fed back by the associated device to the target image, update the target image to the compliance target image, and generate the reference image sample based on the target image; or,
    接收到所述关联设备针对所述目标图像反馈的否定响应时,维持所述目标图像为所述异常目标图像的判定。When receiving a negative response fed back by the associated device for the target image, the determination that the target image is the abnormal target image is maintained.
PCT/CN2021/084540 2020-12-11 2021-03-31 Method and apparatus for routing inspection of oil and gas pipelines on the basis of target matching WO2022121186A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011461277.6 2020-12-11
CN202011461277.6A CN112529012B (en) 2020-12-11 2020-12-11 Oil and gas pipeline inspection method, device, equipment and medium based on target matching

Publications (1)

Publication Number Publication Date
WO2022121186A1 true WO2022121186A1 (en) 2022-06-16

Family

ID=74999246

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084540 WO2022121186A1 (en) 2020-12-11 2021-03-31 Method and apparatus for routing inspection of oil and gas pipelines on the basis of target matching

Country Status (2)

Country Link
CN (1) CN112529012B (en)
WO (1) WO2022121186A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115512098A (en) * 2022-09-26 2022-12-23 重庆大学 Electronic bridge inspection system and inspection method
CN115797619A (en) * 2023-02-10 2023-03-14 南京天创电子技术有限公司 Deviation rectifying method suitable for image positioning of inspection robot instrument
CN116091719A (en) * 2023-03-06 2023-05-09 山东建筑大学 River channel data management method and system based on Internet of things

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529012B (en) * 2020-12-11 2024-05-07 平安科技(深圳)有限公司 Oil and gas pipeline inspection method, device, equipment and medium based on target matching
CN113283382B (en) * 2021-06-15 2022-08-30 合肥工业大学 Method and device for describing leakage scene of underground pipeline
CN113688758B (en) * 2021-08-31 2023-05-30 重庆科技学院 Intelligent recognition system for high-consequence region of gas transmission pipeline based on edge calculation
CN116101275A (en) * 2023-04-12 2023-05-12 禾多科技(北京)有限公司 Obstacle avoidance method and system based on automatic driving

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729842A (en) * 2017-10-18 2018-02-23 中国石油大学(北京) Oil-gas pipeline damage from third-party dangerous discernment method, apparatus and system based on machine vision
CN107808425A (en) * 2017-11-28 2018-03-16 刘松林 Oil-gas pipeline cruising inspection system and its method for inspecting based on unmanned plane image
CN109636848A (en) * 2018-12-17 2019-04-16 武汉天乾科技有限责任公司 A kind of oil-gas pipeline method for inspecting based on unmanned plane
CN110266803A (en) * 2019-06-25 2019-09-20 北京工业大学 Oil-gas pipeline supervisory systems based on unmanned plane
CN111257507A (en) * 2020-01-16 2020-06-09 清华大学合肥公共安全研究院 Gas concentration detection and accident early warning system based on unmanned aerial vehicle
CN111339858A (en) * 2020-02-17 2020-06-26 电子科技大学 Oil and gas pipeline marker identification method based on neural network
CN111539362A (en) * 2020-04-28 2020-08-14 西北工业大学 Unmanned aerial vehicle image target detection device and method
CN111563423A (en) * 2020-04-17 2020-08-21 西北工业大学 Unmanned aerial vehicle image target detection method and system based on depth denoising automatic encoder
CN112529012A (en) * 2020-12-11 2021-03-19 平安科技(深圳)有限公司 Oil-gas pipeline inspection method, device, equipment and medium based on target matching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11301748B2 (en) * 2018-11-13 2022-04-12 International Business Machines Corporation Automatic feature extraction from aerial images for test pattern sampling and pattern coverage inspection for lithography

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729842A (en) * 2017-10-18 2018-02-23 中国石油大学(北京) Oil-gas pipeline damage from third-party dangerous discernment method, apparatus and system based on machine vision
CN107808425A (en) * 2017-11-28 2018-03-16 刘松林 Oil-gas pipeline cruising inspection system and its method for inspecting based on unmanned plane image
CN109636848A (en) * 2018-12-17 2019-04-16 武汉天乾科技有限责任公司 A kind of oil-gas pipeline method for inspecting based on unmanned plane
CN110266803A (en) * 2019-06-25 2019-09-20 北京工业大学 Oil-gas pipeline supervisory systems based on unmanned plane
CN111257507A (en) * 2020-01-16 2020-06-09 清华大学合肥公共安全研究院 Gas concentration detection and accident early warning system based on unmanned aerial vehicle
CN111339858A (en) * 2020-02-17 2020-06-26 电子科技大学 Oil and gas pipeline marker identification method based on neural network
CN111563423A (en) * 2020-04-17 2020-08-21 西北工业大学 Unmanned aerial vehicle image target detection method and system based on depth denoising automatic encoder
CN111539362A (en) * 2020-04-28 2020-08-14 西北工业大学 Unmanned aerial vehicle image target detection device and method
CN112529012A (en) * 2020-12-11 2021-03-19 平安科技(深圳)有限公司 Oil-gas pipeline inspection method, device, equipment and medium based on target matching

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115512098A (en) * 2022-09-26 2022-12-23 重庆大学 Electronic bridge inspection system and inspection method
CN115512098B (en) * 2022-09-26 2023-09-01 重庆大学 Bridge electronic inspection system and inspection method
CN115797619A (en) * 2023-02-10 2023-03-14 南京天创电子技术有限公司 Deviation rectifying method suitable for image positioning of inspection robot instrument
CN116091719A (en) * 2023-03-06 2023-05-09 山东建筑大学 River channel data management method and system based on Internet of things
CN116091719B (en) * 2023-03-06 2023-06-20 山东建筑大学 River channel data management method and system based on Internet of things

Also Published As

Publication number Publication date
CN112529012B (en) 2024-05-07
CN112529012A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2022121186A1 (en) Method and apparatus for routing inspection of oil and gas pipelines on the basis of target matching
CN109635666B (en) Image target rapid detection method based on deep learning
Dorafshan et al. Deep learning neural networks for sUAS-assisted structural inspections: Feasibility and application
CN107133569B (en) Monitoring video multi-granularity labeling method based on generalized multi-label learning
WO2019105131A1 (en) Image identification method and system for monitoring, computer device, and readable storage medium
CN110728252B (en) Face detection method applied to regional personnel motion trail monitoring
WO2020038138A1 (en) Sample labeling method and device, and damage category identification method and device
CN112651938B (en) Training method, device, equipment and storage medium for video disc image classification model
US20210303899A1 (en) Systems and methods for automatic recognition of vehicle information
WO2022057309A1 (en) Lung feature recognition method and apparatus, computer device, and storage medium
CN109522221A (en) A kind of method and system improving fuzz testing efficiency
CN116596875B (en) Wafer defect detection method and device, electronic equipment and storage medium
CN111985325A (en) Aerial small target rapid identification method in extra-high voltage environment evaluation
CN112487894A (en) Automatic inspection method and device for rail transit protection area based on artificial intelligence
Maboudi et al. Drone-based container crane inspection: Concept, challenges and preliminary results
CN115690505A (en) Photovoltaic module fault detection method and device, computer equipment and storage medium
CN114359716A (en) Multi-remote-sensing fire index automatic integration-based burned area mapping method
CN114663760A (en) Model training method, target detection method, storage medium and computing device
CN114565780A (en) Target identification method and device, electronic equipment and storage medium
CN106874928A (en) Tracking target the burst automatic decision method of critical event and system
Fortes et al. A case study of object recognition from drone videos
CN111062298A (en) Power distribution network power equipment target identification method and system
CN111652102A (en) Power transmission channel target object identification method and system
CN117341781B (en) Rail transit fault processing method and device, computer equipment and storage medium
CN117612047B (en) Unmanned aerial vehicle inspection image recognition method for power grid based on AI large model

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.09.2023).

122 Ep: pct application non-entry in european phase

Ref document number: 21901902

Country of ref document: EP

Kind code of ref document: A1