TW202209256A - Method and device for defect detection, electronic device, and computer storage medium - Google Patents

Method and device for defect detection, electronic device, and computer storage medium Download PDF

Info

Publication number
TW202209256A
TW202209256A TW109143250A TW109143250A TW202209256A TW 202209256 A TW202209256 A TW 202209256A TW 109143250 A TW109143250 A TW 109143250A TW 109143250 A TW109143250 A TW 109143250A TW 202209256 A TW202209256 A TW 202209256A
Authority
TW
Taiwan
Prior art keywords
image
component
defect
speed rail
classification result
Prior art date
Application number
TW109143250A
Other languages
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 TW202209256A publication Critical patent/TW202209256A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0006Industrial image inspection using a design-rule based approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8854Grading and classifying of flaws
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • G01N2021/8893Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques providing a video image and a processed signal for helping visual decision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Chemical & Material Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Emergency Management (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a defect detection method and device, electronic equipment and a computer storage medium. The method comprises the following steps: obtaining a to-be-detected image of a high-speed rail overhead line system; segmenting an image of a first part of the high-speed rail overhead line system from the to-be-detected image; segmenting an image of a second part of the high-speed rail overhead line system from the image of the first part, wherein the second part is a sub-part of the first part; and performing defect classification on the first part and the second part based on the image of the first part and the image of the second part to obtain a defect classification result. According to the embodiment of the invention, defect detection is carried out on the high-speed rail overhead line system in a cascade mode, the omission ratio of defect detection of the high-speed rail overhead line system is reduced, and the detection accuracy is improved.

Description

缺陷檢測方法、裝置、電子設備及電腦儲存介質 Defect detection method, device, electronic device and computer storage medium

本申請係關於電腦視覺技術領域,尤其關於一種缺陷檢測方法、裝置、電子設備及電腦儲存介質。 The present application relates to the field of computer vision technology, in particular to a defect detection method, device, electronic device and computer storage medium.

隨著高鐵建設的不斷發展,高鐵供電系統安全性和可靠性的要求也在逐步提高,高鐵接觸網的安全檢測與維護就顯得尤為重要。接觸網懸掛監測裝置的普及極大地提高了接觸網運營維護中圖像採集作業的效率,但是,面對大量的圖像資料,傳統採用人工排查的方式對接觸網進行缺陷檢測的方式不僅耗時長、效率低,而且還存在漏檢率較高的問題,導致接觸網缺陷檢測的準確性較低。 With the continuous development of high-speed railway construction, the requirements for the safety and reliability of the high-speed railway power supply system are gradually increasing, and the safety inspection and maintenance of the high-speed railway catenary network is particularly important. The popularization of catenary suspension monitoring devices has greatly improved the efficiency of image acquisition in the operation and maintenance of catenary. However, in the face of a large amount of image data, the traditional method of detecting defects in catenary by manual inspection is not only time-consuming It is long, low in efficiency, and has the problem of high missed detection rate, resulting in low accuracy of catenary defect detection.

針對上述問題,本申請提供了一種缺陷檢測方法、裝置、電子設備及儲存介質,有利於降低高鐵接觸網缺陷檢測的漏檢率,提高接觸網缺陷檢測的準確性。 In view of the above problems, the present application provides a defect detection method, device, electronic equipment and storage medium, which are beneficial to reduce the missed detection rate of high-speed rail catenary defect detection and improve the accuracy of catenary defect detection.

為實現上述目的,本申請實施例第一態樣提供了一種缺陷檢測方法,該方法包括: In order to achieve the above purpose, the first aspect of the embodiment of the present application provides a defect detection method, the method includes:

獲取高鐵接觸網的待檢測圖像; Obtain the image to be inspected of the high-speed rail catenary;

從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像; Segment the image of the first component of the high-speed rail catenary from the to-be-detected image;

從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件; Segment the image of the second part of the high-speed rail catenary from the image of the first part; the second part is a sub-part of the first part;

基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 Defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part, and a defect classification result is obtained.

結合第一態樣,在一種可能的實施方式中,該從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像,包括: In combination with the first aspect, in a possible implementation manner, the image of the first component of the high-speed rail contact net is segmented from the to-be-detected image, including:

對該待檢測圖像進行特徵提取,得到第一特徵圖; Perform feature extraction on the to-be-detected image to obtain a first feature map;

基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框; Locating and classifying the first component based on the first feature map, to obtain a first rectangular detection frame of the first component;

按照該第一矩形檢測框從該待檢測圖像中分割出該第一部件的圖像。 The image of the first component is segmented from the to-be-detected image according to the first rectangular detection frame.

結合第一態樣,在一種可能的實施方式中,該基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框,包括: In combination with the first aspect, in a possible implementation, the first component is located and classified based on the first feature map to obtain a first rectangular detection frame of the first component, including:

在該第一特徵圖上進行該第一部件的候選區域座標預測和前、背景分類,確定出該第一部件的前景目標; Predicting the coordinates of the candidate region of the first component and classifying the front and the background on the first feature map, to determine the foreground target of the first component;

將該第一部件的前景目標在該第一特徵圖中對應的特徵進行池化處理,得到第一池化特徵; performing pooling processing on the corresponding feature of the foreground target of the first component in the first feature map to obtain a first pooling feature;

基於該第一池化特徵對該第一部件進行分類,得到該第一部件的類別和該第一矩形檢測框。 Classify the first part based on the first pooling feature to obtain the category of the first part and the first rectangular detection frame.

結合第一態樣,在一種可能的實施方式中,該從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像,包括: In combination with the first aspect, in a possible implementation manner, the image of the second component of the high-speed rail contact net is segmented from the image of the first component, including:

對該第一部件的圖像進行伽馬校正,得到該第一部件的待分割圖像; performing gamma correction on the image of the first part to obtain the image to be segmented of the first part;

從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part.

結合第一態樣,在一種可能的實施方式中,該從該第一部件的待分割圖像中分割出該第二部件的圖像,包括: With reference to the first aspect, in a possible implementation manner, segmenting the image of the second part from the image to be segmented of the first part includes:

對該第一部件的待分割圖像進行特徵提取,得到第二特徵圖; performing feature extraction on the to-be-segmented image of the first component to obtain a second feature map;

基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框; Locating and classifying the second component based on the second feature map, to obtain a second rectangular detection frame of the second component;

按照該第二矩形檢測框從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part according to the second rectangular detection frame.

結合第一態樣,在一種可能的實施方式中,該基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框,包括: In combination with the first aspect, in a possible implementation, the second component is located and classified based on the second feature map to obtain a second rectangular detection frame of the second component, including:

在該第二特徵圖上進行該第二部件的候選區域座標預測和前、背景分類,確定出該第二部件的前景目標; On the second feature map, the candidate region coordinate prediction and front and background classification of the second component are performed, and the foreground target of the second component is determined;

將該第二部件的前景目標在該第二特徵圖中對應的特徵進行池化處理,得到第二池化特徵; Perform pooling processing on the features corresponding to the foreground target of the second component in the second feature map to obtain second pooling features;

基於該第二池化特徵對該第二部件進行分類,得到該第二部件的類別和該第二矩形檢測框。 Classify the second part based on the second pooling feature to obtain the category of the second part and the second rectangular detection frame.

結合第一態樣,在一種可能的實施方式中,該基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果,包括: In combination with the first aspect, in a possible implementation manner, the first part and the second part are subjected to defect classification based on the image of the first part and the image of the second part to obtain a defect classification result, include:

分別對該第一部件的圖像、該第二部件的圖像進行特徵提取; respectively perform feature extraction on the image of the first component and the image of the second component;

基於該第一部件的圖像提取出的特徵對該第一部件進行缺陷類型預測,得到該第一部件的缺陷分類結果;該第一部件的缺陷分類結果包括該第一部件的缺陷類型和該第一部件的類別;以及 Predict the defect type of the first part based on the features extracted from the image of the first part, and obtain the defect classification result of the first part; the defect classification result of the first part includes the defect type of the first part and the defect classification result of the first part. the class of the first part; and

基於該第二部件的圖像提取出的特徵對該第二部件進行缺陷類型預測,得到該第二部件的缺陷分類結果;該第二部件的缺陷分類結果包括該第二部件的缺陷類型和該第二部件的類別。 Predict the defect type of the second part based on the features extracted from the image of the second part, and obtain the defect classification result of the second part; the defect classification result of the second part includes the defect type of the second part and the defect classification result of the second part. The category of the second part.

結合第一態樣,在一種可能的實施方式中,在基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果之後,該方法復包括: In combination with the first aspect, in a possible implementation manner, after performing defect classification on the first part and the second part based on the image of the first part and the image of the second part, and obtaining a defect classification result , the method includes:

根據該缺陷分類結果進行缺陷預警。 According to the defect classification result, defect early warning is carried out.

結合第一態樣,在一種可能的實施方式中,該根據該缺陷分類結果進行缺陷預警,包括: With reference to the first aspect, in a possible implementation, the defect early warning is performed according to the defect classification result, including:

針對該第一部件,輸出該第一部件的缺陷類型、該第一部件在該待檢測圖像中的位置、該第一部件的類別和該第一部件所在的高鐵線路,以進行缺陷預警; For the first part, output the defect type of the first part, the position of the first part in the image to be inspected, the type of the first part, and the high-speed rail line where the first part is located, so as to perform defect warning;

針對該第二部件,確定該第二部件所屬的目標第一部件,輸出該第二部件的缺陷類型、該第二部件在該待檢測圖像中的位置、該第二部件的類 別、該目標第一部件在該待檢測圖像中的位置、該目標第一部件的類別和該第二部件所在的高鐵線路,以進行缺陷預警。 For the second part, determine the target first part to which the second part belongs, and output the defect type of the second part, the position of the second part in the image to be inspected, and the class of the second part identification, the position of the target first part in the to-be-detected image, the type of the target first part and the high-speed rail line where the second part is located, for defect warning.

結合第一態樣,在一種可能的實施方式中,該獲取高鐵接觸網的待檢測圖像,包括: With reference to the first aspect, in a possible implementation manner, the acquired image of the high-speed rail catenary to be detected includes:

獲取成像設備採集的高鐵接觸網原始圖像; Obtain the original image of the high-speed rail catenary collected by the imaging equipment;

對該高鐵接觸網原始圖像進行過濾,得到該待檢測圖像。 The original image of the high-speed rail catenary is filtered to obtain the image to be detected.

本申請實施例第二態樣提供了一種缺陷檢測裝置,該裝置包括: A second aspect of the embodiment of the present application provides a defect detection device, the device comprising:

圖像獲取模組,用於獲取高鐵接觸網的待檢測圖像; The image acquisition module is used to acquire the image to be detected of the high-speed rail catenary;

第一檢測模組,用於從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像; a first detection module for segmenting the image of the first component of the high-speed rail contact net from the to-be-detected image;

第二檢測模組,用於從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件; The second detection module is used to segment the image of the second part of the high-speed rail contact net from the image of the first part; the second part is a sub-component of the first part;

缺陷分類別模組,用於基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 The defect classification module is used for classifying defects of the first part and the second part based on the image of the first part and the image of the second part, and obtaining a defect classification result.

本申請實施例第三態樣提供了一種電子設備,該電子設備包括輸入裝置和輸出設備,復包括處理器,適於實現一條或多條指令;以及,電腦儲存介質,該電腦儲存介質儲存有一條或多條指令,該一條或多條指令適於由該處理器載入並執行上述第一態樣任一種實施方式中的步驟。 A third aspect of the embodiment of the present application provides an electronic device, the electronic device includes an input device and an output device, further includes a processor, and is suitable for implementing one or more instructions; and a computer storage medium, the computer storage medium stores a One or more instructions adapted to be loaded by the processor to perform the steps of any of the implementations of the first aspect above.

本申請實施例第四態樣提供了一種電腦儲存介質,該電腦儲存介質儲存有一條或多條指令,該一條或多條指令適於由處理器載入並執行上述第一態樣任一種實施方式中的步驟。 A fourth aspect of the embodiment of the present application provides a computer storage medium, the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing any one of the implementations of the first aspect above steps in the method.

可以看出,本申請實施例藉由獲取高鐵接觸網的待檢測圖像;從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像;從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件;基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。這樣對高鐵接觸網的待檢測圖像進行一級部件(即第一部件)的檢測,從高鐵接觸網的待檢測圖像中分割出一級部件的圖像,再對一級部件的圖像進行二級部件(即第二部件)的檢測,以識別出一級部件上的二級部件,分割出二級部件的圖像,利用一級部件的圖像和二級部件的圖像進行缺陷分類,實現了級聯式的高鐵接觸網缺陷檢測,從而有利於降低高鐵接觸網缺陷檢測的漏檢率,進而提高接觸網缺陷檢測的準確性。同時,還有利於降低人工巡檢成本、縮短檢測時間、提高檢測效率。 It can be seen that in the embodiment of the present application, the image to be detected of the high-speed rail contact net is obtained; the image of the first part of the high-speed rail contact net is segmented from the to-be-detected image; and the image of the first part is segmented. The image of the second part of the high-speed rail contact net; the second part is a sub-part of the first part; based on the image of the first part, the image of the second part, the first part, the second part Parts are classified into defects, and the result of defect classification is obtained. In this way, the first-level component (ie, the first component) is detected on the image to be detected of the high-speed rail contact net, the image of the first-level component is segmented from the to-be-detected image of the high-speed railway contact line, and then the image of the first-level component is subjected to the second-level detection. Parts (ie, the second part) are inspected to identify the second-level parts on the first-level parts, segment the images of the second-level parts, and use the images of the first-level parts and the images of the second-level parts for defect classification, realizing the first-class part. Linked high-speed rail catenary defect detection is beneficial to reduce the missed detection rate of high-speed rail catenary defect detection, thereby improving the accuracy of catenary defect detection. At the same time, it is also beneficial to reduce the cost of manual inspection, shorten the detection time, and improve the detection efficiency.

S11、S12、S13、S14、S61、S62、S63、S64、S65、S66、S67:步驟 S11, S12, S13, S14, S61, S62, S63, S64, S65, S66, S67: Steps

81:圖像獲取模組 81: Image acquisition module

82:第一檢測模組 82: The first detection module

83:第二檢測模組 83: The second detection module

84:缺陷分類別模組 84: Defect classification module

85:缺陷預警模組 85: Defect warning module

1001:處理器 1001: Processor

1002:輸入裝置 1002: Input device

1003:輸出設備 1003: Output device

1004:電腦儲存介質 1004: Computer Storage Media

為了更清楚地說明本申請實施例或先前技術中的技術方案,下面將對實施例或先前技術描述中所需要使用的圖示作簡單地介紹,顯而易見地,下面描述中的圖示僅僅是本申請的一些實施例,對於所屬技術領域中具有通常知識者來講,在不付出創造性勞動的前提下,還可以根據這些圖示獲得其他的圖示。 In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following briefly introduces the diagrams that need to be used in the description of the embodiments or the prior art. Obviously, the diagrams in the following description are only the For some embodiments of the application, for those with ordinary knowledge in the technical field, other diagrams can also be obtained according to these diagrams without any creative effort.

圖1為本申請實施例提供的一種缺陷檢測方法的流程示意圖; 1 is a schematic flowchart of a defect detection method provided by an embodiment of the present application;

圖2為本申請實施例提供的一種高鐵接觸網缺陷檢測的應用環境示意圖; 2 is a schematic diagram of an application environment for defect detection of a high-speed rail catenary provided by an embodiment of the present application;

圖3為本申請實施例提供的一種對高鐵接觸網原始圖像進行過濾的示意圖; 3 is a schematic diagram of filtering an original image of a high-speed rail catenary according to an embodiment of the present application;

圖4為本申請實施例提供的一種高鐵接觸網缺陷檢測模型的結構示意圖; 4 is a schematic structural diagram of a defect detection model for a high-speed rail catenary provided by an embodiment of the present application;

圖5A為本申請實施例提供的一種分割第一部件的示意圖; 5A is a schematic diagram of dividing a first component according to an embodiment of the present application;

圖5B為本申請實施例提供的一種分割第二部件的示意圖; 5B is a schematic diagram of dividing a second component according to an embodiment of the present application;

圖6為本申請實施例提供的另一種缺陷檢測方法的流程示意圖; 6 is a schematic flowchart of another defect detection method provided by an embodiment of the present application;

圖7為本申請實施例提供的一種基於特徵圖產生候選區域的示意圖; 7 is a schematic diagram of generating a candidate region based on a feature map according to an embodiment of the present application;

圖8為本申請實施例提供的一種缺陷檢測裝置的結構示意圖; FIG. 8 is a schematic structural diagram of a defect detection device provided by an embodiment of the present application;

圖9為本申請實施例提供的另一種缺陷檢測裝置的結構示意圖; FIG. 9 is a schematic structural diagram of another defect detection device provided by an embodiment of the present application;

圖10為本申請實施例提供的一種電子設備的結構示意圖。 FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

為了使本技術領域的人員更好地理解本申請方案,下面將結合本申請實施例中的圖示,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分的實施例,而不是全部的實施例。基於本申請中的實施例,所屬技術領域中具有通常知識者在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本申請保護的範圍。 In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the illustrations in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons with ordinary knowledge in the technical field without creative work shall fall within the protection scope of this application.

本申請說明書、申請專利範圍和圖示中出現的術語“包括”和“具有”以及它們任何變形,意圖在於覆蓋不排他的包含。例如包含了一系列步驟或單元的過程、方法、系統、產品或設備沒有限定於已列出的步驟或單元,而是可選地復包括沒有列出的步驟或單元,或可選地復包括對於這些過程、方法、產品或設備固有的其它步驟或單元。此外,術語“第一”、“第二”和“第三”等係用於區別不同的物件,而並非用於描述特定的順序。 The terms "comprising" and "having" and any variations thereof appearing in the specification, scope and drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally includes For other steps or units inherent to these processes, methods, products or devices. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different items, and are not used to describe a particular order.

本申請實施例提出一種高鐵接觸網的缺陷檢測方案,以降低高鐵接觸網缺陷檢測的漏檢率,提高缺陷檢測的準確性。在具體實施中,採用了基於 深度學習的高鐵接觸網缺陷檢測模型,先從高鐵接觸網待檢測圖像中定位出一級部件,再從一級部件的圖像中定位出與一級部件具有級聯關係的二級部件,有利於降低部件的漏檢率,利用一級部件的圖像、二級部件的圖像進行一級部件和二級部件的缺陷類型預測,最後缺陷預警時能夠輸出缺陷的具體位置、缺陷類型、缺陷所屬的部件、缺陷所屬部件的上級部件以及缺陷所在的具體線路段等,整個檢測流程呈樹狀結構,部件之間的結構化資訊有利於運營維護人員快速確定缺陷位置、缺陷路線,從而展開接觸網的維護工作,以保障高鐵的安全運行,同時,有利於新部件、新缺陷的擴展。 The embodiment of the present application proposes a defect detection scheme for a high-speed rail catenary, so as to reduce the missed detection rate of defect detection of the high-speed rail catenary and improve the accuracy of defect detection. In the specific implementation, based on The deep learning high-speed rail catenary defect detection model first locates the first-level components from the images of the high-speed rail catenary to be inspected, and then locates the second-level components that have a cascading relationship with the first-level components from the images of the first-level components, which is conducive to reducing The missed detection rate of parts, using the images of the first-level parts and the images of the second-level parts to predict the defect types of the first-level parts and the second-level parts, and finally output the specific location of the defect, the defect type, the part to which the defect belongs, The entire inspection process is in a tree-like structure for the superior components of the component to which the defect belongs and the specific line section where the defect is located. The structured information between components is helpful for the operation and maintenance personnel to quickly determine the defect location and defect route, so as to carry out the maintenance work of the catenary , in order to ensure the safe operation of high-speed rail, and at the same time, it is conducive to the expansion of new components and new defects.

以下結合相關圖示對本申請實施例提供的缺陷檢測方法進行詳細闡述。 The defect detection method provided by the embodiments of the present application will be described in detail below with reference to the relevant figures.

請參見圖1,圖1為本申請實施例提供的一種缺陷檢測方法的流程示意圖,該缺陷檢測方法應用於伺服器,例如:部署有基於深度學習的高鐵接觸網缺陷檢測模型的伺服器、電腦主機、雲端伺服器等,如圖1所示,包括步驟S11-S14: Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a defect detection method provided by an embodiment of the application. The defect detection method is applied to a server, for example, a server, a computer, and a computer equipped with a deep learning-based high-speed rail catenary defect detection model. The host, cloud server, etc., as shown in Figure 1, includes steps S11-S14:

S11,獲取高鐵接觸網的待檢測圖像。 S11, acquiring an image to be detected of the high-speed rail catenary.

本申請具體實施例中,如圖2所示,高鐵巡檢車通常在夜晚作業,巡檢車上安裝有高清成像設備和車載感測器,巡檢車在高鐵線路上行進,每當車載感測器檢測到路線兩側的支柱時,便觸發成像設備對接觸網進行圖像採集,得到高鐵接觸網原始圖像,例如:巡檢車上通常包括車頭和車尾兩組成像設備,當車載感測器檢測到預設範圍內有支柱時,便觸發兩組成像設備對接觸網的支援部件、懸掛部件等進行正反面及整體佈局的成像,由此得到大批量來自不同角度的高鐵接觸網原始圖像。高鐵接觸網原始圖像的解析度通常有一個較佳的值,例 如:6576*4384像素,但由於夜間作業、霧氣彌漫等環境因素,導致採集的高鐵接觸網原始圖像中仍然會存在解析度較低的圖像,例如:解析度長寬低於2000像素,因此,如圖3所示,需要對採集的高鐵接觸網原始圖像進行過濾,從中篩選出解析度長寬達到預設像素值的高鐵接觸網原始圖像作為後續缺陷檢測的待檢測圖像,過濾掉解析度長寬低於預設像素值的高鐵接觸網原始圖像。 In the specific embodiment of the present application, as shown in FIG. 2 , the high-speed rail inspection vehicle usually operates at night. The inspection vehicle is equipped with high-definition imaging equipment and on-board sensors. The inspection vehicle travels on the high-speed rail line. When the detector detects the pillars on both sides of the route, it triggers the imaging device to collect images of the catenary to obtain the original image of the high-speed rail catenary. When the sensor detects that there are pillars within the preset range, it triggers two sets of imaging equipment to image the front and back and overall layout of the supporting parts and suspension parts of the catenary, thus obtaining a large number of high-speed rail catenary from different angles. The original image. The resolution of the original image of the high-speed rail catenary usually has a better value, for example For example: 6576*4384 pixels, but due to environmental factors such as night work and foggy, there will still be images with lower resolution in the original images of the high-speed rail catenary collected, for example: the resolution length and width are lower than 2000 pixels, Therefore, as shown in Figure 3, it is necessary to filter the collected original images of the high-speed rail catenary, and select the original images of the high-speed rail catenary whose resolution length and width reach the preset pixel value as the image to be detected for subsequent defect detection. Filter out the original image of the high-speed rail catenary whose resolution length and width are lower than the preset pixel value.

S12,從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像。 S12, segment the image of the first component of the high-speed rail catenary from the to-be-detected image.

本申請具體實施例中,採用預訓練的基於深度學習的高鐵接觸網缺陷檢測模型對步驟S11中獲取的待檢測圖像中的各部件進行缺陷檢測,該高鐵接觸網缺陷檢測模型包括第一部件檢測器、第二部件檢測器、缺陷分類器和缺陷預警模組,如圖4所示,第一部件檢測器的輸入為待檢測圖像,用於從待檢測圖像中檢測出高鐵接觸網的第一部件,例如:柱頂蓋板、絕緣體、環杆-直角掛板關節、臂腕底座、AF線肩架底座、接觸線中心錨結線夾、墜陀限制架等等,第二部件檢測器用於從第一部件檢測器輸出的第一部件的圖像中檢測出第一部件上的第二部件,例如:絕緣體兩端的螺栓、螺母、開口銷等,其輸出為第二部件的圖像,缺陷分類器用於根據第一部件的圖像對第一部件進行缺陷分類、根據第二部件的圖像對第二部件進行缺陷分類,缺陷預警模組用於根據缺陷分類器輸出的缺陷分類結果進行缺陷預警,其輸出包括缺陷所在的位置、缺陷類型(如臂腕底座上開口銷角度不到位)、缺陷所屬部件的上級部件、缺陷所處的高鐵線路等。可選的,第一部件檢測器可以是two-stage檢測器,也可以是one-stage檢測器,two-stage的檢測器基於從待檢測圖像提取出的特徵圖產生候選區域,然後對候選區域進行分類預測,得到第一部件的類別和矩形檢測框座標,該矩形檢測框座標可以是左上角和右下角的座標,也可以是中心點座標和長寬等,具體不作限定, 如圖5A所示,按照矩形檢測框從待檢測圖像中分割出第一部件的圖像,如絕緣體、臂腕底座等。one-stage檢測器,不需要產生候選區域,其針對輸入的待檢測圖像直接進行分類預測,得到第一部件的類別和矩形檢測框座標,然後按照該矩形檢測框分割出第一部件的圖像。可選的,第一部件檢測器採用高鐵接觸網的樣本圖像進行訓練,該樣本圖像中的第一部件帶有類別標籤,在訓練過程中藉由預設損失函數對該第一部件檢測器進行調諧。 In the specific embodiment of the present application, a pre-trained deep learning-based high-speed rail catenary defect detection model is used to perform defect detection on each component in the to-be-detected image obtained in step S11, and the high-speed rail catenary defect detection model includes a first component The detector, the second part detector, the defect classifier and the defect early warning module, as shown in Figure 4, the input of the first part detector is the image to be inspected, which is used to detect the high-speed rail catenary from the image to be inspected The first parts of the equipment, such as: column top cover, insulator, ring rod-right-angle hanging plate joint, arm wrist base, AF wire shoulder frame base, contact wire center anchor clamp, drop weight limit frame, etc., the second part detects The detector is used to detect the second part on the first part from the image of the first part output by the first part detector, such as: bolts, nuts, split pins, etc. at both ends of the insulator, and the output is the image of the second part , the defect classifier is used to classify the defects of the first part according to the image of the first part, and classify the defects of the second part according to the image of the second part, and the defect early warning module is used to classify the defects according to the output of the defect classifier. Carry out defect early warning, and the output includes the location of the defect, the type of defect (such as the angle of the cotter pin on the arm and wrist base is not in place), the superior component of the component to which the defect belongs, and the high-speed rail line where the defect is located. Optionally, the first component detector may be a two-stage detector or a one-stage detector. The two-stage detector generates candidate regions based on the feature map extracted from the image to be detected, and then evaluates the candidate regions. The region is classified and predicted, and the category of the first part and the coordinates of the rectangular detection frame are obtained. The coordinates of the rectangular detection frame can be the coordinates of the upper left corner and the lower right corner, or the coordinates of the center point, length and width, etc., which are not limited. As shown in FIG. 5A , an image of the first component, such as an insulator, an arm-wrist base, etc., is segmented from the image to be detected according to a rectangular detection frame. The one-stage detector does not need to generate candidate regions. It directly classifies and predicts the input image to be detected, obtains the category of the first part and the coordinates of the rectangular detection frame, and then divides the image of the first part according to the rectangular detection frame. picture. Optionally, the first component detector is trained using a sample image of the high-speed rail catenary, the first component in the sample image has a class label, and the first component is detected by a preset loss function during the training process. to tune the device.

S13,從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件。 S13, segment the image of the second part of the high-speed rail contact network from the image of the first part; the second part is a sub-part of the first part.

本申請具體實施例中,第二部件係指第一部件上的子部件,二者具有級聯關係,由於二級部件具有像素占比小的特點,在光線不佳的環境下,如果直接對步驟S12中分割出的第一部件的圖像進行檢測,出現漏檢的可能性較高,因此,需要對第一部件的圖像進行伽馬校正,以提高圖像品質,得到第一部件的待分割圖像(即伽馬校正後得到的圖像),然後藉由第二部件檢測器從待分割圖像中分割出高鐵接觸網的第二部件的圖像。可選的,該第二部件檢測器可以與第一部件檢測器相同,也可以不同,其可以與第一部件檢測器一起訓練,也可以單獨訓練,同理,得到第二部件的類別和矩形檢測框後,如圖5B所示,按照該矩形檢測框從第一部件的圖像中分割出第二部件的圖像。 In the specific embodiment of this application, the second component refers to a sub-component on the first component, and the two have a cascade relationship. The image of the first part segmented in step S12 is detected, and the possibility of missed detection is high. Therefore, it is necessary to perform gamma correction on the image of the first part to improve the image quality and obtain the image of the first part. The to-be-segmented image (that is, the image obtained after gamma correction) is then segmented from the to-be-segmented image by the second part detector to obtain an image of the second part of the high-speed rail contact network. Optionally, the second part detector can be the same as the first part detector, or it can be different, it can be trained together with the first part detector, or can be trained separately, in the same way, the category and rectangle of the second part can be obtained. After the frame is detected, as shown in FIG. 5B , the image of the second part is segmented from the image of the first part according to the rectangular detection frame.

S14,基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 S14: Perform defect classification on the first part and the second part based on the image of the first part and the image of the second part, and obtain a defect classification result.

本申請具體實施例中,可選的,上述基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果,包括: In a specific embodiment of the present application, optionally, the above-mentioned defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part to obtain a defect classification result, including:

分別對該第一部件的圖像、該第二部件的圖像進行特徵提取; respectively perform feature extraction on the image of the first component and the image of the second component;

基於該第一部件的圖像提取出的特徵對該第一部件進行缺陷類型預測,得到該第一部件的缺陷分類結果;該第一部件的缺陷分類結果包括該第一部件的缺陷類型和該第一部件的類別;以及 Predict the defect type of the first part based on the features extracted from the image of the first part, and obtain the defect classification result of the first part; the defect classification result of the first part includes the defect type of the first part and the defect classification result of the first part. the class of the first part; and

基於該第二部件的圖像提取出的特徵對該第二部件進行缺陷類型預測,得到該第二部件的缺陷分類結果;該第二部件的缺陷分類結果包括該第二部件的缺陷類型和該第二部件的類別。 Predict the defect type of the second part based on the features extracted from the image of the second part, and obtain the defect classification result of the second part; the defect classification result of the second part includes the defect type of the second part and the defect classification result of the second part. The category of the second part.

請繼續參見圖4,得到第一部件的圖像和第二部件的圖像後,將其輸入缺陷分類器進行缺陷類型的概率預測。具體的,藉由缺陷分類器的骨幹網路提取出第一部件的圖像的特徵和第二部件的圖像的特徵,骨幹網路主要進行卷積處理,然後基於提取出的特徵,將該特徵輸入全連接層進行缺陷類型的概率預測,取概率最高的缺陷類型作為該部件的缺陷類型,例如:當前輸入第一部件墜陀限制架的特徵,全連接層藉由分類處理,預測出該墜陀限制架存在裂紋的概率達到95%(最高),則該墜陀限制架的缺陷類型即為存在裂紋。當然,缺陷分類器最終的輸出除了部件的缺陷類型外,還有部件的類別索引和矩形檢測框座標,例如:c05,存在裂紋,c05即表示部件的類別索引,其中,第一部件的類別索引可在第一部件檢測器得到第一部件的類別時確定,第二部件的類別索引可在第二部件檢測器得到第二部件的類別時確定。其中,缺陷分類器可與第一部件檢測器一起訓練,也可與第二部件檢測器一起訓練,或者單獨訓練。 Please continue to refer to Figure 4. After obtaining the image of the first part and the image of the second part, they are input into the defect classifier for probability prediction of defect types. Specifically, the feature of the image of the first part and the feature of the image of the second part are extracted by the backbone network of the defect classifier. The backbone network mainly performs convolution processing, and then based on the extracted features, the The feature is input to the fully connected layer for probability prediction of defect types, and the defect type with the highest probability is taken as the defect type of the part. If the probability of cracks in the pendulum restraining frame reaches 95% (the highest), the defect type of the pendant restraining frame is the existence of cracks. Of course, in addition to the defect type of the part, the final output of the defect classifier also has the class index of the part and the coordinates of the rectangular detection frame, for example: c05, if there is a crack, c05 means the class index of the part, among which, the class index of the first part The class index of the second part can be determined when the class of the first part is obtained by the first part detector, and the class index of the second part can be determined when the class of the second part is obtained by the second part detector. Wherein, the defect classifier can be trained together with the first part detector, can also be trained together with the second part detector, or can be trained separately.

可選的,在基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果之後,該方法復包括:根據該缺陷分類結果進行缺陷預警。 Optionally, after performing defect classification on the first part and the second part based on the image of the first part and the image of the second part, and obtaining a defect classification result, the method further includes: classifying according to the defect. The result is a defect warning.

本申請具體實施例中,該根據該缺陷分類結果進行缺陷預警,包括: In the specific embodiment of the present application, the defect early warning according to the defect classification result includes:

針對該第一部件,輸出該第一部件的缺陷類型、該第一部件在該待檢測圖像中的位置、該第一部件的類別和該第一部件所在的高鐵線路,以進行缺陷預警; For the first part, output the defect type of the first part, the position of the first part in the image to be inspected, the type of the first part, and the high-speed rail line where the first part is located, so as to perform defect warning;

針對該第二部件,確定該第二部件所屬的目標第一部件,輸出該第二部件的缺陷類型、該第二部件在該待檢測圖像中的位置、該第二部件的類別、該目標第一部件在該待檢測圖像中的位置、該目標第一部件的類別和該第二部件所在的高鐵線路,以進行缺陷預警。 For the second part, determine the target first part to which the second part belongs, and output the defect type of the second part, the position of the second part in the image to be inspected, the type of the second part, and the target The position of the first part in the image to be inspected, the type of the target first part, and the high-speed rail line where the second part is located, for defect warning.

具體的,目標第一部件係指第二部件的上級部件,缺陷預警模組的輸入包括第一部件和第二部件的缺陷分類結果、第一部件和第二部件的矩形檢測框座標,可輸出部件的缺陷類型、部件在待檢測圖像中的位置、部件的類別、部件所屬上級部件在待檢測圖像中的位置、部件的上級部件的類別以及部件所在的高鐵線路。可選的,部件在待檢測圖像中的位置以及部件的上級部件在待檢測圖像中的位置均以部件的矩形檢測框呈現,部件的類別以及部件的上級部件的類別均以類別索引呈現,部件所在的高鐵線路可根據成像設備上傳高鐵接觸網原始圖像時攜帶的標識進行輸出,例如:某張高鐵接觸網原始圖像攜帶有AB1002(A市到B市的第1002段線路)的標識,該標識會存在於整個缺陷檢測過程中,當然,此處僅僅為一種舉例說明,並不對本申請實施例造成限定。 Specifically, the target first part refers to the upper-level part of the second part. The input of the defect warning module includes the defect classification results of the first part and the second part, the coordinates of the rectangular detection frame of the first part and the second part, and the output can be The defect type of the part, the position of the part in the image to be inspected, the category of the part, the position of the superior part to which the part belongs in the image to be inspected, the class of the superior part of the part, and the high-speed rail line where the part is located. Optionally, the position of the component in the image to be detected and the position of the upper-level component of the component in the image to be detected are presented in the rectangular detection frame of the component, and the category of the component and the category of the upper-level component of the component are presented with the category index. , the high-speed rail line where the component is located can be output according to the logo carried when the imaging device uploads the original image of the high-speed rail catenary. The identification will exist in the entire defect detection process. Of course, this is only an example, and does not limit the embodiments of the present application.

另外,由於第一部件並沒有所屬的上級部件,因此第一部件的輸出的預警資訊包括第一部件的缺陷類型(如AF線肩架底座上螺母脫落)、第一部件在待檢測圖像中的位置(如AF線肩架底座的矩形檢測框)、第一部件的類 別和第一部件所在的高鐵線路。而第二部件通常存在上級部件,因此,需要確定第二部件所屬的目標第一部件,在輸出第二部件本身的缺陷類型、第二部件在待檢測圖像中的位置等資訊,還需要輸出該目標第一部件的類別、在待檢測圖像中的位置等。 In addition, since the first part does not have a parent part to which it belongs, the early warning information output by the first part includes the defect type of the first part (such as the nut on the AF wire shoulder frame falling off), the first part in the image to be detected position (such as the rectangular detection frame of the base of the AF cable shoulder), the class of the first part Different from the high-speed rail line where the first component is located. The second part usually has an upper-level part. Therefore, it is necessary to determine the target first part to which the second part belongs, and output the defect type of the second part itself, the position of the second part in the image to be inspected and other information, and also need to output The category of the first part of the target, the position in the image to be detected, etc.

進一步的,該確定該第二部件所屬的目標第一部件,包括: Further, determining the target first component to which the second component belongs includes:

獲取該第二部件的第二矩形檢測框與所有該第一部件的第一矩形檢測框的交集; Obtain the intersection of the second rectangular detection frame of the second component and all the first rectangular detection frames of the first component;

獲取該交集與該第二矩形檢測框之間的比值; obtaining the ratio between the intersection and the second rectangular detection frame;

根據該第二矩形檢測框之間的比值確定該第二部件所屬的目標第一部件。 The target first component to which the second component belongs is determined according to the ratio between the second rectangular detection frames.

具體的,第一矩形檢測框係指第一部件的邊界框回歸,第二矩形檢測框係指第二部件的邊界框回歸,針對當前檢測的定位鉤(屬於第二部件),假設其第二矩形檢測框為A,所有第一部件的第一矩形檢測框為B1,B2,B3...Bn,先獲取該第二矩形檢測框A與所有第一矩形檢測框B1,B2,B3...Bn的交集C1,C2,C3...Cn,再分別計算交集C1,C2,C3...Cn與第二矩形檢測框A的比值C1/A,C2/A,C3/A...Cn/A,若C1/A為最大值,則將第一矩形檢測框B1所對應的第一部件作為該定位鉤所屬的目標第一部件。該實施方式中,由於缺陷預警模組輸入的係第一部件和第二部件的缺陷分類結果、第一部件和第二部件的矩形檢測框座標,因此,可根據第二部件與第一部件的矩形檢測框的交集同第二部件的矩形檢測框的比值來確定第二部件的上級部件,對整體檢測耗時並未造成影響,且準確度滿足需求。 Specifically, the first rectangular detection frame refers to the bounding box regression of the first component, and the second rectangular detection frame refers to the bounding box regression of the second component. For the currently detected positioning hook (belonging to the second component), it is assumed that its second The rectangular detection frame is A, and the first rectangular detection frames of all the first components are B1, B2, B3...Bn. First obtain the second rectangular detection frame A and all the first rectangular detection frames B1, B2, B3.. .Bn intersection C1, C2, C3...Cn, and then calculate the ratios C1/A, C2/A, C3/A... Cn/A, if C1/A is the maximum value, the first part corresponding to the first rectangular detection frame B1 is taken as the target first part to which the positioning hook belongs. In this embodiment, since the defect early warning module inputs the defect classification results of the first part and the second part, and the coordinates of the rectangular detection frame of the first part and the second part, it can be determined according to the difference between the second part and the first part. The ratio of the intersection of the rectangular detection frame and the rectangular detection frame of the second component to determine the upper-level component of the second component does not affect the overall detection time, and the accuracy meets the requirements.

本申請實施例藉由獲取高鐵接觸網的待檢測圖像;從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像;從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件;基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。這樣對高鐵接觸網的待檢測圖像進行一級部件的檢測,從高鐵接觸網的待檢測圖像中分割出一級部件的圖像,再對一級部件的圖像進行二級部件的檢測,以識別出一級部件上的二級部件,分割出二級部件的圖像,利用一級部件的圖像和二級部件的圖像進行缺陷分類,實現了級聯式的高鐵接觸網缺陷檢測,從而有利於降低高鐵接觸網缺陷檢測的漏檢率,進而提高接觸網缺陷檢測的準確性。同時,還有利於降低人工巡檢成本、縮短檢測時間、提高檢測效率。 In the embodiment of the present application, the image to be detected of the high-speed rail catenary is obtained; the image of the first part of the high-speed rail catenary is segmented from the to-be-detected image; the high-speed rail catenary is segmented from the image of the first part image of the second part of the , get the defect classification result. In this way, the first-level components are detected on the images of the high-speed rail catenary to be detected, the images of the first-level components are segmented from the to-be-detected images of the high-speed rail contact network, and then the images of the first-level components are detected for the second-level components to identify The secondary part on the primary part is extracted, the image of the secondary part is segmented, and the image of the primary part and the image of the secondary part are used for defect classification, which realizes the cascading high-speed rail catenary defect detection, which is beneficial to Reduce the missed detection rate of high-speed rail catenary defect detection, thereby improving the accuracy of catenary defect detection. At the same time, it is also beneficial to reduce the cost of manual inspection, shorten the detection time, and improve the detection efficiency.

請參見圖6,圖6為本申請實施例提供的另一種缺陷檢測方法的流程示意圖,如圖6所示,包括步驟S61-S67: Please refer to FIG. 6, which is a schematic flowchart of another defect detection method provided by an embodiment of the present application, as shown in FIG. 6, including steps S61-S67:

S61,獲取高鐵接觸網的待檢測圖像; S61, acquiring the image to be detected of the high-speed rail catenary;

S62,對該待檢測圖像進行特徵提取,得到第一特徵圖; S62, perform feature extraction on the to-be-detected image to obtain a first feature map;

S63,基於該第一特徵圖對高鐵接觸網的第一部件進行定位和分類,得到該第一部件的第一矩形檢測框; S63, locating and classifying the first component of the high-speed rail catenary based on the first feature map, to obtain a first rectangular detection frame of the first component;

S64,按照該第一矩形檢測框從該待檢測圖像中分割出該第一部件的圖像; S64, segment the image of the first component from the to-be-detected image according to the first rectangular detection frame;

S65,從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件; S65, segment the image of the second part of the high-speed rail contact net from the image of the first part; the second part is a sub-component of the first part;

S66,基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果; S66, perform defect classification on the first part and the second part based on the image of the first part and the image of the second part, to obtain a defect classification result;

S67,根據該缺陷分類結果進行缺陷預警。 S67, perform a defect early warning according to the defect classification result.

本申請具體實施例中,針對輸入第一部件檢測器的待檢測圖像,藉由第一部件檢測器的骨幹網路對其進行特徵提取,骨幹網路主要進行卷積處理,其輸出的特徵圖即上述的第一特徵圖,在該第一特徵圖上進行第一部件的候選區域座標預測,產生如圖7所示的候選區域,在該候選區域內進行前、背景分類,得到第一部件的前景目標,然後將該前景目標在第一特徵圖中對應的特徵進行池化處理,其輸出的特徵即上述的第一池化特徵,將該第一池化特徵輸入全連接層進行最終的分類,輸出待檢測圖像中第一部件的類別和矩形檢測框(即第一矩形檢測框),按照第一矩形檢測框從待檢測圖像中分割出第一部件的圖像,作為缺陷分類器的輸入。該實施方式中,採用基於候選區域的第一部件檢測器對待檢測圖像中的第一部件進行分類,精度更高。 In the specific embodiment of the present application, for the image to be detected input to the first component detector, feature extraction is performed on the image by the backbone network of the first component detector. The backbone network mainly performs convolution processing, and the output features The figure is the above-mentioned first feature map. On the first feature map, the coordinates of the candidate region of the first component are predicted to generate a candidate region as shown in Figure 7. The front and background classifications are performed in the candidate region to obtain the first The foreground target of the component, and then the corresponding feature of the foreground target in the first feature map is pooled, and the output feature is the above-mentioned first pooling feature, and the first pooling feature is input to the fully connected layer for finalization. The classification of the first part in the image to be detected and the rectangular detection frame (that is, the first rectangular detection frame) are output, and the image of the first part is segmented from the image to be detected according to the first rectangular detection frame as a defect. The input to the classifier. In this embodiment, the first part detector based on the candidate region is used to classify the first part in the image to be detected, and the accuracy is higher.

可選的,該從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像,包括: Optionally, the image of the second component of the high-speed rail contact net is segmented from the image of the first component, including:

對該第一部件的圖像進行伽馬校正,得到該第一部件的待分割圖像; performing gamma correction on the image of the first part to obtain the image to be segmented of the first part;

從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part.

該實施方式中,對第一部件的圖像進行伽馬校正能夠得到品質更好的待分割圖像,有利於克服光線不佳給檢測帶來的影響,以準確分割出第二部件的圖像,降低第二部件的漏檢率。 In this embodiment, performing gamma correction on the image of the first component can obtain an image to be segmented with better quality, which is beneficial to overcome the influence of poor light on detection, so as to accurately segment the image of the second component , reducing the missed detection rate of the second component.

可選的,該從該第一部件的待分割圖像中分割出該第二部件的圖像,包括: Optionally, segmenting the image of the second component from the to-be-segmented image of the first component includes:

對該第一部件的待分割圖像進行特徵提取,得到第二特徵圖; performing feature extraction on the to-be-segmented image of the first component to obtain a second feature map;

基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框; Locating and classifying the second component based on the second feature map, to obtain a second rectangular detection frame of the second component;

按照該第二矩形檢測框從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part according to the second rectangular detection frame.

可選的,該基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框,包括: Optionally, the second component is located and classified based on the second feature map to obtain a second rectangular detection frame of the second component, including:

在該第二特徵圖上進行該第二部件的候選區域座標預測和前、背景分類,確定出該第二部件的前景目標; On the second feature map, the candidate region coordinate prediction and front and background classification of the second component are performed, and the foreground target of the second component is determined;

將該第二部件的前景目標在該第二特徵圖中對應的特徵進行池化處理,得到第二池化特徵; Perform pooling processing on the features corresponding to the foreground target of the second component in the second feature map to obtain second pooling features;

基於該第二池化特徵對該第二部件進行分類,得到該第二部件的類別和該第二矩形檢測框。 Classify the second part based on the second pooling feature to obtain the category of the second part and the second rectangular detection frame.

本申請具體實施例中,第二特徵圖係指第二部件檢測器藉由骨幹網路從第一部件的子圖提取出的特徵圖,第二池化特徵係指第二部件檢測器對第二部件的前景目標在第二特徵圖中對應的特徵進行池化處理後得到的特徵。需要說明的是,第二部件檢測器與第一部件檢測器的處理過程相同,同樣係基於產生的候選區域進行第二部件的類別預測,輸出第二部件的類別和第二矩形檢測框。 In the specific embodiment of this application, the second feature map refers to the feature map extracted by the second component detector from the sub-graph of the first component through the backbone network, and the second pooled feature refers to the second component detector's detection of the first component. The features obtained by pooling the corresponding features of the two-component foreground target in the second feature map. It should be noted that the processing procedure of the second component detector is the same as that of the first component detector, and the category prediction of the second component is also performed based on the generated candidate area, and the category of the second component and the second rectangular detection frame are output.

其中,上述步驟S61-S67的具體實施方式,在圖1所示的實施例中已有相關說明,且能達到相同或相似的有益效果,此處不再贅述。 The specific implementations of the above steps S61 to S67 have been described in the embodiment shown in FIG. 1 , and can achieve the same or similar beneficial effects, and will not be repeated here.

基於圖1或圖6所示方法實施例的描述,本申請實施例還提供一種缺陷檢測裝置,請參見圖8,圖8為本申請實施例提供的一種缺陷檢測裝置的結構示意圖,如圖8所示,該裝置包括: Based on the description of the method embodiment shown in FIG. 1 or FIG. 6 , an embodiment of the present application further provides a defect detection apparatus, please refer to FIG. 8 , and FIG. 8 is a schematic structural diagram of a defect detection apparatus provided by an embodiment of the present application, as shown in FIG. 8 As shown, the device includes:

圖像獲取模組81,用於獲取高鐵接觸網的待檢測圖像; The image acquisition module 81 is used to acquire the image to be detected of the high-speed rail catenary;

第一檢測模組82,用於從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像; The first detection module 82 is used to segment the image of the first component of the high-speed rail contact net from the to-be-detected image;

第二檢測模組83,用於從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件; The second detection module 83 is used to segment the image of the second part of the high-speed rail contact net from the image of the first part; the second part is a sub-component of the first part;

缺陷分類別模組84,用於基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 The defect classification module 84 is configured to perform defect classification on the first part and the second part based on the image of the first part and the image of the second part, and obtain a defect classification result.

在一種可能的實施方式中,在從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像態樣,第一檢測模組82具體用於: In a possible implementation manner, the first detection module 82 is specifically used to:

對該待檢測圖像進行特徵提取,得到第一特徵圖; Perform feature extraction on the to-be-detected image to obtain a first feature map;

基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框; Locating and classifying the first component based on the first feature map, to obtain a first rectangular detection frame of the first component;

按照該第一矩形檢測框從該待檢測圖像中分割出該第一部件的圖像。 The image of the first component is segmented from the to-be-detected image according to the first rectangular detection frame.

在一種可能的實施方式中,在基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框態樣,第一檢測模組82具體用於: In a possible implementation manner, after locating and classifying the first component based on the first feature map to obtain a first rectangular detection frame of the first component, the first detection module 82 is specifically used for:

在該第一特徵圖上進行該第一部件的候選區域座標預測和前、背景分類,確定出該第一部件的前景目標; Predicting the coordinates of the candidate region of the first component and classifying the front and the background on the first feature map, to determine the foreground target of the first component;

將該第一部件的前景目標在該第一特徵圖中對應的特徵進行池化處理,得到第一池化特徵; performing pooling processing on the corresponding feature of the foreground target of the first component in the first feature map to obtain a first pooling feature;

基於該第一池化特徵對該第一部件進行分類,得到該第一部件的類別和該第一矩形檢測框。 Classify the first part based on the first pooling feature to obtain the category of the first part and the first rectangular detection frame.

在一種可能的實施方式中,在從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像態樣,第二檢測模組83具體用於: In a possible implementation manner, the second detection module 83 is specifically used to:

對該第一部件的圖像進行伽馬校正,得到該第一部件的待分割圖像; performing gamma correction on the image of the first part to obtain the image to be segmented of the first part;

從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part.

在一種可能的實施方式中,在從該第一部件的待分割圖像中分割出該第二部件的圖像態樣,第二檢測模組83具體用於: In a possible implementation manner, in segmenting the image aspect of the second part from the to-be-segmented image of the first part, the second detection module 83 is specifically used for:

對該第一部件的待分割圖像進行特徵提取,得到第二特徵圖; performing feature extraction on the to-be-segmented image of the first component to obtain a second feature map;

基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框; Locating and classifying the second component based on the second feature map, to obtain a second rectangular detection frame of the second component;

按照該第二矩形檢測框從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part according to the second rectangular detection frame.

在一種可能的實施方式中,基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框態樣,第二檢測模組83具體用於: In a possible implementation manner, the second component is located and classified based on the second feature map to obtain a second rectangular detection frame of the second component, and the second detection module 83 is specifically used for:

在該第二特徵圖上進行該第二部件的候選區域座標預測和前、背景分類,確定出該第二部件的前景目標; On the second feature map, the candidate region coordinate prediction and front and background classification of the second component are performed, and the foreground target of the second component is determined;

將該第二部件的前景目標在該第二特徵圖中對應的特徵進行池化處理,得到第二池化特徵; Perform pooling processing on the features corresponding to the foreground target of the second component in the second feature map to obtain second pooling features;

基於該第二池化特徵對該第二部件進行分類,得到該第二部件的類別和該第二矩形檢測框。 Classify the second part based on the second pooling feature to obtain the category of the second part and the second rectangular detection frame.

在一種可能的實施方式中,在基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果態樣,缺陷分類別模組84具體用於: In a possible implementation manner, performing defect classification on the first part and the second part based on the image of the first part and the image of the second part to obtain a form of the defect classification result, the defect classification model Group 84 is specifically used for:

分別對該第一部件的圖像、該第二部件的圖像進行特徵提取; respectively perform feature extraction on the image of the first component and the image of the second component;

基於該第一部件的圖像提取出的特徵對該第一部件進行缺陷類型預測,得到該第一部件的缺陷分類結果;該第一部件的缺陷分類結果包括該第一部件的缺陷類型和該第一部件的類別;以及 Predict the defect type of the first part based on the features extracted from the image of the first part, and obtain the defect classification result of the first part; the defect classification result of the first part includes the defect type of the first part and the defect classification result of the first part. the class of the first part; and

基於該第二部件的圖像提取出的特徵對該第二部件進行缺陷類型預測,得到該第二部件的缺陷分類結果;該第二部件的缺陷分類結果包括該第二部件的缺陷類型和該第二部件的類別。 Predict the defect type of the second part based on the features extracted from the image of the second part, and obtain the defect classification result of the second part; the defect classification result of the second part includes the defect type of the second part and the defect classification result of the second part. The category of the second part.

在一種可能的實施方式中,如圖9所示,該裝置復包括缺陷預警模組85;該缺陷預警模組85具體用於: In a possible implementation, as shown in Figure 9, the device further includes a defect early warning module 85; the defect early warning module 85 is specifically used for:

根據該缺陷分類結果進行缺陷預警。 According to the defect classification result, defect early warning is carried out.

在一種可能的實施方式中,在根據該缺陷分類結果進行缺陷預警態樣,缺陷預警模組85具體用於: In a possible implementation, when performing a defect early warning mode according to the defect classification result, the defect early warning module 85 is specifically used for:

針對該第一部件,輸出該第一部件的缺陷類型、該第一部件在該待檢測圖像中的位置、該第一部件的類別和該第一部件所在的高鐵線路,以進行缺陷預警; For the first part, output the defect type of the first part, the position of the first part in the image to be inspected, the type of the first part, and the high-speed rail line where the first part is located, so as to perform defect warning;

針對該第二部件,確定該第二部件所屬的目標第一部件,輸出該第二部件的缺陷類型、該第二部件在該待檢測圖像中的位置、該第二部件的類別、該目標第一部件在該待檢測圖像中的位置、該目標第一部件的類別和該第二部件所在的高鐵線路,以進行缺陷預警。 For the second part, determine the target first part to which the second part belongs, and output the defect type of the second part, the position of the second part in the image to be inspected, the type of the second part, and the target The position of the first part in the image to be inspected, the type of the target first part, and the high-speed rail line where the second part is located, for defect warning.

在一種可能的實施方式中,在獲取高鐵接觸網的待檢測圖像態樣,圖像獲取模組81具體用於: In a possible implementation manner, in acquiring the to-be-detected image aspect of the high-speed rail catenary, the image acquisition module 81 is specifically used for:

獲取成像設備採集的高鐵接觸網原始圖像; Obtain the original image of the high-speed rail catenary collected by the imaging equipment;

對該高鐵接觸網原始圖像進行過濾,得到該待檢測圖像。 The original image of the high-speed rail catenary is filtered to obtain the image to be detected.

根據本申請的一個實施例,圖8或圖9所示的缺陷檢測裝置中的各個單元可以分別或全部合併為一個或若干個另外的單元來構成,或者其中的某個(些)單元還可以再拆分為功能上更小的多個單元來構成,這可以實現同樣的操作,而不影響本申請的實施例的技術效果的實現。上述單元係基於邏輯功能劃分的,在實際應用中,一個單元的功能也可以由多個單元來實現,或者多個單元的功能由一個單元實現。在本申請的其它實施例中,基於缺陷檢測裝置也可以包括其它單元,在實際應用中,這些功能也可以由其它單元協助實現,並且可以由多個單元協作實現。 According to an embodiment of the present application, each unit in the defect detection apparatus shown in FIG. 8 or FIG. 9 may be respectively or all merged into one or several other units to form, or some unit(s) may also be It is further divided into multiple units with smaller functions, which can realize the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit may also be implemented by multiple units, or the functions of multiple units may be implemented by one unit. In other embodiments of the present application, the defect-based detection device may also include other units, and in practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by cooperation of multiple units.

根據本申請的另一個實施例,可以藉由在包括中央處理單元(central processing unit,CPU)、隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)等處理元件和記憶元件的例如電腦的通用計算設備上運行能夠執行如圖1或圖6中所示的相應方法所關於的各步驟的電腦程式(包括程式碼),來構造如圖8或圖9中所示的缺陷檢測裝置設備,以 及來實現本申請實施例的缺陷檢測方法。該電腦程式可以記載於例如電腦可讀記錄介質上,並藉由電腦可讀記錄介質裝載於上述計算設備中,並在其中運行。 According to another embodiment of the present application, by including a central processing unit (CPU), random access memory (RAM), read-only memory (ROM) A computer program (including program code) capable of executing the steps involved in the corresponding method as shown in FIG. 1 or FIG. 6 is executed on a general-purpose computing device such as a computer, such as a processing element and a memory element, to construct FIG. 8 or FIG. Defect detection device equipment shown in 9 to And to realize the defect detection method of the embodiment of the present application. The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device via the computer-readable recording medium, and executed therein.

基於上述方法實施例和裝置實施例的描述,本申請實施例還提供一種電子設備。請參見圖10,該電子設備至少包括處理器1001、輸入裝置1002、輸出設備1003以及電腦儲存介質1004。其中,電子設備內的處理器1001、輸入裝置1002、輸出設備1003以及電腦儲存介質1004可藉由匯流排或其他方式連接。 Based on the descriptions of the foregoing method embodiments and apparatus embodiments, the embodiments of the present application further provide an electronic device. Referring to FIG. 10 , the electronic device at least includes a processor 1001 , an input device 1002 , an output device 1003 and a computer storage medium 1004 . The processor 1001 , the input device 1002 , the output device 1003 and the computer storage medium 1004 in the electronic device can be connected by bus bars or other means.

電腦儲存介質1004可以儲存在電子設備的記憶體中,該電腦儲存介質1004用於儲存電腦程式,該電腦程式包括程式指令,該處理器1001用於執行該電腦儲存介質1004儲存的程式指令。處理器1001(或稱CPU)係電子設備的計算核心以及控制核心,其適於實現一條或多條指令,具體適於載入並執行一條或多條指令從而實現相應方法流程或相應功能。 The computer storage medium 1004 can be stored in the memory of the electronic device. The computer storage medium 1004 is used for storing a computer program, and the computer program includes program instructions. The processor 1001 is used for executing the program instructions stored in the computer storage medium 1004 . The processor 1001 (or CPU) is a computing core and a control core of an electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement corresponding method processes or corresponding functions.

在一個實施例中,本申請實施例提供的電子設備的處理器1001可以用於進行一系列缺陷檢測處理: In one embodiment, the processor 1001 of the electronic device provided in this embodiment of the present application may be configured to perform a series of defect detection processes:

獲取高鐵接觸網的待檢測圖像; Obtain the image to be inspected of the high-speed rail catenary;

從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像; Segment the image of the first component of the high-speed rail catenary from the to-be-detected image;

從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件; Segment the image of the second part of the high-speed rail catenary from the image of the first part; the second part is a sub-part of the first part;

基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 Defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part, and a defect classification result is obtained.

再一個實施例中,處理器1001執行該從該待檢測圖像中分割出高鐵接觸網的第一部件的圖像,包括: In yet another embodiment, the processor 1001 executes the segmentation of the image of the first component of the high-speed rail contact net from the to-be-detected image, including:

對該待檢測圖像進行特徵提取,得到第一特徵圖; Perform feature extraction on the to-be-detected image to obtain a first feature map;

基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框; Locating and classifying the first component based on the first feature map, to obtain a first rectangular detection frame of the first component;

按照該第一矩形檢測框從該待檢測圖像中分割出該第一部件的圖像。 The image of the first component is segmented from the to-be-detected image according to the first rectangular detection frame.

再一個實施例中,處理器1001執行該基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框,包括: In yet another embodiment, the processor 1001 executes the positioning and classification of the first component based on the first feature map to obtain a first rectangular detection frame of the first component, including:

在該第一特徵圖上進行該第一部件的候選區域座標預測和前、背景分類,確定出該第一部件的前景目標; Predicting the coordinates of the candidate region of the first component and classifying the front and the background on the first feature map, to determine the foreground target of the first component;

將該第一部件的前景目標在該第一特徵圖中對應的特徵進行池化處理,得到第一池化特徵; performing pooling processing on the corresponding feature of the foreground target of the first component in the first feature map to obtain a first pooling feature;

基於該第一池化特徵對該第一部件進行分類,得到該第一部件的類別和該第一矩形檢測框。 Classify the first part based on the first pooling feature to obtain the category of the first part and the first rectangular detection frame.

再一個實施例中,處理器1001執行該從該第一部件的圖像中分割出高鐵接觸網的第二部件的圖像,包括: In yet another embodiment, the processor 1001 executes the segmentation of the image of the second component of the high-speed rail catenary from the image of the first component, including:

對該第一部件的圖像進行伽馬校正,得到該第一部件的待分割圖像; performing gamma correction on the image of the first part to obtain the image to be segmented of the first part;

從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part.

再一個實施例中,處理器1001執行該從該第一部件的待分割圖像中分割出該第二部件的圖像,包括: In yet another embodiment, the processor 1001 executes the segmentation of the image of the second component from the to-be-segmented image of the first component, including:

對該第一部件的待分割圖像進行特徵提取,得到第二特徵圖; performing feature extraction on the to-be-segmented image of the first component to obtain a second feature map;

基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框; Locating and classifying the second component based on the second feature map, to obtain a second rectangular detection frame of the second component;

按照該第二矩形檢測框從該第一部件的待分割圖像中分割出該 第二部件的圖像。 According to the second rectangular detection frame, the segment is segmented from the image to be segmented of the first part. Image of the second part.

再一個實施例中,處理器1001執行該基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框,包括: In yet another embodiment, the processor 1001 executes the positioning and classification of the second component based on the second feature map to obtain a second rectangular detection frame of the second component, including:

在該第二特徵圖上進行該第二部件的候選區域座標預測和前、背景分類,確定出該第二部件的前景目標; On the second feature map, the candidate region coordinate prediction and front and background classification of the second component are performed, and the foreground target of the second component is determined;

將該第二部件的前景目標在該第二特徵圖中對應的特徵進行池化處理,得到第二池化特徵; Perform pooling processing on the features corresponding to the foreground target of the second component in the second feature map to obtain second pooling features;

基於該第二池化特徵對該第二部件進行分類,得到該第二部件的類別和該第二矩形檢測框。 Classify the second part based on the second pooling feature to obtain the category of the second part and the second rectangular detection frame.

再一個實施例中,處理器1001執行該基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果,包括: In yet another embodiment, the processor 1001 performs the defect classification of the first part and the second part based on the image of the first part and the image of the second part to obtain a defect classification result, including:

分別對該第一部件的圖像、該第二部件的圖像進行特徵提取; respectively perform feature extraction on the image of the first component and the image of the second component;

基於該第一部件的圖像提取出的特徵對該第一部件進行缺陷類型預測,得到該第一部件的缺陷分類結果;該第一部件的缺陷分類結果包括該第一部件的缺陷類型和該第一部件的類別;以及 Predict the defect type of the first part based on the features extracted from the image of the first part, and obtain the defect classification result of the first part; the defect classification result of the first part includes the defect type of the first part and the defect classification result of the first part. the class of the first part; and

基於該第二部件的圖像提取出的特徵對該第二部件進行缺陷類型預測,得到該第二部件的缺陷分類結果;該第二部件的缺陷分類結果包括該第二部件的缺陷類型和該第二部件的類別。 Predict the defect type of the second part based on the features extracted from the image of the second part, and obtain the defect classification result of the second part; the defect classification result of the second part includes the defect type of the second part and the defect classification result of the second part. The category of the second part.

再一個實施例中,在基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果之後,處理器1001還用於執行: In yet another embodiment, after the defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part, and a defect classification result is obtained, the processor 1001 is further configured to execute: :

根據該缺陷分類結果進行缺陷預警。 According to the defect classification result, defect early warning is carried out.

再一個實施例中,處理器1001執行該根據該缺陷分類結果進行缺陷預警,包括: In yet another embodiment, the processor 1001 performs the defect early warning according to the defect classification result, including:

針對該第一部件,輸出該第一部件的缺陷類型、該第一部件在該待檢測圖像中的位置、該第一部件的類別和該第一部件所在的高鐵線路,以進行缺陷預警; For the first part, output the defect type of the first part, the position of the first part in the image to be inspected, the type of the first part, and the high-speed rail line where the first part is located, so as to perform defect warning;

針對該第二部件,確定該第二部件所屬的目標第一部件,輸出該第二部件的缺陷類型、該第二部件在該待檢測圖像中的位置、該第二部件的類別、該目標第一部件在該待檢測圖像中的位置、該目標第一部件的類別和該第二部件所在的高鐵線路,以進行缺陷預警。 For the second part, determine the target first part to which the second part belongs, and output the defect type of the second part, the position of the second part in the image to be inspected, the type of the second part, and the target The position of the first part in the image to be inspected, the type of the target first part, and the high-speed rail line where the second part is located, for defect warning.

再一個實施例中,處理器1001執行該獲取高鐵接觸網的待檢測圖像,包括: In yet another embodiment, the processor 1001 executes the acquisition of the to-be-detected image of the high-speed rail catenary, including:

獲取成像設備採集的高鐵接觸網原始圖像; Obtain the original image of the high-speed rail catenary collected by the imaging equipment;

對該高鐵接觸網原始圖像進行過濾,得到該待檢測圖像。 The original image of the high-speed rail catenary is filtered to obtain the image to be detected.

示例性的,上述電子設備可以是電腦、電腦主機、伺服器、雲端伺服器、伺服器集群等,電子設備可包括但不僅限於處理器1001、輸入裝置1002、輸出設備1003以及電腦儲存介質1004,輸入裝置1002可以是鍵盤、觸控式螢幕等,輸出設備1003可以是揚聲器、顯示器、射頻發送器等。所屬技術領域中具有 通常知識者可以理解,該示意圖僅僅是電子設備的示例,並不構成對電子設備的限定,可以包括比圖示更多或更少的部件,或者組合某些部件,或者不同的部件。 Exemplarily, the above-mentioned electronic device may be a computer, a computer host, a server, a cloud server, a server cluster, etc. The electronic device may include but is not limited to a processor 1001, an input device 1002, an output device 1003, and a computer storage medium 1004, The input device 1002 can be a keyboard, a touch screen, etc., and the output device 1003 can be a speaker, a display, a radio frequency transmitter, and the like. in the technical field Those skilled in the art can understand that the schematic diagram is only an example of an electronic device, and does not constitute a limitation on the electronic device, and may include more or less components than the one shown, or combine some components, or different components.

需要說明的是,由於電子設備的處理器1001執行電腦程式時實現上述的缺陷檢測方法中的步驟,因此上述缺陷檢測方法的實施例均適用於該電子設備,且均能達到相同或相似的有益效果。 It should be noted that, since the processor 1001 of the electronic device implements the steps in the above-mentioned defect detection method when executing the computer program, the embodiments of the above-mentioned defect detection method are all applicable to the electronic device, and can achieve the same or similar benefits. Effect.

本申請實施例還提供了一種電腦儲存介質(Memory),該電腦儲存介質係電子設備中的記憶設備,用於存放程式和資料。可以理解的是,此處的電腦儲存介質既可以包括終端中的內置儲存介質,當然也可以包括終端所支援的擴展儲存介質。電腦儲存介質提供儲存空間,該儲存空間儲存了終端的作業系統。並且,在該儲存空間中還存放了適於被處理器1001載入並執行的一條或多條的指令,這些指令可以是一個或一個以上的電腦程式(包括程式碼)。需要說明的是,此處的電腦儲存介質可以是高速RAM記憶體,也可以是非不穩定的記憶體(non-volatile memory),例如至少一個磁碟記憶體;可選的,還可以是至少一個位於遠離該處理器1001的電腦儲存介質。在一個實施例中,可由處理器1001載入並執行電腦儲存介質中存放的一條或多條指令,以實現上述有關缺陷檢測方法的相應步驟。 Embodiments of the present application also provide a computer storage medium (Memory), where the computer storage medium is a memory device in an electronic device and is used to store programs and data. It can be understood that, the computer storage medium here may include both the built-in storage medium in the terminal, and certainly also the extended storage medium supported by the terminal. The computer storage medium provides storage space, and the storage space stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor 1001 are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one A computer storage medium located remote from the processor 1001 . In one embodiment, one or more instructions stored in the computer storage medium can be loaded and executed by the processor 1001 to implement the corresponding steps of the above-mentioned defect detection method.

示例性的,電腦儲存介質的電腦程式包括電腦程式代碼,該電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。該電腦可讀介質可以包括:能夠攜帶該電腦程式代碼的任何實體或裝置、記錄介質、USB硬碟、移動硬碟、磁碟、光碟、電腦記憶體、ROM、RAM、電載波信號、電信信號以及軟體分發介質等。 Exemplarily, the computer program of the computer storage medium includes computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB hard disk, removable hard disk, magnetic disk, optical disk, computer memory, ROM, RAM, electrical carrier signal, telecommunication signal and software distribution media.

需要說明的是,由於電腦儲存介質的電腦程式被處理器執行時實現上述的缺陷檢測方法中的步驟,因此上述缺陷檢測方法的所有實施例均適用於該電腦儲存介質,且均能達到相同或相似的有益效果。 It should be noted that, since the computer program of the computer storage medium is executed by the processor to realize the steps in the above-mentioned defect detection method, all the embodiments of the above-mentioned defect detection method are applicable to the computer storage medium, and can achieve the same or similar beneficial effects.

以上對本申請實施例進行了詳細介紹,本文中應用了具體個例對本申請的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本申請的方法及其核心思想;同時,對於本領域的一般技術人員,依據本申請的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本申請的限制。 The embodiments of the present application are described in detail above, and specific examples are used in this paper to illustrate the principles and implementations of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

S11、S12、S13、S14:步驟 S11, S12, S13, S14: Steps

Claims (12)

一種缺陷檢測方法,其中,該方法包括: A defect detection method, wherein the method comprises: 獲取高鐵接觸網的待檢測圖像; Obtain the image to be inspected of the high-speed rail catenary; 從該待檢測圖像中分割出該高鐵接觸網的第一部件的圖像; Segment the image of the first component of the high-speed rail catenary from the to-be-detected image; 從該第一部件的圖像中分割出該高鐵接觸網的第二部件的圖像;該第二部件為該第一部件的子部件;以及 Segment an image of a second part of the high-speed rail catenary from the image of the first part; the second part is a sub-part of the first part; and 基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果。 Defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part, and a defect classification result is obtained. 根據請求項1所述的方法,其中,該從該待檢測圖像中分割出該高鐵接觸網的第一部件的圖像,包括: The method according to claim 1, wherein the segmentation of the image of the first component of the high-speed rail catenary from the to-be-detected image includes: 對該待檢測圖像進行特徵提取,得到第一特徵圖; Perform feature extraction on the to-be-detected image to obtain a first feature map; 基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框;以及 Locating and classifying the first part based on the first feature map to obtain a first rectangular detection frame of the first part; and 按照該第一矩形檢測框從該待檢測圖像中分割出該第一部件的圖像。 The image of the first component is segmented from the to-be-detected image according to the first rectangular detection frame. 根據請求項2所述的方法,其中,該基於該第一特徵圖對該第一部件進行定位和分類,得到該第一部件的第一矩形檢測框,包括: The method according to claim 2, wherein the first component is located and classified based on the first feature map to obtain a first rectangular detection frame of the first component, comprising: 在該第一特徵圖上進行該第一部件的候選區域座標預測和前、背景分類,確定出該第一部件的前景目標; Predicting the coordinates of the candidate region of the first component and classifying the front and the background on the first feature map, to determine the foreground target of the first component; 將該第一部件的前景目標在該第一特徵圖中對應的特徵進行池化處理,得到第一池化特徵;以及 performing a pooling process on the corresponding features of the foreground target of the first component in the first feature map to obtain a first pooling feature; and 基於該第一池化特徵對該第一部件進行分類,得到該第一部件的類別和該第一矩形檢測框。 Classify the first part based on the first pooling feature to obtain the category of the first part and the first rectangular detection frame. 根據請求項3所述的方法,其中,該從該第一部件的圖像中分割出該高鐵接觸網的第二部件的圖像,包括: The method according to claim 3, wherein segmenting the image of the second component of the high-speed rail contact net from the image of the first component includes: 對該第一部件的圖像進行伽馬校正,得到該第一部件的待分割圖像;以及 Perform gamma correction on the image of the first part to obtain an image to be segmented of the first part; and 從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part. 根據請求項4所述的方法,其中,該從該第一部件的待分割圖像中分割出該第二部件的圖像,包括: The method according to claim 4, wherein segmenting the image of the second part from the image to be segmented of the first part comprises: 對該第一部件的待分割圖像進行特徵提取,得到第二特徵圖; performing feature extraction on the to-be-segmented image of the first component to obtain a second feature map; 基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框;以及 Locating and classifying the second component based on the second feature map to obtain a second rectangular detection frame of the second component; and 按照該第二矩形檢測框從該第一部件的待分割圖像中分割出該第二部件的圖像。 The image of the second part is segmented from the image to be segmented of the first part according to the second rectangular detection frame. 根據請求項5所述的方法,其中,該基於該第二特徵圖對該第二部件進行定位和分類,得到該第二部件的第二矩形檢測框,包括: The method according to claim 5, wherein the second component is located and classified based on the second feature map to obtain a second rectangular detection frame of the second component, comprising: 在該第二特徵圖上進行該第二部件的候選區域座標預測和前、背景分類,確定出該第二部件的前景目標; On the second feature map, the candidate region coordinate prediction and front and background classification of the second component are performed, and the foreground target of the second component is determined; 將該第二部件的前景目標在該第二特徵圖中對應的特徵進行池化處理,得到第二池化特徵;以及 performing a pooling process on the corresponding feature of the foreground target of the second component in the second feature map to obtain a second pooling feature; and 基於該第二池化特徵對該第二部件進行分類,得到該第二部件的類別和該第二矩形檢測框。 Classify the second part based on the second pooling feature to obtain the category of the second part and the second rectangular detection frame. 根據請求項6所述的方法,其中,該基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果,包括: The method according to claim 6, wherein performing defect classification on the first part and the second part based on the image of the first part and the image of the second part to obtain a defect classification result, comprising: 分別對該第一部件的圖像、該第二部件的圖像進行特徵提取; respectively perform feature extraction on the image of the first component and the image of the second component; 基於該第一部件的圖像提取出的特徵對該第一部件進行缺陷類型預測,得到該第一部件的缺陷分類結果;該第一部件的缺陷分類結果包括該第一部件的缺陷類型和該第一部件的類別;以及 Predict the defect type of the first part based on the features extracted from the image of the first part, and obtain the defect classification result of the first part; the defect classification result of the first part includes the defect type of the first part and the defect classification result of the first part. the class of the first part; and 基於該第二部件的圖像提取出的特徵對該第二部件進行缺陷類型預測,得到該第二部件的缺陷分類結果;該第二部件的缺陷分類結果包括該第二部件的缺陷類型和該第二部件的類別。 Predict the defect type of the second part based on the features extracted from the image of the second part, and obtain the defect classification result of the second part; the defect classification result of the second part includes the defect type of the second part and the defect classification result of the second part. The category of the second part. 根據請求項7所述的方法,其中,在基於該第一部件的圖像、該第二部件的圖像對該第一部件、該第二部件進行缺陷分類,得到缺陷分類結果之後,該方法復包括: The method according to claim 7, wherein after the defect classification is performed on the first part and the second part based on the image of the first part and the image of the second part, and a defect classification result is obtained, the method Complex includes: 根據該缺陷分類結果進行缺陷預警。 According to the defect classification result, a defect early warning is performed. 根據請求項8所述的方法,其中,該根據該缺陷分類結果進行缺陷預警,包括: The method according to claim 8, wherein the defect early warning according to the defect classification result includes: 針對該第一部件,輸出該第一部件的缺陷類型、該第一部件在該待檢測圖像中的位置、該第一部件的類別和該第一部件所在的高鐵線路,以進行缺陷預警;以及 For the first part, output the defect type of the first part, the position of the first part in the to-be-detected image, the type of the first part, and the high-speed rail line where the first part is located, so as to perform defect warning; as well as 針對該第二部件,確定該第二部件所屬的目標第一部件,輸出該第二部件的缺陷類型、該第二部件在該待檢測圖像中的位置、該第二部件的類別、該目標第一部件在該待檢測圖像中的位置、該目標第一部件的類別和該第二部件所在的高鐵線路,以進行缺陷預警。 For the second part, determine the target first part to which the second part belongs, and output the defect type of the second part, the position of the second part in the image to be inspected, the type of the second part, and the target The position of the first part in the image to be inspected, the type of the target first part, and the high-speed rail line where the second part is located, for defect warning. 根據請求項1所述的方法,該獲取高鐵接觸網的待檢測圖像,包括: According to the method described in claim 1, the acquisition of the image to be detected of the high-speed rail catenary includes: 獲取成像設備採集的高鐵接觸網原始圖像;以及 Obtain raw images of the high-speed rail catenary captured by imaging equipment; and 對該高鐵接觸網原始圖像進行過濾,得到該待檢測圖像。 The original image of the high-speed rail catenary is filtered to obtain the image to be detected. 一種電子設備,包括輸入裝置和輸出設備,其中,復包括: An electronic device, comprising an input device and an output device, wherein the complex comprises: 處理器,適於實現一條或多條指令;以及 a processor adapted to implement one or more instructions; and 電腦儲存介質,所述電腦儲存介質儲存有一條或多條指令,該一條或多條指令適於由該處理器載入並執行如請求項1-10任一項所述的方法。 A computer storage medium storing one or more instructions adapted to be loaded by the processor and perform the method of any of claims 1-10. 一種電腦儲存介質,其中,該電腦儲存介質儲存有一條或多條指令,該一條或多條指令適於由處理器載入並執行如請求項1-10任一項所述的方法。 A computer storage medium, wherein the computer storage medium stores one or more instructions adapted to be loaded by a processor and perform the method of any one of claims 1-10.
TW109143250A 2020-08-17 2020-12-08 Method and device for defect detection, electronic device, and computer storage medium TW202209256A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010835350.5A CN111986174A (en) 2020-08-17 2020-08-17 Defect detection method, defect detection device, electronic equipment and computer storage medium
CN202010835350.5 2020-08-17

Publications (1)

Publication Number Publication Date
TW202209256A true TW202209256A (en) 2022-03-01

Family

ID=73434113

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109143250A TW202209256A (en) 2020-08-17 2020-12-08 Method and device for defect detection, electronic device, and computer storage medium

Country Status (5)

Country Link
JP (1) JP2022549541A (en)
KR (1) KR20220023327A (en)
CN (1) CN111986174A (en)
TW (1) TW202209256A (en)
WO (1) WO2022036919A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI836744B (en) * 2022-11-22 2024-03-21 金寶電子工業股份有限公司 Image tracking method and image tracking system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986174A (en) * 2020-08-17 2020-11-24 深圳市商汤科技有限公司 Defect detection method, defect detection device, electronic equipment and computer storage medium
CN112712513A (en) * 2021-01-05 2021-04-27 歌尔股份有限公司 Product defect detection method, device, equipment and computer readable storage medium
CN114359286A (en) * 2022-03-21 2022-04-15 湖南应超智能计算研究院有限责任公司 Insulator defect identification method, device and medium based on artificial intelligence
CN115170883B (en) * 2022-07-19 2023-03-14 哈尔滨市科佳通用机电股份有限公司 Brake cylinder piston push rod opening pin loss fault detection method
EP4343691A4 (en) * 2022-07-29 2024-03-27 Contemporary Amperex Technology Co., Limited Training method and training device for defect detection model of battery cell
CN115359307B (en) * 2022-10-24 2023-01-03 成都诺比侃科技有限公司 Big data-based overhead contact system wear-checking defect data management method and system
CN115937212B (en) * 2023-02-08 2023-05-09 成都数之联科技股份有限公司 Glass plate crack detection method, device, equipment and medium
CN116433659B (en) * 2023-06-09 2023-08-29 山东高速工程检测有限公司 Three-section road defect image processing method
CN116660273B (en) * 2023-07-28 2023-10-27 菲特(天津)检测技术有限公司 Chain piece missing detection method in chain and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457713B (en) * 2010-10-29 2014-06-25 西门子公司 Track-side fault detection system, and implementation method and implementation device of same
CN106340019A (en) * 2016-08-31 2017-01-18 西南交通大学 Method for detecting adverse state of high-speed rail overhead line system inclined cable fixing hook
CN106326894B (en) * 2016-08-31 2019-07-12 西南交通大学 A kind of high iron catenary rotation ears transverse direction pin defective mode detection method
CN106504238A (en) * 2016-10-31 2017-03-15 成都交大光芒科技股份有限公司 Railway contact line defect inspection method based on image procossing and convolutional neural networks
CN107168527B (en) * 2017-04-25 2019-10-18 华南理工大学 The first visual angle gesture identification and exchange method based on region convolutional neural networks
US10607119B2 (en) * 2017-09-06 2020-03-31 Kla-Tencor Corp. Unified neural network for defect detection and classification
CN108664997A (en) * 2018-04-20 2018-10-16 西南交通大学 High iron catenary equipotential line defective mode detection method based on cascade Faster R-CNN
CN110610483B (en) * 2019-08-12 2022-02-22 全球能源互联网研究院有限公司 Crack image acquisition and detection method, computer equipment and readable storage medium
CN111462045B (en) * 2020-03-06 2022-07-01 西南交通大学 Method for detecting defects of catenary support assembly
CN111986174A (en) * 2020-08-17 2020-11-24 深圳市商汤科技有限公司 Defect detection method, defect detection device, electronic equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI836744B (en) * 2022-11-22 2024-03-21 金寶電子工業股份有限公司 Image tracking method and image tracking system

Also Published As

Publication number Publication date
KR20220023327A (en) 2022-03-02
JP2022549541A (en) 2022-11-28
CN111986174A (en) 2020-11-24
WO2022036919A1 (en) 2022-02-24

Similar Documents

Publication Publication Date Title
WO2022036919A1 (en) Defect detection method and apparatus, and electronic device and computer storage medium
WO2021135300A1 (en) Product defect detection method, device, and system
Wei et al. Multi-target defect identification for railway track line based on image processing and improved YOLOv3 model
CN105894036B (en) A kind of characteristics of image template matching method applied to mobile phone screen defects detection
Liu et al. A high-precision positioning approach for catenary support components with multiscale difference
Siriborvornratanakul An automatic road distress visual inspection system using an onboard in‐car camera
US8675917B2 (en) Abandoned object recognition using pedestrian detection
CN111242899B (en) Image-based flaw detection method and computer-readable storage medium
JP2013134666A (en) Binary image generation device, classification device, binary image generation method, and classification method
WO2024002187A1 (en) Defect detection method, defect detection device, and storage medium
Doycheva et al. GPU-enabled pavement distress image classification in real time
CN110533046A (en) A kind of image instance dividing method and device
Bao et al. A defect detection system of glass tube yarn based on machine vision
CN113281780B (en) Method and device for marking image data and electronic equipment
CN114359161A (en) Defect detection method, device, equipment and storage medium
JP6725067B2 (en) Digital image processing to remove unwanted parts
CN111931721B (en) Method and device for detecting color and number of annual inspection label and electronic equipment
CN110728229B (en) Image processing method, device, equipment and storage medium
Zhang et al. Recognition of pavement surface crack
Ghosh A modified YOLO model for on-road vehicle detection in varying weather conditions
Molefe et al. Classification of thermite welding defects using local binary patterns and k nearest neighbors
CN114638989A (en) Fault classification visualization method based on target detection and fine-grained identification
KR20210031444A (en) Method and Apparatus for Creating Labeling Model with Data Programming
TWM606740U (en) Defect detection system
Xu A fusion-based approach to deep-learning and edge-cutting algorithms for identification and color recognition of traffic lights