Substation equipment identification method and system based on two-dimensional image and three-dimensional data
By combining the identification method of two-dimensional images and three-dimensional data, using the improved UNet and YOLO models and the PointNet++ model to integrate two-dimensional and three-dimensional information, the problems of information loss and noise impact in substation equipment identification are solved, and the accuracy of identification is improved. and credibility.
Patent Information
- Application Number
- CN202410499313.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, due to the lack of depth information in substation equipment identification, two-dimensional information is difficult to accurately represent three-dimensional objects, resulting in information loss and poor recognition accuracy. Especially under the influence of incompleteness and noise of point cloud data, feature extraction and matching are difficult. It is difficult and affects the final detection and identification results.
Using a recognition method based on two-dimensional images and three-dimensional data, the improved UNet semantic segmentation model and YOLO target detection model are combined with the PointNet++ model to perform semantic segmentation, device classification identification and three-dimensional point cloud preprocessing, integrating two-dimensional trusted labels and three-dimensional Device classification results, output the identification results with the highest confidence.
It improves the reliability and credibility of substation equipment identification results, combines two-dimensional and three-dimensional information to achieve more accurate equipment identification, and overcomes the information loss and noise impact of single-dimensional information identification.
Smart Images

Figure CN118608905A
Abstract
Description
Technical Field
[0001] The present invention relates to equipment identification means, belongs to the cross field of visual target detection and identification, and in particular to a substation equipment identification method and system based on two-dimensional images and three-dimensional data. Background Art
[0002] With the continuous development and maturity of the field of artificial intelligence, artificial intelligence has become a key area of scientific and technological innovation and an important pillar of the digital economy era. Deep learning is also playing an increasingly important role in various fields. Deep learning applications in multiple fields such as artificial intelligence robots, language recognition, and image recognition are also gradually showing a mainstream trend. Semantic segmentation and target detection, as the main research directions of computer vision, have also achieved continuous development with the continuous advancement of deep learning, and have shown great development potential. Target detection algorithms based on deep learning can be divided into semantic segmentation and target detection based on two-dimensional images and target detection and recognition based on three-dimensional data.
[0003] The existing target recognition and detection tasks are basically single-dimensional image inputs, and the target recognition tasks based on 2D vision are more than 3D target detection. Although the target recognition and detection technology based on 2D vision has become mature, due to the lack of depth information, only using two-dimensional information to represent three-dimensional objects will inevitably cause information loss. In the field of 3D vision, point cloud is a typical 3D data representation method with the advantage of rich geometric information, but the original point cloud obtained by scanning method is often incomplete and requires subsequent processing. In addition, for the feature extraction of point cloud data, due to the differences in scanning angles and distances of scanning equipment, and the influence of outlier noise points, the point clouds in the same area are also different, which will greatly increase the difficulty of feature extraction and matching, thereby having a certain impact on the final detection and recognition results, and the recognition accuracy and reliability are poor. Therefore, an accurate and reliable means is urgently needed to solve the recognition problem of substation equipment. Summary of the invention
[0004] The purpose of the present invention is to overcome the above-mentioned defects and problems existing in the prior art and to provide an accurate and reliable substation equipment identification method and system based on two-dimensional images and three-dimensional data.
[0005] To achieve the above objectives, the technical solution of the present invention is: a substation equipment identification method based on two-dimensional images and three-dimensional data, comprising:
[0006] S1. Obtain a two-dimensional image of substation equipment based on the actual scene;
[0007] S2, input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation to obtain the ROI areas of various substation equipment;
[0008] S3, crop the ROI area and record the coordinates, then input it into the YOLO target detection model for device classification and identification, and output a two-dimensional credible label list;
[0009] S4, obtaining three-dimensional point cloud data information of the substation equipment and performing preprocessing; the three-dimensional point cloud data information includes spatial structure coordinate values of the substation equipment;
[0010] S5. Input the preprocessed 3D point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain the 3D device classification result;
[0011] S6. The two-dimensional trusted label list is integrated with the three-dimensional equipment classification result, and the substation equipment identification result with the highest confidence is output to complete the identification of the substation equipment.
[0012] The step S1 specifically includes:
[0013] S11, selecting a real scene or a model scene as the actual scene;
[0014] If the real scene is selected as the actual scene, step S12 is performed; if the model scene is selected as the actual scene, the device model diagram is used as a two-dimensional image;
[0015] S12, selecting an input type of the two-dimensional image according to the lighting conditions of the real scene;
[0016] If the illumination condition is a weak illumination condition, the two-dimensional infrared image of the substation equipment is selected as the two-dimensional image; if the illumination condition is a medium-strong illumination condition, the real two-dimensional image of the substation equipment is selected as the two-dimensional image.
[0017] In the step S2, the improved UNet semantic segmentation model refers to: reducing the number of convolution kernels of each convolution layer of the UNet semantic segmentation model, and gradually increasing the number of convolution kernels in the encoder process of the UNet semantic segmentation model while gradually reducing the image size, and gradually reducing the number of convolution kernels in the decoder process of the UNet semantic segmentation model while gradually expanding the image size.
[0018] The UNet encoder includes four downsampling modules, each of which consists of two 3×3 convolutional layers and a 2×2 maximum pooling layer;
[0019] The convolution structure of the convolution layer is a 3×3 convolution kernel with a padding of 0 and a stride of 1.
[0020] The step S3 specifically includes:
[0021] The maximum circumscribed rectangle of the ROI area mark outline is cropped according to the four-point coordinates of the maximum circumscribed rectangle, which is used as the input image of the YOL0 target detection model, and the confidence and label list, i.e., the two-dimensional credible label list, is output.
[0022] The preprocessing in step S4 specifically includes:
[0023] S41, using an octree encoding algorithm to denoise the three-dimensional point cloud data, and dividing the maximum spatial range covering all point cloud data into a spatial grid during the construction process, as the maximum operation space of the division step;
[0024] S42, dividing the spatial grid into eight small cubes of the same size as voxels, and then generating sub-voxels for each voxel again, and performing several iterations until the point cloud density in the voxel is lower than the stop threshold, and the current voxel division task is terminated;
[0025] S43, traversing all voxels, when the number of point clouds in a certain voxel is lower than the noise point cloud determination threshold, deleting the point cloud data in the voxel.
[0026] The step S5 specifically includes:
[0027] S51, first extract the center point from the three-dimensional point cloud data information, then find the nearest k neighboring points within the center point range to form a local area, and finally obtain the center point feature through convolution and pooling operations on the k neighboring points;
[0028] S52, performing hierarchical task chain iteration on the extracted center point features to obtain high-dimensional features;
[0029] S53, the high-dimensional features are subjected to feature learning to obtain a global feature vector, and prediction scores of M categories are obtained through transformation, that is, the three-dimensional device classification results.
[0030] The step S6 specifically includes:
[0031] Based on the Majority Voting ensemble learning method, the two-dimensional credible label list and the three-dimensional equipment classification results are combined to perform initial experience weight correction, complete the fusion of two-dimensional information and three-dimensional information, and output the substation equipment identification result with the highest confidence.
[0032] A substation equipment identification system based on two-dimensional images and three-dimensional data, the system is applied to the above method, the system comprising:
[0033] A two-dimensional image acquisition module is used to acquire two-dimensional images of substation equipment based on actual scenes;
[0034] The semantic segmentation module is used to input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation to obtain the ROI area of various substation equipment;
[0035] The trusted label acquisition module is used to crop the ROI area and record the coordinates, then input it into the YOLO target detection model for device classification and identification, and output a two-dimensional trusted label list;
[0036] A three-dimensional point cloud data processing module is used to obtain three-dimensional point cloud data information of substation equipment and perform preprocessing; the three-dimensional point cloud data information includes spatial structure coordinate values of substation equipment;
[0037] The 3D device classification module is used to input the pre-processed 3D point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain the 3D device classification results;
[0038] The fusion device identification module is used to fuse the two-dimensional trusted label list with the three-dimensional device classification result, output the substation equipment identification result with the highest confidence, and complete the identification of the substation equipment.
[0039] A substation equipment identification device based on two-dimensional images and three-dimensional data, the device comprising a processor and a memory;
[0040] The memory is used to store computer program code and transmit the computer program code to the processor;
[0041] The processor is used to execute the above-mentioned substation equipment identification method based on two-dimensional images and three-dimensional data according to the instructions in the computer program code.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The present invention discloses a substation equipment identification method and system based on two-dimensional image and three-dimensional data. The method first obtains a two-dimensional image of the substation equipment, inputs the image into an improved UNet semantic segmentation model for semantic segmentation, obtains an ROI area, then crops the ROI area and records the coordinates, inputs the image into a YOLO target detection model for equipment classification and identification, outputs a two-dimensional credible label list, then obtains and preprocesses three-dimensional point cloud data information of the substation equipment, inputs the image into a PointNet++ model for feature extraction, obtains a three-dimensional equipment classification result, finally fuses the two-dimensional credible label list with the three-dimensional equipment classification result, outputs a substation equipment identification result with the highest confidence, and completes the identification of the substation equipment. In the application, the design uses a relatively more mature two-dimensional image target detection technology to obtain a credible label list as prior knowledge, and combines the three-dimensional point cloud target detection technology with richer data dimensional information and more obvious geometric features, thereby realizing the fusion of two-dimensional and three-dimensional target detection results and improving the reliability and credibility of the substation equipment identification result. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of the method steps of the present invention.
[0045] Figure 2 This is the network structure diagram of the UNet original model in Example 1 of the present invention.
[0046] Figure 3 This is the network structure diagram of the improved UNet semantic segmentation model in the present invention.
[0047] Figure 4 It is a schematic diagram of the octree encoding algorithm in Example 1 of the present invention.
[0048] Figure 5 It is a network structure diagram of the PointNet++ model in the present invention.
[0049] Figure 6 It is a schematic diagram of the system structure in the present invention.
[0050] Figure 7 It is a schematic diagram of the device structure in the present invention.
[0051] In the figure: two-dimensional image acquisition module 1, semantic segmentation module 2, trusted label acquisition module 3, three-dimensional point cloud data processing module 4, three-dimensional device classification module 5, fusion device identification module 6, processor 7, memory 8, computer program code 81. DETAILED DESCRIPTION
[0052] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0053] Embodiment 1:
[0054] See also Figure 1 , a substation equipment identification method based on two-dimensional images and three-dimensional data, comprising:
[0055] S1. Obtain a two-dimensional image of substation equipment based on the actual scene;
[0056] Further, it specifically includes:
[0057] S11, selecting a real scene or a model scene as the actual scene;
[0058] If the real scene is selected as the actual scene, step S12 is performed; if the model scene is selected as the actual scene, the device model diagram is used as a two-dimensional image;
[0059] S12, selecting an input type of the two-dimensional image according to the lighting conditions of the real scene;
[0060] If the illumination condition is a weak illumination condition, the two-dimensional infrared image of the substation equipment is selected as the two-dimensional image; if the illumination condition is a medium-strong illumination condition, the real two-dimensional image of the substation equipment is selected as the two-dimensional image.
[0061] The two-dimensional infrared image can be an infrared image of a device collected by an infrared camera device, the real two-dimensional image can be selected as a real device photo, and the model scene can be selected as a device model diagram in a 3D modeling software.
[0062] S2, input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation to obtain the ROI areas of various substation equipment;
[0063] The original UNet model uses a U-shaped network structure to obtain context information and location information. It mainly consists of three parts: the backbone feature extraction network, the enhanced feature extraction network, and the prediction module. Figure 2 ;
[0064] The backbone feature extraction network consists of a stack of convolution and maximum pooling. The convolution layer is used to extract image features, and the pooling layer is used to compress image features.
[0065] Strengthening the feature extraction network can preserve more high-resolution detail information contained in high-level feature maps by fusing low-level features with high-level features;
[0066] In the prediction module, after the model weight file is successfully trained, the image to be segmented will use the last valid feature layer finally obtained to classify each feature point, which is equivalent to classifying each pixel point, so as to achieve semantic segmentation of the image.
[0067] The backbone feature extraction part of the UNet model is similar to that of VGG. At the same time, the backbone feature extraction part can be replaced by other networks according to actual needs and application scenarios. Since the semantic segmentation model of the present invention will be deployed on the development board and used in actual substation scenarios, there are certain requirements for the reasoning speed of the model, so the UNet model needs to be modified and optimized.
[0068] Usually the complexity of a neural network can be described by two indicators, namely the number of parameters (Params) of the model and the computational complexity (FLOPs, MAC, MACC) of the model.
[0069] The time complexity of a neural network can be calculated by the number of addition and multiplication operations that the model needs to perform, which can be measured in FLOPs, or floating-point operations. Assuming that the size of the input image and the convolution kernel are both square, the time complexity evaluation formula for a single convolution layer is as follows:
[0070] Time~O(M 2 ·K 2 ·C in ·C out );
[0071] Where: M is the side length of the convolution kernel output feature map (FeatureMap), K is the side length of the convolution kernel (Kernel), C in is the number of channels for each convolution kernel, C out is the number of convolution kernels in the current convolution layer;
[0072] It can be seen from the formula that the time complexity of each convolution layer is determined by multiple parameters such as the output feature map area and the convolution kernel area. The determining factor of the output feature map size M is shown in the following formula:
[0073]
[0074] Where: X is the input matrix size, K is the convolution kernel size, Padding is padding, and Stride is the stride.
[0075] The time complexity of a single convolutional layer can be used to derive the time complexity of the convolutional neural network as a whole. The formula is as follows:
[0076]
[0077] Where: D is the number of convolutional layers of the neural network, p is the pth convolutional layer in the neural network, C p is the number of output channels of the pth convolutional layer in the neural network;
[0078] From the above formula, we can see that the overall time complexity of the neural network is calculated by adding up the time complexities of all convolutional layers, that is, multiplying parameters within the convolutional layer and adding parameters between convolutional layers.
[0079] The spatial complexity (access memory) of a neural network consists of two parts, namely the total number of parameters and the memory occupied by the output feature graphs of each layer; the access memory refers to the total amount of memory exchange that occurs when a single sample is input and the model completes a forward propagation process. The evaluation formula for the access memory is as follows:
[0080]
[0081] The total parameter access volume refers to the total amount of weight parameters of all parameter-bearing layers of the model. The total parameter access volume is only related to the size K of the convolution kernel, the number of channels C, and the number of convolution layers D, and has nothing to do with the size of the input data. The feature map access volume refers to the size of the output feature map calculated by each layer during the real-time operation of the model.
[0082] Since time complexity determines the training and reasoning time of the model, if the time complexity is too high, it will take a lot of time to train and predict the model, making it impossible to make fast predictions in actual scenarios. Therefore, when applied in actual substation scenarios, there is a minimum frame rate requirement for prediction speed, such as 5 frames per second, so the UNet model needs to be modified and optimized to meet the needs of actual scenarios.
[0083] When optimizing the model, since the size of the convolution kernel is mostly (3×3), and the depth of the network is closely related to the representation ability of the model and should not be reduced too much, the model optimization can start from the dimension of the number of channels (that is, the number of convolution kernels).
[0084] Taking into account the model inference speed and recognition accuracy, the number of convolution kernels is appropriately simplified to achieve a balance between the positioning accuracy and inference speed of substation equipment. The original UNet encoder part consists of multiple stacked convolution layers. Each convolution layer uses a different number of convolution kernels to capture features of different scales. The first convolution layer has 64 convolution kernels, the second convolution layer has 128 convolution kernels, and so on.
[0085] Furthermore, the improved UNet semantic segmentation model refers to: streamlining the number of convolution kernels of each convolution layer of the UNet semantic segmentation model, and gradually increasing the number of convolution kernels while gradually reducing the image size in the UNet encoder process, and gradually reducing the number of convolution kernels while gradually expanding the image size in the UNet decoder process.
[0086] For example: when the model is streamlined, its first convolution layer is modified to 8 convolution kernels, its second convolution layer is modified to 16 convolution kernels, and so on. In the encoder process, the number of convolution kernels gradually increases, and the image size gradually decreases. The structure of the decoder is similar to that of the encoder, but upsampling operations are used to gradually restore the size of the feature map. In each stage of the decoder, the size of the feature map will gradually expand, and the number of convolution kernels will gradually decrease.
[0087] The original intention of the UNet model was to solve problems in biomedical images, that is, to solve the segmentation task at the cellular level. Its input image is not an RGB three-channel image, but a single-channel grayscale image. However, in the actual scenario of the present invention, an RGB three-channel image needs to be input, so the model input structure needs to be modified.
[0088] Furthermore, the UNet encoder includes four downsampling modules, each of which consists of two 3×3 convolutional layers (ReLU) and a 2×2 maximum pooling layer (MaxPooling);
[0089] The convolution structure of the convolution layer is a 3×3 convolution kernel, with padding of 0 and stride of 1.
[0090] After the above optimization, the height dimension (Height) and width dimension (Width) of the feature map (FeatureMap) become smaller after each convolution. The reduction of the feature map after convolution will lead to a reduction in image size, and a certain loss of high-resolution edge information and detail information contained in the high-level feature map. The occurrence of information loss has a certain probability of causing the loss of edge information of substation equipment, thereby reducing the positioning accuracy of substation equipment. Therefore, when the UNet model is applied to the substation equipment positioning scenario, in order to improve the positioning accuracy of the substation equipment, it is necessary to modify the edge information processing part of the original model, fill the edges around during convolution, and align the edges before and after convolution, thereby solving the problem of edge information loss.
[0091] S3, crop the ROI area and record the coordinates, then input it into the YOL0 target detection model for device classification and identification, and output a two-dimensional trusted label list;
[0092] Further, it specifically includes:
[0093] The maximum circumscribed rectangle of the ROI area mark outline is cropped according to the four-point coordinates of the maximum circumscribed rectangle, which is used as the input image of the YOL0 target detection model, and the confidence and label list, i.e., the two-dimensional credible label list, is output.
[0094] S4, obtaining three-dimensional point cloud data information of the substation equipment and performing preprocessing; the three-dimensional point cloud data information includes spatial structure coordinate values of the substation equipment;
[0095] Furthermore, the preprocessing specifically includes:
[0096] S41. Plan the maximum spatial range of 3D point cloud data;
[0097] When using the octree encoding algorithm for denoising, a large spatial range covering all point cloud data will be divided during the construction process and called a spatial grid. The spatial grid will serve as the maximum operating space for subsequent division steps.
[0098] S42, octree is iteratively generated until the point threshold is triggered;
[0099] After the spatial grid is constructed, it is divided into eight small cubes of the same size, and each small cube in the division process is called a voxel. After the first division, eight voxels of the same size are formed, and then each voxel is sub-generated again. This process is repeated until the point cloud density in the voxel is lower than the stop threshold, and the division task of the current voxel is terminated.
[0100] S43, deleting noise point cloud based on threshold value;
[0101] After the voxel division is completed, all voxels are traversed. When the number of point clouds in a voxel is lower than the noise point cloud judgment threshold, the point cloud data in the voxel is deleted.
[0102] S5. Input the preprocessed 3D point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain the 3D device classification result;
[0103] The idea of the PointNet++ model is: first select some important points as the center points of each local area, then select k neighboring points (Euclidean distance neighbors) around these center points, and then use the k neighboring points as a local point cloud to extract features using the PointNet network; the specific process is as follows:
[0104] S51, hierarchical point set feature learning;
[0105] Overall, the hierarchical point set feature learning can be summarized as the idea of hierarchical feature extraction, and can be summarized into three parts: sampling layer, grouping layer, and feature extraction layer; the specific process of feature extraction for each single layer is as follows:
[0106] S511, the sampling layer extracts some relatively important center points from the dense three-dimensional point cloud data information;
[0107] FPS (farthest point sampling) can be used, but these points do not necessarily have semantic information;
[0108] S512, the grouping layer searches for the nearest k neighboring points within a certain range of the center point extracted by the previous layer to form a local area (patch);
[0109] S513, the feature extraction layer uses the features obtained by convolution and pooling of these k points through a small PointNet network as the features of this center point.
[0110] S52, hierarchical task chain iteration;
[0111] After completing the feature extraction of the current layer, the extracted feature points are sent to the next layer to continue, so that the center points obtained in each layer are a subset of the center points of the previous layer, and as the number of layers increases, the number of center points becomes smaller and smaller, but each center point contains more and more information.
[0112] S53, classification task decoding;
[0113] The encoded high-dimensional features are passed through a PointNet layer to obtain a global feature vector 1×C', and finally the prediction scores of M categories are obtained through a fully connected layer. This score is exactly the three-dimensional equipment classification result of the substation equipment target detection based on three-dimensional point cloud of the present invention.
[0114] S6. The two-dimensional trusted label list is integrated with the three-dimensional equipment classification result, and the substation equipment identification result with the highest confidence is output to complete the identification of the substation equipment.
[0115] Further, it specifically includes:
[0116] Based on the Majority Voting ensemble learning method, the two-dimensional credible label list and the three-dimensional equipment classification results are combined to perform initial experience weight correction, complete the fusion of two-dimensional information and three-dimensional information, and output the substation equipment identification result with the highest confidence.
[0117] Embodiment 2:
[0118] See also Figure 6 , a substation equipment identification system based on two-dimensional images and three-dimensional data, the system is applied to the method described in Example 1, the system comprising:
[0119] A two-dimensional image acquisition module 1 is used to acquire a two-dimensional image of the substation equipment based on an actual scene;
[0120] Furthermore, the two-dimensional image acquisition module 1 acquires the two-dimensional image through the following steps:
[0121] S11, selecting a real scene or a model scene as the actual scene;
[0122] If the real scene is selected as the actual scene, step S12 is performed; if the model scene is selected as the actual scene, the device model diagram is used as a two-dimensional image;
[0123] S12, selecting an input type of the two-dimensional image according to the lighting conditions of the real scene;
[0124] If the illumination condition is a weak illumination condition, the two-dimensional infrared image of the substation equipment is selected as the two-dimensional image; if the illumination condition is a medium-strong illumination condition, the real two-dimensional image of the substation equipment is selected as the two-dimensional image.
[0125] Semantic segmentation module 2, used to input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation, and obtain the ROI area of various substation equipment;
[0126] Furthermore, the improved UNet semantic segmentation model in the semantic segmentation module 2 refers to: streamlining the number of convolution kernels of each convolution layer of the UNet semantic segmentation model, and gradually increasing the number of convolution kernels while gradually reducing the image size during the UNet encoder process, and gradually reducing the number of convolution kernels while gradually increasing the image size during the UNet decoder process;
[0127] The UNet encoder includes four down-sampling modules, each of which consists of two 3×3 convolutional layers and a 2×2 maximum pooling layer;
[0128] The convolution structure of the convolution layer is a 3×3 convolution kernel with a padding of 0 and a stride of 1.
[0129] Trusted label acquisition module 3 is used to crop the ROI area and record the coordinates, then input it into the YOL0 target detection model for device classification and identification, and output a two-dimensional trusted label list;
[0130] Furthermore, the trusted label acquisition module 3 acquires a two-dimensional trusted label list through the following steps:
[0131] Mark the maximum circumscribed rectangle of the ROI area, and crop the two-dimensional image according to the four-point coordinates of the maximum circumscribed rectangle as the input image of the YOL0 target detection model, and output the confidence and label list, that is, the two-dimensional credible label list;
[0132] The three-dimensional point cloud data processing module 4 is used to obtain the three-dimensional point cloud data information of the substation equipment and perform preprocessing; the three-dimensional point cloud data information includes the spatial structure coordinate value of the substation equipment;
[0133] Furthermore, the three-dimensional point cloud data processing module 4 performs preprocessing through the following steps:
[0134] S41, using an octree encoding algorithm to denoise the three-dimensional point cloud data, and dividing the maximum spatial range covering all point cloud data into a spatial grid during the construction process, as the maximum operation space of the division step;
[0135] S42, dividing the spatial grid into eight small cubes of the same size as voxels, and then generating sub-voxels for each voxel again, and performing several iterations until the point cloud density in the voxel is lower than the stop threshold, and the current voxel division task is terminated;
[0136] S43, traversing all voxels, when the number of point clouds in a certain voxel is lower than the noise point cloud determination threshold, deleting the point cloud data in the voxel;
[0137] The three-dimensional device classification module 5 is used to input the pre-processed three-dimensional point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain the three-dimensional device classification result;
[0138] Further, the three-dimensional device classification module 5 obtains the three-dimensional device classification result through the following steps;
[0139] S51, first extract the center point from the three-dimensional point cloud data information, then find the nearest k neighboring points within the center point range to form a local area, and finally obtain the center point feature through convolution and pooling operations on the k neighboring points;
[0140] S52, performing hierarchical task chain iteration on the extracted center point features to obtain high-dimensional features;
[0141] S53, subjecting the high-dimensional features to feature learning to obtain a global feature vector, and obtaining prediction scores of M categories through transformation, i.e., a classification result of the three-dimensional device;
[0142] The fusion device identification module 6 is used to fuse the two-dimensional trusted label list with the three-dimensional device classification result, output the substation device identification result with the highest confidence, and complete the identification of the substation device;
[0143] Further, the fusion device identification module 6 obtains the substation device identification result through the following steps;
[0144] Based on the Majority Voting ensemble learning method, the two-dimensional credible label list and the three-dimensional equipment classification results are combined to perform initial experience weight correction, complete the fusion of two-dimensional information and three-dimensional information, and output the substation equipment identification result with the highest confidence.
[0145] Embodiment 3:
[0146] See also Figure 7 , a substation equipment identification device based on two-dimensional images and three-dimensional data, the device comprising a processor 7 and a memory 8;
[0147] The memory 8 is used to store the computer program code 81 and transmit the computer program code 81 to the processor 7;
[0148] The processor 7 is used to execute the substation equipment identification method based on two-dimensional images and three-dimensional data described in Example 1 according to the instructions in the computer program code 81.
[0149] Generally speaking, the computer instructions for implementing the method of the present invention may be carried in any combination of one or more computer-readable storage media. Non-transitory computer-readable storage media may include any computer-readable media, except for the signal itself that is temporarily propagating.
[0150] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EKROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0151] Computer program code for performing the operation of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, SMalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. can be used. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer or to an external computer (for example, using an Internet service provider to connect via the Internet) through any type of network, including a local area network (LAN) or a wide area network (WAN).
[0152] The above-mentioned device and non-temporary computer-readable storage medium can be found in the detailed description of a substation equipment identification method based on two-dimensional images and three-dimensional data and its beneficial effects, which will not be repeated here.
[0153] Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A substation equipment identification method based on two-dimensional images and three-dimensional data, characterized in that: include: S1. Obtain a two-dimensional image of substation equipment based on the actual scene; S2, input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation to obtain the ROI areas of various substation equipment; S3, crop the ROI area and record the coordinates, then input it into the YOLO target detection model for device classification and identification, and output a two-dimensional credible label list; S4, obtaining three-dimensional point cloud data information of the substation equipment and performing preprocessing; the three-dimensional point cloud data information includes spatial structure coordinate values of the substation equipment; S5. Input the preprocessed 3D point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain the 3D device classification result; S6. The two-dimensional trusted label list is integrated with the three-dimensional equipment classification result, and the substation equipment identification result with the highest confidence is output to complete the identification of the substation equipment.
2. A method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: The step S1 specifically includes: S11, selecting a real scene or a model scene as the actual scene; If the real scene is selected as the actual scene, step S12 is performed; if the model scene is selected as the actual scene, the device model diagram is used as a two-dimensional image; S12, selecting an input type of the two-dimensional image according to the lighting conditions of the real scene; If the illumination condition is a weak illumination condition, the two-dimensional infrared image of the substation equipment is selected as the two-dimensional image; if the illumination condition is a medium-strong illumination condition, the real two-dimensional image of the substation equipment is selected as the two-dimensional image.
3. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: In the step S2, the improved UNet semantic segmentation model refers to: reducing the number of convolution kernels of each convolution layer of the UNet semantic segmentation model, and gradually increasing the number of convolution kernels in the encoder process of the UNet semantic segmentation model while gradually reducing the image size, and gradually reducing the number of convolution kernels in the decoder process of the UNet semantic segmentation model while gradually expanding the image size.
4. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 3 is characterized in that: The encoder of the UNet semantic segmentation model includes four downsampling modules, each of which consists of two 3×3 convolutional layers and a 2×2 maximum pooling layer; The convolution structure of the convolution layer is a 3×3 convolution kernel with a padding of 0 and a stride of 1.
5. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: The step S3 specifically includes: The maximum circumscribed rectangle of the ROI area is marked, and the two-dimensional image is cropped according to the four-point coordinates of the maximum circumscribed rectangle as the input image of the YOLO target detection model, and the confidence and label list, that is, the two-dimensional credible label list, is output.
6. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: The preprocessing in step S4 specifically includes: S41, using an octree encoding algorithm to denoise the three-dimensional point cloud data, and dividing the maximum spatial range covering all point cloud data into a spatial grid during the construction process, as the maximum operation space of the division step; S42, dividing the spatial grid into eight small cubes of the same size as voxels, and then generating sub-voxels for each voxel again, and performing several iterations until the point cloud density in the voxel is lower than the stop threshold, and the current voxel division task is terminated; S43, traversing all voxels, when the number of point clouds in a certain voxel is lower than the noise point cloud determination threshold, deleting the point cloud data in the voxel.
7. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: The step S5 specifically includes: S51, first extract the center point from the three-dimensional point cloud data information, then find the nearest k neighboring points within the center point range to form a local area, and finally obtain the center point feature through convolution and pooling operations on the k neighboring points; S52, performing hierarchical task chain iteration on the extracted center point features to obtain high-dimensional features; S53, the high-dimensional features are subjected to feature learning to obtain a global feature vector, and prediction scores of M categories are obtained through transformation, that is, the three-dimensional device classification results.
8. The method for identifying substation equipment based on two-dimensional images and three-dimensional data according to claim 1, characterized in that: The step S6 specifically includes: Based on the Majority Voting ensemble learning method, the two-dimensional credible label list and the three-dimensional equipment classification results are combined to perform initial experience weight correction, complete the fusion of two-dimensional information and three-dimensional information, and output the substation equipment identification result with the highest confidence.
9. A substation equipment identification system based on two-dimensional images and three-dimensional data, characterized in that: The system is applied to the method described in any one of claims 1 to 8, and the system comprises: A two-dimensional image acquisition module (1) is used to acquire a two-dimensional image of the substation equipment based on an actual scene; A semantic segmentation module (2) is used to input the two-dimensional image of the substation equipment into the improved UNet semantic segmentation model for semantic segmentation to obtain ROI areas of various substation equipment; A trusted label acquisition module (3) is used to crop the ROI area and record the coordinates, and then input it into the YOLO target detection model for device classification and identification, and output a two-dimensional trusted label list; A three-dimensional point cloud data processing module (4) is used to obtain three-dimensional point cloud data information of the substation equipment and perform preprocessing; the three-dimensional point cloud data information includes spatial structure coordinate values of the substation equipment; A three-dimensional device classification module (5) is used to input the pre-processed three-dimensional point cloud data information into the PointNet++ model for sampling, stratification and feature extraction to obtain a three-dimensional device classification result; The fusion device identification module (6) is used to fuse the two-dimensional trusted label list with the three-dimensional device classification result, output the substation device identification result with the highest confidence, and complete the identification of the substation device.
10. A substation equipment identification device based on two-dimensional images and three-dimensional data, characterized in that: The device comprises a processor (7) and a memory (8); The memory (8) is used to store computer program code (81) and transmit the computer program code (81) to the processor (7); The processor (7) is used to execute the substation equipment identification method based on two-dimensional images and three-dimensional data as described in any one of claims 1 to 8 according to the instructions in the computer program code (81).
Citation Information
Cited By
Precise evaluation method for near electric distance of substation operating personnel
CN118941279A
Point cloud clustering and image texture association fusion-based complex scene three-dimensional target identification and positioning method
CN119763098A
Building indoor scene deep learning reconstruction method and system based on point cloud 2D-3D fusion
CN119991930A
Intelligent detection system for disassembly of waste battery based on image processing
CN120577226A
