Processing system, inspection system, processing method, and program

JPWO2023149192A5Inactive Publication Date: 2024-09-24
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023578448
Authority / Receiving Office
JP · JP
Patent Type
Applications
Priority Date
2023-01-17
Filing Date
2023-01-17
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image inspection systems have a high overdetection rate, where non-defective products are incorrectly identified as defective, due to the reliance on multiple Convolutional Neural Networks (CNNs) that can collectively indicate a product as defective even if one result suggests so, leading to increased false detection.

Method used

A processing system that outputs criterion information including convex hull boundaries determined from the identification results of multiple identification algorithms, allowing for a more accurate decision by determining whether an object falls within or outside a convex boundary, thereby reducing the likelihood of misclassification.

Benefits of technology

The system effectively reduces the false detection rate by providing a more precise decision boundary, ensuring that non-defective products are less likely to be misclassified as defective, thereby improving the accuracy of image inspection.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The objective of the present disclosure is to reduce an overdetection rate. A processing system (1) is provided with an output processing unit (11) for outputting determination criteria information (D1) to be applied to an inspection algorithm. The determination criteria information (D1) includes information relating to a determination boundary that is set on the basis of identification results of a plurality of mutually different identification algorithms (A0). The determination boundary is a determination criterion for determining whether a category relating to a target object (T1) is a first category or a second category in the inspection algorithm. Each of the plurality of identification algorithms (A0) performs identification for each of a plurality of image datasets (DS1). The determination boundary is a convex hull boundary (B1) determined on the basis of a set of identification results for an image dataset (DS1), from among the plurality of image datasets (DS1), to which a label indicating the second category has been assigned.
Need to check novelty before this filing date? Find Prior Art

Description

Processing system, inspection system, processing method, and program

[0001] The present disclosure generally relates to a processing system, an inspection system, a processing method, and a program, and more particularly to a processing system, an inspection system, a processing method, and a program related to image inspection.

[0002] Patent Literature 1 discloses a judgment result output device including a primary pass / fail judgment unit, a final pass / fail judgment unit, and a display unit. The primary pass / fail judgment unit includes multiple trained CNNs (Convolutional Neural Networks). Each of the multiple trained CNNs outputs a pass / fail judgment result for an object included in input image data. Each of the multiple trained CNNs is a different model due to different training data input in machine learning. The final pass / fail judgment unit judges the object to be a pass / fail only if all pass / fail judgment results input from the multiple trained CNNs indicate a pass / fail judgment. In other words, the final pass / fail judgment unit judges the object to be a defective product if at least one pass / fail judgment result among the judgment results input from the multiple trained CNNs indicates a defective product. The final pass / fail judgment unit outputs the pass / fail judgment result to the display unit.

[0003] Japanese Patent Application Laid-Open No. 2020-46731

[0004] In the determination result output device of Patent Document 1, if there is even one result indicating a defective product among the determination results of multiple trained CNNs, the device determines that the object is defective, thereby reducing the possibility of overlooking a defective object. However, the determination result output device of Patent Document 1 has a problem in that it cannot reduce the possibility that an object that is actually a good product is determined to be defective, i.e., the occurrence rate of overdetection (hereinafter simply referred to as the overdetection rate).

[0005] The present disclosure has been made in view of the above circumstances, and aims to provide a processing system, an inspection system, a processing method, and a program that can reduce the overdetection rate.

[0006] A processing system according to one aspect of the present disclosure includes an output processing unit that outputs criterion information to be applied to an inspection algorithm that inspects image data of an object for a category related to the object. The criterion information includes information about a decision boundary determined based on the identification results of a plurality of different classification algorithms. The decision boundary serves as a criterion for determining whether the category related to the object is a first category or a second category in the inspection algorithm. When a plurality of image datasets related to the object are input, each of the plurality of classification algorithms identifies the category for each of the plurality of image datasets. Each of the plurality of image datasets is assigned a label indicating the first category or the second category. The decision boundary is a convex hull boundary determined based on a set of the identification results for an image dataset, among the plurality of image datasets, that is assigned the label indicating the second category.

[0007] An inspection system according to one aspect of the present disclosure executes the inspection algorithm to which the criterion information output from the processing system is applied. The inspection system includes an image acquisition unit, an identification acquisition unit, and a determination unit. The image acquisition unit acquires image data of the object. The identification acquisition unit inputs the image data acquired by the image acquisition unit to the plurality of identification algorithms to obtain identification results from the plurality of identification algorithms. The determination unit makes a determination regarding the category based on a positional relationship between the identification result acquired by the identification acquisition unit and the convex hull boundary of the criterion information.

[0008] A processing method according to one aspect of the present disclosure includes an output processing step of outputting criterion information to be applied to an inspection algorithm that inspects image data of an object for a category related to the object. The criterion information includes information about a decision boundary determined based on the identification results of a plurality of different classification algorithms. The decision boundary serves as a criterion for determining whether the category related to the object is a first category or a second category in the inspection algorithm. When a plurality of image datasets related to the object are input, each of the plurality of classification algorithms identifies the category for each of the plurality of image datasets. Each of the plurality of image datasets is assigned a label indicating the first category or the second category. The decision boundary is a convex hull boundary determined based on a set of the identification results for an image dataset, among the plurality of image datasets, that is assigned the label indicating the second category.

[0009] A program according to one aspect of the present disclosure is a program for causing one or more processors to execute the above processing method.

[0010] FIG. 1 is a diagram illustrating the overall configuration of a processing system according to an embodiment. FIG. 2 is a diagram illustrating the overall configuration of an inspection system according to an embodiment. FIGS. 3A and 3B are plots illustrating a convex hull boundary in the processing system according to the embodiment. FIGS. 4A and 4B are conceptual diagrams illustrating an inspection algorithm using a convex hull boundary in the inspection system according to the embodiment. FIGS. 5A and 5B are plots illustrating auxiliary plots in the processing system according to the embodiment. FIG. 5C is a plot illustrating erroneous determinations (oversights) due to overlearning when auxiliary plots are not applied. FIGS. 6A and 6B are plots illustrating margin adjustment for a convex hull boundary in the processing system according to the embodiment. FIGS. 7A and 7B are plots illustrating margin adjustment for a discrimination result of a discrimination algorithm in the inspection system according to the embodiment. FIG. 8 is a flowchart illustrating an example of the operation of the processing system according to the embodiment. FIG. 9 is a flowchart illustrating an example of the operation of the inspection system according to the embodiment.

[0011] (1) Overview The drawings described in the following embodiments are schematic drawings, and the ratios of the sizes and thicknesses of the components in the drawings do not necessarily reflect the actual dimensional ratios.

[0012] As shown in Fig. 1, the processing system 1 according to this embodiment includes an output processing unit 11 that outputs determination criterion information D1. The determination criterion information D1 is information that is applied to an inspection algorithm that performs an inspection of a category related to an object T1 (see Fig. 2) from image data IM1 (see Fig. 2; indicated as "inspection image" in Fig. 2) of the object T1. In this embodiment, an inspection system 2 (see Fig. 2) executes the inspection algorithm. The processing system 1 and the inspection system 2 may be provided as a single integrated system.

[0013] The object T1 is, for example, a finished product (or semi-finished product) manufactured in a facility such as a factory, and its type is not particularly limited. The inspection system 2 can be used, for example, in an inspection process that performs an appearance inspection (image inspection) of the object T1. In this embodiment, as an example, the "category" is a category related to the quality of the appearance state of the object T1. The appearance state of the object T1 is determined (identified) as, for example, "good (OK)" or "bad (NG)" through image inspection in the inspection system 2. For example, if dents, scratches, nicks, dirt, or the like are found from the characteristics of the appearance state through image inspection, the object T1 can be determined (identified) as being defective.

[0014] In the following description, unless otherwise specified, it is assumed that the judgment (identification) result of the appearance condition is either good or bad. However, the judgment result is not limited to the binary values ​​of good and bad. For example, the judgment result may further include "gray," which is an intermediate zone between good and bad. For example, gray and bad may be combined into a single category, gray / bad, and the judgment result may be either good or gray / bad. Furthermore, the category of the judgment result is not limited to good / bad, but may be, for example, a category of painted / unpainted or a category of soiled / unpainted. In short, the second category is not limited to "bad" as long as it is a category related to the object T1 that is the subject of image inspection and that is to be extracted (removed) in distinction from the object T1 classified in the first category.

[0015] In this embodiment, the determination criterion information D1 output from the output processing unit 11 includes information about a determination boundary determined based on the classification results of a plurality of different classification algorithms A0 (see FIGS. 1 and 2). The determination boundary serves as a determination criterion for determining whether the category of the object T1 is the first category or the second category in the inspection algorithm.

[0016] In the present disclosure, "different identification algorithms" means that the accuracy of the identification algorithms is different.

[0017] For example, among the multiple identification algorithms A0, a certain identification algorithm A0 may include a trained model generated by deep learning using a neural network (or a multi-layer neural network). The neural network may include, for example, a convolutional neural network (CNN) or a Bayesian neural network (BNN). The trained model is realized by implementing a trained neural network in an integrated circuit such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). The trained model is not limited to a model generated by deep learning. Among the multiple identification algorithms A0, another identification algorithm A0 may include a trained model that, unlike deep learning, is machine-learned based on human input and specification of features without using a neural network.

[0018] If the "identification algorithms are different from each other," the multiple trained models included in the multiple identification algorithms A0 may all be models generated by deep learning using a neural network. Alternatively, the multiple trained models included in the multiple identification algorithms A0 may all be models generated by machine learning without using a neural network. For example, among the multiple identification algorithms A0, one identification algorithm A0 may include a trained model trained to specialize in detecting global defects such as large scratches or dents. Another identification algorithm A0 may include a trained model trained to specialize in detecting local defects such as small scratches or dents. Furthermore, "the identification algorithms are different from each other" may include differences between the multiple identification algorithms A0 in at least one of the number of layers of intermediate nodes in the trained model through which input data passes, the number of nodes in each layer, and the structure of connections between the nodes. Furthermore, "the identification algorithms are different from each other" may include differences in the amount of training data that has been machine-learned to date.

[0019] In the present embodiment, as an example, the first category is a category indicating that the appearance condition of the object T1 is good, and the second category is a category indicating that the appearance condition of the object T1 is poor.

[0020] When a plurality of image data sets DS1 (see FIG. 1 ) relating to an object T1 are input, each of the plurality of classification algorithms A0 identifies a category for each of the plurality of image data sets DS1, where each of the plurality of image data sets DS1 is assigned a label indicating a first category or a second category.

[0021] In this embodiment, the decision boundary is a convex hull boundary B1 (see FIG. 3B ) determined based on a set of classification results for image datasets DS1 that are labeled with a second category (e.g., "fail") among the multiple image datasets DS1. To facilitate understanding of the convex hull boundary B1, the following description focuses on two classification algorithms A0 and uses a plot diagram in which multiple classification results output from these algorithms are plotted on a two-axis (two-dimensional) coordinate system with X and Y axes. If the number of classification algorithms A0 is three, the coordinate system on which the classification results are plotted may be a three-axis coordinate system, the same number as the number of classification algorithms A0. Considering the computational capabilities and loads of the processing system 1 and the inspection system 2, the number of classification algorithms A0 is assumed to be up to about six, and the coordinate system on which the classification results are plotted may be a six-axis coordinate system (six-dimensional).

[0022] A "convex hull" is the smallest convex set that contains a given set, and the line segment connecting any pair of points in that set is included in that set. The convex hull boundary B1 corresponds to the side of a convex polygon or the surface of a convex polyhedron whose vertex is the outermost plot P2 that constitutes the boundary of the smallest convex set among a set (point cloud) of multiple plots P2 (see FIG. 3B ) that correspond to the classification results for the second-category image dataset DS1. That is, in this embodiment, since the focus is on two classification algorithms A0, the convex hull boundary B1 corresponds to the side of a two-dimensional convex polygon. However, if the number of classification algorithms A0 is three or more, the convex hull boundary B1 may correspond to the surface of a three- or more-dimensional convex polyhedron.

[0023] In the inspection system 2, when a plot PX1 corresponding to the classification results of the multiple classification algorithms A0 for image data IM1 of the object T1 captured in the inspection process is located within a convex hull boundary B1 (see FIG. 4B), the object T1 is determined to be in the second category. On the other hand, when the plot PX1 is located outside the convex hull boundary B1 (see FIG. 4A), the object T1 is determined to be in the first category.

[0024] In short, the processing system 1 has a function of outputting determination criterion information D1 including information on a convex hull boundary B1 determined based on the classification results of a plurality of classification algorithms A0. The inspection system 2 has a function of finally determining (deciding) whether an object T1 belongs to the first category or the second category in actual image inspection using the plurality of classification algorithms A0 and the convex hull boundary B1 of the determination criterion information D1.

[0025] In the following, it is assumed that the processing system 1 has a function of automatically determining the convex hull boundary B1 based on the classification result of the classification algorithm A0. However, it is not essential that the processing system 1 has a function of automatically determining the convex hull boundary B1. For example, the processing system 1 may display the classification result of the classification algorithm A0 on the display unit 17 (see FIG. 1 ), accept input of information regarding the convex hull boundary B1 determined by the user, and output determination criterion information D1 including information about the convex hull boundary B1.

[0026] According to this configuration, the processing system 1 includes an output processing unit 11 that outputs determination criterion information D1 including information about the determination boundary, which is the convex hull boundary B1. Therefore, during image inspection, an object T1 that is actually in the first category is less likely to be determined to be in the second category, compared to a case where an object is determined to be in the second category simply because there is at least one classification result among multiple classification results that indicates a high possibility of being in the second category. As a result, the processing system 1 has the advantage of being able to reduce the overdetection rate.

[0027] The processing method according to this embodiment also includes an output processing step that outputs judgment criterion information D1 to be applied to the above-described inspection algorithm. The judgment criterion information D1 includes information regarding a judgment boundary determined based on the classification results of multiple different classification algorithms A0. The judgment boundary serves as a judgment criterion for determining whether a category of an object T1 belongs to the first category or the second category in the inspection algorithm. When multiple image data sets DS1 related to the object T1 are input, each of the multiple classification algorithms A0 identifies a category for each of the multiple image data sets DS1. Each of the multiple image data sets DS1 is assigned a label indicating the first category or the second category. The judgment boundary is a convex hull boundary B1 determined based on a set of classification results for image data sets DS1, among the multiple image data sets DS1, that are assigned a label indicating the second category. This configuration provides a processing method capable of reducing the overdetection rate. This processing method is used on a computer system (processing system 1). In other words, this processing method can also be embodied as a program. The program according to this embodiment is a program for causing one or more processors to execute the processing method according to this embodiment.

[0028] (2) Details The processing system 1 and inspection system 2 according to this embodiment, as well as their peripheral configurations (such as the imaging unit 3), will be described in detail below with reference to Figures 1 to 9. At least a part of the peripheral configuration may be included in the configuration of the processing system 1 or the inspection system 2.

[0029] (2.1) Overall Configuration The processing system 1 is configured to generate judgment criteria information D1 including judgment criteria (judgment boundaries) to be applied to the inspection algorithm of the inspection system 2, and output the information to the inspection system 2. The inspection system 2 executes the inspection algorithm to which the judgment criteria included in the judgment criteria information D1 is applied, and inspects categories related to the object T1 from image data IM1 of the object T1, which is a finished product (or semi-finished product). As described above, in this embodiment, the categories, regarding whether the appearance condition of the object T1 is good or bad, include a first category indicating that the appearance condition of the object T1 is good, and a second category indicating that the appearance condition of the object T1 is poor.

[0030] Hereinafter, a person who performs work related to the preparation and creation of the criterion information D1 using the processing system 1 may be simply referred to as a "worker." Also, a flow related to the preparation and creation of the criterion information D1 using the processing system 1 may be referred to as a "learning flow."

[0031] In the following, a person who performs image inspection of the target T1 using the inspection system 2 may be simply referred to as an "inspector." Furthermore, a flow related to image inspection using the inspection system 2 may be referred to as an "inspection flow."

[0032] The worker and the inspector may be the same person or different people. For convenience of explanation, when there is no particular distinction between the worker and the inspector, they may be simply called "users."

[0033] As shown in FIG. 1 , the processing system 1 includes a processing unit 10, an input unit 16, and a display unit 17. The main functions of the processing system 1 (such as the functions of the processing unit 10) may be implemented, for example, on a personal computer or server installed on the premises of a factory where processes such as manufacturing and inspection of the object T1 are performed. The term "server" here refers to a single server device. That is, the main functions of the processing system 1 may be provided on a single server device. However, the "server" may also be comprised of multiple server devices. Specifically, the functions of the processing unit 10 may be distributed across multiple server devices, or such server devices may be installed outside the factory premises, e.g., equivalent to a cloud server, creating a cloud (cloud computing) system. Furthermore, some functions of the processing system 1 may be distributed across devices other than a server or personal computer, such as a laptop computer, a tablet device, or a smartphone. When multiple functions of the processing system 1 are distributed across multiple devices, it is desirable that each device be communicatively connected to the other devices.

[0034] As shown in FIG. 2 , the inspection system 2 includes a processing unit 20, a storage unit 24, and an inspection result notification unit 25. The main functions of the inspection system 2 (such as the functions of the processing unit 20) may be implemented, for example, in a personal computer or server installed on the premises of a factory where processes such as manufacturing and inspection of the object T1 are performed. The main functions of the inspection system 2 may be provided on a single server device or distributed among multiple server devices. Such server devices may also be installed outside the factory premises, e.g., equivalent to a cloud server, creating a cloud. Furthermore, some functions of the inspection system 2 may be distributed among devices other than a server or personal computer, such as a laptop computer, a tablet device, or a smartphone. When multiple functions of the inspection system 2 are distributed among multiple devices, it is desirable that each device be communicatively connected to the other devices.

[0035] The inspection system 2 can communicate with the imaging unit 3, which is a peripheral component, wirelessly or via a wire. The processing system 1 may also be able to communicate with the imaging unit 3.

[0036] The processing system 1 can communicate with the inspection system 2 wirelessly or via a wire. In particular, the main functions of the processing system 1 and the inspection system 2 (functions of the processing unit 10, processing unit 20, etc.) may be implemented in the same device (a personal computer or a server), and information may be exchanged within the same device. The processing system 1 communicates with the inspection system 2 and transmits the generated criteria information D1 to the inspection system 2. The processing system 1 is not limited to being able to communicate with the inspection system 2. Furthermore, the main functions of the processing system 1 and the inspection system 2 may be implemented in separate devices.

[0037] For example, the determination criterion information D1 generated by the processing system 1 may be output to an electrically rewritable nonvolatile semiconductor memory such as a USB flash memory and input via the semiconductor memory to the inspection system 2. Alternatively, the determination criterion information D1 generated by the processing system 1 may be transmitted to an external server device via a wide area network such as the Internet and input via the external server device to the inspection system 2.

[0038] The processing system 1 and the inspection system 2 will be described in detail later.

[0039] The imaging unit 3 (imaging system) is a system for generating an appearance image (digital image) of the object T1 as image data IM1 (inspection image) of the object T1 in the inspection flow. The imaging unit 3 captures an image of the surface of the object T1 illuminated by, for example, a lighting device to generate image data IM1 of the surface of the object T1. The imaging unit 3 includes, for example, one or more RGB cameras. The camera includes one or more image sensors. The camera may also include one or more line sensors. The imaging unit 3 is connected to a network and can communicate with the inspection system 2 via the network. The generated image data IM1 is transmitted to the inspection system 2. The network is not particularly limited and may be established by wired communication via a communication line or wireless communication.

[0040] In the inspection flow, the imaging unit 3 captures images of the objects T1 sequentially transported by a transport device such as a conveyor, and transmits the image data IM1 (inspection image) to the inspection system 2. The inspection system 2 determines the category (good or bad) of the objects T1 and transmits the determination result to a terminal used by an inspector. The terminal used by the inspector may be a dedicated monitoring monitor, a personal computer, a laptop computer, a tablet terminal, a smartphone, or the like. If the determination result is "bad," the inspection system 2 notifies the inspector's terminal with a warning message. Furthermore, the inspection system 2 transmits a signal to a management facility that manages the production line to take a predetermined action (discard the objects T1, temporarily stop the transport device, or move the objects T1 to a storage location for visual inspection) for the objects T1 that are determined to be "bad."

[0041] (2.2) Processing System As described above, the processing system 1 includes the processing unit 10, the input unit 16, and the display unit 17 (see FIG. 1 ). The processing system 1 also includes a rewritable nonvolatile memory (storage unit) such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) that stores various types of information.

[0042] The display unit 17 is configured as a liquid crystal display or an organic EL (Electro-Luminescence) display. The display unit 17 may be a touch panel display. The display unit 17 may be attached to, for example, an information terminal (such as a personal computer, a laptop computer, a tablet terminal, or a smartphone) used by an operator (user). The display unit 17 displays a "specific image data set DS1" output from a display processing unit 14 of the processing unit 10, which will be described later. The display unit 17 may display various information in addition to the specific image data set DS1.

[0043] The input unit 16 includes at least one user interface such as a mouse, a keyboard, and a pointing device. The input unit 16 is provided in, for example, an information terminal (such as a personal computer, a laptop computer, a tablet terminal, or a smartphone) used by the worker. If the display unit 17 is a touch panel display, it may also function as the input unit 16.

[0044] The input unit 16 accepts input for re-labeling of the label assigned to the displayed image data set DS1. The operator visually checks the “specific image data set DS1” displayed on the display unit 17, and if the label assigned to the image data set DS1 is incorrect, operates the input unit 16 to specify, for example, a correct label.

[0045] The processing unit 10 can be realized by a computer system including one or more processors (microprocessors) and one or more memories. That is, the one or more processors execute one or more programs (applications) stored in one or more memories to function as the processing unit 10. Here, the programs are pre-recorded in the memory of the processing unit 10, but they may also be provided via a telecommunications line such as the Internet or by being recorded on a non-transitory recording medium such as a memory card.

[0046] 1 , the processing unit 10 has an algorithm processing unit 12, a boundary determination unit 13, a reference adjustment unit 15, a display processing unit 14, and an output processing unit 11. That is, the processing unit 10 has the function of the algorithm processing unit 12, the function of the boundary determination unit 13, the function of the reference adjustment unit 15, the function of the display processing unit 14, and the function of the output processing unit 11.

[0047] The algorithm processing unit 12 inputs a plurality of image data sets DS1 to a plurality of classification algorithms A0 and outputs classification results of the plurality of classification algorithms A0. When a plurality of image data sets DS1 are input, each of the plurality of classification algorithms A0 identifies a category for each of the plurality of image data sets DS1.

[0048] The image data set DS1 and the classification algorithm A0 will now be described in detail.

[0049] The image dataset DS1 is a set of labeled image data of the object T1 that is required to prepare a judgment criterion in the learning flow, and is preferably prepared in large quantities (for example, on the order of hundreds to thousands). To prepare the image dataset DS1, an operator collects various types of image data of the object T1 and performs labeling work in advance.

[0050] During the learning flow, the algorithm processing unit 12 acquires the image dataset DS1, for example, from an external storage device (e.g., an external cloud server) that stores the image dataset DS1. Alternatively, the image dataset DS1 may be pre-stored in the storage unit of the processing system 1. Each of the multiple image datasets DS1 is assigned a label indicating a first category (good) or a second category (bad). In the learning flow, each image dataset DS1 is input to multiple different classification algorithms A0. For ease of understanding, the following description may focus on only two classification algorithms A0 (a first classification algorithm A1 and a second classification algorithm A2) among the multiple different classification algorithms A0. The first classification algorithm A1 includes, for example, a trained model generated by deep learning and preprocessing (image processing, etc.) that processes image data into a form applicable as input data for the trained model. The second identification algorithm A2 includes, for example, a trained model in which features are machine-learned based on human input or specification, and preprocessing (image processing, etc.) that processes image data into a form that can be applied as input data for the trained model.

[0051] The multiple image data sets DS1 may include a data set in which image data of the object T1 obtained using the same imaging unit 3 as image data IM1 (inspection image) in the inspection flow is labeled as good or bad. The multiple image data sets DS1 may also include a data set in which image data of the object T1 obtained using an imaging unit other than the imaging unit 3 is labeled as good or bad. The multiple image data sets DS1 may also include a data set in which image data IM1 (inspection images) captured by the imaging units 3 at multiple locations during inspections previously performed at those locations are collected and labeled as good or bad. The image data of the multiple image data sets DS1 may also include processed data in which an image of the object T1 has been processed.

[0052] Furthermore, the multiple image data sets DS1 may include training data used when generating multiple trained models included in the multiple classification algorithms A0. The "training data" is training data used for machine learning of the models.

[0053] The "trained model" included in each of the multiple identification algorithms A0 is a program that, when input data related to an identification target (the appearance state of the object T1) is input, estimates the state of the identification target and outputs an estimation result (identification result). A "trained model" refers to a model for which machine learning using training data has been completed. Furthermore, "training data (set)" is a data set that combines input data (image data) input to the model with labels assigned to the input data, and is so-called training data. In other words, the multiple trained models included in the multiple identification algorithms A0 are models for which machine learning using supervised learning has been completed.

[0054] The multiple classification algorithms A0 are used in both the learning flow and the inspection flow. However, the input data for the multiple classification algorithms A0 differs between the learning flow and the inspection flow. In the learning flow, multiple image data sets DS1 are used as input data, and in the inspection flow, image data IM1 (inspection image) is used as input data.

[0055] During the learning flow, the algorithm processing unit 12 acquires a plurality of identification algorithms A0 from a storage unit 24 (described later) of the inspection system 2 or an external storage device (which may be an external cloud server). Alternatively, the plurality of identification algorithms A0 may be stored in advance in a storage unit of the processing system 1.

[0056] The multiple classification algorithms A0 output, as a classification result for each of the multiple image data sets DS1, a digitized classification value (numerical value) corresponding to the probability that the object T1 belongs to one of the first and second categories. In the present embodiment, as an example, each classification algorithm A0 outputs, in response to the input of the image data set DS1, a classification value (reliability) corresponding to the probability that the object T1 belongs to the second category (defective). A higher classification value indicates a higher probability that the object T1 belongs to the second category (defective). This makes it easier for the classification results of the multiple classification algorithms A0 to be output in a highly reliable manner.

[0057] The boundary determination unit 13 determines a convex hull boundary B1 based on the classification results (classification values) for an image dataset DS1 that is labeled with a second category label among the multiple image datasets DS1. The convex hull boundary B1 in this embodiment is a decision boundary determined based on the classification results of multiple classification algorithms A0. The decision boundary serves as a criterion for determining whether the category of the object T1 is the first category or the second category in the inspection algorithm of the inspection system 2. In other words, the decision criterion information D1 output from the processing system 1 includes information related to the decision boundary (convex hull boundary B1).

[0058] Preferably, the identification values ​​output by each of the multiple identification algorithms A0 are values ​​that fall within a predetermined range, or are scaled by the boundary determination unit 13 so that they fall within the predetermined range. In this embodiment, as an example, the boundary determination unit 13 scales the identification values ​​(reliabilities) output by each identification algorithm A0 to a predetermined range of 0.00 to 1.00. Hereinafter, the scaled identification values ​​may also be simply referred to as identification values. In this embodiment, as an example, it is assumed that the closer the identification value is to 1.00, the more likely the identification algorithm A0 has identified the object T1 as belonging to the second category (defective). Note that the closer the identification value is to 1.00, the more likely the identification algorithm A0 has identified the object T1 as belonging to the first category (good).

[0059] Scaling the identification values ​​in this manner reduces the variation (bias) in the identification values ​​obtained by each identification algorithm A0, making it easier for the processing system 1 to automatically determine the convex hull boundary B1. In this case, the identification value obtained by the identification algorithm A0 is generally not necessarily proportional to the likelihood that the object T1 belongs to the second category (defective). Therefore, temperature scaling or the like may be applied to calibrate (correct) the identification values ​​so that they are proportional. By performing calibration, for example, if the identification value obtained by the first identification algorithm A1 is 0.8 and the identification value obtained by the second identification algorithm A2 is 0.8, the reliability of the identification values ​​is corrected so that these "0.8" values ​​are both at the same level of NG.

[0060] Hereinafter, the identification value from the first identification algorithm A1 may be referred to as a "first identification value," and the identification value from the second identification algorithm A2 may be referred to as a "second identification value."

[0061] The concept of the convex hull boundary B1 will be explained below with reference to plots in FIGS. 3A and 3B for easy understanding.

[0062] The boundary determination unit 13 plots the discrimination values ​​output by the multiple discrimination algorithms A0 for each of the multiple image data sets DS1 in a coordinate system with multiple axes. Fig. 3A shows an example of a point cloud of a plot P0 in which the boundary determination unit 13 plots the input of each image data set DS1, with the first discrimination value from the first discrimination algorithm A1 as the value on the X-axis (horizontal axis) and the second discrimination value from the second discrimination algorithm A2 as the value on the Y-axis (vertical axis). Note that in the plot diagrams of Figs. 3B to 7B as well as Fig. 3A, the first discrimination value from the first discrimination algorithm A1 is the value on the X-axis and the second discrimination value from the second discrimination algorithm A2 is the value on the Y-axis.

[0063] 3A correspond to the first and second discrimination values ​​of the corresponding image data set DS1. For example, if the first discrimination value for a certain image data set DS1 is 0.60 and the second discrimination value is 0.10, the plot P0 corresponding to that image data set DS1 is located at coordinates (X, Y) = (0.60, 0.10).

[0064] The plot P1 with open circles indicates the first and second classification values ​​for the image dataset DS1 labeled as the first category (good), while the plot P2 with black circles indicates the first and second classification values ​​for the image dataset DS1 labeled as the second category (bad).

[0065] The plot P0 whose coordinates (X, Y) are close to (1, 1) means that both the first classification algorithm A1 and the second classification algorithm A2 have identified the image data set DS1 as likely to be defective. In fact, in the examples of Figures 3A and 3B, many of the plots P0 close to (1, 1) correspond to the image data set DS1 labeled with the second category (defective). In other words, it can be said that the classification results are consistent with the label solution.

[0066] Conversely, plot P0 whose coordinates (X, Y) are close to the origin (0, 0) means that it has been identified as having a high probability of being good by both the first classification algorithm A1 and the second classification algorithm A2. In fact, in the examples of Figures 3A and 3B, many of the plots P0 close to the origin (0, 0) correspond to the image dataset DS1 labeled with the first category (good), which means that the classification results are consistent with the label solution.

[0067] However, there is also a plot P0 that shows a classification value close to 0 (zero) for the image dataset DS1 labeled as the second category (bad).

[0068] The boundary determination unit 13 determines, as the convex hull boundary B1, the boundary that forms a convex set with the plots P2 as vertices for a set of plots P2 labeled as the second category among the multiple plots P0 corresponding to the multiple image data sets DS1. In the example of FIG. 3B , the boundary determination unit 13 determines, as the convex hull boundary B1, the boundary that forms a convex set with a total of nine plots P2 (P21 to P29) as vertices among the set of plots P2 labeled as the second category (defective). It can be easily understood that the convex hull boundary B1, which forms a convex polygon with the plots P21 to P29 as vertices, constitutes the boundary of the smallest convex set. In the set of plots P2 of the second category (defective), all line segments connecting any pair of plots P2 are included in the convex hull boundary B1. In this embodiment, the boundary that forms a convex set with the plots P21 to P29 as vertices is determined as the convex hull boundary B1, making it easier to automatically determine the convex hull boundary B1. Note that the vertices of the convex hull boundary B1 may also include auxiliary plots P3 (see FIGS. 5A and 5B) described below, and therefore the number of plots P2 included in the vertices of the convex hull boundary B1 may be one.

[0069] The boundary determination unit 13 mathematically determines the vertices and edges of the convex hull boundary B1 so that the output processing unit 11 can output the convex hull boundary B1 to the outside. The determination criterion information D1 includes information such as an equation that uniquely defines the convex hull boundary B1. Specifically, the boundary determination unit 13 determines, for example, an equation that uniquely defines the coordinate positions of each vertex of the convex hull boundary B1 (the positions of plots P21 to P29) and the slopes of each edge connecting adjacent vertices. In the example of FIG. 3B , the convex hull boundary B1 is a two-dimensional convex polygon, but if it is a three- or higher-dimensional convex polyhedron, the boundary determination unit 13 can determine an equation that uniquely defines the faces of the convex hull boundary B1. In other words, the determination criterion information D1 includes information regarding at least one of the vertices, edges, and faces that define the convex hull boundary B1.

[0070] Details will be described later, but in the inspection flow, whether the object T1 belongs to the first category (good) or the second category (bad) is determined based on whether the plot PX1 corresponding to the first and second identification values ​​for the inspection image is outside or inside the convex hull boundary B1 determined in this manner.

[0071] In the inspection flow, there may be an inspection image in which the classification result of a certain classification algorithm A0 indicates a high probability of being in the second category (failure), while the classification result of another classification algorithm A0 indicates a high probability of being in the first category (good). Specifically, the plot PX1 shown in FIG. 5C has a first classification value close to 1.0 but an extremely low second classification value. Because the image data corresponding to this plot PX1 occurs infrequently, there is a possibility that the set of plots P2 of the second category (failure) used to determine the convex hull boundary B1 may be deficient in plots P2 surrounding the plot PX1. In other words, due to the low occurrence frequency of this image data, the convex hull boundary B1 may not be determined appropriately. As a result, an object T1 that should actually be classified as a failure may be classified as a good object, resulting in so-called overlearning. In other words, if the convex hull boundary B1 shown in FIG. 3B were used as is, the plot PX1 shown in FIG. 5C would be outside the convex hull boundary B1 and would therefore be determined to be in the first category (good), resulting in an overlooked failure. Therefore, the boundary determination unit 13 of this embodiment determines a convex hull boundary B1 by adding not only the set of plots P2 labeled as the second category (bad), but also a dummy plot (auxiliary plot P3: see Figures 5A and 5B).

[0072] That is, the boundary determination unit 13 sets, in a coordinate system with multiple axes, coordinate values ​​including values ​​equal to or greater than the upper limit of a predetermined range as auxiliary plots P3. The boundary determination unit 13 includes the auxiliary plots P3 in the set of plots P2 of the second category and determines a convex hull boundary B1. As described above, as an example, the identification values ​​output from each identification algorithm A0 are scaled to a numerical value within the range of 0 to 1. That is, for any identification value output from any identification algorithm A0, the minimum value that can be output is "0" and the maximum value that can be output is "1." Therefore, in this embodiment, for any identification value output from any identification algorithm A0, the predetermined range is a numerical range from 0 to 1, and a value equal to or greater than the upper limit is "a value equal to or greater than 1" (i.e., "a value equal to or greater than 1.0," including "1.0"). Note that the scaling range may differ for each identification algorithm A0. For example, the first identification value may be scaled to a numerical value within the range of 0 to 1, and the second identification value may be scaled to a numerical value within the range of 0 to 2.

[0073] The number of auxiliary plots P3 is not particularly limited, but in the example of FIGS. 5A and 5B, three auxiliary plots P3 (P31 to P33) are set.

[0074] The coordinates (X, Y) of the auxiliary plot P31 are (X 1 , 1.1). X of auxiliary plot P31 1 is the smallest first identification value among the set of plots P2 of the second category. In the example of FIGS. 5A and 5B, the first identification value "0.1" of the plot P22 is the smallest among the first identification values ​​of the set of plots P2. Therefore, "0.1" is the X-axis coordinate value X of the auxiliary plot P31. 1 Furthermore, a value (for example, "1.1") equal to or greater than the maximum value "1" that the second identification value can take (the upper limit of the predetermined range) is set as the Y-axis coordinate value of the auxiliary plot P31. The value equal to or greater than the upper limit of the predetermined range may be any "value equal to or greater than 1," i.e., any "value equal to or greater than 1.0," and is not limited to "1.1," and may be, for example, "1.0" or "2.0."

[0075] The coordinates (X, Y) of the auxiliary plot P32 are (1.1, Y 1 ) Y of auxiliary plot P321 is the smallest second identification value among the set of plots P2 of the second category. In the example of FIGS. 5A and 5B, the second identification value "0.1" of the plot P23 is the smallest among the set of second identification values ​​of the plot P2. Therefore, "0.1" is the Y-axis coordinate value Y of the auxiliary plot P32. 1 In addition, a value (for example, "1.1") equal to or greater than the maximum value "1" that the first identification value can take (the upper limit value of the predetermined range) is set as the coordinate value on the X axis of the auxiliary plot P32.

[0076] The coordinates (X, Y) of the auxiliary plot P33 are (1.1, 1.1). That is, the value "1.1", which is equal to or greater than the maximum value "1" (the upper limit of the predetermined range) that the first identification value can take, is set as the X-axis coordinate value of the auxiliary plot P33. Also, the value "1.1", which is equal to or greater than the maximum value "1" (the upper limit of the predetermined range) that the second identification value can take, is set as the Y-axis coordinate value of the auxiliary plot P33.

[0077] In other words, the auxiliary plot P3 is a plot in which the coordinate values ​​of a coordinate system with multiple axes are a combination of the minimum value of the classification values ​​output by each of the multiple classification algorithms A0 for the set of plots P2 in the second category and a value equal to or greater than the upper limit of a predetermined range. Note that, for example, in a three-dimensional system (if the number of classification algorithms A0 is three), the number of auxiliary plots P3 can be seven.

[0078] The boundary determination unit 13 determines a convex hull boundary B1 by including the auxiliary plots P31 to P33 in the set of plot P2. As a result, as shown in FIG. 5B, a convex hull boundary B1 of a convex polygon is determined, which includes all of the auxiliary plots P31 to P33 as vertices.

[0079] By setting the auxiliary plot P3 in this way, the plot PX1 shown in Figure 5C is more likely to be located within the convex hull boundary B1, and the inspection image of the plot PX1 is more likely to be determined to be in the second category (defective). As a result, erroneous determinations (overlooking defective products) due to overlearning are reduced.

[0080] 5B and 5C, the convex hull boundary B1 for which auxiliary plot P3 is set has a reduced number of vertices of its convex polygon (or, in the case of a convex polyhedron, the number of faces). Reducing the number of vertices of a convex polygon or the number of faces of a convex polyhedron also reduces the amount of information, such as the equation that uniquely defines the convex hull boundary B1. This simplifies the inspection algorithm, making it easier to shorten the time required for judgment in the inspection algorithm.

[0081] In particular, there is a high possibility that a large number of plots P0 will occur near the coordinate (1, 1). If a large number of plots P0 occur near the coordinate (1, 1), there is a possibility that vertices or faces will be concentrated near the coordinate (1, 1). By setting the auxiliary plot P3, it is possible to reduce the possibility that vertices or faces of the convex hull boundary B1 will be concentrated near the coordinate (1, 1).

[0082] In the present disclosure, it is not essential that the convex hull boundary B1 be determined taking the auxiliary plot P3 into consideration. For example, it is preferable that a switch to decide whether to take the auxiliary plot P3 into consideration (enabling or disabling the setting) can be accepted through the input unit 16. It is also preferable that a change in the setting of the above-mentioned "value equal to or greater than the upper limit" and a change in the setting regarding the position or number of the auxiliary plots P3 can be accepted through the input unit 16. Setting information regarding the auxiliary plot P3 is stored in a storage unit of the processing system 1.

[0083] Furthermore, if a sufficient number of image data sets DS1 labeled with the second category (defective) cannot be prepared in advance, there is a possibility that there will be inspection images for which a classification value slightly smaller than the convex hull boundary B1 is output (see plot PX1 in FIG. 6A). In other words, a misjudgment (overlooking a defective product) may occur due to a lack of defective image data.

[0084] Therefore, in this embodiment, the criterion adjuster 15 adjusts the judgment criterion by performing a predetermined margin adjustment on the convex hull boundary B1 so that the area surrounded by the convex hull boundary B1 expands. For example, as shown in FIG. 6B , the criterion adjuster 15 moves at least a portion of the convex hull boundary B1 so that the area surrounded by the convex hull boundary B1 expands slightly. The portion to be moved is preferably a portion of the convex hull boundary B1 on the side adjacent to the set of the first category (good). In the example shown in FIG. 6B , a predetermined ratio (e.g., 1-10) less than 1.0 is applied to the coordinate values ​​(first identification value, second identification value) on both the X and Y axes of each of the plots P22 and P23. -3 ) and the resulting value is used as the coordinate value of the new vertex. As a result, the side between the plots P22 and P23 moves in a direction approaching the origin. Also, the X-axis coordinate value X of the auxiliary plot P31 1 , and the Y-axis coordinate value Y of the auxiliary plot P32 1 The coordinate values ​​of auxiliary plot P33 are fixed at (1.1, 1.1) without being multiplied by a predetermined ratio.

[0085] By adjusting the margins of the convex boundary B1 in this way, it becomes easier to output more reliable determination criterion information D1, thereby reducing the risk of overlooking defective products.

[0086] In the present disclosure, it is not essential that margin adjustment be performed on the convex hull boundary B1. For example, it is preferable that switching whether or not to perform margin adjustment (enabling or disabling margin adjustment) can be accepted through the input unit 16. It is also preferable that setting changes such as the above-mentioned "predetermined ratio" can be accepted through the input unit 16. Setting information related to margin adjustment is stored in the storage unit of the processing system 1.

[0087] The display processing unit 14 displays a (specific) image data set DS1 corresponding to plot P2 (P21 to P29) (which is a vertex of the convex hull boundary B1) among the multiple image data sets DS1 on the display unit 17. For example, the display processing unit 14 displays the image data of the specific image data set DS1 on the display unit 17 so that the assigned labels can be seen. Furthermore, it is preferable that the display processing unit 14 displays on the display unit 17 a message urging the operator to visually check the image data and a message urging the operator to respond as to whether the label of the second category (defective) assigned to the image data is correct.

[0088] That is, in this embodiment, the operator can visually check the image data sets DS1 corresponding to the vertices of the convex hull boundary B1 through the display unit 17. For example, the display processing unit 14 causes the display unit 17 to display specific image data sets DS1 labeled with the second category, which correspond to the nine vertices (plots P21 to P29) of the convex hull boundary B1 shown in FIG. 3B . When the auxiliary plot P3 is present, the display processing unit 14 may cause the display unit 17 to display image data sets DS1 of the second category, which correspond to the two vertices other than the auxiliary plot P3 (plots P22 and P23) of the five vertices of the convex hull boundary B1 shown in FIG. 5B .

[0089] The worker visually checks the displayed image data. If the worker determines that the assigned label of the second category (poor) is correct, the worker replies that the label is correct through the input unit 16. On the other hand, if the worker determines that the assigned label of the second category (poor) is incorrect, the worker replies that the label is incorrect through the input unit 16 and requests re-labeling to change the label to the first category (good).

[0090] When the processing system 1 receives a re-labeling request from the operator via the input unit 16, it changes the label of the corresponding specific image data set DS1 to the first category (good). Then, the boundary determination unit 13 determines the convex hull boundary B1 again. That is, the boundary determination unit 13 updates the convex hull boundary B1 based on the re-labeling result received by the input unit 16.

[0091] In this way, the processing system 1 allows a specific image data set DS1 to be displayed on the display unit 17 and re-labeled. As a result, if there is an incorrect label, the user can efficiently correct it. In addition, the reliability of the convex hull boundary B1 is improved.

[0092] The output processing unit 11 outputs determination criterion information D1 including the convex hull boundary B1 determined by the boundary determination unit 13. In this embodiment, the output processing unit 11 outputs the determination criterion information D1 including information such as an equation that uniquely determines the convex hull boundary B1 to the inspection system 2. When a request for re-labeling is received, the output processing unit 11 outputs the determination criterion information D1 including the updated convex hull boundary B1.

[0093] There is no particular limitation on the timing at which the output processing unit 11 outputs the determination criterion information D1. The determination criterion information D1 may be output at any timing when, for example, an operator requests the determination criterion information D1 through the input unit 16.

[0094] For example, a new type of defect may be discovered and a new image data set DS1 may be added. Each time an image data set DS1 is added, the operator may request the determination criterion information D1. The processing system 1 outputs the determination criterion information D1 including the latest convex hull boundary B1, taking the new image data set DS1 into consideration. Therefore, if the determination criterion information D1 has already been stored in the storage unit 24 of the inspection system 2, the determination criterion information D1 is updated to the latest convex hull boundary B1.

[0095] (2.3) Inspection System The inspection system 2 is configured to execute an inspection algorithm that applies the determination criterion information D1 output from the processing system 1. As shown in FIG. 2 , the inspection system 2 includes a processing unit 20, a storage unit 24, and an inspection result notification unit 25.

[0096] The processing unit 20 can be realized by a computer system including one or more processors (microprocessors) and one or more memories. That is, the one or more processors execute one or more programs (applications) stored in one or more memories to function as the processing unit 20. Here, the programs are pre-recorded in the memory of the processing unit 20, but they may also be provided via a telecommunications line such as the Internet or by being recorded on a non-transitory recording medium such as a memory card.

[0097] 2, the processing unit 20 includes an image acquisition unit 21, an identification acquisition unit 22, and a determination unit 23. That is, the processing unit 20 has a function as the image acquisition unit 21, a function as the identification acquisition unit 22, and a function as the determination unit 23.

[0098] The image acquisition unit 21 acquires image data IM1 of the object T1. The image acquisition unit 21 acquires the image data IM1 (inspection image) from the imaging unit 3 in real time during the inspection flow.

[0099] The identification acquisition unit 22 inputs the image data IM1 acquired by the image acquisition unit 21 into multiple identification algorithms A0 and acquires identification results from the multiple identification algorithms A0. That is, in the inspection flow, the identification acquisition unit 22 inputs the image data IM1 into the multiple identification algorithms A0 every time it acquires image data IM1 from the imaging unit 3, and acquires identification results for each inspection image as many times as the number of the multiple identification algorithms A0. As described above, the multiple identification algorithms A0 used in the inspection flow are the same as the multiple identification algorithms A0 used in the learning flow.

[0100] For example, the identification acquisition unit 22 inputs an inspection image acquired at a certain timing into each of the first and second identification algorithms A1 and A2, and then acquires a first and second identification value for the inspection image from the first and second identification algorithms A1 and A2.

[0101] The identification acquisition unit 22 uses a plurality of identification algorithms A0 stored in the storage unit 24. The identification acquisition unit 22 may acquire the plurality of identification algorithms A0 from an external storage device (which may be an external cloud server).

[0102] The storage unit 24 is a rewritable nonvolatile memory such as an EEPROM, and stores (contains) in advance a program related to an inspection algorithm. The storage unit 24 also stores (contains) in advance a plurality of classification algorithms A0 (trained models, etc.). The storage unit 24 can also store determination criterion information D1, which includes information such as an equation that uniquely defines the convex hull boundary B1, output from the processing system 1. The storage unit 24 may be a memory of the processing unit 20.

[0103] The determination unit 23 makes a determination regarding the category based on the positional relationship between the identification result acquired by the identification acquisition unit 22 and the convex hull boundary B1 of the determination criterion information D1. Specifically, when the identification result acquired by the identification acquisition unit 22 is located inside the convex hull boundary B1, the determination unit 23 determines that the appearance condition of the object T1 is poor. When the identification result acquired by the identification acquisition unit 22 is located outside the convex hull boundary B1, the determination unit 23 determines that the appearance condition of the object T1 is good.

[0104] For example, the determination unit 23 identifies the position on a two-axis coordinate system of the first and second identification values ​​for an inspection image acquired at a certain timing as a point (plot PX1). Then, as shown in FIG. 4A , if the plot PX1 is located outside the convex hull boundary B1, the determination unit 23 makes a final determination that the appearance condition of the object T1 is good. Also, as shown in FIG. 4B , if the plot PX1 is located inside the convex hull boundary B1, the determination unit 23 makes a final determination that the appearance condition of the object T1 is poor. The determination unit 23 may also make a final determination that the appearance condition is poor when the plot PX1 overlaps the convex hull boundary B1.

[0105] In short, the inspection system 2 does not make a final judgment of whether an object is good or bad directly from the recognition results (recognition values) of multiple recognition algorithms A0, but rather makes a final judgment of whether an object is good or bad using the convex hull boundary B1 as the judgment criterion.

[0106] When the determination unit 23 determines whether the position of the plot PX1 is inside or outside the boundary B1 of the convex hull, the determination can be made with relatively simple calculation logic if the boundary B1 is a two-axis (two-dimensional) convex hull. However, if the boundary B1 is a three- or more-dimensional convex hull, the calculation logic for determining whether the position of the plot PX1 is inside or outside the boundary B1 of the convex hull may become complicated.

[0107] Therefore, in this embodiment, the determination unit 23 has a function equivalent to the convex hull boundary B1 calculation function of the boundary determination unit 13 of the processing system 1. The determination unit 23 then includes the plot PX1 of the inspection image in the set of plots P2 used in the learning flow, and again calculates the convex hull boundary B1 (referred to as a "provisional boundary" to avoid confusion with the convex hull boundary B1 of the original determination criterion). The determination unit 23 does not necessarily have to have the function of calculating the provisional boundary, and in this case, it may communicate with the processing system 1 to cause the boundary determination unit 13 to calculate the provisional boundary by including the plot PX1 of the inspection image in the set of plots P2.

[0108] The determination unit 23 then determines whether the provisional boundary obtained by adding the plot PX1 to the inspection image has changed from the original convex hull boundary B1. That is, if the provisional boundary is different from the original convex hull boundary B1 (change present), the plot PX1 was located outside the convex hull boundary B1, and therefore it is considered that the plot PX1 was considered to be a new vertex and the boundary was updated. On the other hand, if the provisional boundary is the same as the original convex hull boundary B1 (no change), it is considered that the plot PX1 was located within the convex hull boundary B1 of the determination standard, and therefore it was not considered to be a new vertex and the boundary was not updated. Based on the presence or absence of this change, the determination unit 23 determines that the plot PX1 is located outside the convex hull boundary B1 if there is a change, and determines that the plot PX1 is located within the convex hull boundary B1 if there is no change. By employing such a determination method, the possibility of the calculation logic becoming complicated can be reduced.

[0109] As explained in the explanation of the learning flow, if a sufficient number of defective image data sets DS1 cannot be prepared in advance, there is a possibility that there will be inspection images that output a classification value slightly smaller than the convex hull boundary B1 (see plot PX1 in FIG. 7A ). In other words, a lack of defective image data may result in erroneous judgment (overlooking a defective product).

[0110] In the explanation of the learning flow, it was explained that the standard adjustment unit 15 on the processing system 1 side adjusts the judgment standard by making a predetermined margin adjustment to the convex hull boundary B1, thereby reducing the risk of overlooking defective products.

[0111] However, instead of (or in addition to) performing margin adjustment on the convex hull boundary B1 on the processing system 1 side, margin adjustment may be performed on the inspection system 2 side, for example. That is, the determination unit 23 may perform a specified margin adjustment on the identification result acquired by the identification acquisition unit 22, and then determine whether the appearance state of the object T1 is good or bad.

[0112] For example, the determination unit 23 may multiply the first and second discrimination values ​​for each inspection image by a specified ratio greater than 1.0, and use the resulting values ​​as the first and second discrimination values ​​for determination. Alternatively, the determination unit 23 may use the dividing point (value) obtained by dividing the first discrimination value and 1.0 by a specified value less than or equal to 1 as the first discrimination value after margin adjustment, and similarly may use the dividing point (value) obtained by dividing the second discrimination value and 1.0 by a specified value less than or equal to 1 as the second discrimination value after margin adjustment. Specifically, for example, when ε=10 -3 Letting α be the discrimination value before margin adjustment and β be the discrimination value after margin adjustment, the determination unit 23 can calculate β by β = α + (1 - α) × ε. Figure 7B shows a plot PX1 corresponding to the first discrimination value and the second discrimination value before multiplication by the specified ratio (before margin adjustment), and a plot PX2 corresponding to the first discrimination value and the second discrimination value after multiplication by the specified ratio (after margin adjustment). Because the plot PX1 before margin adjustment is located outside the convex hull boundary B1, it is ultimately determined to be good even though it is actually bad. Because the plot PX2 after margin adjustment is located inside the convex hull boundary B1, it is ultimately determined to be bad.

[0113] By adjusting the specified margins for the identification results in this way, it is possible to achieve more reliable pass / fail judgment, thereby reducing the risk of overlooking defective products.

[0114] In the present disclosure, it is not essential that margin adjustment be performed on the identification results. For example, it is preferable that switching whether to perform margin adjustment (enabling or disabling margin adjustment) can be accepted through at least one user interface (input unit) such as a mouse, keyboard, or pointing device provided in the inspection system 2. The input unit of the inspection system 2 may be the input unit 16 of the processing system 1. It is also preferable that setting changes such as the above-mentioned "prescribed ratio" can be accepted through the input unit. Setting information related to margin adjustment is stored in the memory unit 24.

[0115] The inspection result notification unit 25 notifies the inspector of the judgment result by the judgment unit 23. For example, the inspection result notification unit 25 may be a monitoring monitor or an information terminal (such as a personal computer, laptop, tablet, or smartphone) used by the inspector. The inspection result notification unit 25 may also be the display unit 17 of the processing system 1. The inspection result notification unit 25 may notify the inspector of all judgment results, regardless of whether they are good or bad. However, to avoid the cumbersome nature of the large amount of information, the inspection result notification unit 25 only notifies a warning message if the judgment result is bad. The notification may be performed by issuing an alert sound from a speaker, for example. The inspection result notification unit 25 preferably notifies the inspector of information (e.g., a product number) that allows the inspector to identify the object T1 for which the judgment result is bad. The inspection result notification unit 25 may also notify (display on a screen) image data IM1 (inspection image) for which the judgment result is bad. Note that all judgment results, regardless of whether they are good or bad, are preferably stored in the storage unit 24 as log information.

[0116] Furthermore, the inspection system 2 sends a signal to the management equipment that manages the production line to discard the object T1 that has been judged to be bad, to temporarily stop the operation of the conveying device so that an inspector can visually inspect it, or to move it to a storage location for visual inspection.

[0117] (2.4) Operation of the Processing System An example of operation (operation related to the learning flow) in the processing system 1 will be briefly described below with reference to the flowchart in Figure 8. Note that the order of the following processes (steps) is merely an example and is not limited thereto. Furthermore, some of the following processes may be omitted or processes may be added.

[0118] For example, when the processing system 1 receives a request to execute a learning flow from a worker via the input unit 16 (step ST1: Yes), the processing system 1 executes the learning flow (proceed to the next step ST2). The processing system 1 waits without executing the learning flow until it receives a request to execute a learning flow from a worker (step ST1: No).

[0119] The processing system 1 inputs a plurality of image data sets DS1 prepared in advance to a plurality of classification algorithms A0 in the algorithm processing unit 12 (step ST2).The processing system 1 then acquires the classification values ​​output from the classification algorithms A0 for each of the image data sets DS1, the number of which is equal to the number of classification algorithms A0 (step ST3).

[0120] Next, the processing system 1 scales each acquired discrimination value to a numerical value within the range of 0.00 to 1.00 in the boundary determination unit 13 (step ST4). The processing system 1 plots the scaled discrimination values ​​in the boundary determination unit 13 on a coordinate system with multiple axes (step ST5).

[0121] The processing system 1 determines a convex hull boundary B1 in the boundary determination unit 13 based on the classification values ​​(set of plots P2) for multiple image data sets DS1 labeled with the second category (bad) (step ST6).

[0122] The processing system 1 checks whether the auxiliary plot setting is valid or invalid using the boundary determination unit 13 (step ST7). If the auxiliary plot setting is valid (step ST7: Yes), the processing system 1 includes the auxiliary plot P3 in the set of plots P2 of the second category and re-determines the convex hull boundary B1 (step ST8). If the auxiliary plot setting is invalid (step ST7: No), the processing system 1 skips step ST8. Step ST7 may be executed before step ST6.

[0123] The processing system 1 checks whether the margin adjustment setting is valid or invalid using the reference adjustment unit 15 (step ST9). If the margin adjustment setting is valid (step ST9: Yes), the processing system 1 performs a predetermined margin adjustment on the convex hull boundary B1 (step ST10). If the margin adjustment setting is invalid (step ST9: No), the processing system 1 skips step ST10. Step ST9 may be performed before step ST6.

[0124] The processing system 1 causes the display processing unit 14 to display on the display unit 17 a specific image data set DS1 of the plot P2 corresponding to the vertices of the convex hull boundary B1 (step ST11).

[0125] The worker visually checks the specific image data set DS1 displayed on the display unit 17, determines whether the assigned labels are correct, and responds with the result of the determination via the input unit 16. Based on the response, the processing system 1 determines whether or not there is a request for re-labeling (step ST12).

[0126] When the processing system 1 determines that re-labeling is requested (step ST12: Yes), it executes re-labeling (step ST13). That is, the processing system 1 changes the label of the corresponding specific image data set DS1 from the second category (bad) to the first category (good). Then, the processing system 1 returns to step ST6, and the boundary determination unit 13 again determines the convex hull boundary B1.

[0127] If the processing system 1 determines that there has been no request for re-labeling (step ST12: No), it determines the convex hull boundary B1 without performing re-labeling. The processing system 1 outputs, via the output processing unit 11, determination criterion information D1 including the determined convex hull boundary B1 to the inspection system 2 (step ST14). In other words, the processing method according to this embodiment includes an output processing step of outputting determination criterion information D1 including the convex hull boundary B1 to be applied to the inspection algorithm executed by the inspection system 2.

[0128] (2.5) Operation of the Inspection System An example of the operation of the inspection system 2 (operation related to the inspection flow) will be briefly described below with reference to the flowchart in Fig. 9. Note that the order of the following processes (steps) is merely an example and is not limited thereto. Furthermore, some of the following processes may be omitted or additional processes may be added.

[0129] For example, when the inspection system 2 receives an execution request for an inspection flow from an inspector via the input unit of the inspection system 2 (step ST21: Yes), the inspection system 2 executes the inspection flow (proceed to next step ST22). The inspection system 2 waits without executing the inspection flow until it receives an execution request for an inspection flow from the inspector (step ST21: No).

[0130] In the inspection flow, the imaging unit 3 captures images of the target object T1 being sequentially transported by a transport device such as a conveyor. The inspection system 2 causes the image acquisition unit 21 to acquire image data IM1 (inspection image) from the imaging unit 3 in real time as needed (step ST22).

[0131] In the inspection system 2, the identification acquisition unit 22 inputs the acquired inspection image into a plurality of identification algorithms A0 (step ST23). Then, the inspection system 2 acquires identification values ​​for the inspection image equal to the number of the identification algorithms A0 (step ST24).

[0132] Next, the inspection system 2 causes the determining unit 23 to scale each of the acquired discrimination values ​​to a numerical value within the range of 0.00 to 1.00 (step ST25).

[0133] Furthermore, the inspection system 2 checks whether the margin adjustment setting is valid or invalid using the determination unit 23 (step ST26). If the margin adjustment setting is valid (step ST26: Yes), the inspection system 2 performs margin adjustment on the multiple identification values ​​(plot PX1) related to the inspection image (step ST27). If the margin adjustment setting is invalid (step ST26: No), the inspection system 2 skips step ST27.

[0134] The inspection system 2 determines in the determination unit 23 whether the multiple identification values ​​(plot PX1 or margin-adjusted plot PX2) related to the inspection image are located inside or outside the convex hull boundary B1 (step ST28).

[0135] If the inspection system 2 determines that the multiple identification values ​​(plot PX1 or PX2) related to the inspection image are located within the convex hull boundary B1 (step ST28: Yes), it determines that the object T1 in the inspection image is "defective" (step ST29). Then, the inspection system 2 notifies the inspection result notification unit 25 with a warning message indicating that the determination result is "defective" (step ST30). The inspection system 2 also sends a signal to the management equipment that manages the production line to take the above-mentioned predetermined action (such as discarding the object T1 or temporarily suspending the operation of the conveying device).

[0136] On the other hand, if the inspection system 2 determines that the multiple identification values ​​(plot PX1 or PX2) related to the inspection image are located outside the convex hull boundary B1 (step ST28: No), it determines that the object T1 in the inspection image is "good" (step ST31). In this case, the inspection system 2 does not notify a warning message.

[0137] Advantages The processing system 1 according to this embodiment includes an output processing unit 11 that outputs determination criterion information D1 including information about the determination boundary, which is a convex hull boundary B1. Therefore, an object T1 that is actually in the first category (good) is less likely to be determined as being in the second category (bad). As a result, the processing system 1 has the advantage of being able to reduce the overdetection rate.

[0138] Furthermore, the image data set DS1 of the second category (defective) may be collected with a certain degree of bias toward the discrimination value of 1, and as shown in FIG. 3A etc., the set of plots P2 of the second category may have dense areas near 1 and sparse areas near the center. If the boundary B1 is a convex hull, even in the set of plots P2 of the second category in which sparse areas exist near the center, the risk of erroneously determining (overlooking) an object T1 of the second category (defective) as being of the first category (good) can be reduced.

[0139] Furthermore, in the processing system 1, the algorithm processing unit 12 automatically inputs multiple image data sets DS1 to multiple classification algorithms A0 and outputs classification results of the multiple classification algorithms A0. Therefore, a configuration for inputting multiple image data sets DS1 to multiple classification algorithms A0 outside the processing system 1 is not required.

[0140] Furthermore, in the processing system 1, the convex hull boundary B1 is automatically determined by the boundary determination unit 13. Therefore, compared to a case where an operator determines the convex hull boundary B1 based on the identification result, the determination criterion information D1 is more likely to be output in a highly reliable manner. Also, the operator is less required to take the time and effort to determine the convex hull boundary B1.

[0141] In the inspection system 2 according to this embodiment, the determination unit 23 determines the category based on the positional relationship between the identification result acquired by the identification acquisition unit 22 and the convex hull boundary B1. Therefore, an object T1 that is actually in the first category (good) is less likely to be determined as being in the second category (bad). As a result, the inspection system 2 has the advantage of being able to reduce the overdetection rate.

[0142] Furthermore, if the identification result acquired by the identification acquisition unit 22 is located inside the boundary B1 of the convex hull, the determination unit 23 determines that the appearance condition of the object T1 is poor. If the identification result acquired by the identification acquisition unit 22 is located outside the boundary B1 of the convex hull, the determination unit 23 determines that the appearance condition of the object T1 is good. This makes it possible to reduce the overdetection rate regarding the quality of the appearance condition.

[0143] (3) Modifications The above embodiment is merely one of various embodiments of the present disclosure. The above embodiment can be modified in various ways depending on the design, etc., as long as the object of the present disclosure can be achieved. Furthermore, functions similar to those of the processing system 1 according to the above embodiment may be embodied as a processing method, a computer program, a non-transitory recording medium on which a computer program is recorded, etc. Furthermore, functions similar to those of the inspection system 2 according to the above embodiment may be embodied as an inspection method, a computer program, a non-transitory recording medium on which a computer program is recorded, etc.

[0144] Modifications of the above embodiment are listed below. Each of the modifications described below can be applied in appropriate combination with the above embodiment or other modifications.

[0145] Each of the processing system 1 and the inspection system 2 in the present disclosure includes a computer system. The computer system is primarily composed of a processor and memory as hardware. The processor executes a program stored in the memory of the computer system to realize the functions of the processing system 1 and the inspection system 2 in the present disclosure. The program may be pre-recorded in the memory of the computer system, provided via a telecommunications line, or provided in a non-transitory recording medium readable by the computer system, such as a memory card, optical disk, or hard disk drive. The processor of the computer system is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or a large-scale integrated circuit (LSI). The integrated circuits, such as ICs and LSIs, are referred to by different names depending on the degree of integration, and include integrated circuits called system LSIs, very large-scale integrations (VLSIs), or ultra-large-scale integrations (ULSIs). Furthermore, field-programmable gate arrays (FPGAs), which are programmed after the LSI is manufactured, or logic devices capable of reconfiguring the connections within the LSI or the circuit partitions within the LSI, can also be used as processors. The electronic circuits may be integrated into one chip or distributed across multiple chips. The chips may be integrated into one device or distributed across multiple devices. The computer system referred to here includes a microcontroller having one or more processors and one or more memories. Therefore, the microcontroller is also composed of one or more electronic circuits including a semiconductor integrated circuit or a large-scale integrated circuit.

[0146] Furthermore, it is not essential that multiple functions in the processing system 1 are concentrated in one housing. For example, the components of the processing system 1 may be distributed across multiple housings. Specifically, the function of the algorithm processing unit 12 may be provided in an external device (e.g., a cloud server), and other functions of the processing unit 10 (such as the function of the boundary determination unit 13) may be provided in a device in an edge environment such as a factory.

[0147] Furthermore, it is not essential that the multiple functions of the inspection system 2 are integrated into one housing. For example, the components of the inspection system 2 may be distributed across multiple housings. Specifically, the function of the identification acquisition unit 22 may be provided in an external device (e.g., a cloud server), and the other functions of the processing unit 20 (such as the function of the determination unit 23) may be provided in a device in an edge environment such as a factory.

[0148] Conversely, multiple functions in the processing system 1 may be integrated into one housing as in the above embodiment. Furthermore, at least some of the functions of the processing system 1, for example, some of the functions of the processing system 1, may be realized by the cloud (cloud computing) or the like. Furthermore, multiple functions in the inspection system 2 may be integrated into one housing as in the above embodiment. Furthermore, at least some of the functions of the inspection system 2, for example, some of the functions of the inspection system 2, may be realized by the cloud (cloud computing) or the like.

[0149] Furthermore, at least some of the functions of the processing system 1 and at least some of the functions of the inspection system 2 may be executed by the same processor. Specifically, the functions of the boundary determination unit 13 of the processing system 1 and the functions of the determination unit 23 of the inspection system 2 may be executed by the same processor.

[0150] In the above-described embodiment, the auxiliary plot P3 is a plot whose coordinate values ​​are a combination of the minimum discrimination value output by each of the multiple discrimination algorithms A0 for the set of plots P2 in the second category and a value equal to or greater than the upper limit of a predetermined range (0 to 1). However, the method for setting the auxiliary plot P3 is not limited to this. For example, the auxiliary plot P3 may be set to any point at which the convex hull boundary B1 (or the extensions of the "sides" or "faces" constituting the boundary B1) intersects with the boundary of the predetermined range. In two-dimensional terms, if the predetermined range is 0 to 1, the boundary of the predetermined range is a first line connecting the origin (0,0) and (0,1), a second line connecting (0,1) and (1,1), a third line connecting (1,1) and (1,0), and a fourth line connecting the origin (0,0) and (1,0). Alternatively, any of the points of intersection between the convex hull boundary B1 (or the extension lines of the "sides" or the extension surfaces of the "faces" that make up the boundary B1) and the boundary of an area larger than a specified range may be set on the auxiliary plot P3.

[0151] In the above-described embodiment, it is assumed that a higher discrimination value indicates a higher possibility that the object T1 belongs to the second category (defective). However, a higher discrimination value may indicate a higher possibility that the object T1 belongs to the first category (good). In this case, the boundary determination unit 13 may set, as the auxiliary plot P3, coordinate values ​​that include values ​​equal to or less than the lower limit of a predetermined range in the multi-axis coordinate system.

[0152] (4) Summary As described above, the processing system (1) according to the first aspect includes an output processing unit (11) that outputs criterion information (D1) applied to an inspection algorithm that inspects a category related to an object (T1) from image data (IM1) of the object (T1). The criterion information (D1) includes information about a decision boundary determined based on the classification results of a plurality of different classification algorithms (A0). The decision boundary serves as a criterion for determining whether the category related to the object (T1) is a first category or a second category in the inspection algorithm. When a plurality of image datasets (DS1) related to the object (T1) are input, each of the plurality of classification algorithms (A0) identifies a category for each of the plurality of image datasets (DS1). Each of the plurality of image datasets (DS1) is assigned a label indicating the first category or the second category. The decision boundary is a convex hull boundary (B1) determined based on a set of classification results for an image dataset (DS1) that is assigned a label indicating the second category among the plurality of image datasets (DS1).

[0153] According to this aspect, the processing system (1) includes an output processing unit (11) that outputs judgment criteria information (D1) including information about the judgment boundary, which is a convex hull boundary (B1). Therefore, an object (T1) that is actually in the first category (e.g., good) is less likely to be judged as being in the second category (e.g., bad). As a result, the processing system (1) has the advantage of being able to reduce the overdetection rate.

[0154] The processing system (1) according to the second aspect is the same as the processing system (1) according to the first aspect, and further includes an algorithm processing unit (12). The algorithm processing unit (12) inputs a plurality of image data sets (DS1) to a plurality of classification algorithms (A0) and outputs classification results of the plurality of classification algorithms (A0).

[0155] According to this aspect, it is not necessary to configure a plurality of image data sets (DS1) to input a plurality of classification algorithms (A0) outside the processing system (1).

[0156] Regarding the processing system (1) according to the third aspect, in the first or second aspect, the judgment criteria information (D1) includes information regarding at least one of the vertices, edges, and faces that constitute the convex hull boundary (B1).

[0157] According to this aspect, the criterion information (D1) is more likely to be output in a highly reliable manner.

[0158] The processing system (1) according to a fourth aspect is the processing system (1) of any one of the first to third aspects, further comprising a boundary determination unit (13). The boundary determination unit (13) determines a convex hull boundary (B1) based on a classification result for an image dataset (DS1) that is assigned a label indicating a second category among a plurality of image datasets (DS1).

[0159] According to this aspect, since the convex hull boundary (B1) is automatically determined by the processing system (1), the judgment criterion information (D1) is more likely to be output in a highly reliable manner than when the convex hull boundary (B1) is determined by a user based on the classification result, for example. Also, the user does not have to spend time and effort determining the convex hull boundary (B1).

[0160] Regarding the processing system (1) according to the fifth aspect, in any one of the first to fourth aspects, the category is a category relating to the quality of the appearance state of the object (T1).

[0161] According to this aspect, it is possible to reduce the rate of overdetection regarding the quality of the appearance state.

[0162] Regarding the processing system (1) according to the sixth aspect, in the fifth aspect, the first category is a category indicating that the appearance condition of the object (T1) is good, and the second category is a category indicating that the appearance condition of the object (T1) is poor.

[0163] According to this aspect, an object (T1) that is actually in a good appearance state is less likely to be judged as defective.

[0164] In the processing system (1) according to the seventh aspect, in any one of the first to sixth aspects, the plurality of classification algorithms (A0) output, as a classification result, a numerical classification value for each of the plurality of image data sets (DS1), where the classification value corresponds to a probability that the object (T1) belongs to one of the first and second categories.

[0165] According to this aspect, the identification results of the multiple identification algorithms (A0) are more likely to be output in a highly reliable manner.

[0166] The processing system (1) according to an eighth aspect is the seventh aspect, further comprising a boundary determination unit (13). The boundary determination unit (13) determines a convex hull boundary (B1) based on a classification result for an image dataset (DS1) labeled with a second category among a plurality of image datasets (DS1). The boundary determination unit (13) plots classification values ​​output by a plurality of classification algorithms (A0) for each of the plurality of image datasets (DS1) in a coordinate system with multiple axes. As a result, the boundary determination unit (13) determines, as the convex hull boundary (B1), a boundary that forms a convex set with vertices being plots (P2: P21 to P29) for a set of plots (P2) labeled with the second category among a plurality of plots (P0) corresponding to the plurality of image datasets (DS1).

[0167] According to this aspect, automatic determination of the convex hull boundary (B1) by the processing system (1) becomes easier to achieve.

[0168] Regarding the processing system (1) according to the ninth aspect, in the eighth aspect, the identification values ​​output by each of the plurality of identification algorithms (A0) are values ​​that fall within a predetermined range, or are scaled by the boundary determination unit (13) so that they fall within the predetermined range.

[0169] According to this aspect, the variation (bias) in the identification values ​​due to each identification algorithm (A0) is less likely to become large, and automatic determination of the convex hull boundary (B1) by the processing system (1) becomes easier to realize.

[0170] In the processing system (1) according to the tenth aspect, in the ninth aspect, the boundary determination unit (13) sets coordinate values ​​including values ​​equal to or greater than the upper limit of a predetermined range as auxiliary plots (P3) in a multi-axis coordinate system, and determines a convex hull boundary (B1) by including the auxiliary plots (P3) in a set of plots (P2) of the second category.

[0171] According to this aspect, for example, the classification result of a certain classification algorithm (A0) may indicate that an object (T1) in a certain inspection image is likely to belong to the second category (e.g., defective). Nevertheless, the classification result of another classification algorithm (A0) may indicate that the object (T1) in the same inspection image is likely to belong to the first category (e.g., good). In this case, the object (T1) that should actually be determined to belong to the second category (e.g., defective) may be determined to belong to the first category (e.g., good), resulting in an oversight of the second category. Setting the plot as an auxiliary plot (P3) reduces erroneous determinations (oversights) due to oversight. Furthermore, the inspection algorithm is simplified, making it easier to shorten the time required for the inspection algorithm to make a determination.

[0172] Regarding the processing system (1) according to the eleventh aspect, in the tenth aspect, the auxiliary plot (P3) is a plot in which the coordinate values ​​of a coordinate system of multiple axes are a combination of the minimum value of the identification values ​​output by each of the plurality of identification algorithms (A0) for the set of plots (P2) of the second category and a value equal to or greater than the upper limit of a predetermined range.

[0173] According to this aspect, erroneous determinations (oversights) due to overlearning are further suppressed, and the time required for determination in the inspection algorithm is further reduced.

[0174] A processing system (1) according to a twelfth aspect is any one of the eighth to eleventh aspects, further comprising a display processing unit (14) and an input unit (16). The display processing unit (14) displays, on the display unit (17), an image data set (DS1) corresponding to a vertex plot (P2: P21 to P29) among a plurality of image data sets (DS1). The input unit (16) accepts input for re-labeling of the labels assigned to the displayed image data set (DS1). The boundary determination unit (13) updates the convex hull boundary (B1) based on the re-labeling results accepted by the input unit (16). The output processing unit (11) outputs determination criterion information (D1) including the updated convex hull boundary (B1).

[0175] According to this aspect, if there is an erroneous label, the user can efficiently correct it, and the reliability of the convex hull boundary (B1) is also improved.

[0176] A processing system (1) according to a thirteenth aspect is any one of the first to twelfth aspects, further comprising a criterion adjustment unit (15). The criterion adjustment unit (15) adjusts the judgment criterion by performing a predetermined margin adjustment on the convex hull boundary (B1) so that the area surrounded by the convex hull boundary (B1) expands.

[0177] According to this aspect, it is easier to output more reliable determination criterion information (D1), and for example, the risk of oversight is reduced.

[0178] An inspection system (2) according to a fourteenth aspect executes an inspection algorithm that applies determination criterion information (D1) output from the processing system (1) according to any one of the first to thirteenth aspects. The inspection system (2) includes an image acquisition unit (21), an identification acquisition unit (22), and a determination unit (23). The image acquisition unit (21) acquires image data (IM1) of an object (T1). The identification acquisition unit (22) inputs the image data (IM1) acquired by the image acquisition unit (21) into a plurality of identification algorithms (A0) and acquires identification results from the plurality of identification algorithms (A0). The determination unit (23) makes a category determination based on the positional relationship between the identification result acquired by the identification acquisition unit (22) and the convex hull boundary (B1) of the determination criterion information (D1).

[0179] According to this aspect, an object (T1) that is actually in the first category (e.g., good) is less likely to be determined as being in the second category (e.g., bad), which results in the inspection system (2) having the advantage of being able to reduce the overdetection rate.

[0180] Regarding the inspection system (2) according to the fifteenth aspect, in the fourteenth aspect, the categories are categories related to the quality of the appearance state of the object (T1). The first category is a category indicating that the appearance state of the object (T1) is good. The second category is a category indicating that the appearance state of the object (T1) is poor. The determination unit (23) determines that the appearance state of the object (T1) is poor when, as a positional relationship, the identification result acquired by the identification acquisition unit (22) is located within the convex hull boundary (B1). The determination unit (23) determines that the appearance state of the object (T1) is good when, as a positional relationship, the identification result acquired by the identification acquisition unit (22) is located outside the convex hull boundary (B1).

[0181] According to this aspect, it is possible to reduce the rate of overdetection regarding the quality of the appearance state.

[0182] Regarding the inspection system (2) according to the sixteenth aspect, in the fourteenth or fifteenth aspect, the judgment unit (23) performs a prescribed margin adjustment on the identification result acquired by the identification acquisition unit (22) and then judges whether the appearance condition of the object (T1) is good or bad.

[0183] According to this aspect, a more reliable pass / fail determination can be achieved, for example, the risk of overlooking an error can be reduced.

[0184] A processing method according to a seventeenth aspect includes an output processing step of outputting decision criterion information (D1) to be applied to an inspection algorithm that inspects a category related to the object (T1) from image data of the object (T1). The decision criterion information (D1) includes information regarding a decision boundary determined based on the identification results of a plurality of different identification algorithms (A0). The decision boundary serves as a decision criterion for determining whether the category related to the object (T1) is a first category or a second category in the inspection algorithm. When a plurality of image data sets (DS1) related to the object (T1) are input, each of the plurality of identification algorithms (A0) identifies a category for each of the plurality of image data sets (DS1). Each of the plurality of image data sets (DS1) is assigned a label indicating the first category or the second category. The decision boundary is a convex hull boundary (B1) determined based on a set of identification results for image data sets (DS1) that are assigned a label indicating the second category among the plurality of image data sets (DS1).

[0185] According to this aspect, it is possible to provide a processing method that can reduce the rate of overdetection.

[0186] A program according to an eighteenth aspect is a program for causing one or more processors to execute the processing method according to the seventeenth aspect.

[0187] According to this aspect, it is possible to provide a function that can reduce the rate of overdetection.

[0188] The configurations according to the second to thirteenth aspects are not essential for the processing system (1) according to the first aspect and may be omitted as appropriate. The configurations according to the fifteenth and sixteenth aspects are not essential for the inspection system (2) according to the fourteenth aspect and may be omitted as appropriate.

[0189] REFERENCE SIGNS LIST 1 Processing system 11 Output processing unit 12 Algorithm processing unit 13 Boundary determination unit 14 Display processing unit 15 Reference adjustment unit 16 Input unit 17 Display unit 2 Inspection system 21 Image acquisition unit 22 Identification acquisition unit 23 Determination unit A0 Identification algorithm B1 Convex hull boundary D1 Determination criterion information DS1 Image data set IM1 Image data P0, P2 Plot P3 Auxiliary plot T1 Object

Claims

1. an output processing unit that outputs, from image data of an object, determination criterion information to be applied to an inspection algorithm that performs an inspection of a category related to the object; the criterion information includes information on a decision boundary that is determined based on identification results of a plurality of mutually different identification algorithms, the decision boundary being a decision criterion for determining whether the category related to the object is a first category or a second category in the inspection algorithm; each of the plurality of classification algorithms receives a plurality of image data sets relating to the object, and identifies the category for each of the plurality of image data sets; A label indicating the first category or the second category is assigned to each of the plurality of image data sets, the decision boundary is a convex hull boundary determined based on a set of the classification results for an image dataset to which the label indicating the second category is assigned, among the plurality of image datasets; Processing system.

2. an algorithm processing unit that inputs the plurality of image data sets to the plurality of classification algorithms and outputs the classification results of the plurality of classification algorithms; The processing system of claim 1 .

3. The criterion information includes information regarding at least one of vertices, edges, and faces that constitute the boundary of the convex hull.

3. The processing system according to claim 1 or 2.

4. and a boundary determination unit that determines the convex hull boundary based on the classification result for an image dataset to which the label indicating the second category is assigned among the plurality of image datasets.

3. The processing system according to claim 1 or 2.

5. The category is a category related to the quality of the appearance state of the object.

3. The processing system according to claim 1 or 2.

6. the first category is a category indicating that the appearance state of the object is good; The second category is a category indicating that the appearance condition of the object is poor. The processing system of claim 5 .

7. the plurality of classification algorithms output, for each of the plurality of image data sets, a numerical classification value as the classification result, the numerical classification value corresponding to a probability that the object is one of the first category and the second category; 3. The processing system according to claim 1 or 2.

8. a boundary determination unit that determines a boundary of the convex hull based on the classification result for an image dataset to which the label indicating the second category is assigned among the plurality of image datasets, the boundary determination unit plots the classification values ​​output by the plurality of classification algorithms for each of the plurality of image data sets in a coordinate system of multiple axes, and determines, as the convex hull boundary, a boundary that is a convex set with plots as vertices for a set of plots of the second category, among a plurality of plots corresponding to the plurality of image data sets respectively, for which the labels are included; The processing system of claim 7 .

9. The discrimination value output by each of the plurality of discrimination algorithms is a value that falls within a predetermined range, or is scaled by the boundary determination unit so as to fall within the predetermined range. The processing system of claim 8 .

10. the boundary determination unit sets, in the coordinate system of the multiple axes, coordinate values ​​including a value equal to or greater than an upper limit value of the predetermined range as auxiliary plots; the boundary determination unit includes the auxiliary plot in the set of plots of the second category and determines the convex hull boundary. The processing system of claim 9 .

11. the auxiliary plot is a plot in which a combination of a minimum value of a classification value output by each of the plurality of classification algorithms for the set of plots in the second category and a value equal to or greater than an upper limit value of the predetermined range is set as a coordinate value of the coordinate system of the plurality of axes. The processing system of claim 10.

12. a display processing unit that displays, on a display unit, an image dataset corresponding to the plot that is the vertex, among the plurality of image datasets; and an input unit that receives an input for re-labeling of the label that has been assigned to the displayed image data set, The boundary determination unit updates the convex hull boundary based on the re-labeling result received by the input unit; The output processing unit outputs the determination criterion information including the updated convex hull boundary. The processing system of claim 8 .

13. a criterion adjustment unit that adjusts the judgment criterion by performing a predetermined margin adjustment on the boundary of the convex hull so that an area surrounded by the boundary of the convex hull becomes wider; 3. The processing system according to claim 1 or 2.

14. 3. An inspection system that executes the inspection algorithm to which the criterion information output from the processing system according to claim 1 or 2 is applied, an image acquisition unit that acquires the image data of the object; an identification acquisition unit that inputs the image data acquired by the image acquisition unit into the plurality of identification algorithms and acquires identification results from the plurality of identification algorithms; a determination unit that performs a determination regarding the category based on a positional relationship between the classification result acquired by the classification acquisition unit and the boundary of the convex hull of the judgment criterion information; Equipped with Inspection system.

15. The category is a category related to whether an appearance state of the object is good or bad, the first category is a category indicating that the appearance state of the object is good; the second category is a category indicating that the appearance state of the object is poor, The determination unit determines the positional relationship as follows: If the identification result acquired by the identification acquisition unit is located within the boundary of the convex hull, it is determined that the appearance condition of the object is poor; When the classification result acquired by the classification acquisition unit is located outside the boundary of the convex hull, the appearance state of the object is determined to be good. The inspection system of claim 14.

16. The determination unit performs a prescribed margin adjustment on the identification result acquired by the identification acquisition unit, and then determines whether the appearance state of the object is good or bad. The inspection system of claim 14.

17. an output processing step for outputting, from the image data of the object, judgment criteria information to be applied to an inspection algorithm for inspecting a category of the object; the criterion information includes information on a decision boundary that is determined based on identification results of a plurality of mutually different identification algorithms, the decision boundary being a decision criterion for determining whether the category related to the object is a first category or a second category in the inspection algorithm; each of the plurality of classification algorithms receives a plurality of image data sets relating to the object, and identifies the category for each of the plurality of image data sets; A label indicating the first category or the second category is assigned to each of the plurality of image data sets, the decision boundary is a convex hull boundary determined based on a set of the classification results for an image dataset to which the label indicating the second category is assigned, among the plurality of image datasets; Processing methods.

18. A program for causing one or more processors to carry out the processing method according to claim 17.