Overhead wire fitting abnormality detecting device and method

By converting RGB image data to one-hot expression index data and using normalized restoration errors, the method achieves stable and accurate abnormality detection in overhead wire fittings, addressing the limitations of existing techniques.

JP2024134248APending Publication Date: 2024-10-03MEIDENSHA CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023044452
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing techniques for detecting abnormalities in overhead wire fittings using image data face challenges such as instability in learning, high computational costs, and difficulty in achieving accurate and stable detection at low cost.

Method used

The method involves converting RGB image data of overhead wire fittings into one-hot expression index image data, performing learning using this format, and determining abnormalities based on the difference between input and output images generated by a learned model, focusing on individual parts of the fittings.

Benefits of technology

This approach allows for highly accurate and stable abnormality detection at a lower cost by reducing the search space and using normalized restoration errors specific to each part, improving detection accuracy and reducing the need for multiple learning models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134248000001_ABST
    Figure 2024134248000001_ABST
Patent Text Reader

Abstract

To provide a technology capable of inexpensively and stably performing highly accurate abnormality detection.SOLUTION: A device comprises a learning processing unit 132 which performs learning using a plurality of items of one-hot expression index image data in a normal state, generated by converting each pixel of image data generated by imaging an overhead wire fitting, which is a detection target, in a normal state, and a data processing unit 131 which generates one-hot expression index image data by converting each pixel of image data generated by imaging the overhead wire fitting that is the detection target, and performs abnormality determination using the one-hot expression index image data. The data processing unit 131 performs the abnormality determination on the basis of a union set of an input image and an output image generated by a learning model that has been trained by the learning processing unit 132 from the input image, and a difference image between the input image and the output image.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus and method for detecting an abnormality in a wire fitting by using image data. [Background technology]

[0002] Generally, visual inspection is performed for the management and maintenance of machinery and equipment, but there is a demand for automating this inspection. For example, in the field of railway equipment, attempts have been made to detect abnormalities in overhead wire fittings using image data obtained by using a camera mounted on the roof of a moving vehicle. In addition, an overhead line fitting refers to a fitting used to hold the electric wires that supply power to vehicles in electric railway facilities in a specified position, or to electrically connect or separate multiple wires.

[0003] Conventionally, various techniques have been proposed for detecting anomalies using image data. Non-Patent Document 1, which is an example of a conventional technique, discloses an adversarially learned one-class classifier (ALOCC) that learns only images of a normal class and detects anomalies. Moreover, Non-Patent Document 2, which is an example of a conventional technique, discloses BiGANs (Bidirectional Generative Adversarial Networks) that learns an encoder that maps data to a latent space in an adversarial generative model called GANs (Generative Adversarial Networks). Moreover, Non-Patent Document 3, which is an example of a conventional technique, discloses an autoencoder called a VAE (Variational Auto Encoder) that assumes a multidimensional Gaussian distribution for latent variables. Note that the autoencoder is a network that uses an encoder to compress the dimensionality of an input into a latent variable, and uses a decoder to restore the dimensionally compressed latent variable. Moreover, Non-Patent Document 4, which is an example of a conventional technique, discloses a method for recognizing the type of an object on a pixel-by-pixel basis. Moreover, Patent Document 1, which is an example of conventional technology, discloses a technology in which an image is generated using a generative model such as a neural network, the similarity between the generated image and a captured image is calculated, and if this similarity is small, it is determined that an abnormality has occurred. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] M. Sabokrou et al., “Adversarially Learned One-Class Classifier for Novelty Detection”, [online], May 24, 2018, [Retrieved March 14, 2023], Internet <URL: https: / / openaccess.thecvf.com / content_cvpr_2018 / html / Sabokrou_Adversarially_Learned_One-Class_CVPR_2018_paper.html> [Non-Patent Document 2] J. Donahue et al., “Adversarial Feature Learning”, [online], April 3, 2017, [Retrieved March 14, 2023], Internet<URL: https: / / arxiv.org / pdf / 1605.09782v7.pdf> [Non-Patent Document 3] D.P. Kingma et al., “Auto-Encoding Variational Bayes”, [online], May 1, 2014, [Retrieved March 14, 2023], Internet<URL: https: / / arxiv.org / pdf / 1312.6114v10.pdf> [Non-Patent Document 4] H. Zhao et al., “Pyramid Scene Parsing Network”, [online], April 27, 2017, [Retrieved March 14, 2023], Internet <URL: https: / / openaccess.thecvf.com / content_cvpr_2017 / html / Zhao_Pyramid_Scene_Parsing_CVPR_2017_paper.html> [Patent documents]

[0005] [Patent Document 1] JP 2019-133306 A [Patent Document 2] Patent Publication No. 2022-159010 Summary of the Invention [Problem to be solved by the invention]

[0006] However, the above conventional techniques each have the following problems. In the technique disclosed in Non-Patent Document 1, anomaly detection is performed using RGB image data, but it is difficult to converge the learning, and the technique lacks stability.

[0007] In the technology disclosed in Non-Patent Document 2, adversarial learning is performed using three networks: an encoder, a generator, and a discriminator. However, the technology is prone to falling into a missing mode, in which the generator only outputs nearly identical data, and is therefore unstable.

[0008] The technology disclosed in Non-Patent Document 3 uses a type of auto-encoder consisting of an encoder and a decoder to assume a multidimensional Gaussian distribution for latent variables, making it possible to create a distribution of latent variables that is meaningful as a generative model, and enables anomaly detection using the distribution of latent variables. However, since an auto-encoder is used, the restoration error is larger than that of GANs and it lacks stability.

[0009] The technology disclosed in Non-Patent Document 4 performs recognition on a pixel-by-pixel basis, but is not applicable to anomaly detection.

[0010] The technology disclosed in Patent Document 1 detects anomalies by using the similarity between an image generated using a generative model and a captured image, and determining that an anomaly exists when the similarity is low. However, since anomalies are detected using the RGB image data itself, this technology is difficult to learn and lacks stability.

[0011] The technology disclosed in Patent Document 2 proposes a system that performs learning for each part that constitutes the overhead line fitting and detects anomalies in order to improve the accuracy of anomaly detection. However, a machine learning model is required for each part, and there is a concern that the cost of learning will be high.

[0012] As described above, with the techniques disclosed in Non-Patent Documents 1 to 3 and Patent Documents 1 and 2, it is difficult to perform highly accurate anomaly detection inexpensively and stably. The present invention has been made in view of the above, and has an object to provide a technique that enables highly accurate anomaly detection to be performed inexpensively and stably. [Means for solving the problem]

[0013] The overhead line fitting abnormality detection device of the present invention, which solves the above-mentioned problems and achieves the object, comprises a learning processing unit that performs learning using multiple normal state one-hot expression index image data generated by converting each pixel of image data generated by photographing the overhead line fitting that is the detection target in a normal state, and a data processing unit that converts each pixel of image data generated by photographing the overhead line fitting that is the detection target to generate one-hot expression index image data and performs abnormality judgment using the one-hot expression index image data, wherein the data processing unit judges abnormality based on the union of an input image and an output image generated from the input image by a learning model learned by the learning processing unit, and a difference image between the input image and the output image.

[0014] In the overhead line fitting abnormality detection device having the above configuration, the abnormality determination may be performed individually for each of the one-hot expression index image data.

[0015] The overhead line fitting abnormality detection method of the present invention includes: performing learning using a plurality of normal state one-hot expression index image data generated by converting each pixel of image data generated by photographing the overhead line fitting that is the target of detection in a normal state; converting each pixel of image data generated by photographing the overhead line fitting that is the target of detection to generate one-hot expression index image data; and performing abnormality judgment using the one-hot expression index image data, wherein when performing the abnormality judgment, the abnormality judgment is made based on the union of an input image and an output image generated by a learning model trained from the input image when performing the learning, and a difference image between the input image and the output image.

[0016] In the overhead line fitting abnormality detection method having the above configuration, the abnormality determination may be performed individually for each of the one-hot expression index image data. Effect of the Invention

[0017] According to the present invention, highly accurate abnormality detection can be performed inexpensively and stably. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a diagram showing an example of installation of the overhead line fitting abnormality detection device according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the configuration of the overhead line fitting abnormality detection device according to the first embodiment. [Diagram 3] FIG. 3(A) is a diagram showing one-hot expression index image data converted by the image conversion unit in embodiment 1, and FIG. 3(B) is a diagram showing 256-level, 3-channel RGB image data before being converted by the image conversion unit in embodiment 1. [Figure 4] FIG. 4(A) is a diagram showing the probability (%) of each class of index image data for one pixel in embodiment 1, and FIG. 4(B) is a diagram showing 256-level, 3-channel RGB image data and each channel for one pixel in embodiment 1. [Diagram 5] FIG. 5 is a flowchart showing the learning process of the anomaly detection model. [Figure 6] FIG. 6 is a flowchart showing an anomaly detection process using a trained anomaly detection model. [Figure 7] FIG. 7 is a diagram illustrating an example of indexes set for each part of a metal fitting. [Figure 8] Figure 8 is a detailed flowchart of anomaly detection using a trained model. [Figure 9] FIG. 9 is a diagram showing a case where an abnormality occurs in the metal fitting. [Figure 10] FIG. 10 is a diagram showing an example in which an output image B is output for an input image A by the anomaly detection model. [Figure 11] FIG. 11 is a diagram showing a schematic diagram of the results of analyzing an actual image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. However, the present invention should not be construed as being limited to the following embodiments.

[0020] <Embodiment 1> FIG. 1 is a diagram showing an example of installation of a wire fitting abnormality detection device 13 according to this embodiment. FIG. 1 shows a vehicle 1 which is a railway vehicle, a railway track 2 on which the vehicle 1 runs, and an overhead line fitting 3 which is the target of abnormality detection. A vehicle 1 shown in FIG. 1 includes a camera 11, a storage device 12, an overhead line fitting abnormality detection device 13, and an interface 14.

[0021] The camera 11 is installed on the roof of the vehicle 1, captures an image of the overhead line fittings 3, and outputs image data. Examples of the camera 11 include an area sensor camera and a line sensor camera. In order to allow the camera 11 to take an image, a lighting device (not shown) may be provided as necessary to project light onto the overhead line fittings 3.

[0022] The storage device 12 stores the image data output from the camera 11 and the index image data converted by the data processing unit 131 .

[0023] The interface 14 includes an input section including at least one of a pointing device and a keyboard, and an output section including a display.

[0024] FIG. 2 is a block diagram showing the configuration of the overhead line fitting abnormality detection device 13 according to this embodiment. The overhead wire fitting abnormality detection device 13 includes a data processing unit 131 and a learning processing unit 132 , and detects abnormalities in the overhead wire fittings 3 based on image data stored in the storage device 12 . The data processing unit 131 includes a detection target detection and recognition processing unit 1311, an image conversion unit 1312, and an abnormality determination unit 1313, and performs an abnormality determination using an abnormality determination model based on image data stored in the storage device 12.

[0025] The detection target detection and recognition processing unit 1311 performs a process of detecting and recognizing the overhead wire fittings 3 for each pixel of the image data stored in the storage device 12 . For detection of the overhead wire fittings 3, for example, a fitting detection model is used. For pixel-by-pixel recognition processing, for example, the technology described in Non-Patent Document 4 is used.

[0026] The metal fitting detection model is created by training the object detection model SSD (Single Shot Multibox Detector) on overhead line images using manually created ground truth data. The correct answer data created here is data including two pieces of position information of a rectangular area surrounding a metal fitting in an overhead line image: the coordinates of the four vertices of the rectangular area, and a correct answer label. In addition, SSD is composed of a base network, which is a layer that extracts image features, and a detector, which is a layer that detects objects, and can create rectangular regions and identify classes using a single network. The detector can also combine predictions from feature maps at different scales to accurately detect objects of various sizes. Further, although an example in which an SSD is used for the metal fitting detection algorithm has been shown here, the present invention is not limited to this. Examples of algorithms that can be used in the metal fitting detection model include YOLO (You Only Look Once), Faster-RCNN (Regions with Convolutional Neural Networks), FPN-FRCN (Feature Pyramid Network-Faster Regions with Convolutional Neural Networks), and M2Det.

[0027] The image conversion unit 1312 converts the image data, which has been subjected to the detection and recognition processing of the overhead wire fittings 3 for each pixel, into an appropriate format. The image conversion unit 1312 converts the image data into, for example, one-hot representation index image data.

[0028] The learning processing unit 132 performs learning of an abnormality determination model used in the data processing unit 131 .

[0029] An abnormality in the overhead wire fittings 3 in railway facilities mainly causes a change in shape rather than a change in the texture pattern. In this embodiment, an overhead line fitting 3 in railway equipment is used as an example of an application, but the detection target is not limited to overhead line fittings as long as the abnormality can be detected from an image due to a change in shape.

[0030] In the conventional techniques disclosed in Non-Patent Documents 1 to 3 and Patent Document 1, RGB image data is used as is, so the data for each pixel is 256 levels and 3 channels. Therefore, the search space at each pixel is 256 3 This means that the amount of information is large, making it difficult to detect anomalies and making stable operation difficult.

[0031] FIG. 3(A) is a diagram showing one-hot expression index image data converted by the image conversion unit 1312 in this embodiment, and FIG. 3(B) is a diagram showing 256-level 3-channel RGB image data before being converted by the image conversion unit 1312 in this embodiment. As shown in FIG. 3(A), the index image data has an index value as quantitative data of [0, 1] for each of classes 0 to 9. As shown in FIG. 3B, the RGB image data has quantitative data of [0 to 255] for each of the three RGB channels.

[0032] FIG. 4(A) is a diagram showing the probability (%) of each class of index image data for one pixel in this embodiment, and FIG. 4(B) is a diagram showing 256-level, 3-channel RGB image data and each channel for one pixel in this embodiment. As shown in FIG. 4(A), in the index image data, the probability of each class is allocated and the data is handled by class, so that more appropriate weight updating is possible. In FIG. 4A, when close to class 1 or class 9, 1 is set to 50% and 9 is set to 50%. In FIG. 4B, in each of the RGB channels, a combination of corresponding numerical values ​​from consecutive numerical values ​​from 0 to 255 is allocated, so the range is wide and the number of combinations is large.

[0033] FIG. 5 is a flowchart showing the learning process of the anomaly detection model. First, when the learning process is started, the camera 11 captures an image of the overhead line fitting 3, which is the detection target, in a normal state, and outputs image data to the storage device 12 (S1). The storage device 12 stores image data of the overhead wire fitting 3, which is the detection target and is in a normal state, acquired by photography (S2). The data processing unit 131 performs detection and recognition processing on each pixel of the image data of the overhead wire fittings 3 in a normal state, which is stored in the storage device 12, and generates index image data (S3). Here, for the detection and recognition processing of the overhead wire fittings 3, a fitting detection model is used. The storage device 12 stores the generated index image data (S4). The processes in steps S1 to S4 are repeated until the shooting is completed. The learning processing unit 132 performs learning processing of the abnormality detection model using the group of index image data of the overhead line fittings 3 in a normal state, which is stored in the storage device 12 (S5), and ends the processing.

[0034] FIG. 6 is a flowchart showing an anomaly detection process using a trained anomaly detection model. First, the camera 11 captures an image of the overhead line fitting 3, which is the detection target, and outputs image data to the storage device 12 (S11). The storage device 12 stores image data of the overhead wire fitting 3, which is the detection target, acquired by photographing (S12). The data processing unit 131 performs detection and recognition processing on each pixel of the image data of the overhead wire fitting 3 stored in the storage device 12, and generates index image data (S13). Here, a metal fitting detection model is used for the detection and recognition process of the overhead line metal fittings 3. The storage device 12 stores the generated index image data (S14). The abnormality determination unit 1313 performs an abnormality detection process using a trained abnormality detection model using the index image data group of the overhead line fittings 3 stored in the memory device 12 (S15), and if no abnormality is detected, proceeds to S18, and if an abnormality is detected (S16), outputs it to the interface (S17). Next, if the abnormality detection process is to be continued, the process returns to S11, and if not (S18), the process ends. Next, anomaly detection in S15 using the trained anomaly detection model will be described in detail below.

[0035] FIG. 7 is a diagram illustrating an example of indexes set for each part of a metal fitting. As described above, since the target image is one-hot represented, an index is set for each part of the metal fitting in the image. In FIG. 7, image indexes 1 to 5 are set as an example, which are one-hot represented from the original image. In the learning process, only normal images are collected, and the anomaly detection model is learned using this group of images.

[0036] FIG. 8 shows a flowchart of anomaly detection using a trained anomaly detection model. In anomaly detection in this embodiment, a restoration error normalized for each part with respect to the difference between an input image and an output image is used. The learning method may be of any type, including a general Auto-Encoder or one using adversarial learning. At this time, a part anomaly detection model is used to determine which part has an anomaly. The flowchart in FIG. 8 is explained below.

[0037] (1) Image input: An image is input (S21). (2) Save in storage device: The image is saved in the storage device (S22). (3) Metal fitting detection: In the metal fitting detection method, the metal fitting detection model is used to detect the target metal fitting (S23). At the same time, one-hot representation is performed and the metal fitting image is converted into an index image for each part.

[0038] (4) Calculation of normalized restoration error: Restoration errors of VAE, etc. are weighted according to the region of each part (S24). As an example of weighting, a case where an abnormality occurs at index 1 of a metal fitting, as shown in FIG. 9, will be described. When an abnormality occurs at index 1, it is assumed that the region of index 1 does not exist in the image, or that the region is small. Therefore, in an anomaly detection model such as VAE, output image B is output for input image A, as shown in FIG. 10. The results of analyzing an actual image are shown diagrammatically in FIG. 11. The following explanation focuses on the region including index 1 in FIGS. 10 and 11.

[0039] Conventionally, normality and abnormality are determined using the number of pixels in the two difference images C between input image A and output image B. However, as shown in this example, the restored area of ​​a small part such as index 1 is small compared to the entire image, so detection may be difficult. Therefore, in this embodiment, the number of pixels in the area of ​​index 1 in difference image C is divided by the number of pixels in the union of the areas of index 1 in input image A and index 1 in output image B. This operation calculates a numerical value between 0 and 1 as the index restoration error (FIG. 10).

[0040] The formula for index restoration error is shown below in [Equation 1]. Here, A∪B is the sum of the total number of pixels obtained by taking the logical sum of the pixels of the input image A and the output image B, which are one-hot expressed at the same index, and C is the sum of the difference images at the same index.

[0041]

number

[0042] Although the above describes the process when an abnormality occurs in index 1, the same calculation is performed for each index. That is, a numerical value normalized to 0 to 1 is calculated for each index of the difference image C. Here, when a difference occurs, i.e., an abnormality occurs, the calculated value approaches 1, and when no difference occurs, i.e., the normal state, the calculated value approaches 0.

[0043] (5) Anomaly detection of normalized values: The value of the normalized restoration error calculated in the previous step (4) is evaluated (S25). The total value of the normalized restoration error of each index and the value of the normalized restoration error of each index are used in the evaluation of anomaly detection. If the total value of the normalized restoration error is equal to or greater than a threshold value, it is first determined to be an anomaly, and then the point with the highest normalized restoration error of each index is detected as the location where the anomaly has occurred (S26). (6) When all imaging is completed, the series of operations ends (S27).

[0044] As described above, in this embodiment, by generating an index image that expresses image data in one-hot format, the search space is kept small, and learning and anomaly detection processes are facilitated, enabling stable processing. Furthermore, since anomalies are detected by weighting the restoration error of VAE or the like according to the region of each part, detection accuracy can be improved even for parts in small regions of an image without increasing costs such as by increasing the number of learning models. Therefore, according to this embodiment, highly accurate anomaly detection can be performed stably and inexpensively.

[0045] <Embodiment 2> In the first embodiment, the normalization error is evaluated using the total value of the normalized restoration error and the value of the normalized restoration error of each index. In this embodiment, only the normalized restoration error of each index is evaluated, and a threshold value is set for each index. The other configurations are the same as those of the first embodiment. Therefore, in this embodiment, in addition to the effects of the first embodiment, it is possible to perform anomaly detection specialized for each part with high accuracy.

[0046] It should be noted that the present invention is not limited to the above-described embodiment, but includes various modified examples in which components are added, deleted, or converted from the above-described configuration. EXAMPLES

[0047] Next, the results of analyzing 298 normal data and 2384 abnormal data using the conventional method (simple difference) and the method of the present invention are shown in the following [Table 1] and [Table 2]. [Table 1] shows the analysis results using a general simple difference, and [Table 2] shows the analysis results using the evaluation index of the present invention. In the table, each row indicates the type and number of data to be analyzed, and each column indicates the analysis accuracy rate of each data according to the threshold value. From the table, it can be seen that the analysis accuracy of the method of the present invention is higher than that of the conventional example in all places where the accuracy rate of normal data is the same. In particular, the effect of the method of the present invention having a high accuracy rate is clearly seen in the area surrounded by the dashed line in the table, where the metal parts on the image are small.

[0048] [Table 1] [Table 2] [Explanation of symbols]

[0049] 1 vehicle 11 Camera 12 Storage device 13. Cable fitting abnormality detection device 131 Data Processing Unit 1311 Detection target detection and recognition processing unit 1312 Image conversion unit 1313 Abnormality determination section 132 Learning processing unit 14 Interface 2 orbits 3. Overhead Wiring Fittings

Claims

1. a learning processing unit that performs learning using a plurality of one-hot expression index image data in a normal state, the one-hot expression index image data being generated by converting each pixel of image data generated by photographing an overhead line metal fitting that is a detection target for a normal state; a data processing unit that converts each pixel of image data generated by photographing the overhead line fitting as a detection target to generate one-hot expression index image data, and performs abnormality determination using the one-hot expression index image data, The data processing unit determines whether there is an abnormality based on the union of an input image and an output image generated from the input image by a learning model learned by the learning processing unit, and based on a difference image between the input image and the output image.This is an overhead line fitting abnormality detection device.

2. 2. The overhead line fitting abnormality detection device according to claim 1, wherein the abnormality determination is performed individually for each of the one-hot expression index image data.

3. Learning is performed using a plurality of one-hot expression index image data in a normal state, the one-hot expression index image data being generated by converting each pixel of image data generated by photographing an overhead line metal fitting that is a detection target for a normal state; converting each pixel of image data generated by photographing the overhead line fitting as a detection target to generate one-hot expression index image data, and performing an abnormality determination using the one-hot expression index image data; This method for detecting abnormalities in overhead line fittings judges whether an abnormality exists based on the union of an input image and an output image generated by a learning model learned from the input image when performing the learning, and based on a difference image between the input image and the output image.

4. 4. The overhead line fitting abnormality detection method according to claim 3, wherein the abnormality determination is performed individually for each of the one-hot expression index image data.

Citation Information

Patent Citations

  • Image processing system and image processing method

    JP2019133306A

  • Overhead wire fitting abnormality detection device

    JP2022159010A