JP7128107B2 - Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method - Google Patents

Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method Download PDF

Info

Publication number
JP7128107B2
JP7128107B2 JP2018242918A JP2018242918A JP7128107B2 JP 7128107 B2 JP7128107 B2 JP 7128107B2 JP 2018242918 A JP2018242918 A JP 2018242918A JP 2018242918 A JP2018242918 A JP 2018242918A JP 7128107 B2 JP7128107 B2 JP 7128107B2
Authority
JP
Japan
Prior art keywords
image
inspection
inspector
classifier
inspection object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018242918A
Other languages
Japanese (ja)
Other versions
JP2020106935A (en
Inventor
豊 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2018242918A priority Critical patent/JP7128107B2/en
Priority to PCT/JP2019/048327 priority patent/WO2020137526A1/en
Publication of JP2020106935A publication Critical patent/JP2020106935A/en
Application granted granted Critical
Publication of JP7128107B2 publication Critical patent/JP7128107B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Description

本発明は、画像検査器生成装置、画像検査装置、画像検査器生成プログラム、及び画像検査器生成方法に関する。 The present invention relates to an image inspector generation device, an image inspection device, an image inspector generation program, and an image inspector generation method.

従来、分類器生成装置として、欠陥が写った複数の第1画像を含む第1教師データに基づいて深層学習によりCNN(Convolutional Neural Network)を生成するCNN生成手段と、CNN生成手段により生成されたCNNを構成する中間層に、欠陥が写った複数の第2画像それぞれを入力し、当該複数の第2画像それぞれについての複数種類の特徴量を取得する特徴量取得手段と、特徴量取得手段により取得された複数種類の特徴量の少なくとも一部の種類の特徴量を含む第2教師データに基づいて機械学習により分類器を生成する分類器生成手段と、を備えるものが知られている(特許文献1参照)。特許文献1には、この分類器生成装置により生成された分類器により、検査対象を撮像した画像であって欠陥が映った画像を分類することが記載されている。 Conventionally, as a classifier generation device, CNN generation means for generating a CNN (Convolutional Neural Network) by deep learning based on first teacher data including a plurality of first images showing defects, and CNN generation means A feature amount acquisition unit for inputting each of a plurality of second images showing defects to an intermediate layer constituting a CNN and acquiring a plurality of types of feature amounts for each of the plurality of second images; and a classifier generating means for generating a classifier by machine learning based on second teacher data including at least some of the acquired plural types of feature amounts (Patent Reference 1). Patent Literature 1 describes that a classifier generated by this classifier generation device classifies an image of an inspection target that includes a defect.

特開2018-5640号公報Japanese Patent Application Laid-Open No. 2018-5640

特許文献1に記載された分類器のように、深層学習により生成したCNNに基づいて生成された分類器を用い、画像を検査する画像検査装置の場合、分類器による画像の分類及び検査の精度を高めるためには、多種多様な学習用画像を用意し、当該学習用画像の深層学習に基づいて分類器を生成する必要があった。このため、検査精度の高い画像検査装置では、大量の画像が必要であった。 In the case of an image inspection apparatus that inspects an image using a classifier generated based on a CNN generated by deep learning, such as the classifier described in Patent Document 1, the accuracy of image classification and inspection by the classifier In order to increase , it was necessary to prepare a wide variety of training images and generate a classifier based on deep learning of the training images. For this reason, an image inspection apparatus with high inspection accuracy requires a large number of images.

そこで、本発明は、大量の画像を必要とすることなく検査精度の高い画像検査器を生成することのできる画像検査器生成装置、画像検査器生成プログラム、及び画像検査器生成方法を提供することを目的とする。 Therefore, the present invention provides an image inspector generation apparatus, an image inspector generation program, and an image inspector generation method that can generate an image inspector with high inspection accuracy without requiring a large amount of images. With the goal.

本発明の一態様に係る画像検査器生成装置は、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器を生成する画像検査器生成部を備え、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。 An image inspector generation apparatus according to an aspect of the present invention includes an image inspector generation unit that generates an image inspector that inspects an inspection object included in an image by machine learning based on an inspection standard for the inspection object and a learning image. , and the test criteria include information about the state variables of the test object, the state values of the state variables, and the class into which the test object is classified.

この態様によれば、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器が生成され、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。このように、論理情報である検査基準と学習用画像とに基づいて機械学習を行うことにより、学習用画像に基づいて機械学習を行う場合と比較して、機械学習の学習効率を向上させることが可能になる。従って、従来と比較して、大量の学習用画像を必要とせずに検査精度の高い画像検査器を生成することができる。 According to this aspect, an image inspector for inspecting the inspection object included in the image is generated by machine learning based on the inspection standard for the inspection object and the learning image, and the inspection standard includes the state variables of the inspection object, the state Contains information about the state values of variables and the class into which the study object is classified. In this way, by performing machine learning based on the inspection standard and the learning image, which are logical information, the learning efficiency of machine learning can be improved compared to the case of performing machine learning based on the learning image. becomes possible. Therefore, it is possible to generate an image inspection device with high inspection accuracy without requiring a large amount of learning images as compared with the conventional art.

前述した態様において、画像検査器は、検出器と分類器とを含み、画像検査器生成部は、画像に含まれる検査オブジェクトを検出する検出器を生成する検出器生成部と、画像において検出された検査オブジェクトの状態を分類する分類器を生成する分類器生成部と、を含んでもよい。 In the above aspect, the image inspector includes a detector and a classifier, and the image inspector generator includes a detector generator that generates a detector for detecting inspection objects included in the image, and a detector generator that detects inspection objects in the image. and a classifier generator that generates a classifier that classifies the state of the inspected object.

この態様によれば、画像に含まれる検査オブジェクトを検出する検出器が生成され、画像において検出された検査オブジェクトの状態を分類する分類器が生成される。このように、画像に含まれる検査オブジェクトを検出する検出器と、検出された検査オブジェクトの状態を分類する分類器とを分けて生成することにより、機械学習による検出器の生成には、検査オブジェクトの状態の異なるバリエーションの学習用画像が不要である一方、機械学習による分類器の生成には、検査オブジェクトの数、位置、範囲等の異なるバリエーションの学習用画像が不要となる。 According to this aspect, a detector is generated for detecting an inspection object contained in an image, and a classifier is generated for classifying the state of the inspection object detected in the image. In this way, by separately generating a detector for detecting an inspection object contained in an image and a classifier for classifying the state of the detected inspection object, the generation of the detector by machine learning can be performed using the inspection object On the other hand, generation of a classifier by machine learning does not require learning images of different variations such as the number, position, range, etc. of inspection objects.

前述した態様において、分類器生成部は、画像において検出された検査オブジェクトの部分画像に基づく機械学習によって、分類器を生成してもよい。 In the above aspect, the classifier generator may generate the classifier by machine learning based on partial images of inspection objects detected in the image.

この態様によれば、画像において検出された検査オブジェクトの部分画像に基づく機械学習によって、分類器が生成される。これにより、学習用画像における検査オブジェクトの数、位置、範囲等は捨象されるので、検査オブジェクトの状態の異なるバリエーションの部分画像に基づく機械学習によって分類器を生成することにより、大量の学習用画像を必要とせずに、分類器を生成する分類器生成部を容易に実現することができる。 According to this aspect, the classifier is generated by machine learning based on sub-images of inspection objects detected in the images. As a result, the number, position, range, etc., of the inspection objects in the training images are abstracted. Therefore, by generating a classifier by machine learning based on partial images of different variations of inspection object states, a large amount of training images can be generated. A classifier generation unit that generates a classifier can be easily realized without the need for

前述した態様において、検査基準を入力するための入力部をさらに備えてもよい。 The above aspect may further include an input unit for inputting inspection criteria.

この態様によれば、検査基準を入力するための入力部をさらに備える。これにより、検査基準を簡易に設定することができる。 According to this aspect, it further includes an input unit for inputting inspection criteria. This makes it possible to easily set the inspection criteria.

また、本発明の他の態様に係る画像検査装置は、前述した画像検査器生成装置によって生成された画像検査器を備え、画像検査器を用いて検査用画像を検査する。 Further, an image inspection apparatus according to another aspect of the present invention includes an image inspection device generated by the image inspection device generation device described above, and inspects an inspection image using the image inspection device.

この態様によれば、画像検査器を用いて検査用画像が検査される。これにより、検査精度の高い画像検査装置を容易に実現することができる。 According to this aspect, the inspection image is inspected using the image inspector. As a result, an image inspection apparatus with high inspection accuracy can be easily realized.

前述した態様において、画像検査器は、複数の検査基準に基づく機械学習によって生成され、画像検査器を用いて検査した結果、検査用画像に欠陥ありと判定されたときに、複数の検査基準のうち、欠陥ありと判定される原因となった検査基準を出力する出力部をさらに備えてもよい。 In the above-described aspect, the image inspector is generated by machine learning based on a plurality of inspection criteria, and as a result of inspection using the image inspector, when it is determined that there is a defect in the inspection image, the image inspector determines the plurality of inspection criteria. Among them, an output unit may be further provided for outputting an inspection standard that is the cause of the determination that there is a defect.

この態様によれば、画像検査器を用いて検査した結果、検査用画像に欠陥ありと判定されたときに、複数の検査基準のうち、欠陥ありと判定される原因となった検査基準が出力される。これにより、欠陥ありと判定されたときに、その原因となった検査基準を出力しない場合と比較して、画像検査器を用いた検査結果は説明性を有する。 According to this aspect, when it is determined that there is a defect in the inspection image as a result of inspection using the image inspector, the inspection standard that caused the defect to be determined among the plurality of inspection standards is output. be done. As a result, when it is determined that there is a defect, the inspection results using the image inspector are more descriptive than when the inspection criteria that caused the defect are not output.

また、本発明の他の態様に係る画像検査器生成プログラムは、コンピュータに実行させる画像検査器生成プログラムであって、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器を生成する画像検査器生成ステップを含み、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。 Further, an image inspector generating program according to another aspect of the present invention is an image inspector generating program to be executed by a computer, and is included in an image by machine learning based on an inspection standard for an inspection object and a learning image. An image inspector generation step for generating an image inspector for inspecting the inspection object, wherein the inspection criteria include state variables of the inspection object, state values of the state variables, and class information into which the inspection object is classified.

この態様によれば、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器が生成され、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。このように、論理情報である検査基準と学習用画像とに基づいて機械学習を行うことにより、学習用画像に基づいて機械学習を行う場合と比較して、機械学習の学習効率を向上させることが可能になる。従って、従来と比較して、大量の学習用画像を必要とせずに検査精度の高い画像検査器を生成することができる。 According to this aspect, an image inspector for inspecting the inspection object included in the image is generated by machine learning based on the inspection standard for the inspection object and the learning image, and the inspection standard includes the state variables of the inspection object, the state Contains information about the state values of variables and the class into which the study object is classified. In this way, by performing machine learning based on the inspection standard and the learning image, which are logical information, the learning efficiency of machine learning can be improved compared to the case of performing machine learning based on the learning image. becomes possible. Therefore, it is possible to generate an image inspection device with high inspection accuracy without requiring a large amount of learning images as compared with the conventional art.

前述した態様において、画像検査器は、検出器と分類器とを含み、画像検査器生成ステップは、画像に含まれる検査オブジェクトを検出する検出器を生成する検出器生成ステップと、画像において検出された検査オブジェクトの状態を分類する分類器を生成する分類器生成ステップと、を含んでもよい。 In the aforementioned aspect, the image inspector includes a detector and a classifier, and the image inspector generation step includes a detector generation step for generating a detector for detecting inspection objects contained in the image; and a classifier generation step of generating a classifier that classifies states of the inspected objects.

この態様によれば、画像に含まれる検査オブジェクトを検出する検出器が生成され、画像において検出された検査オブジェクトの状態を分類する分類器が生成される。このように、画像に含まれる検査オブジェクトを検出する検出器と、検出された検査オブジェクトの状態を分類する分類器とを分けて生成することにより、機械学習による検出器の生成には、検査オブジェクトの状態の異なるバリエーションの学習用画像が不要である一方、機械学習による分類器の生成には、検査オブジェクトの数、位置、範囲等の異なるバリエーションの学習用画像が不要となる。 According to this aspect, a detector is generated for detecting an inspection object contained in an image, and a classifier is generated for classifying the state of the inspection object detected in the image. In this way, by separately generating a detector for detecting an inspection object contained in an image and a classifier for classifying the state of the detected inspection object, the generation of the detector by machine learning can be performed using the inspection object On the other hand, generation of a classifier by machine learning does not require learning images of different variations such as the number, position, range, etc. of inspection objects.

前述した態様において、分類器生成ステップは、画像において検出された検査オブジェクトの部分画像に基づく機械学習によって、分類器を生成することを含んでもよい。 In the aforementioned aspect, the classifier generation step may comprise generating the classifier by machine learning based on sub-images of the inspection object detected in the image.

この態様によれば、画像において検出された検査オブジェクトの部分画像に基づく機械学習によって、分類器が生成される。これにより、学習用画像における検査オブジェクトの数、位置、範囲等は捨象されるので、検査オブジェクトの状態の異なるバリエーションの部分画像に基づく機械学習によって分類器を生成することにより、大量の学習用画像を必要とせずに、分類器を生成する分類器生成ステップを容易に実現することができる。 According to this aspect, the classifier is generated by machine learning based on sub-images of inspection objects detected in the images. As a result, the number, position, range, etc., of the inspection objects in the training images are abstracted. Therefore, by generating a classifier by machine learning based on partial images of different variations of inspection object states, a large amount of training images can be generated. A classifier generation step for generating a classifier can be easily realized without requiring

前述した態様において、検査基準を入力するための入力ステップをさらに含んでもよい。 The above aspect may further include an input step for inputting inspection criteria.

この態様によれば、検査基準を入力するための入力ステップをさらに含む。これにより、検査基準を簡易に設定することができる。 According to this aspect, further comprising an input step for inputting inspection criteria. This makes it possible to easily set the inspection criteria.

また、本発明の他の態様に係る画像検査器生成方法は、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器を生成する画像検査器生成ステップを含み、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。 Further, an image inspection device generation method according to another aspect of the present invention is an image inspection method for generating an image inspection device for inspecting an inspection object included in an image by machine learning based on an inspection standard for the inspection object and a learning image. The test criteria include state variables of the test object, state values of the state variables, and class information into which the test object is classified.

この態様によれば、検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器が生成され、検査基準は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。このように、論理情報である検査基準と学習用画像とに基づいて機械学習を行うことにより、学習用画像に基づいて機械学習を行う場合と比較して、機械学習の学習効率を向上させることが可能になる。従って、従来と比較して、大量の学習用画像を必要とせずに検査精度の高い画像検査器を生成することができる。 According to this aspect, an image inspector for inspecting the inspection object included in the image is generated by machine learning based on the inspection standard for the inspection object and the learning image, and the inspection standard includes the state variables of the inspection object, the state Contains information about the state values of variables and the class into which the study object is classified. In this way, by performing machine learning based on the inspection standard and the learning image, which are logical information, the learning efficiency of machine learning can be improved compared to the case of performing machine learning based on the learning image. becomes possible. Therefore, it is possible to generate an image inspection device with high inspection accuracy without requiring a large amount of learning images as compared with the conventional art.

本発明によれば、大量の画像を必要とすることなく検査精度の高い画像検査器を生成することができる。 According to the present invention, it is possible to generate an image inspection device with high inspection accuracy without requiring a large amount of images.

図1は、一実施形態に係る画像検査システムの概略構成を例示する構成図である。FIG. 1 is a configuration diagram illustrating a schematic configuration of an image inspection system according to one embodiment. 図2は、図1に示した画像検査器を生成する概略構成を例示する図である。FIG. 2 is a diagram illustrating a schematic configuration for generating the image inspector shown in FIG. 図3は、機械学習による画像検査器の生成の第1実施例を例示する図である。FIG. 3 is a diagram illustrating a first example of generating an image inspector by machine learning. 図4は、機械学習による画像検査器の生成の第2実施例を例示する図である。FIG. 4 is a diagram illustrating a second example of generating an image inspector by machine learning. 図5は、機械学習による画像検査器33の生成の第3実施例を例示する図である。FIG. 5 is a diagram illustrating a third example of generation of the image inspector 33 by machine learning. 図6は、一実施形態に係る画像検査器生成装置の画像検査器を生成する概略動作を示すフローチャートである。FIG. 6 is a flow chart showing a schematic operation of generating an image inspector of the image inspector generating apparatus according to one embodiment.

以下に本発明の実施形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号で表している。但し、図面は模式的なものである。従って、具体的な寸法等は以下の説明を照らし合わせて判断するべきものである。また、図面相互間においても互いの寸法の関係や比率が異なる部分が含まれていることは勿論である。さらに、本発明の技術的範囲は、当該実施形態に限定して解するべきではない。 Embodiments of the present invention are described below. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, the drawings are schematic. Therefore, specific dimensions and the like should be determined by referring to the following description. In addition, it goes without saying that there are portions with different dimensional relationships and ratios between the drawings. Furthermore, the technical scope of the present invention should not be construed as being limited to this embodiment.

まず、図1から図5を参照しつつ、本発明の一実施形態に係る画像検査器生成装置及び画像検査装置の構成の一例について説明する。図1は、一実施形態に係る画像検査システム100の概略構成を例示する構成図である。図2は、図1に示した画像検査器33を生成する概略構成を例示する図である。図3は、機械学習による画像検査器33の生成の第1実施例を例示する図である。図4は、機械学習による画像検査器33の生成の第2実施例を例示する図である。図5は、機械学習による画像検査器33の生成の第3実施例を例示する図である。 First, with reference to FIGS. 1 to 5, an example of configuration of an image inspector generation apparatus and an image inspection apparatus according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram illustrating a schematic configuration of an image inspection system 100 according to one embodiment. FIG. 2 is a diagram illustrating a schematic configuration for generating the image inspector 33 shown in FIG. FIG. 3 is a diagram illustrating a first example of generation of the image inspector 33 by machine learning. FIG. 4 is a diagram illustrating a second example of generation of the image inspector 33 by machine learning. FIG. 5 is a diagram illustrating a third example of generation of the image inspector 33 by machine learning.

図1に示すように、画像検査システム100は、ネットワークNWと、画像検査器生成装置50と、画像検査装置90と、を備える。 As shown in FIG. 1, the image inspection system 100 includes a network NW, an image inspector generation device 50, and an image inspection device 90. As shown in FIG.

画像検査器生成装置50と画像検査装置90とは、ネットワークNWを介して相互に通信可能に接続されている。ネットワークNWは、例えば、インターネット、LAN(Local Area Network)、専用線、電話回線、企業内ネットワーク、ブルートゥース(登録商標)、Wi-Fi(Wireless Fidelity)、移動体通信網、その他の通信回線、またはこれらの組合せ等である。また、画像検査器生成装置50及び画像検査装置90とネットワークNWとの間の接続は、それぞれ、有線であるか無線であるかを問わない。 The image inspection device generation device 50 and the image inspection device 90 are connected so as to be able to communicate with each other via a network NW. The network NW is, for example, the Internet, a LAN (Local Area Network), a dedicated line, a telephone line, an in-house network, Bluetooth (registered trademark), Wi-Fi (Wireless Fidelity), a mobile communication network, other communication lines, or A combination of these and the like. Moreover, the connection between the image inspection generator generation device 50 and the image inspection device 90 and the network NW may be wired or wireless.

本実施形態では、図1において画像検査システム100に含まれるネットワークNWが1つである例を示したが、これに限定されるものではない。画像検査システム100に含まれるネットワークは、例えば2つ以上であってもよい。 In this embodiment, FIG. 1 shows an example in which one network NW is included in the image inspection system 100, but the present invention is not limited to this. For example, two or more networks may be included in the image inspection system 100 .

画像検査器生成装置50は、画像検査装置90の上位コントローラの役割を果たすコンピュータである。画像検査器生成装置50は、例えば、PLC(Programmable Logic Controller)等のコントローラを含んで構成される。 The image inspection device generation device 50 is a computer that serves as a high-level controller for the image inspection device 90 . The image inspector generation device 50 is configured including a controller such as a PLC (Programmable Logic Controller), for example.

画像検査器生成装置50は、例えば、通信部10と、入力部20と、記憶部30と、制御部40と、を備える。また、画像検査器生成装置50は、画像検査器生成装置50の各部の間で信号やデータを伝送するように構成されたバス51をさらに備える。 The image inspector generation device 50 includes, for example, a communication unit 10, an input unit 20, a storage unit 30, and a control unit 40. The image inspector generation device 50 further includes a bus 51 configured to transmit signals and data between each section of the image inspector generation device 50 .

通信部10は、ネットワークNWを介してデータを通信(送受信)するように構成されている。より詳細には、通信部10は、1つ又は複数の所定の通信方式に基づいて、ネットワークNWに接続される画像検査装置90とネットワークNWを介して通信可能に構成されている。 The communication unit 10 is configured to communicate (transmit and receive) data via the network NW. More specifically, the communication unit 10 is configured to communicate with the image inspection apparatus 90 connected to the network NW based on one or more predetermined communication methods via the network NW.

入力部20は、後述する検査基準32を入力するためのものである。より詳細には、入力部20は、利用者(ユーザ)の操作によって、検査基準を画像検査器生成装置50に入力できるように構成されている。入力部20は、例えば、インターフェースと、外部の機器である入力装置と、を含んで構成される。インターフェースは、外部の機器との間でデータや信号をやり取りするように構成され、例えば、USB(Universal Serial Bus)、HDMI(登録商標)(High-Definition Mutimedia Interface)、IEEE1394等の規格化されたインターフェースの接続端子を含んでいる。入力装置は、例えば、キーボード、キーパッド、マウス、トラックボール、タッチパネル、マイク等の装置である。 The input unit 20 is for inputting inspection criteria 32, which will be described later. More specifically, the input unit 20 is configured to input inspection criteria to the image inspector generation device 50 by a user's operation. The input unit 20 includes, for example, an interface and an input device that is an external device. The interface is configured to exchange data and signals with an external device. Contains interface connection terminals. Input devices are, for example, devices such as keyboards, keypads, mice, trackballs, touch panels, and microphones.

例えば、利用者が、キーボード、キーパッド、マウス、トラックボール、タッチパネル、マイク等の入力装置を操作(マイクを用いた音声操作を含む)したときに、入力部20は、当該操作に対応するデータ又は信号を出力する。入力部20が出力したデータ又は信号は、制御部40に入力される。制御部40がこのデータまた信号に基づいて検査基準32を生成することで、画像検査器生成装置50に検査基準を入力することが可能になる。このように、検査基準32を入力するための入力部20を備えることにより、検査基準32を簡易に設定することができる。 For example, when the user operates an input device such as a keyboard, keypad, mouse, trackball, touch panel, microphone (including voice operation using a microphone), the input unit 20 outputs data corresponding to the operation. or output a signal. Data or signals output by the input unit 20 are input to the control unit 40 . The control unit 40 generates the inspection standard 32 based on this data or signal, so that the inspection standard can be input to the image inspector generating device 50 . Thus, by providing the input unit 20 for inputting the inspection standard 32, the inspection standard 32 can be easily set.

記憶部30は、プログラムやデータ等を記憶するように構成されている。記憶部30は、例えば、ハードディスクドライブ、ソリッドステートドライブ等を含んで構成される。記憶部30は、制御部40が実行する各種プログラムやプログラムの実行に必要なデータ等をあらかじめ記憶している。 The storage unit 30 is configured to store programs, data, and the like. The storage unit 30 includes, for example, a hard disk drive, a solid state drive, and the like. The storage unit 30 stores in advance various programs executed by the control unit 40 and data necessary for executing the programs.

また、記憶部30は、学習用データ31、複数の検査基準32、及び複数の画像検査器33を記憶している。学習用データ31は、複数の学習用画像と、それぞれが対応する学習用画像に付与される教師データとを含んでいる。各検査基準32は、画像に含まれる検査オブジェクトに対するものである。検査基準32は、検査オブジェクトごとに一つ又は複数が設定されている。 The storage unit 30 also stores learning data 31 , a plurality of inspection standards 32 , and a plurality of image inspectors 33 . The learning data 31 includes a plurality of learning images and teacher data assigned to the corresponding learning images. Each inspection criterion 32 is for an inspection object contained in the image. One or a plurality of inspection criteria 32 are set for each inspection object.

制御部40は、通信部10、入力部20、及び記憶部30等、画像検査器生成装置50の各部の動作を制御するように構成されている。また、制御部40は、記憶部30に記憶されたプログラムを実行する等によって、後述する各機能を実現するように構成されている。制御部40は、例えば、CPU(Central Processing Unit)等のプロセッサ、ROM(Read Only Memory)、RAM(Random Access Memory)等のメモリ、及びバッファ等の緩衝記憶装置を含んで構成される。 The control unit 40 is configured to control the operation of each unit of the image inspector generation device 50 such as the communication unit 10, the input unit 20, the storage unit 30, and the like. Further, the control unit 40 is configured to implement each function described later by executing a program stored in the storage unit 30 or the like. The control unit 40 includes, for example, a processor such as a CPU (Central Processing Unit), a memory such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a buffer storage device such as a buffer.

また、制御部40は、その機能構成として、例えば、画像検査器生成部45を備える。 Further, the control unit 40 includes, for example, an image inspector generation unit 45 as its functional configuration.

画像検査器生成部45は、検査オブジェクトに対する検査基準32と学習用データ31に含まれる学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器33を生成するように構成されている。より詳細には、画像検査器33は、検出器33aと分類器33bとを含んでおり、画像検査器生成部45は、検出器生成部41と分類器生成部42とを含んでいる。 The image inspector generating unit 45 generates the image inspector 33 for inspecting the inspection object included in the image by machine learning based on the inspection standard 32 for the inspection object and the learning image included in the learning data 31. It is configured. More specifically, the image inspector 33 includes a detector 33 a and a classifier 33 b , and the image inspector generator 45 includes a detector generator 41 and a classifier generator 42 .

検出器生成部41は、検査基準32と学習用データ31に含まれる学習用画像とに基づく機械学習によって、画像に含まれる検査オブジェクトを検出する検出器33aを生成するように構成されている。 The detector generation unit 41 is configured to generate a detector 33a for detecting an inspection object included in the image by machine learning based on the inspection standard 32 and the learning image included in the learning data 31 .

分類器生成部42は、検査基準32と学習用データ31に含まれる学習用画像とに基づく機械学習によって、検査用画像において検出された検査オブジェクトの状態を分類する分類器33bを生成するように構成されている。 The classifier generating unit 42 generates a classifier 33b that classifies the state of the inspection object detected in the inspection image by machine learning based on the inspection standard 32 and the learning image included in the learning data 31. It is configured.

このようにして、検出器33aと分類器33bとを含む画像検査器33が生成される。制御部40は、検査オブジェクトごとに画像検査器33を生成し、生成された画像検査器33は、記憶部30に記憶される。 In this way, an image inspector 33 is generated that includes a detector 33a and a classifier 33b. The control unit 40 generates the image inspector 33 for each inspection object, and the generated image inspector 33 is stored in the storage unit 30 .

このように、画像に含まれる検査オブジェクトを検出する検出器33aと、検出された検査オブジェクトの状態を分類する分類器33bとを分けて生成することにより、機械学習による検出器33aの生成には、検査オブジェクトの状態の異なるバリエーションの学習用画像が不要である一方、機械学習による分類器33bの生成には、検査オブジェクトの数、位置、範囲等の異なるバリエーションの学習用画像が不要となる。従って、従来と比較して、大量の学習用画像を必要とせずに検査精度の高い画像検査器33を生成することができる。 In this way, by separately generating the detector 33a for detecting the inspection object contained in the image and the classifier 33b for classifying the state of the detected inspection object, the detector 33a can be generated by machine learning. On the other hand, generation of the classifier 33b by machine learning does not require learning images with different variations in the number, position, range, etc. of inspection objects. Therefore, it is possible to generate an image inspection device 33 with high inspection accuracy without requiring a large amount of learning images as compared with the conventional art.

ここで、図2から図5を用い、機械学習による画像検査器の生成について説明する。以下の説明において、「以外」を記号「¬」を用いて表記する場合がある。 Here, generation of an image inspector by machine learning will be described with reference to FIGS. 2 to 5. FIG. In the following description, "other than" may be indicated using the symbol "¬".

利用者(ユーザ)の操作によって検査基準の情報が入力されると、制御部40は、検査オブジェクトに対する検査基準32を生成する。生成された検査基準32は、記憶部30に記憶される。検査基準32は、例えば、「検査オブジェクトAの状態変数Xが状態値X1ならばNG」や、「検査オブジェクトBの状態変数Yが状態値Y1ならばNG」といった形式で記述される。なお、検査基準32は、検査オブジェクトに対して一つである場合に限定されず、複数の検査基準32が入力され、設定されていてもよい。 When the information of the inspection standard is input by the user's operation, the control unit 40 generates the inspection standard 32 for the inspection object. The generated inspection standard 32 is stored in the storage unit 30 . The inspection criteria 32 are described, for example, in a format such as "NG if the state variable X of the inspection object A is the state value X1" or "NG if the state variable Y of the inspection object B is the state value Y1". Note that the number of inspection criteria 32 is not limited to one for each inspection object, and a plurality of inspection criteria 32 may be input and set.

検査基準32は、「検査オブジェクト」、「状態変数」、当該状態変数の「状態値」、及び画像の分類されるクラスの情報を含んでいる。制御部40は、例えば、利用者(ユーザ)によって入力された「検査オブジェクト」、「状態変数」、及び状態変数の「状態値」の情報を用いて、検査オブジェクトを「OK」クラス及び「NG」クラスの2つのクラスのうち、一方の「NG」クラスに分類する検査基準32を生成するようにしてもよい。 The inspection criteria 32 include information on the "inspection object", the "state variables", the "state values" of the state variables, and the class into which the image is classified. For example, the control unit 40 classifies the inspection object into an “OK” class and an “NG class” using the information of “inspection object”, “state variable”, and “state value” of the state variable input by the user (user). '' class, the inspection criteria 32 may be generated for classification into one of the ``NG'' classes.

このように、論理情報である検査基準32と学習用画像とに基づいて機械学習を行うことにより、学習用画像に基づいて機械学習を行う場合と比較して、機械学習の学習効率を向上させることが可能になる。従って、従来と比較して、大量の学習用画像を必要とせずに検査精度の高い画像検査器33を生成することができる。 In this way, by performing machine learning based on the inspection standard 32, which is logical information, and the learning image, the learning efficiency of machine learning is improved compared to the case of performing machine learning based on the learning image. becomes possible. Therefore, it is possible to generate an image inspection device 33 with high inspection accuracy without requiring a large amount of learning images as compared with the conventional art.

検査オブジェクトは、画像に映る対象物の一部である。検査オブジェクトは、例えば、ねじ穴、ケーブル、針、容器、リング、電極、切削面、賞味期限印字等である。 The inspection object is the part of the object that appears in the image. Inspection objects are, for example, screw holes, cables, needles, containers, rings, electrodes, cutting surfaces, expiration date stamps, and the like.

状態変数は、当該検査オブジェクトの変数である。状態変数は、例えば、幅、長さ、面積、大きさ、方向、数、色、形状、表面状態、日付等である。 A state variable is a variable of the study object. State variables are, for example, width, length, area, size, direction, number, color, shape, surface condition, date, and the like.

状態値は、当該状態変数の値である。状態値は、例えば、100画素、平行、30度、4個、赤、変数、バリあり、傷あり、汚れあり、曇りあり、10月17日等である。 A state value is the value of the state variable. The status values are, for example, 100 pixels, parallel, 30 degrees, 4, red, variable, burr, scratch, dirt, cloudy, October 17, and so on.

検出器33a及び分類器33bは、任意の機械学習モデルのアルゴリズムを用いて生成される。検出器33aは、例えば図2に示す第1ニューラルネットワークNN1を用いて生成され、分類器33bは例えば図2に示す第2ニューラルネットワークNN2を用いて生成される。 The detector 33a and the classifier 33b are generated using an arbitrary machine learning model algorithm. The detector 33a is generated using, for example, the first neural network NN1 shown in FIG. 2, and the classifier 33b is generated using, for example, the second neural network NN2 shown in FIG.

第1ニューラルネットワークNN1は、学習用画像に含まれる検査オブジェクト、例えば「検査オブジェクトA」を検出するためのニューラルネットワークである。第1ニューラルネットワークNN1は、あらかじめ学習して生成された物体認識ニューラルネットワークORNNを転移学習することによって得る。物体認識ニューラルネットワークORNNは、例えばSSD(Single Shot multibox Detector)等の物体検出アルゴリズムを用い、「検査オブジェクトA」を含む一般物体を検出するように学習したものである。 The first neural network NN1 is a neural network for detecting an inspection object included in the learning image, for example, "inspection object A". The first neural network NN1 is obtained by transfer learning an object recognition neural network ORNN generated by learning in advance. The object recognition neural network ORNN uses an object detection algorithm such as SSD (Single Shot Multibox Detector) and is trained to detect general objects including "inspection object A".

転移学習は、学習用データ31に含まれる学習用画像LGを第1ニューラルネットワークNN1に入力し、第1ニューラルネットワークNN1が「検査オブジェクトA」を検出するように学習することによって、行われる。 Transfer learning is performed by inputting the learning image LG included in the learning data 31 to the first neural network NN1 and learning so that the first neural network NN1 detects "inspection object A".

具体的には、第1ニューラルネットワークNN1の検出結果は、第1判定器DD1に入力される。第1判定器DD1において、第1ニューラルネットワークNN1の検出結果と、学習用データ31に含まれ、学習用画像LGに対応する第1教師データLD1とを比較し、一致するか否かが判定される。第1教師データLD1は、学習用画像LGに付与されたアノテーション、つまり、関連情報である。図2に示す例では、第1教師データLD1として、「OK」又は「NG」のラベルが付与されている。そして、第1判定器DD1の判定結果を第1ニューラルネットワークNN1にフィードバックすることで、第1ニューラルネットワークNN1の重みが修正される。このような機械学習を複数の学習用画像LGについて行うことによって、「検査オブジェクトA」を検出する第1ニューラルネットワークNN1が生成される。 Specifically, the detection result of the first neural network NN1 is input to the first determiner DD1. The first determiner DD1 compares the detection result of the first neural network NN1 with the first teacher data LD1 included in the learning data 31 and corresponding to the learning image LG, and determines whether or not they match. be. The first teacher data LD1 is an annotation given to the learning image LG, that is, related information. In the example shown in FIG. 2, the label "OK" or "NG" is given as the first teacher data LD1. By feeding back the determination result of the first determiner DD1 to the first neural network NN1, the weight of the first neural network NN1 is corrected. By performing such machine learning on a plurality of learning images LG, a first neural network NN1 for detecting "inspection object A" is generated.

一方、第2ニューラルネットワークNN2は、検査オブジェクトの状態、例えば「検査オブジェクトA」の状態変数「X」の状態、を分類するためのニューラルネットワークである。第2ニューラルネットワークNN2は、あらかじめ学習して生成された状態認識ニューラルネットワークSRNNを転移学習することによって得る。状態認識ニューラルネットワークSRNNは、所定の状態分類アルゴリズムを用い、「検査オブジェクトA」の状態変数「X」の状態を含む一般状態を分類するように学習したものである。 On the other hand, the second neural network NN2 is a neural network for classifying the state of the inspection object, for example, the state of the state variable "X" of "inspection object A". The second neural network NN2 is obtained by transfer-learning the state recognition neural network SRNN generated by learning in advance. The state recognition neural network SRNN is trained to classify general states including the state of state variable "X" of "inspection object A" using a predetermined state classification algorithm.

転移学習は、学習用データ31に含まれる学習用画像LGを第2ニューラルネットワークNN2に入力し、第2ニューラルネットワークNN2が「検査オブジェクトA」の状態変数「X」の状態を分類するように学習することによって、行われる。あるいは、学習用画像LGの入力に代えて、第1ニューラルネットワークNN1の検出結果から学習用画像LGにおける「検査オブジェクトA」の位置、個数等の情報が得られるので、この情報を用いて学習用画像LGから「検査オブジェクトA」の部分画像PLGを切り出し、この部分画像PLGを第2ニューラルネットワークNN2に入力してもよい。これにより、学習用画像LGにおける検査オブジェクトの数、位置、範囲等は捨象されるので、検査オブジェクトの状態の異なるバリエーションの部分画像PLGに基づく機械学習によって分類器33bを生成することにより、大量の学習用画像LGを必要とせずに、分類器33bを生成する分類器生成部42を容易に実現することができる。 In the transfer learning, the learning image LG included in the learning data 31 is input to the second neural network NN2, and the second neural network NN2 learns to classify the state of the state variable "X" of the "inspection object A". It is done by Alternatively, instead of inputting the learning image LG, information such as the position and number of the "inspection object A" in the learning image LG can be obtained from the detection result of the first neural network NN1. A partial image PLG of the “inspection object A” may be cut out from the image LG, and this partial image PLG may be input to the second neural network NN2. As a result, the number, position, range, etc. of the inspection objects in the learning image LG are abstracted. The classifier generator 42 that generates the classifier 33b can be easily realized without requiring the learning image LG.

第2ニューラルネットワークNN2の分類結果は、第2判定器DD2に入力される。第2判定器DD2において、第2ニューラルネットワークNN2の分類結果と、学習用データ31に含まれ、学習用画像LGに対応する第2教師データLD2とを比較し、一致するか否かが判定される。第2教師データLD2は、第1教師データLD1と同様に、学習用画像LGに付与された関連情報であり、図2に示す例では、第2教師データLD2として、「X1」又は「¬X1」のラベルが付与されている。そして、第2判定器DD2の判定結果を第2ニューラルネットワークNN2にフィードバックすることで、第2ニューラルネットワークNN2の重みが修正される。このような機械学習を複数の学習用画像LGについて行うことによって、「検査オブジェクトA」の状態変数「X」の状態を分類する第2ニューラルネットワークNN2が生成される。 The classification result of the second neural network NN2 is input to the second determiner DD2. In the second determiner DD2, the classification result of the second neural network NN2 is compared with the second teacher data LD2 included in the learning data 31 and corresponding to the learning image LG, and it is determined whether or not they match. be. The second teacher data LD2, like the first teacher data LD1, is related information attached to the learning image LG. In the example shown in FIG. ” label is attached. By feeding back the determination result of the second determiner DD2 to the second neural network NN2, the weight of the second neural network NN2 is corrected. By performing such machine learning on a plurality of learning images LG, a second neural network NN2 for classifying the state of the state variable "X" of "inspection object A" is generated.

図2に示す例では、第1ニューラルネットワークNN1及び第2ニューラルネットワークNN2を用いて検出器33a及び分類器33bを生成する例を示したが、これに限定されるものではない。検出器33a及び分類器33bを生成する機械学習モデルのアルゴリズムとして、例えば、サポートベクターマシン、ロジスティック回帰、ディープニューラルネットワーク等を用いるようにしてもよい。 Although the example shown in FIG. 2 shows an example in which the first neural network NN1 and the second neural network NN2 are used to generate the detector 33a and the classifier 33b, the present invention is not limited to this. For example, a support vector machine, a logistic regression, a deep neural network, or the like may be used as a machine learning model algorithm for generating the detector 33a and the classifier 33b.

(第1実施例)
第1実施例では、対象物のねじ穴を検査する画像検査器33を生成する場合について、説明する。図3に示すように、学習用画像LG1は、ねじ穴SH1,SH2,SH3の画像を含んでいる。検査基準として、例えば、「3つのねじ穴の位置が所定の位置になければNG」及び「ねじ穴の形状が変形していたらNG」が入力され、設定されている。この場合、図2に示す第1ニューラルネットワークNN1は、学習用画像LG1に含まれるねじ穴SH1,SH2,SH3を検出する。学習用画像LG1に対応する第1教師データLD1として「OK」又は「NG」のラベルが付与されている。第1ニューラルネットワークNN1のねじ穴SH1,SH2,SH3の検出結果と、第1教師データLD1のラベルとを比較した判定結果が、第1ニューラルネットワークNN1にフィードバックされる。これにより、ねじ穴SH1,SH2,SH3の検出率を高めるとともに、ねじ穴SH1,SH2,SH3の所定位置の許容範囲を学習することができる。
(First embodiment)
In the first embodiment, a case of generating an image inspector 33 for inspecting a screw hole of an object will be described. As shown in FIG. 3, the learning image LG1 includes images of screw holes SH1, SH2, and SH3. As the inspection criteria, for example, "NG if the three screw holes are not at the predetermined positions" and "NG if the shape of the screw holes is deformed" are input and set. In this case, the first neural network NN1 shown in FIG. 2 detects screw holes SH1, SH2, SH3 included in the learning image LG1. A label of "OK" or "NG" is given as the first teacher data LD1 corresponding to the learning image LG1. A determination result obtained by comparing the detection result of the screw holes SH1, SH2, SH3 of the first neural network NN1 and the label of the first teacher data LD1 is fed back to the first neural network NN1. As a result, the detection rate of the screw holes SH1, SH2, SH3 can be increased, and the allowable range of the predetermined positions of the screw holes SH1, SH2, SH3 can be learned.

また、学習用画像LG1のねじ穴SH1,SH2,SH3の部分画像が、第2ニューラルネットワークNN2に入力され、第2ニューラルネットワークNN2は、ねじ穴SH1,SH2,SH3の形状を分類する。学習用画像LG1に対応する第2教師データLD2として「変形」又は「¬変形」のラベルが付与されている。第2ニューラルネットワークNN2のねじ穴SH1,SH2,SH3の形状の分類結果と、第2教師データLD2のラベルとを比較した判定結果が、第2ニューラルネットワークNN2にフィードバックされる。これにより、ねじ穴SH1,SH2,SH3の形状の変形有無の分類精度を高めるとともに、ねじ穴SH1,SH2,SH3の形状変形の許容範囲を学習することができる。 Also, the partial images of the screw holes SH1, SH2, SH3 of the learning image LG1 are input to the second neural network NN2, and the second neural network NN2 classifies the shapes of the screw holes SH1, SH2, SH3. As the second teacher data LD2 corresponding to the learning image LG1, a label of "deformation" or "¬deformation" is given. A determination result obtained by comparing the shape classification result of the screw holes SH1, SH2, SH3 of the second neural network NN2 and the label of the second teacher data LD2 is fed back to the second neural network NN2. As a result, it is possible to improve the classification accuracy of whether or not the shapes of the screw holes SH1, SH2, and SH3 are deformed, and to learn the permissible range of shape deformation of the screw holes SH1, SH2, and SH3.

(第2実施例)
第2実施例では、対象物の賞味期限印字を検査する画像検査器33を生成する場合について、説明する。図4に示すように、学習用画像LG2は、賞味期限印字DA1の画像を含んでいる。検査基準として、例えば、「賞味期限印字の位置が所定の位置になければNG」及び「賞味期限印字の文字列が“2018.10.30”でなければNG」が入力され、設定されている。この場合、図2に示す第1ニューラルネットワークNN1は、学習用画像LG2に含まれる賞味期限印字DA1を検出する。学習用画像LG2に対応する第1教師データLD1として「OK」又は「NG」のラベルが付与されている。第1ニューラルネットワークNN1の賞味期限印字DA1の検出結果と、第1教師データLD1のラベルとを比較した判定結果が、第1ニューラルネットワークNN1にフィードバックされる。これにより、例えば文字のようにも見える図柄の水滴と文字列とを区別し、賞味期限印字DA1の検出率を高めるとともに、賞味期限印字DA1の印字位置及び所定位置の許容範囲を学習することができる。
(Second embodiment)
In the second embodiment, the case of generating the image inspector 33 for inspecting the expiration date printed on the object will be described. As shown in FIG. 4, the learning image LG2 includes an image of the expiration date print DA1. As inspection criteria, for example, "NG if the expiration date printing position is not at a predetermined position" and "NG if the expiration date printing character string is not "2018.10.30"" are input and set. . In this case, the first neural network NN1 shown in FIG. 2 detects the expiration date print DA1 included in the learning image LG2. A label of "OK" or "NG" is given as the first teacher data LD1 corresponding to the learning image LG2. A judgment result obtained by comparing the detection result of the expiration date print DA1 of the first neural network NN1 and the label of the first teacher data LD1 is fed back to the first neural network NN1. As a result, it is possible to distinguish, for example, water droplets that look like characters from character strings, increase the detection rate of the best-before date print DA1, and learn the print position of the best-before date print DA1 and the allowable range of the predetermined position. can.

また、学習用画像LG2の賞味期限印字DA1の部分画像が、第2ニューラルネットワークNN2に入力され、第2ニューラルネットワークNN2は、賞味期限印字DA1の文字列を分類する。学習用画像LG2に対応する第2教師データLD2として「2018.10.30」又は「¬2018.10.30」のラベルが付与されている。第2ニューラルネットワークNN2の賞味期限印字DA1の文字列の分類結果と、第2教師データLD2のラベルとを比較した判定結果が、第2ニューラルネットワークNN2にフィードバックされる。これにより、例えば“1”と“7”等の間違いやすい文字を識別し、賞味期限印字DA1の文字列の分類精度又は識別精度を高めるとともに、賞味期限印字DA1の文字列の文字パターンを学習することができる。 Also, the partial image of the expiration date print DA1 of the learning image LG2 is input to the second neural network NN2, and the second neural network NN2 classifies the character string of the expiration date print DA1. A label of “2018.10.30” or “¬2018.10.30” is given as the second teacher data LD2 corresponding to the learning image LG2. A result of comparison between the character string classification result of the expiration date print DA1 of the second neural network NN2 and the label of the second teacher data LD2 is fed back to the second neural network NN2. As a result, easily confused characters such as "1" and "7" are identified, the classification accuracy or identification accuracy of the character string of the expiration date print DA1 is improved, and the character pattern of the character string of the expiration date print DA1 is learned. be able to.

(第3実施例)
第3実施例では、対象物の塗布材料APPを検査する画像検査器33を生成する場合について、説明する。図5に示すように、学習用画像LG3は、塗布材料APPの画像を含んでいる。検査基準として、例えば、「塗布材料APPの最小幅が所定の値VA1未満であればNG」が入力され、設定されている。この場合、図2に示す第1ニューラルネットワークNN1は、学習用画像LG3に含まれる塗布材料APPを検出する。学習用画像LG3に対応する第1教師データLD1として「OK」又は「NG」のラベルが付与されている。第1ニューラルネットワークNN1の塗布材料APPの検出結果と、第1教師データLD1のラベルとを比較した判定結果が、第1ニューラルネットワークNN1にフィードバックされる。これにより、例えば塗布材料APPでない場所の誤検出、又は塗布材料APPの検出漏れを防ぎ、塗布材料APPの検出率を高めることができる。
(Third embodiment)
In the third embodiment, the case of generating the image inspector 33 for inspecting the coating material APP of the object will be described. As shown in FIG. 5, the learning image LG3 includes an image of the application material APP. As an inspection criterion, for example, "NG if the minimum width of the coating material APP is less than a predetermined value VA1" is input and set. In this case, the first neural network NN1 shown in FIG. 2 detects the coating material APP included in the learning image LG3. A label of "OK" or "NG" is given as the first teacher data LD1 corresponding to the learning image LG3. A determination result obtained by comparing the detection result of the coating material APP of the first neural network NN1 and the label of the first teacher data LD1 is fed back to the first neural network NN1. As a result, it is possible to prevent erroneous detection of a place other than the coating material APP or failure to detect the coating material APP, thereby increasing the detection rate of the coating material APP.

また、学習用画像LG3の塗布材料APPの部分画像が、第2ニューラルネットワークNN2に入力され、第2ニューラルネットワークNN2は、塗布材料APPの最小幅を分類する。学習用画像LG3に対応する第2教師データLD2として「所定の値VA1以上」又は「所定の値VA1未満」のラベルが付与されている。第2ニューラルネットワークNN2の塗布材料APPの最小幅の分類結果又は推定結果と、第2教師データLD2のラベルとを比較した判定結果が、第2ニューラルネットワークNN2にフィードバックされる。これにより、塗布材料APPの最小幅の適切な範囲を学習することができる。 Also, the partial image of the coating material APP in the learning image LG3 is input to the second neural network NN2, and the second neural network NN2 classifies the minimum width of the coating material APP. A label of “predetermined value VA1 or more” or “less than predetermined value VA1” is given as the second teacher data LD2 corresponding to the learning image LG3. A result of comparison between the classification result or estimation result of the minimum width of the coating material APP of the second neural network NN2 and the label of the second teacher data LD2 is fed back to the second neural network NN2. This makes it possible to learn an appropriate range for the minimum width of the coating material APP.

なお、学習用データ31、検査基準32、及び画像検査器33の構造及び形式は、前述した例に限定されるものではない。例えば、学習用データ31、検査基準32、及び画像検査器33は、それぞれ、単なるデータであってもよいし、データベースであってもよい。また、学習用データ31、検査基準32、及び画像検査器33のうち、少なくとも一部がデータベースである場合、正規化を行い、データのグループ単位を細分化してもよい。 The structures and formats of the learning data 31, the inspection standard 32, and the image inspector 33 are not limited to the examples described above. For example, the learning data 31, the inspection standard 32, and the image inspector 33 may each be simple data or a database. Further, when at least part of the learning data 31, the inspection standard 32, and the image inspection device 33 is a database, normalization may be performed to subdivide the data group unit.

図1の説明に戻り、画像検査装置90は、通信部60と、記憶部70と、出力部80と、制御部85と、を備える。また、画像検査装置90は、画像検査装置90の各部の間で信号やデータを伝送するように構成されたバス91をさらに備える。画像検査装置90は、画像検査器生成装置50によって生成された画像検査器33を備え、画像検査器33を用いて検査用画像71を検査するように構成されている。 Returning to the description of FIG. 1 , the image inspection apparatus 90 includes a communication section 60 , a storage section 70 , an output section 80 and a control section 85 . The image inspection apparatus 90 further includes a bus 91 configured to transmit signals and data between each section of the image inspection apparatus 90 . The image inspection device 90 includes the image inspector 33 generated by the image inspector generator 50 and is configured to inspect the inspection image 71 using the image inspector 33 .

通信部60は、ネットワークNWを介してデータを通信(送受信)するように構成されている。より詳細には、通信部60は、1つ又は複数の所定の通信方式に基づいて、ネットワークNWに接続される画像検査器生成装置50とネットワークNWを介して通信可能に構成されている。 The communication unit 60 is configured to communicate (transmit and receive) data via the network NW. More specifically, the communication unit 60 is configured to be able to communicate with the image inspector generator 50 connected to the network NW based on one or more predetermined communication methods via the network NW.

記憶部70は、プログラムやデータ等を記憶するように構成されている。記憶部70は、例えば、ハードディスクドライブ、ソリッドステートドライブ等を含んで構成される。記憶部70は、制御部85が実行する各種プログラムやプログラムの実行に必要なデータ等をあらかじめ記憶している。 The storage unit 70 is configured to store programs, data, and the like. The storage unit 70 includes, for example, a hard disk drive, a solid state drive, and the like. The storage unit 70 stores in advance various programs executed by the control unit 85 and data necessary for executing the programs.

また、記憶部70は、複数の検査基準32と、複数の画像検査器33と、複数の検査用画像71とを記憶している。検査基準32及び画像検査器33は、前述した画像検査器生成装置50から送信されたものである。画像検査装置90は、通信部60を用い、ネットワークNWを介して画像検査器生成装置50から検査基準32及び画像検査器33を受信し、受信した検査基準32及び画像検査器33を記憶部70に記憶させる。 The storage unit 70 also stores a plurality of inspection standards 32 , a plurality of image inspectors 33 , and a plurality of inspection images 71 . The inspection standard 32 and the image inspector 33 are transmitted from the image inspector generator 50 described above. The image inspection apparatus 90 uses the communication unit 60 to receive the inspection standard 32 and the image inspector 33 from the image inspector generator 50 via the network NW, and stores the received inspection standard 32 and image inspector 33 in the storage unit 70. be memorized.

出力部80は、検査基準32を出力するように構成されている。出力部80は、例えば、インターフェースと、外部の機器である出力装置と、を含んで構成される。インターフェースは、外部の機器との間でデータや信号をやり取りするように構成され、例えば、USB、HDMI(登録商標)、IEEE1394等の規格化されたインターフェースの接続端子を含んでいる。出力装置は、例えば、液晶ディスプレイ、EL(Electro Luminescence)ディスプレイ、プラズマディスプレイ等の表示装置と、スピーカー等の音声装置とを含んで構成される。出力装置は、制御部85から入力される情報のうち、文字、数字、記号等のテキスト、画像、及び動画の情報を表示装置に表示し、音声の情報をスピーカーから出力することで、情報を出力することが可能になる。 Output unit 80 is configured to output inspection criteria 32 . The output unit 80 includes, for example, an interface and an output device that is an external device. The interface is configured to exchange data and signals with an external device, and includes, for example, connection terminals for standardized interfaces such as USB, HDMI (registered trademark), and IEEE1394. The output device includes, for example, a display device such as a liquid crystal display, an EL (Electro Luminescence) display, a plasma display, etc., and an audio device such as a speaker. Among the information input from the control unit 85, the output device displays information such as text, images, and moving images such as letters, numbers, and symbols on the display device, and outputs audio information from the speaker to display the information. output is possible.

制御部85は、通信部60、記憶部70、及び出力部80等、画像検査装置90の各部の動作を制御するように構成されている。また、制御部85は、記憶部70に記憶されたプログラムを実行する等によって、後述する画像検査の機能を実現するように構成されている。制御部85は、例えば、CPU等のプロセッサ、ROM、RAM等のメモリ、及びバッファ等の緩衝記憶装置を含んで構成される。 The control section 85 is configured to control the operation of each section of the image inspection apparatus 90 such as the communication section 60 , the storage section 70 and the output section 80 . Further, the control unit 85 is configured to implement an image inspection function, which will be described later, by executing a program stored in the storage unit 70 or the like. The control unit 85 includes, for example, a processor such as a CPU, memories such as ROM and RAM, and buffer storage devices such as buffers.

また、制御部85は、画像検査器33を用いて検査用画像71を検査する画像検査の機能を有している。例えば、対象物のねじ穴を検査する場合、制御部85は、前述した第1実施例で生成された画像検査器33を用い、検査用画像71を検査する。この場合、検出器33aによって検査用画像71からねじ穴を検出し、制御部85は、検査基準32、例えば「3つのねじ穴の位置が所定の位置になければNG」と一致していたら欠陥あり、検査基準32と不一致ならば欠陥なしと判定する。これにより、ねじ穴の数及び位置が検査される。 The control unit 85 also has an image inspection function of inspecting the inspection image 71 using the image inspector 33 . For example, when inspecting a screw hole in an object, the control unit 85 inspects the inspection image 71 using the image inspector 33 generated in the first embodiment described above. In this case, the detector 33a detects the screw holes from the inspection image 71, and the control unit 85 detects the defect if it matches the inspection standard 32, for example, "NG if the positions of the three screw holes are not at the predetermined positions." If there is a defect and if it does not match the inspection criteria 32, it is determined that there is no defect. This checks the number and position of the screw holes.

このように、画像検査器33を用いて検査用画像71を検査することにより、検査精度の高い画像検査装置90を容易に実現することができる。 By inspecting the inspection image 71 using the image inspector 33 in this manner, the image inspection apparatus 90 with high inspection accuracy can be easily realized.

また、制御部85は、分類器33bによって当該ねじ穴の形状を分類し、検査基準32、例えば「ねじ穴の形状が変形していたらNG」と一致していたら欠陥あり、検査基準32と不一致ならば欠陥なしと判定する。これにより、ねじ穴の形状変形の有無が検査される。さらに、判定の結果、検査用画像71のねじ穴に欠陥ありと判定された場合、制御部85は、欠陥ありと判定される原因となった検査基準32を出力部80に出力させる。これにより、欠陥ありと判定されたときに、その原因となった検査基準32を出力しない場合と比較して、画像検査器33を用いた検査結果は説明性を有する。この場合、例えばねじ穴が複数あるときに、どのねじ穴が変形していると判定されたのかが分かるように、制御部85は、検査基準32に添えて、変形しているねじ穴の場所、例えば、座標値、該当場所にマークを付した画像を出力してもよい。 In addition, the control unit 85 classifies the shape of the screw hole by the classifier 33b, and if it matches the inspection standard 32, for example, "NG if the shape of the screw hole is deformed", there is a defect, and it does not match the inspection standard 32. If so, it is determined that there is no defect. Thereby, the presence or absence of shape deformation of the screw hole is inspected. Furthermore, when it is determined that there is a defect in the screw hole of the inspection image 71 as a result of the determination, the control unit 85 causes the output unit 80 to output the inspection standard 32 that caused the determination that there is a defect. As a result, when it is determined that there is a defect, the inspection result using the image inspector 33 is more descriptive than the case where the inspection standard 32 that is the cause of the defect is not output. In this case, for example, when there are a plurality of screw holes, the control unit 85, in addition to the inspection standard 32, displays the location of the deformed screw hole so that it can be known which screw hole is determined to be deformed. , for example, coordinate values and an image with a mark attached to the corresponding location may be output.

次に、図6を参照しつつ、一実施形態に係る画像検査器生成装置の動作について説明する。図6は、一実施形態に係る画像検査器生成装置50の画像検査器33を生成する概略動作を示すフローチャートである。 Next, the operation of the image inspector generating apparatus according to one embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing a schematic operation of generating the image inspector 33 of the image inspector generator 50 according to one embodiment.

例えば利用者(ユーザ)の操作によって画像検査器33の生成が選択されると、画像検査器生成装置50の制御部40は、図6に示す画像検査器生成処理S200を実行する。 For example, when generation of the image inspector 33 is selected by a user's operation, the control unit 40 of the image inspector generator 50 executes image inspector generation processing S200 shown in FIG.

なお、以下の説明において、画像検査器生成装置50の記憶部30に、学習用データ31及び検査基準32があらかじめ記憶されているものとする。 In the following description, it is assumed that the learning data 31 and the inspection standard 32 are stored in advance in the storage unit 30 of the image inspector generation device 50 .

最初に、検出器生成部41は、検査基準32と学習用データ31に含まれる学習用画像LGとに基づく機械学習によって、画像に含まれる検査オブジェクトを検出する検出器33aを生成する(S201)。 First, the detector generation unit 41 generates the detector 33a for detecting the inspection object included in the image by machine learning based on the inspection standard 32 and the learning image LG included in the learning data 31 (S201). .

次に、分類器生成部42は、検査基準32と学習用画像LGとに基づく機械学習によって、ステップS201で検出された検査オブジェクトの状態を分類する分類器33bを生成する(S202)。 Next, the classifier generator 42 generates a classifier 33b that classifies the state of the inspection object detected in step S201 by machine learning based on the inspection standard 32 and the learning image LG (S202).

なお、学習用画像LGに対応する教師データは、学習用データ31に含まれる態様の他に、例えば、利用者(ユーザ)が表示装置等に表示される学習用画像LGを見ながら入力部20を介して逐次入力し、当該学習用画像LGに付与されてもよい。 Note that the teacher data corresponding to the learning image LG is not included in the learning data 31, but may also be input by the user while viewing the learning image LG displayed on a display device or the like. , and may be given to the learning image LG.

次に、制御部40は、ステップS201において生成された検出器33aと、ステップS202において生成された分類器33bとを含む画像検査器33を生成し、当該画像検査器33を記憶部30に記憶させる(S203)。 Next, the control unit 40 generates the image inspector 33 including the detector 33a generated in step S201 and the classifier 33b generated in step S202, and stores the image inspector 33 in the storage unit 30. (S203).

ステップS203の後、制御部40は、画像検査器生成処理S200を終了する。 After step S203, the control unit 40 terminates the image inspector generation processing S200.

なお、検査すべき検査オブジェクトが複数存在する場合、制御部40は、検査オブジェクトの個数に応じた回数分、ステップS201からステップS203を繰り返し、検査オブジェクトごとに画像検査器33を生成する。 Note that when there are a plurality of inspection objects to be inspected, the control unit 40 repeats steps S201 to S203 the number of times corresponding to the number of inspection objects to generate the image inspector 33 for each inspection object.

また、ステップS203において記憶部30に記憶された画像検査器33は、ステップS203の後、すぐに画像検査装置90に送信してもよいし、複数の画像検査器33が生成されたときに、これらの画像検査器33をまとめて画像検査装置90に送信してもよい Further, the image inspector 33 stored in the storage unit 30 in step S203 may be transmitted to the image inspector 90 immediately after step S203, or when a plurality of image inspectors 33 are generated, These image inspection devices 33 may be collectively transmitted to the image inspection device 90.

以上、本発明の例示的な実施形態について説明した。本発明の一実施形態に係る画像検査器生成装置50、画像検査器生成プログラム、及び画像検査器生成方法によれば、検査オブジェクトに対する検査基準32と学習用画像LGとに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器33が生成され、検査基準32は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む。このように、論理情報である検査基準32と学習用画像LGとに基づいて機械学習を行うことにより、学習用画像に基づいて機械学習を行う場合と比較して、機械学習の学習効率を向上させることが可能になる。従って、従来と比較して、大量の学習用画像LGを必要とせずに検査精度の高い画像検査器33を生成することができる。 Exemplary embodiments of the invention have been described above. According to the image inspector generating apparatus 50, the image inspector generating program, and the image inspector generating method according to one embodiment of the present invention, the image An image inspector 33 is generated for inspecting inspection objects contained in , inspection criteria 32 containing information about the state variables of the inspection object, the state values of the state variables, and the class into which the inspection object is classified. In this way, by performing machine learning based on the inspection standard 32, which is logical information, and the learning image LG, the learning efficiency of machine learning is improved compared to the case of performing machine learning based on the learning image. It becomes possible to let Therefore, it is possible to generate an image inspection device 33 with high inspection accuracy without requiring a large amount of learning images LG as compared with the conventional art.

以上説明した各実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。各実施形態が備える各要素並びにその配置、材料、条件、形状及びサイズ等は、例示したものに限定されるわけではなく適宜変更することができる。また、異なる実施形態で示した構成同士を部分的に置換し又は組み合わせることが可能である。 Each of the embodiments described above is for facilitating understanding of the present invention, and is not for limiting interpretation of the present invention. Each element provided in each embodiment and its arrangement, materials, conditions, shape, size, etc. are not limited to those illustrated and can be changed as appropriate. Also, it is possible to partially replace or combine the configurations shown in different embodiments.

(附記)
1.検査オブジェクトに対する検査基準33と学習用画像LGとに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器33を生成する画像検査器生成部45を備え、
検査基準32は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む、
画像検査器生成装置50。
7.コンピュータに実行させる画像検査器生成プログラムであって、
検査オブジェクトに対する検査基準32と学習用画像LGとに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器33を生成する画像検査器生成ステップを含み、
検査基準32は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む、
画像検査器生成プログラム。
11.検査オブジェクトに対する検査基準32と学習用画像LGとに基づく機械学習によって、画像に含まれる検査オブジェクトを検査する画像検査器33を生成する画像検査器生成ステップを含み、
検査基準32は、検査オブジェクトの状態変数、当該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含む、
画像検査器生成方法。
(Appendix)
1. An image inspector generating unit 45 for generating an image inspector 33 for inspecting an inspection object included in an image by machine learning based on the inspection standard 33 for the inspection object and the learning image LG,
The test criteria 32 include information about the state variables of the test object, the state values of the state variables, and the class into which the test object is classified.
Image inspector generator 50 .
7. An image inspector generation program to be executed by a computer,
An image inspector generating step for generating an image inspector 33 for inspecting an inspection object included in the image by machine learning based on the inspection standard 32 for the inspection object and the learning image LG,
The test criteria 32 include information about the state variables of the test object, the state values of the state variables, and the class into which the test object is classified.
Image inspector generation program.
11. An image inspector generating step for generating an image inspector 33 for inspecting an inspection object included in the image by machine learning based on the inspection standard 32 for the inspection object and the learning image LG,
The test criteria 32 include information about the state variables of the test object, the state values of the state variables, and the class into which the test object is classified.
Image inspector generation method.

10…通信部、20…入力部、30…記憶部、31…学習用データ、32…検査基準、33…画像検査器、33a…検出器、33b…分類器、40…制御部、41…検出器生成部、42…分類器生成部、45…画像検査器生成部、50…画像検査器生成装置、51…バス、60…通信部、70…記憶部、71…検査用画像、80…出力部、85…制御部、90…画像検査装置、91…バス、100…画像検査システム、A…検査オブジェクト、APP…塗布材料、B…検査オブジェクト、DA1…賞味期限印字、DD1…第1判定器、DD2…第2判定器、LD1…第1教師データ、LD2…第2教師データ、LG,LG1,LG2,LG3…学習用画像、NN1…第1ニューラルネットワーク、NN2…第2ニューラルネットワーク、NW…ネットワーク、ORNN…物体認識ニューラルネットワーク、PLG…部分画像、S200…画像検査器生成処理、SH1,SH2,SH3…ねじ穴、SRNN…状態認識ニューラルネットワーク、VA…値、X…状態変数、X1…状態値、Y…状態変数、Y1…状態値。 DESCRIPTION OF SYMBOLS 10... Communication part, 20... Input part, 30... Storage part, 31... Data for learning, 32... Inspection standard, 33... Image inspection device, 33a... Detector, 33b... Classifier, 40... Control part, 41... Detection Device generation unit 42 Classifier generation unit 45 Image inspection device generation unit 50 Image inspection device generation device 51 Bus 60 Communication unit 70 Storage unit 71 Inspection image 80 Output Part 85... Control part 90... Image inspection device 91... Bus 100... Image inspection system A... Inspection object APP... Coating material B... Inspection object DA1... Expiration date print DD1... First determiner , DD2 . Network, ORNN... Object recognition neural network, PLG... Partial image, S200... Image inspector generation processing, SH1, SH2, SH3... Screw hole, SRNN... State recognition neural network, VA... Value, X... State variable, X1... State Value, Y... State variable, Y1... State value.

Claims (7)

検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる前記検査オブジェクトを検査する画像検査器を生成する画像検査器生成部を備え、
前記検査基準は、前記検査オブジェクトの状態変数、該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含み、
前記画像検査器は、検出器と分類器とを含み、
前記画像検査器生成部は、前記画像に含まれる前記検査オブジェクトを検出する前記検出器を生成する検出器生成部と、前記画像において前記検出された検査オブジェクトの状態を分類する前記分類器を生成する分類器生成部と、を含
前記分類器生成部は、前記画像において前記検出された検査オブジェクトの部分画像であって、前記画像から切り出された部分画像を入力とする機械学習によって、前記分類器を生成する、
画像検査器生成装置。
an image inspector generation unit that generates an image inspector that inspects the inspection object included in the image by machine learning based on the inspection standard for the inspection object and the learning image;
the inspection criteria includes information on the state variables of the inspection object, the state values of the state variables, and the class into which the inspection object is classified;
The image inspector includes a detector and a classifier,
The image inspector generation unit generates a detector generation unit that generates the detector that detects the inspection object included in the image, and a classifier that classifies the state of the inspection object detected in the image. and a classifier generator that
The classifier generation unit is a partial image of the inspection object detected in the image, and generates the classifier by machine learning using as input a partial image cut out from the image.
Image inspector generator.
前記検査基準を入力するための入力部をさらに備える、
請求項1に記載の画像検査器生成装置。
further comprising an input unit for inputting the inspection criteria;
The image inspector generating apparatus according to claim 1 .
請求項1又は2に記載の画像検査器生成装置によって生成された前記画像検査器を備え、
前記画像検査器を用いて検査用画像を検査する、
画像検査装置。
The image inspector generated by the image inspector generation device according to claim 1 or 2 ,
inspecting an inspection image using the image inspector;
Image inspection equipment.
前記画像検査器は、複数の前記検査基準に基づく機械学習によって生成され、
前記画像検査器を用いて検査した結果、前記検査用画像に欠陥ありと判定されたときに、前記複数の検査基準のうち、欠陥ありと判定される原因となった検査基準を出力する出力部をさらに備える、
請求項に記載の画像検査装置。
The image inspector is generated by machine learning based on a plurality of the inspection criteria,
When it is determined that the inspection image has a defect as a result of inspection using the image inspector, an output unit that outputs, among the plurality of inspection standards, the inspection standard that caused the determination that there is a defect. further comprising
The image inspection apparatus according to claim 3 .
コンピュータに実行させる画像検査器生成プログラムであって、
検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる前記検査オブジェクトを検査する画像検査器を生成する画像検査器生成ステップ、を含み、
前記検査基準は、前記検査オブジェクトの状態変数、該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含み、
前記画像検査器は、検出器と分類器とを含み、
前記画像検査器生成ステップは、前記画像に含まれる前記検査オブジェクトを検出する前記検出器を生成する検出器生成ステップと、前記画像において前記検出された検査オブジェクトの状態を分類する前記分類器を生成する分類器生成ステップと、を含
前記分類器生成ステップは、前記画像において前記検出された検査オブジェクトの部分画像であって、前記画像から切り出された部分画像を入力とする機械学習によって、前記分類器を生成することを含む、
画像検査器生成プログラム。
An image inspector generation program to be executed by a computer,
an image inspector generation step of generating an image inspector for inspecting the inspection object included in the image by machine learning based on the inspection standard for the inspection object and the learning image;
the inspection criteria includes information on the state variables of the inspection object, the state values of the state variables, and the class into which the inspection object is classified;
The image inspector includes a detector and a classifier,
The image inspector generation step includes a detector generation step for generating the detector for detecting the inspection object included in the image, and a classifier for classifying the state of the inspection object detected in the image. and a classifier generation step for
The classifier generation step is a partial image of the inspection object detected in the image, and includes generating the classifier by machine learning using as input a partial image cut out from the image.
Image inspector generation program.
前記検査基準を入力するための入力ステップをさらに含む、
請求項に記載の画像検査器生成プログラム。
further comprising an input step for inputting the inspection criteria;
The image inspector generating program according to claim 5 .
検査オブジェクトに対する検査基準と学習用画像とに基づく機械学習によって、画像に含まれる前記検査オブジェクトを検査する画像検査器を生成する画像検査器生成ステップ、を含み、
前記検査基準は、前記検査オブジェクトの状態変数、該状態変数の状態値、及び検査オブジェクトが分類されるクラスの情報を含み、
前記画像検査器は、検出器と分類器とを含み、
前記画像検査器生成ステップは、前記画像に含まれる前記検査オブジェクトを検出する前記検出器を生成する検出器生成ステップと、前記画像において前記検出された検査オブジェクトの状態を分類する前記分類器を生成する分類器生成ステップと、を含
前記分類器生成ステップは、前記画像において前記検出された検査オブジェクトの部分画像であって、前記画像から切り出された部分画像を入力とする機械学習によって、前記分類器を生成することを含む、
画像検査器生成方法。
an image inspector generation step of generating an image inspector for inspecting the inspection object included in the image by machine learning based on the inspection standard for the inspection object and the learning image;
the inspection criteria includes information on the state variables of the inspection object, the state values of the state variables, and the class into which the inspection object is classified;
The image inspector includes a detector and a classifier,
The image inspector generation step includes a detector generation step for generating the detector for detecting the inspection object included in the image, and a classifier for classifying the state of the inspection object detected in the image. and a classifier generation step for
The classifier generation step is a partial image of the inspection object detected in the image, and includes generating the classifier by machine learning using as input a partial image cut out from the image.
Image inspector generation method.
JP2018242918A 2018-12-26 2018-12-26 Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method Active JP7128107B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018242918A JP7128107B2 (en) 2018-12-26 2018-12-26 Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method
PCT/JP2019/048327 WO2020137526A1 (en) 2018-12-26 2019-12-10 Image inspection instrument generation device, image inspection device, image inspection instrument generation program, and image inspection instrument generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018242918A JP7128107B2 (en) 2018-12-26 2018-12-26 Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method

Publications (2)

Publication Number Publication Date
JP2020106935A JP2020106935A (en) 2020-07-09
JP7128107B2 true JP7128107B2 (en) 2022-08-30

Family

ID=71126579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018242918A Active JP7128107B2 (en) 2018-12-26 2018-12-26 Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method

Country Status (2)

Country Link
JP (1) JP7128107B2 (en)
WO (1) WO2020137526A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7266146B2 (en) 2020-03-31 2023-04-27 本田技研工業株式会社 Intake purification device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022009542A1 (en) * 2020-07-10 2022-01-13 パナソニックIpマネジメント株式会社 Information processing device, information processing method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6336391B2 (en) * 2012-09-06 2018-06-06 ソニー株式会社 Information processing apparatus, information processing method, and program
JP6669453B2 (en) * 2015-09-08 2020-03-18 株式会社Screenホールディングス Image classification device and image classification method
JP6597972B2 (en) * 2016-03-23 2019-10-30 株式会社Screenホールディングス Image processing apparatus and image processing method
JP6735592B2 (en) * 2016-04-08 2020-08-05 キヤノン株式会社 Image processing apparatus, control method thereof, and image processing system
JP2018022216A (en) * 2016-08-01 2018-02-08 ソニー株式会社 Information processing device, information processing method, and program
JP6889841B2 (en) * 2017-03-01 2021-06-18 オムロン株式会社 Learning device, learning result utilization device, learning method and learning program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7266146B2 (en) 2020-03-31 2023-04-27 本田技研工業株式会社 Intake purification device

Also Published As

Publication number Publication date
JP2020106935A (en) 2020-07-09
WO2020137526A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
US10878283B2 (en) Data generation apparatus, data generation method, and data generation program
Mathew et al. Multilingual OCR for Indic scripts
US9886669B2 (en) Interactive visualization of machine-learning performance
JP7128107B2 (en) Image inspection device generation device, image inspection device, image inspection device generation program, and image inspection device generation method
CN107423278B (en) Evaluation element identification method, device and system
TW202129528A (en) System and method for classifying products
ITRM20130022A1 (en) PROCEDURE AND HAND-WRITING APPROVAL
JP6584250B2 (en) Image classification method, classifier configuration method, and image classification apparatus
KR102246085B1 (en) Anomaly detection
KR102078133B1 (en) Method for detecting anomaly of data
WO2019209276A1 (en) Identifying differences between images
JP2019106119A (en) Detection system, information processing apparatus, evaluation method, and program
JP7422548B2 (en) Label noise detection program, label noise detection method, and label noise detection device
JP6866930B2 (en) Production equipment monitoring equipment, production equipment monitoring method and production equipment monitoring program
US20220188707A1 (en) Detection method, computer-readable recording medium, and computing system
JP5354747B2 (en) Application state recognition method, apparatus and program
CN113128565B (en) Automatic image annotation system and device oriented to agnostic pre-training annotation data
US20170031457A1 (en) Method for inputting multi-language texts
JP2007334719A (en) Missing value complementary system for gene expression analysis
ITRM930179A1 (en) APPARATUS AND PROCEDURE FOR THE RECOGNITION OF MANUSCRIPT CHARACTERS.
US9384729B2 (en) Method and system for detecting boundary of coarticulated units from isolated speech
KR102488049B1 (en) Automatic recognition system of text information based on deep learning model and automatic recognition method
JP7400827B2 (en) Detection method, detection program and information processing device
Ligsay et al. Optical Character Recognition of Baybayin Writing System using YOLOv3 Algorithm
JP2021135798A (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210118

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20210318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210510

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211122

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20211122

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20211201

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20211202

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20211224

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20220105

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20220516

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20220627

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20220721

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20220721

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220818

R150 Certificate of patent or registration of utility model

Ref document number: 7128107

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150