Industrial defect target detection method, system, device and storage medium

By dividing the industrial product image into regional sub-images and using the target classification model for defect detection, combined with edge coordinate detection and verification, the existing technology solves the problem of slow detection speed of large-size images and large aspect-to-width ratio defects that are easily missed in the existing technology. The problem of false detection is eliminated and more efficient defect detection is achieved.

CN118365647BActive Publication Date: 2024-09-20CHENGDU UNION BIG DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410796537.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-20
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

Existing industrial defect target detection technology is slow to detect larger images, and is prone to missed detection and false detection of defective targets with a large aspect ratio.

Method used

The industrial product image is divided into several regional sub-images using regional division and coding mapping, and the target classification model is used for defect classification detection, combined with edge coordinate detection and verification to achieve accurate detection.

Benefits of technology

It improves the detection speed of large-size images, reduces missed detections and false detections, and ensures accurate detection of defects with large aspect ratios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365647B
    Figure CN118365647B
Patent Text Reader

Abstract

The present invention provides an industrial defect target detection method, system, device and storage medium, which relates to the field of defect detection technology. The method flow is: performing regional division and coding mapping on industrial product images to obtain regional sub-images; inputting the regional sub-images into the target classification model for defect classification to obtain defect classification results; performing edge coordinate detection and edge coordinate verification based on the defect classification results to obtain the final defect detection results. The present invention adopts the regional division method to perform defect classification detection, fully utilizing the excellent defect classification ability of the target classification model and the speed advantage on small-sized images, solving the problem of slow detection speed of the prior art for large-sized images, and performing edge coordinate detection and edge coordinate verification on the basis of defect classification detection, solving the problem of easy missed detection and false detection of industrial defect targets with large aspect ratios in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of defect detection technology, and in particular to an industrial defect target detection method, system, equipment and storage medium. Background Art

[0002] With the rapid development of industrial production, automated production lines have become the main production method for many factories. However, due to equipment aging, operational errors and other reasons, industrial products often have various defects in the production process. If these defects cannot be detected and handled in time, they will lead to a decline in product quality and even affect the normal operation of the entire production line.

[0003] At present, industrial defect target detection is often performed based on computer vision technology. However, there are still some problems with the existing industrial defect target detection technology. First, the computational overhead is relatively large and the detection speed is slow when performing industrial defect target detection on large-sized images. Second, for industrial defect targets with a large aspect ratio, missed detection and false detection are prone to occur. Summary of the invention

[0004] In order to solve the problems of slow detection speed for large-sized images and easy missed detection and false detection of industrial defect targets with large aspect ratios in the existing industrial defect target detection technology, the embodiments of the present invention provide an industrial defect target detection method, system, device and storage medium.

[0005] In a first aspect, an embodiment of the present invention provides an industrial defect target detection method, the method comprising the following steps:

[0006] Performing regional division and coding mapping on industrial product images to obtain several regional sub-images associated with the image;

[0007] Inputting several regional sub-images associated with the image into the target classification model for defect classification respectively, so as to obtain several defect classification results associated with the image;

[0008] Based on several defect classification results associated with the image, edge coordinate detection and edge coordinate verification are performed to obtain the final defect detection result.

[0009] In the above embodiment, the present invention adopts a region division method to perform defect classification detection, which makes full use of the excellent classification ability of the target classification model and the speed advantage on small-size images, and can solve the problem of slow detection speed of larger-size images in the existing industrial defect target detection technology; at the same time, edge coordinate detection and edge coordinate verification are performed on the basis of defect classification detection, thereby realizing accurate detection of defects with a large aspect ratio, which can solve the problem of easy missed detection and false detection of industrial defect targets with a large aspect ratio in the existing industrial defect target detection technology.

[0010] As some optional implementations of the present application, the process of performing region division and code mapping on an industrial product image to obtain a plurality of regional sub-images associated with the image is as follows:

[0011] The corner pixels of the industrial product image are used as the coordinate origin, and a coordinate system about the industrial product image is constructed based on the coordinate origin;

[0012] Based on the coordinate origin, the industrial product image is divided into several regional sub-images by using window sliding method;

[0013] A plurality of regional sub-images of the same industrial product image are coded and mapped, and the regional sub-images are made to use the coordinate system of the industrial product image to obtain a plurality of regional sub-images associated with the image.

[0014] In the above embodiment, the present invention adopts a sliding window method to quickly obtain several regional sub-images of the same shape and size, and by encoding and mapping the correlation of the regional sub-images and unifying the coordinate system of the regional sub-images, it can fully utilize the excellent classification ability of the target classification model and the speed advantage on small-size images while not affecting the subsequent detection of defects with a larger aspect ratio.

[0015] As some optional implementations of the present application, the target classification model needs to be iteratively trained before performing defect classification.

[0016] As some optional implementations of the present application, the process of iterative training of the target classification model is as follows:

[0017] Divide the historical industrial product images into regions to obtain several regional sub-images;

[0018] Annotate the defect type and defect position of the regional sub-image to obtain a defect target frame containing defect type and defect coordinate information;

[0019] The historical region division image containing the defect target frame is input into the target classification model for iterative training to obtain the iteratively trained target classification model.

[0020] In the above-mentioned embodiment, the present invention performs model training on the target classification model so that the target classification model can perform defect classification detection on the regional sub-image.

[0021] As some optional implementations of the present application, the process of inputting several regional sub-images associated with the image into the target classification model for defect classification to obtain several defect classification results associated with the image is as follows:

[0022] Inputting several region-divided images associated with the image into the target classification model for defect classification respectively, so as to obtain several defect target frames containing defect type and defect coordinate information;

[0023] Several defect target frames containing defect types and defect coordinate information are coded and mapped, and the defect coordinate information of the defect target frames uses the coordinate system of the corresponding industrial product image to obtain several defect classification results associated with the image.

[0024] In the above-mentioned embodiment, the present invention can perform fast and accurate defect classification detection on the regional sub-image through the target classification model.

[0025] As some optional implementations of the present application, the process of edge coordinate detection based on several defect classification results associated with the image is as follows:

[0026] Perform edge coordinate detection on several defect classification results associated with the image to determine whether the edge coordinate of a single defect is located at the regional division edge of the regional sub-image;

[0027] If the edge coordinates of the defect are located at the region division edge of the region sub-image, then an edge coordinate set around the region division edge is acquired to obtain a plurality of edge coordinate sets associated with the image.

[0028] In the above embodiment, the present invention can screen out defective targets that may have a large aspect ratio by performing edge coordinate detection on the defect classification results.

[0029] As some optional implementations of the present application, the process of edge coordinate verification based on several defect classification results associated with the image is as follows:

[0030] Perform edge coordinate verification on several edge coordinate sets associated with the image to determine whether the edge coordinates of any two defects are continuous;

[0031] If the edge coordinates of any two defects are discontinuous, the defect target frame corresponding to the defect is used as the final defect detection result;

[0032] If the edge coordinates of any two defects are continuous, the defect coordinate information corresponding to the two defects will be merged, and a new defect target frame will be generated based on the merged defect coordinate information, and the new defect target frame will be used as the final defect detection result.

[0033] In the above embodiment, the present invention can detect defect targets with a large aspect ratio by detecting the connectivity of defects corresponding to regional sub-images, and then correct the defect classification results of block detection, which can solve the problem of missed detection and false detection of industrial defect targets with a large aspect ratio in existing industrial defect target detection technologies.

[0034] In a second aspect, the present invention provides an industrial defect target detection system, the functions of the system correspond to the steps of the method, and the system comprises:

[0035] An image division unit, the image division unit is used to perform region division and code mapping on the industrial product image to obtain a plurality of region sub-images associated with the image;

[0036] A defect classification unit, wherein the defect classification unit is used to input a plurality of regional sub-images associated with the image into a target classification model for defect classification, so as to obtain a plurality of defect classification results associated with the image;

[0037] A defect detection unit performs edge coordinate detection and edge coordinate verification based on a plurality of defect classification results associated with the image to obtain a final defect detection result.

[0038] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the industrial defect target detection method.

[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the industrial defect target detection method.

[0040] The beneficial effects of the present invention are as follows: the present invention adopts a regional division method to perform defect classification detection, which makes full use of the excellent classification ability of the target classification model and the speed advantage on small-size images, and can solve the problem of slow detection speed of larger-size images in the existing industrial defect target detection technology; at the same time, edge coordinate detection and edge coordinate verification are performed on the basis of defect classification detection, thereby realizing accurate detection of defects with a large aspect ratio, which can solve the problem of easy missed detection and false detection of industrial defect targets with a large aspect ratio in the existing industrial defect target detection technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 is a schematic diagram of the computer device structure of the hardware operating environment described in the embodiment of the present invention;

[0043] Figure 2 is a flow chart of the industrial defect target detection method according to an embodiment of the present invention;

[0044] Figure 3 is a schematic diagram of the region division of the industrial product image according to the embodiment of the present invention;

[0045] Figure 4 It is a system block diagram of the industrial defect target detection system described in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] In order to solve the problems of slow detection speed for large-sized images and easy missed detection and false detection of industrial defect targets with large aspect ratios in existing industrial defect target detection technologies, the present application provides an industrial defect target detection method, system, device and storage medium. Before introducing the specific technical solution of the present application, the hardware operating environment involved in the embodiment of the present application is first introduced.

[0048] See also Figure 1 , Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.

[0049] like Figure 1As shown, the computer device may include: a processor, such as a central processing unit (CPU), a communication bus, a user interface, a network interface, and a memory. Among them, the communication bus is used to realize the connection and communication between these components. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), and optionally, the user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity interface). The memory may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory may optionally be a storage device independent of the aforementioned processor.

[0050] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0051] like Figure 1 As shown, the memory as a storage medium may include an operating system module, a network communication module, a user interface module and a data storage module.

[0052] exist Figure 1 In the computer device shown, the network interface is mainly used for data communication with the network server; the user interface is mainly used for data interaction with the user; the processor and memory in the computer device of the present application can be set in the computer device, and the computer device calls the industrial defect target detection system stored in the data storage module in the memory through the processor, and executes the industrial defect target detection method provided in the embodiment of the present application.

[0053] Based on the hardware environment of the aforementioned embodiment, the embodiment of the present application provides an industrial defect target detection method, please refer to Figure 2 , Figure 2 The flowchart of the industrial defect target detection method is as follows:

[0054] (1) Perform regional division and coding mapping on industrial product images to obtain several regional sub-images associated with the image.

[0055] In an embodiment of the present invention, the process of performing region division and code mapping on an industrial product image is as follows:

[0056] (1.1) The corner pixel of the industrial product image is used as the coordinate origin, and a coordinate system about the industrial product image is constructed based on the coordinate origin; for example, the lower left corner pixel of the industrial product image is used as the coordinate origin , and based on the coordinate origin An xy coordinate system is established. At the same time, the origin of the coordinate system can also correspond to the lower right corner pixel, the upper left corner pixel, and the upper right corner pixel of the industrial product image.

[0057] (1.2) Based on the coordinate origin, the industrial product image is divided into several regional sub-images by using a window sliding method. For example, the lower left corner pixel of the industrial product image is used as the coordinate origin. , then the window is slid to the right and upward to obtain several regional sub-images, where the coordinates of the several regional sub-images are expressed as: [ ;

[0058] m represents the length of the regional sub-image, n represents the width of the regional sub-image, k represents the number of columns of the regional sub-image, and w represents the number of rows of the regional sub-image. The length m of the regional sub-image, the width n of the regional sub-image, the number k of columns of the regional sub-image, and the number w of rows of the regional sub-image can be set according to specific circumstances, and the embodiment of the present invention does not limit this. Figure 3 , Figure 3 This is a schematic diagram of area division with 3 rows and 3 columns.

[0059] (1.3) Encoding and mapping several regional sub-images of the same industrial product image, and making the regional sub-images continue to use the coordinate system of the industrial product image, so as to obtain several regional sub-images associated with the image, that is, the several regional sub-images obtained by dividing the same industrial product image area are distinguished by the same coding symbol, and the corresponding coordinate information of the regional sub-images continues to use the coordinate information of the original industrial product image, that is, the coordinate information remains unchanged.

[0060] (2) Several regional sub-images associated with the image are respectively input into the target classification model for defect classification to obtain several defect classification results associated with the image.

[0061] In the embodiment of the present invention, the target classification model needs to be iteratively trained before performing defect classification. Specifically, the process of iterative training of the target classification model is as follows:

[0062] (2.1) Label the defect type and defect location of historical industrial product images to obtain a defect target box containing the defect type and defect coordinate information.

[0063] (2.2) Inputting the historical region division image containing the defect target frame into the target classification model for iterative training to obtain an iteratively trained target classification model, wherein the target classification model includes but is not limited to YOLO, ResNet, and MobileNet.

[0064] In an embodiment of the present invention, the process of inputting several regional sub-images associated with an image into a target classification model for defect classification is as follows:

[0065] (2.3) The images of several region divisions associated with the image are respectively input into the iteratively trained target classification model for defect classification to obtain several defect target boxes containing defect type and defect coordinate information.

[0066] (2.4) Encode and map a number of defect target frames containing defect types and defect coordinate information, and make the defect coordinate information of the defect target frames follow the coordinate system of the corresponding industrial product image to obtain a number of defect classification results associated with the image, wherein the coordinate information of the number of defect classification results associated with the image is the coordinate information in the original xy coordinate system of the same industrial product image, and therefore the coordinate information of different defect classification results is interrelated.

[0067] (3) Perform edge coordinate detection and edge coordinate verification based on several defect classification results associated with the image to obtain the final defect detection result.

[0068] In an embodiment of the present invention, the process of edge coordinate detection based on several defect classification results associated with an image is as follows:

[0069] (3.1) Perform edge coordinate detection on several defect classification results associated with the image to determine whether the edge coordinate of a single defect is located at the edge of the region division of the regional sub-image.

[0070] (3.2) If the edge coordinates of the defect are located at the region dividing edge of the region sub-image, then the edge coordinate set around the region dividing edge is obtained to obtain several edge coordinate sets associated with the image; if the edge coordinates of the defect are not located at the region dividing edge of the region sub-image, then the defect target box corresponding to the defect is used as the final defect detection result.

[0071] Specifically, whether the edge coordinates of the defect are located at the region division edge of the region sub-image may be determined by detecting whether there is coordinate information of the defect classification result within a fixed width range of the region division edge.

[0072] In an embodiment of the present invention, the process of edge coordinate verification based on several defect classification results associated with an image is as follows:

[0073] (3.3) Performing edge coordinate verification on several edge coordinate sets associated with the image to determine whether the edge coordinates of any two defects are continuous. Specifically, the coordinate information of the edge coordinate set can be translated with a fixed step length, and then it can be determined whether the edge coordinates of the two defects overlap. If there is overlap, the edge coordinates of any two defects are determined to be continuous.

[0074] (3.4) If the edge coordinates of any two defects are discontinuous, it is considered that the two defects will not be connected to form a defect with a large aspect ratio, so the defect target box corresponding to the defect is taken as the final defect detection result.

[0075] (3.5) If the edge coordinates of any two defects are continuous, the defect coordinate information corresponding to the two defects will be merged, and a new defect target frame will be generated based on the merged defect coordinate information, and the new defect target frame will be used as the final defect detection result.

[0076] In summary, the present invention adopts the method of area division to perform defect classification detection, which makes full use of the excellent classification ability of the target classification model and the speed advantage on small-size images, and can solve the problem of slow detection speed of larger-size images in the existing industrial defect target detection technology; at the same time, edge coordinate detection and edge coordinate verification are performed on the basis of defect classification detection, so as to realize accurate detection of defects with a large aspect ratio, which can solve the problem of easy missed detection and false detection of industrial defect targets with a large aspect ratio in the existing industrial defect target detection technology.

[0077] In addition, in one embodiment, based on the same inventive concept as the above embodiment, the embodiment of the present invention provides an industrial defect target detection system, and the system corresponds to the method of embodiment 1 one by one, please refer to Figure 4 , Figure 4 The structural block diagram of the industrial defect target detection system is as follows:

[0078] An image division unit, the image division unit is used to perform region division and code mapping on the industrial product image to obtain a plurality of region sub-images associated with the image;

[0079] A defect classification unit, wherein the defect classification unit is used to input a plurality of regional sub-images associated with the image into a target classification model for defect classification, so as to obtain a plurality of defect classification results associated with the image;

[0080] A defect detection unit performs edge coordinate detection and edge coordinate verification based on a plurality of defect classification results associated with the image to obtain a final defect detection result.

[0081] It should be noted that each unit in the industrial defect target detection system in this embodiment corresponds one-to-one to each step in the industrial defect target detection method in the aforementioned embodiment. Therefore, the specific implementation method and technical effects achieved by this embodiment can refer to the implementation method of the aforementioned industrial defect target detection method, which will not be repeated here.

[0082] In addition, in one embodiment, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored in the memory, and the computer program implements the method in the aforementioned embodiment when executed by the processor.

[0083] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and the computer program implements the method in the aforementioned embodiment when executed by a processor.

[0084] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0085] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0086] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0087] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0088] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0089] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0091] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for detecting industrial defect targets, characterized in that: The method comprises the following steps: Performing regional division and coding mapping on industrial product images to obtain several regional sub-images associated with the image; Inputting several regional sub-images associated with the image into the target classification model for defect classification respectively, so as to obtain several defect classification results associated with the image; Perform edge coordinate detection and edge coordinate verification based on several defect classification results associated with the image to obtain the final defect detection result; Among them, the process of edge coordinate detection is as follows: Perform edge coordinate detection on several defect classification results associated with the image to determine whether the edge coordinate of a single defect is located at the regional division edge of the regional sub-image; that is, determine whether the edge coordinate of the defect is located at the regional division edge of the regional sub-image by detecting whether there is coordinate information of the defect classification result within a fixed width range of the regional division edge; If the edge coordinates of the defect are located at the region division edge of the region sub-image, then an edge coordinate set around the region division edge is obtained to obtain a plurality of edge coordinate sets associated with the image; Among them, the process of edge coordinate verification is as follows: Perform edge coordinate verification on several edge coordinate sets associated with the image to determine whether the edge coordinates of any two defects are continuous; that is, perform a fixed step-length translation on the coordinate information of the edge coordinate set, and then determine whether the edge coordinates of the two defects overlap. If there is overlap, the edge coordinates of any two defects are determined to be continuous; If the edge coordinates of any two defects are discontinuous, the defect target frame corresponding to the defect is used as the final defect detection result; If the edge coordinates of any two defects are continuous, the defect coordinate information corresponding to the two defects will be merged, and a new defect target frame will be generated based on the merged defect coordinate information, and the new defect target frame will be used as the final defect detection result.

2. The industrial defect target detection method according to claim 1, characterized in that: The process of dividing the industrial product image into regions and coding mapping to obtain several regional sub-images associated with the image is as follows: The corner pixels of the industrial product image are used as the coordinate origin, and a coordinate system about the industrial product image is constructed based on the coordinate origin; Based on the coordinate origin, the industrial product image is divided into several regional sub-images by using window sliding method; A plurality of regional sub-images of the same industrial product image are coded and mapped, and the regional sub-images are made to use the coordinate system of the industrial product image to obtain a plurality of regional sub-images associated with the image.

3. The industrial defect target detection method according to claim 1, characterized in that: Before the target classification model performs defect classification, iterative training is required.

4. The industrial defect target detection method according to claim 3, characterized in that: The process of iterative training of the target classification model is as follows: Divide the historical industrial product images into regions to obtain several regional sub-images; Annotate the defect type and defect position of the regional sub-image to obtain a defect target frame containing defect type and defect coordinate information; The historical region division image containing the defect target frame is input into the target classification model for iterative training to obtain the iteratively trained target classification model.

5. The industrial defect target detection method according to claim 1, characterized in that: The process of inputting several regional sub-images associated with the image into the target classification model for defect classification to obtain several defect classification results associated with the image is as follows: Inputting several region-divided images associated with the image into the target classification model for defect classification respectively, so as to obtain several defect target frames containing defect type and defect coordinate information; A plurality of defect target frames including defect types and defect coordinate information are coded and mapped, and the defect coordinate information of the defect target frames follows the coordinate system of the corresponding industrial product image to obtain a plurality of defect classification results associated with the image.

6. An industrial defect target detection system, characterized in that: The system comprises: An image division unit, the image division unit is used to perform region division and code mapping on the industrial product image to obtain a plurality of regional sub-images associated with the image; A defect classification unit, wherein the defect classification unit is used to input a plurality of regional sub-images associated with the image into a target classification model for defect classification, so as to obtain a plurality of defect classification results associated with the image; A defect detection unit, wherein the defect detection unit performs edge coordinate detection and edge coordinate verification based on a plurality of defect classification results associated with the image to obtain a final defect detection result; Among them, the process of edge coordinate detection is as follows: Perform edge coordinate detection on several defect classification results associated with the image to determine whether the edge coordinate of a single defect is located at the regional division edge of the regional sub-image; that is, determine whether the edge coordinate of the defect is located at the regional division edge of the regional sub-image by detecting whether there is coordinate information of the defect classification result within a fixed width range of the regional division edge; If the edge coordinates of the defect are located at the region division edge of the region sub-image, then an edge coordinate set around the region division edge is obtained to obtain a plurality of edge coordinate sets associated with the image; Among them, the process of edge coordinate verification is as follows: Perform edge coordinate verification on several edge coordinate sets associated with the image to determine whether the edge coordinates of any two defects are continuous; that is, perform a fixed step-length translation on the coordinate information of the edge coordinate set, and then determine whether the edge coordinates of the two defects overlap. If there is overlap, the edge coordinates of any two defects are determined to be continuous; If the edge coordinates of any two defects are discontinuous, the defect target frame corresponding to the defect is used as the final defect detection result; If the edge coordinates of any two defects are continuous, the defect coordinate information corresponding to the two defects will be merged, and a new defect target frame will be generated based on the merged defect coordinate information, and the new defect target frame will be used as the final defect detection result.

7. A computer 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, an industrial defect target detection method as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for detecting industrial defect targets described in any one of claims 1 to 5 is implemented.