Infrared imaging multi-modal feature fusion detection method and system for transparent component
Through the infrared imaging multi-modal feature fusion detection method, YOLOv8 and multi-modal feature fusion algorithms are used to solve the problems of low accuracy and low efficiency of traditional detection methods in transparent components, and achieve high-precision defect identification and detection.
Patent Information
- Application Number
- CN202410897907.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Traditional machine vision inspection methods are difficult to achieve high accuracy in defect detection of transparent components, and rely on manual operation, which is inefficient and susceptible to interference from human factors. This is mainly due to the high light transmittance of transparent components, which results in unclear defect imaging features.
The multi-modal feature fusion detection method of infrared imaging is used to perform preliminary classification through the YOLOv8 algorithm of the initial inspection infrared image to obtain the suspected defect area, and then the multi-modal feature fusion algorithm of the precise inspection infrared image is used to identify the final defect type, combining wavelet transform and Convolutional neural network extracts static and dynamic features to achieve defect identification.
It improves the accuracy and efficiency of transparent component detection, reduces human interference, achieves high-precision online detection, and enhances optical imaging quality.
Smart Images

Figure CN118747746A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image detection, and in particular to a method and system for infrared imaging multi-modal feature fusion detection of transparent components. Background Art
[0002] In the field of transparent component inspection, the inspection process has its particularity, which is mainly reflected in the high light transmittance and reflectivity of transparent components. Traditional machine vision inspection methods usually rely on point, line or surface light sources to illuminate the object to be inspected, capture defect features through the illumination of the light source, and use algorithms for image processing and analysis. However, for transparent components, due to their material characteristics, most of the light will penetrate directly, resulting in unclear defect imaging features and difficult to be accurately identified. In addition, increasing the intensity of light to improve the imaging effect may cause excessive reflection, which further affects the quality of optical imaging.
[0003] Due to the above problems, traditional machine vision inspection technology is difficult to achieve high-precision online application standards in defect detection of transparent components. At present, the inspection of transparent components mainly relies on manual experience and requires multiple complex processes to ensure the inspection quality, which is not only inefficient but also easily interfered by human factors. Summary of the invention
[0004] The present disclosure provides a method and system for infrared imaging multi-modal feature fusion detection of transparent components, which can solve at least one of the problems mentioned in the background technology. To solve the above technical problems, the present disclosure provides the following technical solutions:
[0005] As one aspect of an embodiment of the present disclosure, a method for infrared imaging multimodal feature fusion detection of a transparent component is provided, characterized in that it comprises the following steps:
[0006] S10, obtaining a preliminary inspection infrared image of the transparent component;
[0007] S20, based on the initial inspection infrared image, using the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located;
[0008] S30, obtaining a precise inspection infrared image of the area where the suspected defect of the transparent component is located;
[0009] S40. Based on the precise inspection infrared image, a multimodal feature fusion algorithm is used to identify the final defect type.
[0010] Optionally, the initial inspection infrared image and / or the fine inspection infrared image are multiple photos taken dynamically multiple times.
[0011] Optionally, the preliminary classification includes the following: scratches, cracks, bubbles, inclusions, dirt and no defects.
[0012] Optionally, the region is a rectangular region, and the rectangular region is defined by the following data: a center X coordinate, a center Y coordinate, a bounding box width, and a bounding box height.
[0013] Optionally, the initial inspection infrared image includes r infrared imaging photos of the first dynamic photography and m infrared imaging photos of the second dynamic photography, wherein the YOLOv8 algorithm is used to perform preliminary classification of the defects of the transparent component, including:
[0014] S201, inputting the r infrared imaging photos taken in the first dynamic shooting into the YOLOv8 algorithm in sequence to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect;
[0015] S202, respectively counting the category IDs of the suspected defects of the r infrared images, if there are no suspected defects, the r infrared images of the current first dynamic shooting are detected to be defect-free; if some or all of them have suspected defects, clustering and merging the center X coordinates and center Y coordinates of the suspected defect category IDs in the r infrared images to achieve information unification of the same suspected defect;
[0016] S203, outputting the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect after cluster merging;
[0017] S204, processing the m infrared imaging photos of the second dynamic photography according to the steps of S201-S203 to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect of the second dynamic photography;
[0018] S205 , combining the category ID, center X coordinate, center Y coordinate, bounding box width, and bounding box height of the suspected defects in the first dynamic photograph and the second dynamic photograph to obtain a preliminary classification.
[0019] Optionally, the cluster merging further comprises the following step: performing an arithmetic average operation on the center X coordinates and the center Y coordinates of a plurality of neighboring 3 to 5 pixels, and taking the maximum value of the bounding box width and the bounding box height.
[0020] Optionally, based on the precise inspection infrared image, a multimodal feature fusion algorithm is used to identify the final defect type, including:
[0021] For defects caused by static factors, wavelet transform is used to obtain high and low frequency components, and directional gradient histogram is used to perform statistical analysis on the precision inspection infrared image to obtain information with obvious gradient changes in the precision inspection infrared image. The information with obvious gradient changes reflects the shape and details of the defect, and obtains static features.
[0022] Aiming at the characteristics of precise inspection infrared images caused by dynamic factors, a convolutional neural network is used to extract features from precise inspection infrared images, and the LSTM model is used to analyze the temporal correlation between adjacent key frames to obtain dynamic evolution characteristics.
[0023] As another aspect of the present disclosure, a transparent component infrared imaging multi-modal feature fusion detection system is provided, comprising:
[0024] A preliminary inspection infrared image acquisition unit, which acquires a preliminary inspection infrared image of the transparent component;
[0025] A preliminary classification unit, based on the preliminary inspection infrared image, uses the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located;
[0026] A precision inspection infrared image acquisition unit is used to acquire a precision inspection infrared image of the area where the suspected defect of the transparent component is located;
[0027] The defect type acquisition unit uses a multimodal feature fusion algorithm to identify the final defect type based on the precise inspection infrared image.
[0028] As another aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the infrared imaging multimodal feature fusion detection method for transparent components when executing the computer program.
[0029] As another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for infrared imaging multimodal feature fusion detection of transparent components is implemented.
[0030] Compared with the prior art, the present disclosure takes into account the characteristics of different modal features in terms of dimension, scale, and spatiotemporal resolution, and it is not possible to simply fuse multimodal features directly. It is necessary to consider not only the matching of information, but also the complementarity and coordination of information. Therefore, the embodiments of the present disclosure realize the alignment of different modal features in the time dimension and the matching in the information dimension, and then realize the fusion of multimodal features, while also achieving feature coordination, realizing information complementarity, and making the detection results more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1This is a flow chart of the infrared imaging multi-modal feature fusion detection method for a transparent component in Embodiment 1 of the present disclosure;
[0032] Figure 2 This is a schematic block diagram of the infrared imaging multi-modal feature fusion detection method for a transparent component in the embodiment of the present disclosure in embodiment 1 of the present disclosure.
[0033] Figure 3 It is a schematic block diagram of the infrared imaging multimodal feature fusion detection system for transparent components in Example 2 of the present disclosure. DETAILED DESCRIPTION
[0034] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0035] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0036] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0037] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not go into details.
[0038] In addition, the present disclosure also provides a transparent component infrared imaging multimodal feature fusion detection device, an electronic device, a computer-readable storage medium, and a program, all of which can be used to implement any transparent component infrared imaging multimodal feature fusion detection method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to the corresponding records in the method part and will not be repeated here.
[0039] The execution subject of the infrared imaging multimodal feature fusion detection method of transparent components can be a computer or other device capable of realizing infrared imaging multimodal feature fusion detection of transparent components. For example, the method can be executed by a terminal device or a server or other processing device, wherein the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the infrared imaging multimodal feature fusion detection method of transparent components can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0040] Example 1
[0041] This embodiment provides a transparent component infrared imaging multi-modal feature fusion detection method, such as Figure 1 As shown, the following steps are included:
[0042] S10, obtaining a preliminary inspection infrared image of the transparent component;
[0043] S20, based on the initial inspection infrared image, using the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located;
[0044] S30, obtaining a precise inspection infrared image of the area where the suspected defect of the transparent component is located;
[0045] S40. Based on the precise inspection infrared image, a multimodal feature fusion algorithm is used to identify the final defect type.
[0046] Based on the above configuration, the embodiment of the present disclosure realizes the alignment of different modal features in the time dimension and the matching in the information dimension, and then realizes the fusion of multimodal features, while also achieving feature coordination and realizing information complementarity.
[0047] The following describes in detail each step of the embodiment of the present disclosure. Figure 2 , which is a schematic block diagram of the infrared imaging multi-modal feature fusion detection method for a transparent component in an embodiment of the present disclosure.
[0048] S10, obtaining a preliminary inspection infrared image of the transparent component;
[0049] Among them, infrared thermal imaging is the process of generating an infrared thermal image by collecting infrared radiation emitted by an object through a lens, screening with a grating, converting with a detector, and subsequent signal processing. The initial inspection station in the infrared imaging detection equipment is used to obtain the initial inspection infrared image of the transparent component, wherein the initial inspection station has an infrared camera that can take pictures of the transparent component to obtain the initial inspection infrared image. Preferably, the initial inspection station can also realize thermal spraying of the transparent component to realize taking pictures of different transparent components after heating;
[0050] The initial inspection infrared images are multiple photos obtained by taking dynamic photos with an infrared camera multiple times.
[0051] S20. Based on the initial inspection infrared image, the YOLOv8 algorithm is used to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located.
[0052] In some embodiments, the preliminary classification includes the following: scratches, cracks, bubbles, inclusions, dirt, and no defects.
[0053] Preferably, the area is a rectangular area, and the rectangular area is defined by the following data: center X coordinate, center Y coordinate, bounding box width and bounding box height
[0054] In some embodiments, the initial inspection infrared image includes r infrared imaging photos of the first dynamic photography and m infrared imaging photos of the second dynamic photography, wherein the YOLOv8 algorithm is used to preliminarily classify the defects of the transparent component, including:
[0055] S201, inputting the r infrared imaging photos taken in the first dynamic shooting into the YOLOv8 algorithm in sequence to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect;
[0056] S202, respectively counting the category IDs of the suspected defects of the r infrared images, if there are no suspected defects, the r infrared images of the current first dynamic shooting are detected to be defect-free; if some or all of them have suspected defects, clustering and merging the center X coordinates and center Y coordinates of the suspected defect category IDs in the r infrared images to achieve information unification of the same suspected defect;
[0057] S203, outputting the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect after cluster merging;
[0058] S204, processing the m infrared imaging photos of the second dynamic photography according to the steps of S201-S203 to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect of the second dynamic photography;
[0059] S205 , combining the category ID, center X coordinate, center Y coordinate, bounding box width, and bounding box height of the suspected defects in the first dynamic photograph and the second dynamic photograph to obtain a preliminary classification.
[0060] S30, obtaining a precise inspection infrared image of the area where the suspected defect of the transparent component is located;
[0061] Among them, a precision inspection station in the infrared imaging detection equipment is used to obtain a precision inspection infrared image of the transparent component, wherein the precision inspection station is also provided with an infrared camera, which can take pictures of the positions of suspected defects obtained during the initial inspection on the transparent component to obtain a precision inspection infrared image. Preferably, the precision inspection infrared image is a plurality of pictures obtained by taking dynamic pictures with the infrared camera multiple times.
[0062] Preferably, the cluster merging further comprises the following step: performing arithmetic average operation on the center X coordinates and center Y coordinates of a plurality of neighboring 3 to 5 pixels, and taking the maximum value of the bounding box width and the bounding box height.
[0063] S40, based on the precise inspection infrared image, a multi-modal feature fusion algorithm is used to identify the final defect type;
[0064] like Figure 2 As shown, for defects caused by static factors, wavelet transform and high-frequency filtering are used to obtain high and low frequency components, and directional gradient histogram is used to perform statistical analysis on the precise inspection infrared image to obtain information with obvious gradient changes in the precise inspection infrared image, wherein the information with obvious gradient changes reflects the shape and details of the defect, and obtains static features;
[0065] Among them, the high and low frequency components obtained are as follows:
[0066]
[0067] φ(t) is the low frequency component, is the high frequency component, k is the translation, h k The coefficients of the low-pass filter, g k It is the coefficient of the high-pass filter, and φ(2t-k) is the low-frequency component after translation.
[0068] Aiming at the precise inspection infrared image features caused by dynamic factors, the convolutional neural network is used to extract features from the precise inspection infrared images, and the LSTM model is used to analyze the temporal correlation between adjacent key frames to obtain dynamic features. Then, the multi-modal feature alignment and multi-modal feature fusion are performed to finally realize the detection and identification of transparent component defects.
[0069] Example 2
[0070] This embodiment provides a transparent component infrared imaging multi-modal feature fusion detection device 100, such as Figure 3 As shown, including:
[0071] A preliminary inspection infrared image acquisition unit 1 is used to acquire a preliminary inspection infrared image of the transparent component;
[0072] A preliminary classification unit 2, based on the preliminary inspection infrared image, uses the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located;
[0073] A precision inspection infrared image acquisition unit 3 is used to acquire a precision inspection infrared image of the area where the suspected defect of the transparent component is located;
[0074] The defect type acquisition unit 4 uses a multi-modal feature fusion algorithm to identify the final defect type based on the precise inspection infrared image.
[0075] In the initial inspection infrared image acquisition unit 1, infrared thermal imaging is the process of generating an infrared thermal image by collecting infrared radiation emitted by an object through a lens, screening with a grating, converting with a detector, and performing subsequent signal processing. The initial inspection station in the infrared imaging detection equipment is used to obtain the initial inspection infrared image of the transparent component, wherein the initial inspection station has an infrared camera that can take a picture of the transparent component to obtain the initial inspection infrared image. Preferably, the initial inspection station can also realize thermal spraying of the transparent component to realize taking pictures of different transparent components after heating;
[0076] The initial inspection infrared images are multiple photos obtained by taking dynamic photos with an infrared camera multiple times.
[0077] In the preliminary classification unit 2, the preliminary classification includes the following: scratches, cracks, bubbles, inclusions, dirt and no defects.
[0078] Preferably, the area is a rectangular area, and the rectangular area is defined by the following data: center X coordinate, center Y coordinate, bounding box width and bounding box height
[0079] In some embodiments, the initial inspection infrared image includes r infrared imaging photos of the first dynamic photography and m infrared imaging photos of the second dynamic photography, wherein the YOLOv8 algorithm is used to preliminarily classify the defects of the transparent component, including:
[0080] Inputting the r infrared imaging photos taken in the first dynamic shooting into the YOLOv8 algorithm in sequence to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect;
[0081] The category IDs of the suspected defects of r infrared images are counted respectively. If there are no suspected defects, the r infrared images taken for the first dynamic shooting are detected to be defect-free. If some or all of them have suspected defects, the center X coordinates and center Y coordinates of the suspected defect category IDs in the r infrared images are clustered and merged to achieve the information unification of the same suspected defect.
[0082] Output the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect after cluster merging;
[0083] Processing the m infrared imaging photos of the second dynamic photography according to steps S201-S203 to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect of the second dynamic photography;
[0084] The category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defects in the first dynamic photo and the second dynamic photo are combined to obtain a preliminary classification.
[0085] In the precision inspection infrared image acquisition unit 3, a precision inspection station in the infrared imaging detection equipment is used to obtain a precision inspection infrared image of the transparent component, wherein the precision inspection station is also provided with an infrared camera, which can take pictures of the positions of suspected defects obtained during the initial inspection on the transparent component to obtain a precision inspection infrared image. Preferably, the precision inspection infrared image is a plurality of pictures obtained by taking dynamic pictures with the infrared camera multiple times.
[0086] Preferably, the cluster merging further comprises the following step: performing arithmetic average operation on the center X coordinates and center Y coordinates of a plurality of neighboring 3 to 5 pixels, and taking the maximum value of the bounding box width and the bounding box height.
[0087] In the defect type acquisition unit 4, for defects caused by static factors, wavelet transform and high-frequency filtering are used to obtain high and low frequency components, and directional gradient histogram is used to perform statistical analysis on the precise inspection infrared image to obtain information with obvious gradient changes in the precise inspection infrared image, wherein the information with obvious gradient changes reflects the shape and details of the defect, and obtains static features;
[0088] Among them, the high and low frequency components obtained are as follows:
[0089]
[0090] φ(t) is the low frequency component, is the high frequency component, k is the translation, h k The coefficients of the low-pass filter, g k It is the coefficient of the high-pass filter, and φ(2t-k) is the low-frequency component after translation.
[0091] Aiming at the precise inspection infrared image features caused by dynamic factors, the convolutional neural network is used to extract features from the precise inspection infrared images, and the LSTM model is used to analyze the temporal correlation between adjacent key frames to obtain dynamic features. Then, the multi-modal feature alignment and multi-modal feature fusion are performed to finally realize the detection and identification of transparent component defects.
[0092] Example 3
[0093] An embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the infrared imaging multi-modal feature fusion detection method for transparent components in Embodiment 1 is implemented.
[0094] Embodiment 3 of the present disclosure is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0095] The electronic device may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device may include, but are not limited to: at least one processor, at least one memory, and a bus connecting different system components (including the memory and the processor).
[0096] The bus includes data bus, address bus and control bus.
[0097] The memory may include volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0098] The memory may also include a program tool having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0099] The processor executes various functional applications and data processing by running computer programs stored in the memory.
[0100] The electronic device can also communicate with one or more external devices (e.g., keyboard, pointing device, etc.). Such communication can be performed through an input / output (I / O) interface. In addition, the electronic device can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter. The network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0101] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0102] Example 4
[0103] An embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, the steps of the infrared imaging multi-modal feature fusion detection method for a transparent component in Embodiment 1 are implemented.
[0104] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0105] In a possible implementation, the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of the transparent component infrared imaging multimodal feature fusion detection method described in Example 1.
[0106] Among them, the program code for executing the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0107] Although embodiments of the present disclosure have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present disclosure, and the scope of the present disclosure is defined by the appended claims and their equivalents.
Claims
1. A transparent component infrared imaging multi-modal feature fusion detection method, characterized in that: The steps include: S10, obtaining a preliminary inspection infrared image of the transparent component; S20, based on the initial inspection infrared image, using the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located; S30, obtaining a precise inspection infrared image of the area where the suspected defect of the transparent component is located; S40. Based on the precise inspection infrared image, a multimodal feature fusion algorithm is used to identify the final defect type.
2. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 1, characterized in that: The initial inspection infrared image and / or the fine inspection infrared image are multiple photos taken dynamically multiple times.
3. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 1 or 2, characterized in that: The preliminary classification includes the following: scratches, cracks, bubbles, inclusions, dirt and no defects.
4. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 1, characterized in that: The region is a rectangular region defined by the following data: a center X coordinate, a center Y coordinate, a bounding box width, and a bounding box height.
5. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 4, characterized in that: The initial inspection infrared images include r infrared imaging photos of the first dynamic photography and m infrared imaging photos of the second dynamic photography, wherein the YOLOv8 algorithm is used to perform preliminary classification of the defects of the transparent component, including: S201, inputting the r infrared imaging photos taken in the first dynamic shooting into the YOLOv8 algorithm in sequence to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect; S202, respectively counting the category IDs of the suspected defects of the r infrared images, if there are no suspected defects, the r infrared images of the current first dynamic shooting are detected to be defect-free; if some or all of them have suspected defects, clustering and merging the center X coordinates and center Y coordinates of the suspected defect category IDs in the r infrared images to achieve information unification of the same suspected defect; S203, outputting the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect after cluster merging; S204, processing the m infrared imaging photos of the second dynamic photography according to the steps of S201-S203 to obtain the category ID, center X coordinate, center Y coordinate, bounding box width and bounding box height of the suspected defect of the second dynamic photography; S205 , combining the category ID, center X coordinate, center Y coordinate, bounding box width, and bounding box height of the suspected defects in the first dynamic photograph and the second dynamic photograph to obtain a preliminary classification.
6. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 5, characterized in that: The cluster merging further comprises the following steps: performing an arithmetic average operation on the center X coordinates and the center Y coordinates of a plurality of neighboring 3 to 5 pixels, and taking the maximum value of the bounding box width and the bounding box height.
7. The infrared imaging multi-modal feature fusion detection method for transparent components according to claim 5, characterized in that: Based on the precise inspection infrared image, a multi-modal feature fusion algorithm is used to identify the final defect type, including: For defects caused by static factors, wavelet transform is used to obtain high and low frequency components, and directional gradient histogram is used to perform statistical analysis on the precision inspection infrared image to obtain information with obvious gradient changes in the precision inspection infrared image. The information with obvious gradient changes reflects the shape and details of the defect, and obtains static features. Aiming at the characteristics of precise inspection infrared images caused by dynamic factors, a convolutional neural network is used to extract features from precise inspection infrared images, and the LSTM model is used to analyze the temporal correlation between adjacent key frames to obtain dynamic evolution characteristics.
8. A transparent component infrared imaging multi-modal feature fusion detection system, characterized in that: include: A preliminary inspection infrared image acquisition unit, which acquires a preliminary inspection infrared image of the transparent component; A preliminary classification unit, based on the preliminary inspection infrared image, uses the YOLOv8 algorithm to preliminarily classify the defects of the transparent component and obtain the area where the suspected defects are located; A precision inspection infrared image acquisition unit is used to acquire a precision inspection infrared image of the area where the suspected defect of the transparent component is located; The defect type acquisition unit uses a multimodal feature fusion algorithm to identify the final defect type based on the precise inspection infrared image.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the infrared imaging multi-modal feature fusion detection method for transparent components described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the transparent component infrared imaging multi-modal feature fusion detection method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Optical and thermal infrared multi-stage imaging detection method and device for defects of transparent component
CN110827256A
Infrared thermal image defect detection and quantification method based on spatial-temporal feature extraction
CN112508853A
Power distribution equipment defect identification method based on infrared image
CN114220084A
Target detection method and device based on multi-modal data dual fusion, equipment and medium
CN114359687A
Two-stage collaborative machine vision detection method for transparent component
CN115950896A
Cited By
System and method for detecting internal defects of basin-type insulator based on pulse infrared thermal waves
CN119643638A
Self-adaptive multi-modal image recognition method and system based on artificial intelligence
CN119848457A
