JP7675504B2 - Inspection system, inspection device, inspection program, and inspection method - Google Patents
Inspection system, inspection device, inspection program, and inspection method Download PDFInfo
- Publication number
- JP7675504B2 JP7675504B2 JP2020051135A JP2020051135A JP7675504B2 JP 7675504 B2 JP7675504 B2 JP 7675504B2 JP 2020051135 A JP2020051135 A JP 2020051135A JP 2020051135 A JP2020051135 A JP 2020051135A JP 7675504 B2 JP7675504 B2 JP 7675504B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- inspection
- defect
- defects
- learning
- 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
Links
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Analysis (AREA)
Description
本開示は、検査対象を検査するための技術に関し、とくに、検査対象を検査するための検査システム、検査システムに利用可能な学習装置、学習プログラム、学習方法、検査システムに利用可能な検査装置、検査プログラム、及び検査方法に関する。 The present disclosure relates to technology for inspecting an inspection object, and in particular to an inspection system for inspecting an inspection object, a learning device, a learning program, a learning method that can be used in the inspection system, an inspection device, an inspection program, and an inspection method that can be used in the inspection system.
便器装置の貯水タンクなどの衛生陶器を製造する際に、施釉や焼成などの工程において、釉薬のはげや亀裂(クラック)などの不具合が生じうる。従来は、熟練した検査員が目視で外観を検査していたが、人材を確保するのが困難で、教育負荷も高いため、属人化の解消が大きな課題となっていた。 When manufacturing sanitary ceramics such as toilet tanks, defects such as peeling of the glaze and cracks can occur during processes such as glazing and firing. Traditionally, skilled inspectors have visually inspected the appearance, but securing sufficient personnel is difficult and the training burden is high, making it a major challenge to eliminate dependency on individual personnel.
このような不具合を自動的に検出するために、検査対象物の撮像画像から表面状態を判定する技術が提案されている(例えば、特許文献1参照)。 To automatically detect such defects, technology has been proposed to determine the surface condition from captured images of the object being inspected (see, for example, Patent Document 1).
不具合を検出できずに、不具合のあるままで製品を出荷してしまうと、回収、代品出荷、再加工などの手間が生じるとともに、製品の信頼性が低下してしまう。したがって、不具合を自動的に検出する精度を更に高める必要がある。 If defects cannot be detected and products are shipped with defects, it will require the time and effort of recalling the product, shipping a replacement, and reprocessing it, and it will also reduce the reliability of the product. Therefore, there is a need to further improve the accuracy of automatically detecting defects.
本開示は、このような課題に鑑みてなされ、その目的は、検査対象を検査する精度を向上させることにある。 This disclosure has been made in light of these issues, and its purpose is to improve the accuracy of inspecting test objects.
上記課題を解決するために、本開示のある態様の検査システムは、検査対象の検出対象部位を検出するための検出器を学習する学習装置と、学習装置により学習された検出器を用いて、検査対象の検出対象部位を検出する検査装置と、を備える。学習装置は、検出対象部位を含む検査対象の撮像画像を取得する学習用画像取得部と、学習用画像取得部により取得された検査対象の撮像画像に含まれる検出対象部位の画像から学習データを生成する学習データ生成部と、学習データ生成部により生成された学習データを使用して検出器を学習する学習部と、を備える。学習データ生成部は、複数の検出対象部位の画像のうち少なくとも一部を複数に分割し、分割された検出対象部位の画像のそれぞれから学習データを生成し、検査装置は、検査対象の撮像画像を取得する検査用画像取得部と、検出器を用いて、検査用画像取得部により取得された撮像画像から検出対象部位を検出する検出部と、を備える。 In order to solve the above problem, an inspection system according to an embodiment of the present disclosure includes a learning device that learns a detector for detecting a detection target portion of an inspection target, and an inspection device that detects the detection target portion of an inspection target using a detector learned by the learning device. The learning device includes a learning image acquisition unit that acquires an image of the inspection target including the detection target portion, a learning data generation unit that generates learning data from an image of the detection target portion included in the image of the inspection target acquired by the learning image acquisition unit, and a learning unit that trains the detector using the learning data generated by the learning data generation unit. The learning data generation unit divides at least a portion of the images of the detection target portions into multiple parts and generates learning data from each of the divided images of the detection target portions, and the inspection device includes an inspection image acquisition unit that acquires an image of the inspection target, and a detection unit that uses a detector to detect the detection target portion from the image acquired by the inspection image acquisition unit.
本開示の別の態様は、学習装置である。この装置は、検出対象部位を含む検査対象の撮像画像を取得する学習用画像取得部と、学習用画像取得部により取得された検査対象の撮像画像に含まれる検出対象部位の画像から学習データを生成する学習データ生成部と、学習データ生成部により生成された学習データを使用して、検査対象の検出対象部位を検出するための検出器を学習する学習部と、を備える。学習データ生成部は、複数の検出対象部位の画像のうち少なくとも一部を複数に分割し、分割された検出対象部位の画像のそれぞれから学習データを生成する。 Another aspect of the present disclosure is a learning device. This device includes a learning image acquisition unit that acquires captured images of an inspection target including a detection target portion, a learning data generation unit that generates learning data from images of the detection target portion included in the captured images of the inspection target acquired by the learning image acquisition unit, and a learning unit that uses the learning data generated by the learning data generation unit to train a detector for detecting the detection target portion of the inspection target. The learning data generation unit divides at least a portion of the images of the detection target portions into multiple parts, and generates learning data from each of the divided images of the detection target portions.
本開示のさらに別の態様は、学習プログラムである。このプログラムは、コンピュータを、検出対象部位を含む検査対象の撮像画像を取得する学習用画像取得部と、学習用画像取得部により取得された検査対象の撮像画像に含まれる検出対象部位の画像から学習データを生成する学習データ生成部と、学習データ生成部により生成された学習データを使用して、検査対象の検出対象部位を検出するための検出器を学習する学習部と、として機能させ、学習データ生成部は、複数の検出対象部位の画像のうち少なくとも一部を複数に分割し、分割された検出対象部位の画像のそれぞれから学習データを生成する。 Yet another aspect of the present disclosure is a learning program. This program causes a computer to function as a learning image acquisition unit that acquires captured images of an inspection target including a detection target portion, a learning data generation unit that generates learning data from images of the detection target portion included in the captured images of the inspection target acquired by the learning image acquisition unit, and a learning unit that uses the learning data generated by the learning data generation unit to train a detector for detecting the detection target portion of the inspection target, and the learning data generation unit divides at least a portion of the images of the detection target portions into multiple parts and generates learning data from each of the divided images of the detection target portions.
本開示のさらに別の態様は、学習方法である。この方法は、コンピュータに、検出対象部位を含む検査対象の撮像画像を取得するステップと、取得された検査対象の撮像画像に含まれる検出対象部位の画像から学習データを生成するステップと、生成された学習データを使用して、検査対象の検出対象部位を検出するための検出器を学習するステップと、を実行させる。学習するステップにおいて、複数の検出対象部位の画像のうち少なくとも一部を複数に分割し、分割された検出対象部位の画像のそれぞれから学習データを生成する。 Yet another aspect of the present disclosure is a learning method. This method causes a computer to execute the steps of acquiring an image of an inspection target including a detection target portion, generating learning data from an image of the detection target portion included in the acquired image of the inspection target, and training a detector for detecting the detection target portion of the inspection target using the generated learning data. In the learning step, at least a portion of the images of the detection target portions are divided into a plurality of portions, and learning data is generated from each of the divided images of the detection target portions.
本開示のさらに別の態様は、検査装置である。この装置は、検査対象の撮像画像を取得する検査用画像取得部と、検査対象の撮像画像に含まれる検出対象部位の画像を複数に分割して生成された学習データを使用して学習された検出器を用いて、検査用画像取得部により取得された撮像画像から検出対象部位を検出する検出部と、を備える。 Yet another aspect of the present disclosure is an inspection device. This device includes an inspection image acquisition unit that acquires an image of an object to be inspected, and a detection unit that detects the detection target part from the image acquired by the inspection image acquisition unit using a detector trained using learning data generated by dividing an image of the detection target part included in the image of the object to be inspected into multiple parts.
本開示のさらに別の態様は、検査プログラムである。このプログラムは、コンピュータを、検査対象の撮像画像を取得する検査用画像取得部と、検査対象の撮像画像に含まれる検出対象部位の画像を複数に分割して生成された学習データを使用して学習された検出器を用いて、検査用画像取得部により取得された撮像画像から検出対象部位を検出する検出部と、として機能させる。 Yet another aspect of the present disclosure is an inspection program. This program causes a computer to function as an inspection image acquisition unit that acquires an image of an inspection target, and a detection unit that detects a detection target portion from an image acquired by the inspection image acquisition unit using a detector trained using training data generated by dividing an image of a detection target portion included in the image of the inspection target into multiple parts.
本開示のさらに別の態様は、検査方法である。この方法は、コンピュータに、検査対象の撮像画像を取得するステップと、検査対象の撮像画像に含まれる検出対象部位の画像を複数に分割して生成された学習データを使用して学習された検出器を用いて、取得された撮像画像から検出対象部位を検出するステップと、を実行させる。 Yet another aspect of the present disclosure is an inspection method. This method causes a computer to execute the steps of acquiring an image of an object to be inspected, and detecting the object to be detected from the acquired image using a detector trained using training data generated by dividing an image of the object to be detected, which is included in the image of the object to be inspected, into multiple parts.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 In addition, any combination of the above components, and any transformation of the present invention into a method, device, system, recording medium, computer program, etc., are also valid aspects of the present invention.
本開示の実施の形態として、衛生陶器の一例であるタンクの外観を検査する技術について説明する。実施の形態に係る学習装置は、タンクの表面に生じたクラックなどの欠陥を検出するための欠陥検出器を学習する。実施の形態に係る検査装置は、学習装置により学習された欠陥検出器を使用してタンクの撮像画像から欠陥を検出する。これにより、検査の効率及び精度を向上させることができるので、検査員の負担を大幅に軽減させることができる。また、合格品を不合格品と判定する割合を低減させることができるので、不合格品の見直しなどの手間を軽減させることができる。また、検査員の経験や技量などによらず、精確な検査を実施することができるので、検査の属人化を解消し、検査員の人員不足を軽減させることができるとともに、製品の品質を良好に安定させることができる。 As an embodiment of the present disclosure, a technique for inspecting the appearance of a tank, which is an example of sanitary ware, will be described. A learning device according to the embodiment learns a defect detector for detecting defects such as cracks that occur on the surface of the tank. An inspection device according to the embodiment detects defects from captured images of the tank using the defect detector learned by the learning device. This improves the efficiency and accuracy of the inspection, significantly reducing the burden on the inspector. In addition, the rate at which passing products are judged to be failing can be reduced, reducing the effort required to review failing products. In addition, accurate inspections can be performed regardless of the experience or skill of the inspector, eliminating the dependency on individual inspections, reducing the shortage of inspectors, and stabilizing product quality.
図1は、実施の形態に係る検査システムの構成を示す。検査システム1は、検査対象であるタンク2と、タンク2の外観を撮像するための撮像装置3と、タンク2の表面に生じた欠陥を検出するための欠陥検出器を学習する学習装置100と、欠陥検出器を用いてタンク2の表面を検査する検査装置200と、それらの装置を接続する通信網の一例であるインターネット4とを備える。
Figure 1 shows the configuration of an inspection system according to an embodiment. The
図2は、タンク2の表面の撮像画像の例を示す。図2(a)は、タンク2の表面に生じたクラックの画像を示す。撮像画像10には、4つのクラック11a、11b、11c、11dの画像が含まれている。学習装置100は、撮像画像10に含まれるクラックに対して、クラックであることを示すアノテーション(教師ラベル)を付与し、教師あり学習によって欠陥検出器を学習する。
Figure 2 shows an example of a captured image of the surface of the
欠陥検出器の汎化性能(未知データに対する検出性能)を向上せるためには、多種多様な欠陥の画像を学習データとして欠陥検出器を学習する必要があるが、タンク2を製造する際にタンク2の表面に欠陥が発生する割合は非常に低いので、実際にタンク2の表面に欠陥が生じている画像を大量に収集して学習データを生成するのは困難である。このような課題を解決するために、本実施の形態では、1つの欠陥の画像を複数に分割し、分割された欠陥の画像のそれぞれから学習データを生成する。これにより、大量の学習データを効率良く生成して欠陥検出器を学習することができるので、欠陥検出器の汎化性能及び精度を向上させることができる。このようにして学習された欠陥検出器により欠陥を検出する場合、1つの欠陥が存在する場合であっても、細分化された欠陥の一部ずつが複数個に分けて検出される可能性があるが、検出後に近接している欠陥同士をまとめればよい。この手法は、クラックなど、1つの欠陥においても位置によって形状などの特徴が異なりうる欠陥の検出器を学習する際にとくに効果的である。
In order to improve the generalization performance (detection performance for unknown data) of the defect detector, it is necessary to train the defect detector using images of a wide variety of defects as training data. However, since the rate at which defects occur on the surface of the
学習装置100は、図2(a)に示すように、4つのクラック11a、11b、11c、11dの画像のそれぞれにアノテーション12a、12b、12c、12dを付与してもよいが、本実施の形態では、図2(b)に示すように、4つのクラック11a、11b、11c、11dの画像のうち11a、11b、11cの3つの画像をそれぞれ複数に分割し、分割された複数のクラックの画像のそれぞれにアノテーションを付与して、別々の学習データを生成する。例えば、クラック11aの画像を3つに分割し、それぞれにアノテーション12a1、12a2、12a3を付与して、3つの学習データを生成する。これにより、アノテーションが付与された学習データの数を増やすことができるので、欠陥検出器の汎化性能及び精度を向上させることができる。
As shown in FIG. 2(a), the
学習装置100は、担当者からアノテーションの指定を受け付けてもよいし、自動的又は半自動的にアノテーションを付与してもよい。学習装置100は、撮像画像10に含まれる欠陥の位置、大きさ、種類の指定を担当者から受け付け、指定された欠陥の大きさ、種類、数などに応じて、欠陥の画像を分割してから学習データを生成するのか分割せずに学習データを生成するのかや、分割する場合は分割数や分割したそれぞれの領域の大きさや形状などを決定してもよい。例えば、図2(a)に示したクラック11dは、位置によらず単調な形状を有しているので、分割せずに全体にアノテーション12dを付与してもよい。クラック11a、11b、11cは、変化に富んだ形状を有しているので、クラックの大きさや形状の変化などに応じた数に分割して、それぞれにアノテーションを付与してもよい。
The
図3は、タンク2の表面の撮像画像の例を示す。図3(a)は、タンク2の表面に生じたクラックの画像を示す。タンク2の表面の撮像画像には、クラックなどの欠陥に起因する輝度のコントラストの他に、タンク2の表面の凹凸や撮像時の環境光などに起因する輝度のコントラストが含まれうる。このような検出すべきでない背景画像の特徴を欠陥検出器が誤学習すると、検出精度が低下しうる。このような課題を解決するために、本実施の形態では、検査対象の撮像画像から学習データを生成する前に、撮像画像に画像処理を施す。この前処理は、欠陥などの検出対象部位ではない部位の画像のコントラストを低下させて輝度を平滑化することが可能な画像処理であってもよい。例えば、画像全体にぼかし(ブラー)フィルタをかけてもよい。ぼかしフィルタは、例えば、カーネルの範囲内の画素値の平均を取る箱形フィルタ、注目画素との距離に応じて重みを変えるガウシアンフィルタ、カーネルの範囲内の全画素の中央値を採用する中央値フィルタ、正規分布の重みを付けたガウシアンフィルタであるバイラテラルフィルタなどであってもよい。前処理は、画像の解像度を下げる画像処理であってもよい。これにより、簡易な画像処理によって学習効率を向上させることができるので、高精度な欠陥検出器を短期間で生成することができる。
Figure 3 shows an example of a captured image of the surface of the
図3(b)は、図3(a)に示した画像にぼかしフィルターをかけた画像を示す。背景はぼかされてコントラストが低下しているので、背景の特徴を誤学習するのを低減させることができる。欠陥のコントラストも若干低下するが、特徴は保たれているので、欠陥の特徴を欠陥検出器に学習させることができる。 Figure 3(b) shows the image shown in Figure 3(a) after applying a blur filter. The background is blurred to reduce contrast, which reduces the risk of erroneous learning of background features. The contrast of the defects is also slightly reduced, but their features are preserved, allowing the defect detector to learn the features of the defects.
画像処理は、検出対象部位におけるコントラストの特徴が失われず、検出対象部位ではない部位におけるコントラストが十分に平滑化されるような条件で実行されればよい。学習装置100は、検出対象部位における輝度の分布と、検出対象部位ではない背景における輝度の分布を取得し、それぞれの輝度の分布に基づいて、画像処理の種類やカーネルサイズなどの条件を決定してもよい。学習装置100は、同種の検査対象を同様の環境で撮像した複数の撮像画像を検査する場合は、同じ条件で画像処理を施してもよい。
Image processing may be performed under conditions such that the contrast characteristics of the detection target area are not lost and the contrast of areas that are not the detection target area is sufficiently smoothed. The
撮像装置3により検査対象のタンク2の表面を撮像する際に、欠陥ではない部位のコントラストが十分に低くなるような撮像環境で撮像を実行してもよい。例えば、タンク2の表面の色や反射率などに応じた照度でタンク2に光を照射してもよい。また、撮像装置3の焦点距離、解像度、絞りなどを調整してもよい。
When the
図4は、実施の形態に係る学習方法の手順を示すフローチャートである。学習装置100は、欠陥を有する検査対象の撮像画像を取得し(S10)、取得した撮像画像に対してぼかしなどの前処理を実施する(S12)。学習装置100は、撮像画像に含まれる欠陥の画像の少なくとも一部を複数に分割し(S14)、分割した複数の欠陥画像のそれぞれにアノテーションを付与して学習データを生成する(S16)。学習装置100は、欠陥の種類ごとに異なるアノテーションを付与してもよい。これにより、欠陥の種類ごとに特徴を欠陥検出器に学習させることができるので、欠陥検出器を用いて検査対象の撮像画像から欠陥を検出すると同時に欠陥の種類を判定することができる。学習装置100は、生成した学習データを使用して教師あり学習により欠陥検出器を学習する。学習装置100は、欠陥検出器を学習する際に、既知の任意の学習アルゴリズムを適用してもよい。
FIG. 4 is a flowchart showing the procedure of the learning method according to the embodiment. The
図5は、実施の形態に係る検査方法の手順を示すフローチャートである。検査装置200は、検査対象の撮像画像を取得し(S30)、学習装置100が学習データを生成する際に実施したのと同様の画像処理を撮像画像に対して実施する(S32)。検査装置200は、学習済みの欠陥検出器を用いて撮像画像から欠陥を検出し(S34)、検出結果を出力する(S36)。
Figure 5 is a flowchart showing the steps of the inspection method according to the embodiment. The
本発明者は、上記の方法により、欠陥を含むタンク2の不合格品212点の撮像画像を使用して欠陥検出器を学習し、学習した欠陥検出器を使用してタンク2の合格品500点と不合格品23点の検査を実施した。不合格品を合格品と誤判定した件数は0件であった。これにより、本実施の形態の技術によって、不合格品を誤って出荷してしまう可能性を最小限に抑えることができることが示された。また、合格品を不合格品と誤判定した件数は7件であり、正解率は98.6%であった。これにより、不合格品を検査員が確認する手間を大幅に軽減させることができるとともに、合格品を出荷できずにロスしてしまう割合を大幅に低減させることができることが示された。
The inventors used the above method to train a defect detector using images of 212 defective and rejected products of
図6は、実施の形態に係る学習装置100の構成を示す。学習装置100は、表示装置112、入力装置113、通信装置114、処理装置120、及び記憶装置130を備える。学習装置100は、サーバ装置であってもよいし、パーソナルコンピューターなどの装置であってもよいし、携帯電話端末、スマートフォン、タブレット端末などの携帯端末であってもよい。
Figure 6 shows the configuration of a
表示装置112は、処理装置120により生成される画面を表示する。表示装置112は、液晶表示装置、有機EL表示装置などであってもよい。入力装置113は、学習装置100の使用者による指示入力を処理装置120に伝達する。入力装置113は、マウス、キーボード、タッチパッドなどであってもよい。表示装置112及び入力装置113は、タッチパネルとして実装されてもよい。
The
通信装置114は、他の装置との間の通信を制御する。通信装置114は、有線又は無線の任意の通信方式により通信を行ってもよい。通信装置114は、インターネット4を介して撮像装置3及び検査装置200との間で通信を行う。
The
記憶装置130は、処理装置120により使用されるプログラム、データなどを記憶する。記憶装置130は、半導体メモリ、ハードディスクなどであってもよい。記憶装置130には、学習用画像保持部131、学習データ保持部132、及び欠陥検出器133が格納される。
The
処理装置120は、学習用画像取得部121、画像処理部122、学習データ生成部123、学習部124、及び欠陥検出器提供部125を備える。これらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIなどにより実現され、ソフトウエア的にはメモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、またはハードウエアとソフトウエアの組合せなど、いろいろな形で実現できることは、当業者には理解されるところである。
The
学習用画像取得部121は、欠陥を有する検査対象の撮像画像を撮像装置3から取得して学習用画像保持部131に格納する。画像処理部122は、学習用画像保持部131に格納された学習用画像に対して、ぼかしなどの画像処理を施す。学習データ生成部123は、学習用画像に含まれる欠陥にアノテーションを付与する。学習データ生成部123は、少なくとも一部の欠陥画像を複数に分割し、分割されたそれぞれの欠陥画像にアノテーションを付与する。学習データ生成部123は、学習用画像を表示装置112に表示し、入力装置113を介して担当者からアノテーションの指定を受け付けてもよい。学習データ生成部123は、欠陥にアノテーションを自動的に付与してもよい。学習データ生成部123は、学習データを生成して学習データ保持部132に格納する。
The learning
学習部124は、学習データ保持部132に格納された学習データを使用して、欠陥検出器133を学習する。欠陥検出器提供部125は、学習済みの欠陥検出器133を検査装置200に提供する。
The
図7は、実施の形態に係る検査装置200の構成を示す。検査装置200は、表示装置212、入力装置213、通信装置214、処理装置220、及び記憶装置230を備える。検査装置200は、サーバ装置であってもよいし、パーソナルコンピューターなどの装置であってもよいし、携帯電話端末、スマートフォン、タブレット端末などの携帯端末であってもよい。
Figure 7 shows the configuration of an
表示装置212は、処理装置220により生成される画面を表示する。表示装置212は、液晶表示装置、有機EL表示装置などであってもよい。入力装置213は、検査装置200の使用者による指示入力を処理装置220に伝達する。入力装置213は、マウス、キーボード、タッチパッドなどであってもよい。表示装置212及び入力装置213は、タッチパネルとして実装されてもよい。
The
通信装置214は、他の装置との間の通信を制御する。通信装置214は、有線又は無線の任意の通信方式により通信を行ってもよい。通信装置214は、インターネット4を介して撮像装置3及び学習装置100との間で通信を行う。
The
記憶装置230は、処理装置220により使用されるプログラム、データなどを記憶する。記憶装置230は、半導体メモリ、ハードディスクなどであってもよい。記憶装置230には、検査用画像保持部231、検出結果保持部232、及び欠陥検出器233が格納される。
The
処理装置220は、検査用画像取得部221、画像処理部222、欠陥検出部223、検出結果生成部224、及び検出結果出力部225を備える。これらの構成も、ハードウエアのみ、またはハードウエアとソフトウエアの組合せなど、いろいろな形で実現できる。
The
検査用画像取得部221は、撮像装置3により撮像された検査対象の画像を撮像装置3から取得して検査用画像保持部231に格納する。画像処理部222は、学習装置100が学習用画像に対して実施したのと同じ画像処理を検査用画像に対して実施する。
The test
欠陥検出部223は、学習装置100から取得した学習済みの欠陥検出器233を用いて、検査用画像保持部231に格納された検査用画像から欠陥を検出し、検出結果を検出結果保持部232に格納する。検出結果生成部224は、検出された欠陥に関する情報を生成する。検出結果生成部224は、欠陥検出部223により検出された複数の欠陥が近接している場合、それらの欠陥をまとめて1つの欠陥とする。検出結果生成部224は、検出された欠陥の位置、大きさ、数、種類などの情報を生成する。検出結果出力部225は、検出結果生成部224により生成された検出結果を表示装置212などに出力する。
The
以上、実施の形態に基づき本発明を説明したが、実施の形態は、本発明の原理、応用を示すにすぎない。また、実施の形態には、請求の範囲に規定された本発明の思想を逸脱しない範囲において、多くの変形例や配置の変更が可能である。 The present invention has been described above based on the embodiments, but the embodiments merely show the principles and applications of the present invention. Furthermore, many modifications and changes in arrangement are possible to the embodiments without departing from the spirit of the present invention as defined in the claims.
上記の実施の形態では、主に衛生陶器の表面に生じたクラックを検出する技術について説明したが、本実施の形態の技術は、衛生陶器の表面に生じた別の種類の不具合、例えば、鉄、銅、素地、異物などの付着、釉薬や色などの異常、気泡、割れ、欠けなどの発生などを検出する場合にも適用可能である。また、衛生陶器以外の任意の製品を検査対象としてもよいし、欠陥以外の任意の検出対象部位を検出対象としてもよい。 In the above embodiment, the technology for detecting cracks on the surface of sanitary ware has been mainly described, but the technology of this embodiment can also be applied to the detection of other types of defects on the surface of sanitary ware, such as adhesion of iron, copper, base material, foreign matter, etc., abnormalities in glaze or color, and the occurrence of air bubbles, cracks, chips, etc. Furthermore, any product other than sanitary ware may be inspected, and any part other than defects may be detected.
1 検査システム、2 タンク、3 撮像装置、4 インターネット、10 撮像画像、11 クラック、12 アノテーション、100 学習装置、121 学習用画像取得部、122 画像処理部、123 学習データ生成部、124 学習部、125 欠陥検出器提供部、131 学習用画像保持部、132 学習データ保持部、133 欠陥検出器、200 検査装置、221 検査用画像取得部、222 画像処理部、223 欠陥検出部、224 検出結果生成部、225 検出結果出力部、231 検査用画像保持部、232 検出結果保持部、233 欠陥検出器。 1 Inspection system, 2 Tank, 3 Imaging device, 4 Internet, 10 Captured image, 11 Crack, 12 Annotation, 100 Learning device, 121 Learning image acquisition unit, 122 Image processing unit, 123 Learning data generation unit, 124 Learning unit, 125 Defect detector provision unit, 131 Learning image storage unit, 132 Learning data storage unit, 133 Defect detector, 200 Inspection device, 221 Inspection image acquisition unit, 222 Image processing unit, 223 Defect detection unit, 224 Detection result generation unit, 225 Detection result output unit, 231 Inspection image storage unit, 232 Detection result storage unit, 233 Defect detector.
Claims (13)
前記学習装置により学習された前記検出器を用いて、衛生陶器の表面に生じた欠陥を検出する検査装置と、
を備え、
前記学習装置は、
欠陥を含む衛生陶器の撮像画像を取得する学習用画像取得部と、
前記学習用画像取得部により取得された衛生陶器の撮像画像に含まれる欠陥の画像から学習データを生成する学習データ生成部と、
前記学習データ生成部により生成された学習データを使用して前記検出器を学習する学習部と、
を備え、
前記学習データ生成部は、複数の欠陥の画像のうち少なくとも一部を複数に分割し、分割された欠陥の画像のそれぞれから学習データを生成し、
前記検査装置は、
衛生陶器の撮像画像を取得する検査用画像取得部と、
前記検出器を用いて、前記検査用画像取得部により取得された撮像画像から欠陥を検出し、欠陥の種類を判定する検出部と、
を備え、
前記検出部は、検出された複数の欠陥が近接している場合、それらの欠陥をまとめて1つの欠陥として検出する
検査システム。 a learning device that learns a detector for detecting defects occurring on the surface of the sanitary ware and determining the type of the defect;
an inspection device that detects defects occurring on a surface of the sanitary ware using the detector trained by the learning device;
Equipped with
The learning device includes:
a learning image acquisition unit that acquires an image of the sanitary ware including a defect;
a learning data generating unit that generates learning data from images of defects included in the captured images of the sanitary ware acquired by the learning image acquiring unit;
a learning unit that learns the detector using the learning data generated by the learning data generation unit;
Equipped with
the learning data generation unit divides at least a portion of the images of the plurality of defects into a plurality of images, and generates learning data from each of the divided images of the defects;
The inspection device includes:
an inspection image acquisition unit for acquiring an image of the sanitary ware;
a detection unit that detects defects from the captured image acquired by the inspection image acquisition unit using the detector and determines a type of the defect;
Equipped with
When the detected defects are adjacent to each other, the detection unit detects the defects as one defect.
Inspection system.
衛生陶器の撮像画像に含まれる欠陥の画像を複数に分割して生成された学習データを使用して学習された検出器を用いて、前記検査用画像取得部により取得された撮像画像から欠陥を検出し、欠陥の種類を判定する検出部と、
を備え、
前記検出部は、検出された複数の欠陥が近接している場合、それらの欠陥をまとめて1つの欠陥として検出する
検査装置。 an inspection image acquisition unit for acquiring an image of the sanitary ware;
a detection unit that detects defects from the captured images acquired by the inspection image acquisition unit using a detector that has been trained using learning data generated by dividing an image of a defect included in a captured image of the sanitary ware into a plurality of parts, and determines a type of the defect;
Equipped with
When the detected defects are adjacent to each other, the detection unit detects the defects as one defect.
Inspection equipment.
衛生陶器の撮像画像を取得する検査用画像取得部と、
衛生陶器の撮像画像に含まれる欠陥の画像を複数に分割して生成された学習データを使用して学習された検出器を用いて、前記検査用画像取得部により取得された撮像画像から欠陥を検出し、欠陥の種類を判定する検出部と、
として機能させ、
前記検出部は、検出された複数の欠陥が近接している場合、それらの欠陥をまとめて1つの欠陥として検出する
検査プログラム。 Computer,
an inspection image acquisition unit for acquiring an image of the sanitary ware;
a detection unit that detects defects from the captured images acquired by the inspection image acquisition unit using a detector that has been trained using learning data generated by dividing an image of a defect included in a captured image of the sanitary ware into a plurality of parts, and determines a type of the defect;
Function as a
When the detected defects are adjacent to each other, the detection unit detects the defects as one defect.
Inspection program.
衛生陶器の撮像画像を取得するステップと、
衛生陶器の撮像画像に含まれる欠陥の画像を複数に分割してから生成された学習データを使用して学習された検出器を用いて、取得された撮像画像から欠陥を検出し、欠陥の種類を判定するステップと、
を実行させ、
前記検出するステップにおいて、検出された複数の欠陥が近接している場合、それらの欠陥をまとめて1つの欠陥として検出する
検査方法。 On the computer,
acquiring an image of the sanitary ware;
a step of detecting defects from the captured image of the sanitary ware using a detector trained using training data generated after dividing an image of a defect included in the captured image of the sanitary ware into a plurality of parts, and determining the type of the defect;
Run the command ,
In the detecting step, when the detected defects are adjacent to each other, the defects are collectively detected as one defect.
Testing method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020051135A JP7675504B2 (en) | 2020-03-23 | 2020-03-23 | Inspection system, inspection device, inspection program, and inspection method |
| PCT/JP2021/003830 WO2021192627A1 (en) | 2020-03-23 | 2021-02-03 | Inspection system, learning device, learning program, learning method, inspection device, inspection program, and inspection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020051135A JP7675504B2 (en) | 2020-03-23 | 2020-03-23 | Inspection system, inspection device, inspection program, and inspection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021148719A JP2021148719A (en) | 2021-09-27 |
| JP7675504B2 true JP7675504B2 (en) | 2025-05-13 |
Family
ID=77851240
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020051135A Active JP7675504B2 (en) | 2020-03-23 | 2020-03-23 | Inspection system, inspection device, inspection program, and inspection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7675504B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002328096A (en) | 2001-04-27 | 2002-11-15 | Tokyo Electric Power Co Inc:The | Crack defect detection program, crack defect detection method, and crack defect detection system formed on structure |
| JP2016168046A (en) | 2015-03-09 | 2016-09-23 | 学校法人法政大学 | Plant disease diagnosis system, plant disease diagnosis method, and program |
| KR101926561B1 (en) | 2018-03-13 | 2018-12-07 | 연세대학교 산학협력단 | Road crack detection apparatus of patch unit and method thereof, and computer program for executing the same |
| JP2019139370A (en) | 2018-02-07 | 2019-08-22 | パナソニックIpマネジメント株式会社 | Person detector |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6620477B2 (en) * | 2015-09-11 | 2019-12-18 | 国立大学法人富山大学 | Method and program for detecting cracks in concrete |
| JP6294529B1 (en) * | 2017-03-16 | 2018-03-14 | 阪神高速技術株式会社 | Crack detection processing apparatus and crack detection processing program |
| JP2019066219A (en) * | 2017-09-29 | 2019-04-25 | 株式会社Screenホールディングス | Visual inspection device and visual inspection method |
| JP7129669B2 (en) * | 2018-07-20 | 2022-09-02 | 株式会社エヌテック | Labeled image data creation method, inspection method, program, labeled image data creation device and inspection device |
-
2020
- 2020-03-23 JP JP2020051135A patent/JP7675504B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002328096A (en) | 2001-04-27 | 2002-11-15 | Tokyo Electric Power Co Inc:The | Crack defect detection program, crack defect detection method, and crack defect detection system formed on structure |
| JP2016168046A (en) | 2015-03-09 | 2016-09-23 | 学校法人法政大学 | Plant disease diagnosis system, plant disease diagnosis method, and program |
| JP2019139370A (en) | 2018-02-07 | 2019-08-22 | パナソニックIpマネジメント株式会社 | Person detector |
| KR101926561B1 (en) | 2018-03-13 | 2018-12-07 | 연세대학교 산학협력단 | Road crack detection apparatus of patch unit and method thereof, and computer program for executing the same |
Non-Patent Citations (1)
| Title |
|---|
| KUMRU, Mesut, Assessing the visual quality of sanitary ware by fuzzy logic, Applied Soft Computing, 2013年, Volume 13,Issue 8, pp.3646-3656 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021148719A (en) | 2021-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110658198B (en) | Optical detection method, optical detection device and optical detection system | |
| JP6630912B1 (en) | Inspection device and inspection method | |
| Chen et al. | Multi-scale GAN with transformer for surface defect inspection of IC metal packages | |
| CN104252056B (en) | The detection method and device of a kind of substrate | |
| US20210383526A1 (en) | Method for training defect detector | |
| WO2021010269A1 (en) | Inspection device, inspection method, and program | |
| CN106226033A (en) | Method and device for detecting transmittance of transparent substrate | |
| CN116778269A (en) | A method for building a product surface defect detection model based on autoencoder reconstruction | |
| CN101592620A (en) | Circuit substrate detection device and method | |
| Xiao et al. | Adaptive hybrid framework for multiscale void inspection of chip resistor solder joints | |
| JP4702953B2 (en) | Unevenness inspection method, unevenness inspection apparatus, and program | |
| JP2010091361A (en) | Method and device for inspecting image | |
| JP7449739B2 (en) | Inspection system, learning device, learning program, learning method, inspection device, inspection program, inspection method | |
| JP7675504B2 (en) | Inspection system, inspection device, inspection program, and inspection method | |
| US10878559B2 (en) | Method and system for evaluating efficiency of manual inspection for defect pattern | |
| CN119648652B (en) | Display panel defect detection method, device, equipment, medium and product based on attention potential | |
| CN112465780A (en) | Method and device for monitoring abnormal film thickness of insulating layer | |
| JP2011232302A (en) | Image inspection method and image inspection device | |
| WO2020090290A1 (en) | Image classifying device, image inspecting device, and image classifying method | |
| WO2021192627A1 (en) | Inspection system, learning device, learning program, learning method, inspection device, inspection program, and inspection method | |
| CN118333956A (en) | A ceramic nondestructive testing method, device, electronic equipment and storage medium | |
| CN113870255B (en) | Mini LED product defect detection method and related equipment | |
| CN117788444A (en) | SMT patch offset detection method, SMT patch offset detection device and SMT patch offset detection system | |
| US20240096059A1 (en) | Method for classifying images and method for optically examining an object | |
| CN116223513A (en) | Imaging quality analysis system and method for cigarette carton appearance detection equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20201218 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230106 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230905 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231106 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20231212 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240312 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20240321 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20240510 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250122 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250428 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7675504 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |