Methods for testing and classifying surface defects on the inspected object, management methods, steel material production methods, modeling methods, tools for testing surface defects on the inspected object, and steel material production equipment.

VN10062371BActive Publication Date: 2026-10-16JFE STEEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202400464
Authority / Receiving Office
VN · VN
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-07-08
Filing Date
2022-06-20
Publication Date
2026-10-16
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

Current surface inspection methods in the steel industry, particularly using convolutional neural networks, face challenges with high calculation requirements and inefficiencies in processing large numbers of defect candidate parts, leading to non-detection and over-detection issues, which can result in defective products and reduced production efficiency.

Method used

An inspection method that employs a two-stage defect determination process, using a first defect determination based on conventional machine learning for initial screening and a second defect determination using a convolutional neural network for detailed classification, to improve detection accuracy and reduce processing time.

Benefits of technology

This approach enhances detection accuracy while shortening processing time by limiting the number of defect candidates for the convolutional neural network, thereby reducing errors and maintaining production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202400464_0
    Figure VN1202400464_0
Patent Text Reader

Abstract

The invention proposes a method for inspecting, classifying, managing, and producing steel materials, a method for creating learning models, learning models, inspection instruments, and equipment for producing steel materials that can both improve the accuracy of detection and reduce processing time. The inspection method is a method for detecting surface defects on the test object, consisting of: an image capture step (S1) to obtain a surface image of the test object; an extraction step (S3) to extract candidate parts with defects from the image; a screening step (S4) to screen the extracted candidate parts with defects by first defect detection; and an inspection step (S5) to detect harmful or harmless surface defects by second defect detection using a convolutional neural network, the second defect detection targeting the candidate parts with defects after screening by first defect detection.
Need to check novelty before this filing date? Find Prior Art

Description

Inspection method, classification method, management method, steel manufacturing method, learning model generation method, learning model, inspection device, and steel manufacturing equipment

[0001] The present disclosure relates to an inspection method, a classification method, a management method, a steel manufacturing method, a learning model generation method, a learning model, an inspection device, and steel manufacturing equipment.

[0002] In the manufacturing industry, defects on the surface of a product can result in a defective product in terms of appearance and strength. Surface inspection to ensure that defects are absent is extremely important to prevent the release of defective products. For example, in the steel industry, an optical surface inspection device using a line sensor and a line light source, as disclosed in Patent Document 1, has been introduced to automatically extract defects, determine whether they are harmful or harmless, and classify the type of defect. Patent Document 1 discloses a surface inspection device that optically detects surface defects using feature quantities. The feature quantities include, for example, feature quantities based on the size of the defect, feature quantities based on the type of defect, feature quantities based on the grade of the defect, etc.

[0003] Japanese Patent Application Publication No. 09-257723

[0004] Convolutional neural networks, which have been increasingly used in image inspection in recent years, have higher discrimination performance than general machine learning methods. General machine learning methods are machine learning methods that use features, such as regression models, decision tree models, random forests, Bayesian estimation models, Gaussian mixture models, and boosted versions of these machine learning models. Regression models include linear regression, logistic regression, multiple regression, support vector machines, and nonlinear kernels.

[0005] The machine learning method described in Patent Document 1 does not have the same discrimination performance as a convolutional neural network, and it often produces non-detections, where harmful defect candidates are mistakenly determined to be harmless, and over-detections, where harmless defect candidates are mistakenly determined to be harmful. Such non-detections and over-detections can lead to the outflow of defective products and reduce the efficiency of the entire process by requiring re-determination in a post-inspection process as a countermeasure. Therefore, it is necessary to reduce such non-detections and over-detections.

[0006] As described above, convolutional neural networks have high discrimination performance and can reduce the occurrence of undetected and overdetected defects. However, convolutional neural networks have a problem in that they require a large amount of calculation and are unable to process a large number of defect candidate portions at once. For example, when used to inspect or classify steel materials continuously flowing through a production line, in order to realize continuous judgment using a convolutional neural network that requires a large amount of calculation, it has been necessary to parallelize expensive processing equipment. Alternatively, it has been necessary to take measures such as reducing production efficiency for the inspection.

[0007] The purpose of the present disclosure, made in consideration of these circumstances, is to provide an inspection method, classification method, management method, steel manufacturing method, learning model generation method, learning model, inspection device, and steel manufacturing equipment that can achieve both improved detection accuracy and reduced processing time.

[0008] An inspection method according to one embodiment of the present disclosure is an inspection method for detecting surface defects of an inspection object, and includes: an imaging step of acquiring an image of the surface of the inspection object; an extraction step of extracting defect candidate portions from the image; a selection step of selecting the extracted defect candidate portions by a first defect judgment; and an inspection step of detecting whether the surface defects are harmful or harmless by a second defect judgment using a convolutional neural network, targeting the defect candidate portions selected by the first defect judgment.

[0009] A classification method according to one embodiment of the present disclosure is a classification method for classifying surface defects of an object to be inspected, and includes: an imaging step of acquiring an image of the surface of the object to be inspected; an extraction step of extracting defect candidate portions from the image; a selection step of selecting the extracted defect candidate portions by a first defect judgment; and a classification step of classifying the defect candidate portions selected by the first defect judgment into at least one of the types and grades of the surface defects by a second defect judgment using a convolutional neural network.

[0010] A management method according to an embodiment of the present disclosure includes a management step of classifying the inspection objects based on at least one of the type and grade of the surface defects classified by the above classification method.

[0011] A method for manufacturing steel material according to one embodiment of the present disclosure includes a manufacturing step for manufacturing steel material, and an inspection step in the above-mentioned inspection method, wherein the inspection step inspects the steel material manufactured in the manufacturing step.

[0012] A method for manufacturing steel material according to one embodiment of the present disclosure includes a manufacturing step for manufacturing steel material, and the management step in the above-mentioned management method, wherein the management step inspects the steel material manufactured in the manufacturing step.

[0013] A method for generating a learning model according to one embodiment of the present disclosure is a method for generating a learning model used in an inspection method for detecting surface defects of an inspection object, and includes a step of generating the learning model by a convolutional neural network using training data in which defect candidate portions selected by a first defect judgment for a previously acquired image of the inspection object are used as input performance data, and which outputs performance data indicating whether the input performance data is harmful or harmless.

[0014] The learning model according to one embodiment of the present disclosure is generated by the above-described method for generating a learning model.

[0015] An inspection device according to one embodiment of the present disclosure is an inspection device that detects or classifies surface defects of an object to be inspected, and includes: an imaging device that acquires an image of the surface of the object to be inspected; and a calculation device that extracts defect candidate portions from the image, selects the extracted defect candidate portions by a first defect judgment, and performs a defect judgment of the surface defects by a second defect judgment using a convolutional neural network for the defect candidate portions selected by the first defect judgment, wherein the defect judgment of the surface defects performed by the second defect judgment is detection of whether the surface defects are harmful or harmless, or at least one classification of the type and grade of the surface defects.

[0016] A steel manufacturing facility according to one embodiment of the present disclosure comprises: manufacturing facilities for manufacturing steel; and the above-mentioned inspection device, wherein the inspection device inspects the steel manufactured by the manufacturing facilities.

[0017] According to the present disclosure, it is possible to provide an inspection method, classification method, management method, steel manufacturing method, learning model generation method, learning model, inspection device, and steel manufacturing equipment that can achieve both improved detection accuracy and reduced processing time.

[0018] Fig. 1 is a diagram showing an example of a processing flow for surface inspection, Fig. 2 is a diagram showing an example of a generation flow for a judger, and Fig. 3 is a diagram showing an example of the configuration of an inspection device according to an embodiment.

[0019] An inspection method according to an embodiment of the present disclosure will be described below with reference to the drawings.

[0020] (Inspection Method) The inspection method according to this embodiment detects surface defects of an inspection object. Fig. 1 shows an example of a process flow for surface inspection performed by the inspection method according to this embodiment. First, an image of the surface of the inspection object is acquired (step S1, imaging step). In the examples described below, the inspection object is a steel plate, but is not limited to a steel plate.

[0021] After the imaging step, preprocessing is performed on the image (step S2). The preprocessing is performed to remove disturbances from the obtained image and make it easier to detect defect signals (signals indicating surface defects). The preprocessing may include, for example, extraction of an inspection area, brightness unevenness correction, frequency filtering, differential filtering, etc.

[0022] After the preprocessing, a defect candidate extraction process is performed to extract defect candidate portions from the image (step S3, extraction step). The defect candidate extraction process is a process in which a portion (defect candidate portion) with a different brightness is extracted compared to the surrounding portion using threshold processing, and then labeled. Here, in this embodiment, the defect candidate portion is extracted using threshold processing, but other processes may be used as long as the defect candidate portion can be identified. Furthermore, the entire image may be extracted as the defect candidate portion.

[0023] After the extraction step, a first defect determination process is performed to screen the extracted defect candidate portions using a first defect determination (step S4, screening step). Unlike the second defect determination described below, the first defect determination does not use a convolutional neural network. The first defect determination reduces the defect candidate portions to a level that can be processed by the second defect determination described below. In this embodiment, the first defect determination performs screening to remove defect candidate portions that are reliably determined to be harmless.

[0024] The first defect determination may, for example, extract feature amounts from an image and select defect candidate portions using the feature amounts. As in an embodiment described below, the first defect determination may select defect candidate portions using a learning model generated by machine learning using feature amounts extracted from past images of the surface of the inspection object. Details of the learning model used in the first defect determination will be described later.

[0025] After the sorting step, a second defect determination process is performed on the defect candidate portions selected by the first defect determination process, in which a second defect determination process using a convolutional neural network is used to detect whether the surface defect is harmful or harmless (step S5, inspection step). Here, a harmless surface defect is a surface defect that will not cause the inspection target to be deemed a defective product. Harmless surface defects include, for example, defects that were detected as signals with physical characteristics different from those of the majority of healthy portions and were considered defect candidates, but that did not actually have a negative impact on quality and were not defects. Harmless surface defects also include, for example, defects that were once defects but were sufficiently small and met quality standards. Harmful surface defects refer to surface defects excluding harmless surface defects. Details of the learning model, a convolutional neural network, used in the second defect determination process will be described later.

[0026] In another embodiment, the second defect determination process may be performed as a process for classifying surface defects of the inspection object. That is, instead of the above-described inspection step, the second defect determination process may be performed after the sorting step, targeting the defect candidate portions selected by the first defect determination process (step S5, classification step). The second defect determination process classifies at least one of the type and grade of the surface defect by second defect determination using a convolutional neural network. In this case, a classification method is realized that classifies the surface defects of the inspection object in more detail than the inspection method (detection of harmful or harmless defects). Such a classification method may be applied to a management method including a management step of classifying the inspection object based on at least one of the type and grade of the detected surface defects of the inspection object. Furthermore, when the inspection object is a steel material such as a steel plate, as in the example described below, a steel material manufacturing method can be realized. The steel material manufacturing method includes a manufacturing step of manufacturing a steel material and the above-described inspection step or management step, and the inspection step or management step manages the steel material manufactured in the manufacturing step as the inspection object. Here, the manufacturing step of manufacturing the steel material may be configured to include known processes. For example, when the inspection object is a steel plate, the manufacturing steps may include a rough rolling process, a finish rolling process, a cooling process, and the like.

[0027] The result of the second defect determination process is output as defect information (step S6). The defect determination may be detection of harmful or harmless surface defects, or classification of at least one of the types and grades of the surface defects. The output defect information may be used for quality control of the inspection object in the management method and steel manufacturing method, as described above.

[0028] (Inspection Apparatus) The above inspection method is performed by, for example, an inspection apparatus. FIG. 3 is a diagram showing an example configuration of an inspection apparatus according to an embodiment. The inspection apparatus is controlled by a host system (for example, a process computer that manages the manufacturing process of the inspection target). The inspection apparatus may be provided as one of the devices constituting the manufacturing equipment of the inspection target.

[0029] The inspection apparatus may be configured to include, for example, a computing device and a camera. The inspection apparatus may also include a machine learning device, if necessary. The camera is an example of an imaging device and captures an image of the surface of an inspection object (a steel plate in the example of FIG. 3 ) illuminated with light from a light source. The computing device performs preprocessing of the image, defect candidate extraction processing, first defect judgment processing, and second defect judgment processing. The computing device may also output data related to these processes to a host system. The machine learning device acquires training data from the computing device and generates a learning model (second judger) to be used in the second defect judgment. When a learning model is used in the first defect judgment, the machine learning device also acquires training data from the computing device and generates a learning model (first judger) to be used in the first defect judgment. Here, when a learning model is not used in the first defect judgment, the first judger may be manually designed. The generated first and second judgers may be stored in a storage unit accessible by the computing device and read from the storage unit by the computing device when the first and second defect judgments are performed.

[0030] (Method of generating a judger) Fig. 2 is a diagram showing an example of a flow for generating a judger. In Fig. 2, the same process flow for surface inspection as in Fig. 1 is depicted by dotted lines. The dotted process flow indicates that the process is not executed simultaneously with the judger generation flow, and is depicted in order to show the relationship with steps S11, S12, and S21 of the judger generation flow. After the judger is generated by the judger generation flow, the surface inspection process flow is executed using the generated judger.

[0031] The first classifier is generated before the second classifier as follows: First, an image is acquired, preprocessed, and defect candidate portions are extracted by threshold processing. These processes correspond to the above steps S1 to S3 and may be performed by the above method. Here, the acquired image is an image of an inspection target in which an actual defect has already been measured (a past image).

[0032] Thereafter, the extracted defect candidate portions are linked to actual defects (step S11). Based on the defect candidate portions that have been linked to actual defects, machine learning or manual design is performed to generate a first judger (step S12). In the case of generation by machine learning, the first judger (learning model) is a model that has been generated in advance by machine learning using feature amounts extracted from images that have been captured in advance of the surface of an arbitrary inspection target. The feature amounts are linked to actual defects and are used as training data.

[0033] In the first defect determination using the first classifier, a determination method is used that can determine all defect candidate portions after sorting in time for the second defect determination, even if the discrimination performance is low. In other words, a determination method that does not require much calculation time is required for the first defect determination. For example, feature quantities such as size, shape, orientation, and shading are extracted from the image, and defect determination is performed using the feature quantities. In other words, a determination method other than a convolutional neural network is preferable. The determination using the feature quantities may be performed by manually creating conditional branches (manual design in step S12). Furthermore, the determination using the feature quantities may be performed using a general machine learning method using feature quantities, such as a regression model, a decision tree model, a random forest, a Bayesian estimation model, a Gaussian mixture model, or a method using boosted versions of these models (machine learning in step S12). Examples of regression models include linear regression, logistic regression, multiple regression, support vector machines, and nonlinear kernels. Furthermore, the first defect determination does not need to be performed using feature quantities as long as sufficiently fast processing is possible. The first classifier is designed to classify unwanted defect candidate portions, such as harmless surface defects, and to remove the unwanted defect candidate portions from the defect candidate portions determined in the second defect classifier.

[0034] A defect candidate portion is selected using the generated first judger. This process corresponds to step S4 described above. A second judger is generated by a convolutional neural network based on the selected defect candidate portion (step S21). In step S21, a learning model is generated using training data in which defect candidate portions selected by the first defect judgment for acquired past images are used as input performance data, and a result indicating whether the input performance data is harmful or harmless is output performance data. The second judger is generated so that it uses a convolutional neural network to judge defects that require further judgment after the first defect judgment (e.g., harmful defects), and the obtained result becomes the final judgment result.

[0035] As described above, it is preferable that the number of defect candidate portions to be subjected to the second defect judgment be adjusted by the threshold value or parameters of the first judgment machine, taking into consideration the defect judgment processing capacity of the second judgment machine, so as not to reach the upper limit of the capacity. Here, by increasing the number of defect candidate portions selected by the first defect judgment within a range that does not exceed the capacity of the second defect judgment processing, it is possible to increase the number of objects to be judged by the convolutional neural network with high discrimination performance, thereby improving detection accuracy. Furthermore, because the number of defect candidate portions is narrowed down by the first defect judgment so as not to reach the upper limit of the defect judgment processing capacity of the second judgment machine, there is no delay in the processing time in the second defect judgment, and it is possible to achieve a reduction in the overall processing time.

[0036] Here, in a convolutional neural network using deep learning, the determination time and discrimination performance differ depending on the layer structure, but it is preferable to determine the layer structure taking into account the allowable determination time and the required discrimination performance.

[0037] First Example Hereinafter, an example (first example) of an inspection method performed using the inspection apparatus of Fig. 3 will be described. In this example, a defect determination process was performed using a determiner that was previously constructed using machine learning, and it was possible to accurately distinguish between harmful defects and harmless ones.

[0038] First, a judgement machine was generated. As shown in Figure 3, a camera and a light source were installed on a thin steel plate production line, and the camera captured an entire image of the steel plate surface. A monochrome line camera was used as the camera. A line light source was used as the light source. A computing device acquired the above image and performed the necessary processing. Specifically, the computing device performed processing to remove brightness unevenness. The computing device also performed image normalization using a frequency filter, and then extracted defect candidate areas through threshold processing, labeling processing, etc. From the extracted defect candidate areas, more than 100 feature quantities related to shape, orientation, size, shade, etc. were calculated through image processing.

[0039] The machine learning device linked the feature quantities of the extracted defect candidate portions to actual defects in the actual product, labeled them as harmful or harmless, and used them as training data ("first training data" for generating a first judger). The machine learning device automatically constructed a first judger using a binary decision tree through machine learning using the first training data. The computing device became able to perform first defect judgment in real time by using the first judger generated by the machine learning device.

[0040] Here, the number of pieces of first training data was 50 pieces of data associated with harmful data (harmful data) and 400 pieces of data associated with harmless data (harmless data). When constructing the binary decision tree, optimal pruning to prevent overfitting was performed through cross-validation. Specifically, the training data was randomly divided into 10 parts, and a binary decision tree classifier was constructed using 90% of the training data. The remaining 10% was used as evaluation data for judgment. This training and evaluation process was repeated 10 times, and evaluation was performed through cross-validation, separating all evaluation data from training data. An overfitting suppression penalty was applied to the number of branches to suppress overfitting, and optimal pruning was achieved by setting the overfitting suppression penalty to maximize the evaluation results through cross-validation. Furthermore, the first classifier was designed to reliably detect harmful data while retaining a certain amount of harmless data. In other words, the first classifier was designed to reliably exclude only harmless data. Therefore, the first classifier was adjusted so that it would not judge harmful data as harmless in the first defect judgment. Specifically, the first penalty for misclassifying harmful data as harmless during learning was set to 10 times the second penalty for misclassifying harmless data as harmful, allowing the first classifier to correctly classify all harmful data.

[0041] Among the defect candidate portions determined to be harmful in the first defect judgment, there are some that are linked to actual defects that are determined to be harmless. It is preferable that such harmless data be correctly determined to be harmless in the second defect judgment. A second judgment machine was generated using deep learning (specifically, a convolutional neural network) so as to have higher discrimination performance than the first judgment machine. Data different from the first training data was prepared, and data of defect candidate portions determined to be harmful in the first defect judgment was linked to actual actual defects and used as training data ("second training data" for generating the second judgment machine).

[0042] Here, the number of second training data was 58 for harmful data and 390 for harmless data. Similar to the learning in the first defect judgment, the training data and verification data were randomly divided so that all data could be evaluated. Because a convolutional neural network requires all images to be normalized to the same size, the second training data was normalized to a size of 256 x 256 by resizing. To increase the number of training data, images flipped vertically, horizontally, and vertically and horizontally were added to the second training data after resizing, and images rotated by -10°, -5°, +5°, and +10° were further added to each image. After adding the rotated images, a 224 x 224 size was cropped from the center of the image to make all images the same size, and the final second training data was obtained. This flipping and rotation process allowed the number of second training data to be expanded 20-fold.

[0043] ResNet152 was used as the deep learning network structure. GAP (Global Average Pooling) was performed in ResNet152 to train the network to distinguish between harmful and harmless data. The fully connected layer for classifying data into 1,000 classes was then removed, and instead, two fully connected layers outputting 128 nodes and one fully connected layer for classifying data into two classes were added to construct the network structure. Tensorflow (version 2.0.0) using the ImageNet dataset was used as the deep learning framework.

[0044] The training first obtained the weights of ResNet152, and then optimized the network parameters by transfer learning using stochastic gradient descent (SGD). The SGD momentum was set to 0.9, the learning rate decay was set to 5e4, the initial learning rate was set to 0.01, and the maximum number of training epochs was set to 10. As a result, the optimal epoch was found to be 5, and the cross-validation accuracy rate at that time was 98.9%.

[0045] The computing device is now able to perform a second defect judgment in real time by using a second judgement machine of a convolutional neural network generated by the machine learning device.

[0046] In this embodiment, the machine learning device was a device (a separate computer) equipped with a processor separate from that of the arithmetic device, and was capable of communicating with the arithmetic device to send and receive necessary data.

[0047] Information on defects that are ultimately determined to be harmful in the two-stage defect determination process is output to a host system via communication and used to determine whether the steel sheet needs maintenance and whether it can be shipped. Furthermore, the type and degree of harmfulness (a value indicating the level of harmfulness) of harmful surface defects may be determined. The host system may take the most appropriate action depending on the type and degree of harmfulness of the harmful surface defects. Furthermore, surface defects are, for example, scratches, but are not limited to scratches.

[0048] After the first and second judgers were generated, a surface inspection of the steel sheet was performed according to the processing flow shown in Fig. 1. In this example, of the defect candidate portions that were judged to be harmless in the actual defects in the defect candidate portion extraction processing (step S3, extraction step), 98% were judged to be harmless in the first defect judgment, and 99.97% were judged to be harmless in the second defect judgment, including the first defect judgment.

[0049] As described above, the inspection method and inspection apparatus according to this embodiment can achieve both improved detection accuracy and reduced processing time through the above-described steps and configuration. In other words, the inspection method and inspection apparatus according to this embodiment performs a first defect judgment on detected defect candidates using a conventional machine learning method, which allows for high-speed processing using feature quantities, to limit the number of defect candidates. Then, a convolutional neural network is applied as a second defect judgment, making it possible to apply a convolutional neural network with high discrimination performance to even a large number of defect candidates. In this case, the number of defect candidates limited by the first defect judgment can be adjusted to a number that can be processed by the second defect judgment or less, thereby achieving a reduction in overall processing time. Furthermore, the inspection method and inspection apparatus according to this embodiment enable individual adjustment of the thresholds, parameters, layer structure, etc. of each judger in the two-stage defect judgment, thereby providing greater flexibility in adjustment compared to a single judger.

[0050] Second Example: Method of Adjusting the First Determining Machine Hereinafter, an example (second example) of a method of adjusting the first determinator will be described.

[0051] The purpose of the first defect determination is screening. Therefore, it is preferable to adjust the first defect determination so as to reliably and correctly determine as harmful defect candidate portions determined as harmful in the actual defect, while allowing some degree of erroneous determination as harmful defect candidate portions determined as harmless in the actual defect. When the first defect determination is performed using machine learning, there is a trade-off between erroneously determining harmful defects as harmless and erroneously determining harmless defects as harmful defects. If machine learning is performed without taking this relationship into consideration, there is a possibility that defect candidate portions determined as harmful in the actual defect cannot be reliably determined as harmful.

[0052] For example, consider a case where a classifier is created by machine learning using, as learning data, N pieces of data on defect candidate portions determined to be harmful in actual defects and M pieces of data on defect candidate portions determined to be harmless in actual defects. Consider a case where the classifier simply learns to maximize the number of pieces of data determined to be correct by the classifier among the (N + M) pieces of data. In this case, even if the actual defect is determined to be either harmful or harmless, data outside the population tends to be erroneously determined. Therefore, it is difficult to reliably determine that a defect candidate portion determined to be harmful in actual defects is harmful.

[0053] Therefore, machine learning was performed using an evaluation function to maximize or minimize the evaluation function. In this embodiment, machine learning is performed to maximize the evaluation function E shown in the following equation, which includes a weight α, making it possible to adjust the above trade-off. As a result, in this embodiment, defect candidate portions that have been determined to be harmful in actual defects can be preferentially and correctly determined to be harmful, thereby making it possible to reliably determine that they are harmful.

[0054] E = α × R 01 + (1-α) × R 02

[0055] Here, R 01 is the number of correct answers for defect candidates that are judged to be harmful in the actual defects. 02 is the number of correct answers for defect candidates that were judged to be harmless in the actual defects.

[0056] A classifier is generated by machine learning so that the larger α is, the higher the accuracy rate of defect candidates determined to be harmful in actual defects, and the smaller α is, the higher the accuracy rate of defect candidates determined to be harmless in actual defects. Therefore, by adjusting α, it is possible to generate a classifier that reliably and correctly determines defect candidate portions determined to be harmful in actual defects as harmful. Here, instead of using the weight α, a similar effect can be obtained by duplicating N pieces of data on defect candidate portions determined to be harmful in actual defects during machine learning and increasing the number of learning data.

[0057] Here, α may be adjusted by performing machine learning while changing α, and then searching for conditions that satisfy the requirements for the first defect judgment while evaluating the results by actually classifying test data to determine the performance of the judgment machine obtained. The test data may be the same as the training data, but it is preferable that the test data be different from the training data to prevent overlearning. Furthermore, when the accuracy rate of defect candidate portions determined to be harmful in the target actual defect is available, a method may be used in which an optimization problem is solved using the accuracy rate as a constraint condition to maximize the accuracy rate of defect candidate portions determined to be harmless in the actual defect.

[0058] While the above embodiment has been described in terms of classification into two classes, harmful and harmless, the classes may be further divided and the screening conditions for each class may be determined. For example, harmful defects may be divided into three types, severe, moderate, and mild, depending on the degree of impact of the defect. For example, the conditions may be set so that the accuracy rate for defect candidate portions determined to be severely harmful in actual defects is 100%. For example, the conditions may be set so that the accuracy rate for defect candidate portions determined to be moderately harmful is 75%. Furthermore, the conditions may be set so that the accuracy rate for defect candidate portions determined to be mildly harmful is 50%.

[0059] By solving an optimization problem using an evaluation function E shown in the following equation, which includes weights α, β, and γ, it is possible to maximize the accuracy rate of defect candidate portions that are determined to be harmless in actual defects.

[0060] E = α × R 11 + β × R 12 +γ×R 13 +(1-α-β-γ)×R 14

[0061] Here, R 11 is the number of correct answers for defect candidates that are judged to be seriously harmful in the actual defects. 12 is the number of correct answers for defect candidates judged to be moderately harmful in actual defects. 13 is the number of correct answers for defect candidates that are judged to be mildly harmful in the actual defects. 14 is the number of correct answers for defect candidates that were judged to be harmless in the actual defects.

[0062] Although the embodiments of the present disclosure have been described based on the drawings and examples, it should be noted that those skilled in the art would easily be able to make various modifications or alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included within the scope of the present disclosure. For example, the functions included in each component or step can be rearranged so as not to cause logical inconsistencies, and multiple components or steps can be combined or divided into one. The embodiments of the present disclosure can also be realized as a program executed by a processor included in an apparatus or a storage medium on which a program is recorded. It should be understood that these are also included within the scope of the present disclosure.

[0063] Although a line camera is used in the above embodiment, an area camera may also be used. Furthermore, a color camera may be used instead of a monochrome camera. The camera may capture images under multiple conditions, and the image information may be combined for inspection. For example, the first defect determination may be performed using feature quantities calculated separately or in combination from images of defect candidates obtained under different conditions. For example, two images obtained using two types of optical systems, one under specular reflection conditions and the other under diffuse reflection conditions, may be used, or images from each channel of a color image may be used. Furthermore, the results of combining or calculating (e.g., adding and subtracting) images of defect candidates obtained under different conditions may be used in the first defect determination.

[0064] In the second defect determination, only images are used in the embodiment, but feature quantities may be used in addition to images. In this case, in constructing a second determiner using deep learning, feature quantities may be used in addition to images.

[0065] In this embodiment, the object is the surface inspection of steel plates, but it goes without saying that the present invention can be applied to the surface inspection of not only steel plates but also various steel materials, and further various raw material products and industrial products.

Claims

1. An inspection method for detecting surface defects of an object to be inspected, comprising: an imaging step of acquiring an image of the surface of the object to be inspected; an extraction step of extracting defect candidate portions from the image; a selection step of sorting the extracted defect candidate portions by a first defect judgment; and an inspection step of detecting whether the surface defects are harmful or harmless by a second defect judgment using a convolutional neural network, targeting the defect candidate portions sorted by the first defect judgment.

2. The inspection method according to claim 1, wherein the first defect determination comprises extracting features from the image and selecting defects using the features.

3. The inspection method according to claim 1, wherein the first defect determination is performed using a learning model, and the learning model is a model generated in advance by machine learning using features extracted from an image of the surface of an arbitrary inspection object taken in advance.

4. A classification method for classifying surface defects of an object to be inspected, comprising: an imaging step for acquiring an image of the surface of the object to be inspected; an extraction step for extracting defect candidate portions from the image; a selection step for selecting the extracted defect candidate portions by a first defect judgment; and a classification step for classifying the defect candidate portions selected by the first defect judgment into at least one of the type and grade of the surface defect by a second defect judgment using a convolutional neural network.

5. A management method comprising a management step of classifying the inspection object based on at least one of the type and grade of the surface defect classified by the classification method according to claim 4.

6. A method for manufacturing steel material, comprising: a manufacturing step for manufacturing steel material; and an inspection step in the inspection method described in any one of claims 1 to 3, wherein the inspection step inspects the steel material manufactured in the manufacturing step.

7. A method for manufacturing steel material, comprising: a manufacturing step for manufacturing steel material; and the management step in the management method described in claim 5, wherein the management step inspects the steel material manufactured in the manufacturing step.

8. A method for generating a learning model used in an inspection method for detecting surface defects of an object to be inspected, comprising the step of generating the learning model by a convolutional neural network using training data in which defect candidate portions selected by a first defect judgment on a previously acquired image of the object to be inspected are used as input performance data, and whether the input performance data is harmful or harmless is used as output performance data.

9. A learning model generated by the learning model generation method according to claim 8.

10. An inspection device for detecting or classifying surface defects of an object to be inspected, comprising: an imaging device for acquiring an image of the surface of the object to be inspected; and a computing device for extracting defect candidate portions from the image, sorting the extracted defect candidate portions by a first defect judgment, and performing a defect judgment of the surface defects by a second defect judgment using a convolutional neural network for the defect candidate portions sorted by the first defect judgment, wherein the defect judgment of the surface defects performed by the second defect judgment is detection of whether the surface defects are harmful or harmless, or at least one classification of the type and grade of the surface defects.

11. A steel manufacturing facility comprising: a manufacturing facility for manufacturing steel; and an inspection device according to claim 10, wherein the inspection device inspects the steel manufactured by the manufacturing facility.