JP6742037B1 - Learning model generation method, learning model, inspection device, abnormality detection method, and computer program - Google Patents

Learning model generation method, learning model, inspection device, abnormality detection method, and computer program Download PDF

Info

Publication number
JP6742037B1
JP6742037B1 JP2019051400A JP2019051400A JP6742037B1 JP 6742037 B1 JP6742037 B1 JP 6742037B1 JP 2019051400 A JP2019051400 A JP 2019051400A JP 2019051400 A JP2019051400 A JP 2019051400A JP 6742037 B1 JP6742037 B1 JP 6742037B1
Authority
JP
Japan
Prior art keywords
inspection
inspection object
abnormality
image
blob
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
JP2019051400A
Other languages
Japanese (ja)
Other versions
JP2020153764A (en
Inventor
幸寛 中川
幸寛 中川
Original Assignee
株式会社 システムスクエア
株式会社 システムスクエア
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 株式会社 システムスクエア, 株式会社 システムスクエア filed Critical 株式会社 システムスクエア
Priority to JP2019051400A priority Critical patent/JP6742037B1/en
Priority to PCT/JP2020/003346 priority patent/WO2020189043A1/en
Application granted granted Critical
Publication of JP6742037B1 publication Critical patent/JP6742037B1/en
Publication of JP2020153764A publication Critical patent/JP2020153764A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/02Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material
    • G01N23/04Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material and forming images of the material
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/02Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material
    • G01N23/06Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material and measuring the absorption
    • G01N23/083Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material and measuring the absorption the radiation being X-rays
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/02Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material
    • G01N23/06Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material and measuring the absorption
    • G01N23/18Investigating the presence of flaws defects or foreign matter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Toxicology (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)
  • Image Analysis (AREA)

Abstract

【課題】精度良く検査物の異常を検出することができる学習モデルの生成方法、学習モデル、検査装置、異常検出方法、及びコンピュータプログラムを提供する。【解決手段】複数の検査物4に電磁波を照射し、各検査物4を透過した電磁波に応じて取得した画像から抽出された一の検査物4に対応する検査画像を取得し、前記検査画像と検査物4の異常の有無に関する異常有無情報とを含む教師データを取得し、前記教師データに基づいて、複数の検査物4に電磁波を照射し、各検査物4を透過した電磁波に応じて取得した画像から抽出された一の検査物4に対応する検査画像が入力された場合に、検査物4の異常有無情報を出力する学習モデル152を生成する。【選択図】図2PROBLEM TO BE SOLVED: To provide a learning model generation method, a learning model, an inspection device, an abnormality detection method, and a computer program capable of accurately detecting an abnormality of an inspection object. SOLUTION: A plurality of inspection objects 4 are irradiated with electromagnetic waves, and an inspection image corresponding to one inspection object 4 extracted from an image acquired according to the electromagnetic waves transmitted through each inspection object 4 is acquired. And teacher data including abnormality presence/absence information regarding the presence/absence of abnormality of the inspection object 4, irradiating electromagnetic waves to a plurality of inspection objects 4 based on the teacher data, and in accordance with the electromagnetic waves transmitted through each inspection object 4. When the inspection image corresponding to one inspection object 4 extracted from the acquired image is input, the learning model 152 that outputs the abnormality presence/absence information of the inspection object 4 is generated. [Selection diagram] Figure 2

Description

本発明は、食品、部品等の検査物の異常を検出するための学習モデルの生成方法、学習モデル、検査装置、異常検出方法、及びコンピュータプログラムに関する。 The present invention relates to a learning model generation method, a learning model, an inspection device, an abnormality detection method, and a computer program for detecting an abnormality of an inspection object such as food or a part.

食肉、豆類等の食品の検査、包装材に内容物が収納された包装体の検査、ネジ、ゴルフボール、及び電子部品等の工業製品の検査に、X線、テラヘルツ波、赤外線及び可視光等の検査波を使用した検査装置が使用されている。この検査装置においては、検査物に検査波が照射され、検査物を通過した検査波が検知されて被検査物の検査画像が取得される。 X-rays, terahertz waves, infrared rays, visible light, etc. for inspection of foods such as meat and beans, inspection of packages containing contents in packaging materials, inspection of industrial products such as screws, golf balls and electronic parts The inspection device using the inspection wave of is used. In this inspection apparatus, the inspection wave is irradiated to the inspection object, the inspection wave passing through the inspection object is detected, and the inspection image of the inspection object is acquired.

検査物が異物を有する場合、検査画像に閾値を超える濃い部分が存在する。従来、この濃い部分の面積及び形状等に基づいて、異物の有無の判定を行っていた。
検査物の形状の異常の有無は、検査画像のブロブ(塊)の面積及び周囲長に基づいて行っていた。ブロブを構成する画素をカウントすることにより、ブロブの面積が算出され、ブロブの周囲を形成する背景画素の配列に基づき、ブロブの周囲長が算出される(例えば特許文献1等)。
When the inspection object has a foreign substance, the inspection image has a dark portion exceeding the threshold value. Conventionally, the presence or absence of foreign matter has been determined based on the area and shape of this dark portion.
The presence or absence of abnormality in the shape of the inspection object was determined based on the area and perimeter of the blob (lump) in the inspection image. By counting the pixels forming the blob, the area of the blob is calculated, and the perimeter of the blob is calculated based on the arrangement of the background pixels forming the periphery of the blob (for example, Patent Document 1).

特開2005−31069号公報JP, 2005-31069, A

従来の異常検出方法においては、閾値と比較することにより異常の有無を判定していたが、検査物及び異物の種類によっては、正常な部分と異物との画素値の差異が小さい場合があり、検出の精度が良くないという問題があった。
検査物の形状の異常を検出する場合においても、同様に、ブロブの画素と背景画素との画素値の差異が小さく、エッジが明瞭でなく、正確に検出できない場合があった。
In the conventional abnormality detection method, the presence or absence of abnormality was determined by comparing with a threshold value, but depending on the type of the inspection object and the foreign matter, the difference in pixel value between the normal portion and the foreign matter may be small, There was a problem that the detection accuracy was not good.
Similarly, when detecting an abnormality in the shape of the inspection object, the difference between the pixel values of the blob pixel and the background pixel is small, the edge is not clear, and it may not be accurately detected.

本発明は斯かる事情に鑑みてなされたものであり、精度良く検査物の異常を検出することができる学習モデルの生成方法、学習モデル、検査装置、異常検出方法、及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and provides a learning model generation method, a learning model, an inspection device, an abnormality detection method, and a computer program that can accurately detect an abnormality of an inspection object. With the goal.

本発明の一態様に係る学習モデルの生成方法は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、特定したブロブが所定の大きさの矩形内に入るように切り出して、検査画像を取得し、前記検査画像と前記検査物の異常の有無に関する異常有無情報とを含む教師データを取得し、前記教師データに基づいて、複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記検査物の異常有無情報を出力する学習モデルを生成する。 A method for generating a learning model according to an aspect of the present invention is to irradiate electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and of images acquired according to the electromagnetic waves that have passed through each inspection object . Among them, based on the pixel value of each pixel , identify the blob corresponding to one inspection object , cut out so that the identified blob is within a rectangle of a predetermined size, to obtain an inspection image, the inspection image And teacher data including abnormality presence/absence information regarding the presence/absence of abnormality of the inspected object are obtained, and based on the instructor data, a plurality of inspected objects are irradiated with electromagnetic waves, and the electromagnetic waves transmitted through each inspected object are acquired. If an inspection image corresponding to one inspection object , which is obtained by identifying the blob from the image and cutting the blob into a rectangle of a predetermined size, is input, the inspection object is abnormal. A learning model that outputs presence information is generated.

本発明の一態様に係る学習モデルは、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力される入力層と、前記検査物の異常の有無を示す異常有無情報を出力する出力層と、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像及び検査物の異常有無情報に基づいてパラメータが学習された中間層とを備え、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記中間層による演算を経て前記検査物の異常有無情報を前記出力層から出力するようにコンピュータを機能させる。 The learning model according to one aspect of the present invention radiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of the pixel, the blob corresponding to one inspection object is specified, and the inspection image corresponding to the one inspection object that is obtained by cutting out so that the blob falls within a rectangle of a predetermined size is input. An input layer, an output layer that outputs abnormality presence/absence information indicating the presence or absence of abnormality of the inspection object, and irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and each inspection object The blob is specified from among the images acquired according to the electromagnetic waves transmitted through , and the blob is cut out and acquired so as to be within a rectangle of a predetermined size, and the inspection image and the inspection object corresponding to one inspection object Equipped with an intermediate layer whose parameters are learned based on abnormality information, irradiate electromagnetic waves to a plurality of inspection objects distributed and placed on a conveyor and conveyed , and acquired according to the electromagnetic waves transmitted through each inspection object. When the inspection image corresponding to one inspection object is input, which is obtained by identifying the blob among the images and cutting out so that the blob falls within a rectangle of a predetermined size, the calculation by the intermediate layer The computer is caused to output the abnormality presence/absence information of the inspection object from the output layer.

本発明の一態様に係る検査装置は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射する照射部と、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得する取得部と、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、前記取得部により取得した検査画像を入力して、前記異常有無情報を取得する学習検査部と、前記異常有無情報を出力する出力部とを備える。 An inspection apparatus according to one aspect of the present invention, an irradiation unit that irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed, and an image acquired according to the electromagnetic waves that have passed through each inspection object . Among them, based on the pixel value of each pixel, identify the blob corresponding to one inspection object, cut out so that the blob is within a rectangle of a predetermined size , the inspection image corresponding to one inspection object An acquisition unit to acquire and identify the blob among the images acquired according to the electromagnetic waves that have passed through the inspection object , and acquire the one inspection object by cutting out so that the blob falls within a rectangle of a predetermined size. Learning inspection unit that inputs the inspection image acquired by the acquisition unit to a learning model that outputs abnormality presence/absence information indicating the presence/absence of abnormality of the inspection object when a corresponding inspection image is input, and acquires the abnormality presence/absence information And an output unit that outputs the abnormality presence/absence information.

本発明の一態様に係る異常検出方法は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する処理をコンピュータに実行させる。 The abnormality detection method according to an aspect of the present invention, irradiating electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of each pixel, a blob corresponding to one inspection object is specified, and the blob is cut out so as to be within a rectangle of a predetermined size, and an inspection image corresponding to the one inspection object is acquired. , Identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object , and cutting and acquiring the blob so that it falls within a rectangle of a predetermined size , an inspection image corresponding to one inspection object A computer is made to perform the process which inputs the acquired said inspection image into the learning model which outputs the abnormality presence/absence information which shows the presence or absence of abnormality of a test|inspection when it inputs.

本発明の一態様に係るコンピュータプログラムは、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する処理をコンピュータに実行させる。 A computer program according to an aspect of the present invention irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of the pixel, identify the blob corresponding to one inspection object, cut out so that the blob is within a rectangle of a predetermined size , to obtain an inspection image corresponding to one inspection object, Input the inspection image corresponding to one inspection object acquired by identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object and cutting out so that the blob falls within a rectangle of a predetermined size In this case, the computer is made to execute the process of inputting the acquired inspection image to a learning model that outputs abnormality presence/absence information indicating the presence/absence of abnormality of the inspection object and outputting the abnormality presence/absence information.

本発明によれば、検査物の検査画像において、正常部分と異常部分との画素値の差異が小さい場合においても、精度良く、正常部分と異常部分とを判別できる。
従って、形状の異常、異物の有無等の異常有無情報を精度良く検出できる。
According to the present invention, even when the difference in pixel value between the normal portion and the abnormal portion is small in the inspection image of the inspection object, the normal portion and the abnormal portion can be accurately discriminated.
Therefore, it is possible to accurately detect abnormality presence/absence information such as a shape abnormality and the presence/absence of foreign matter.

実施の形態1に係る異常検出システムの構成を示す斜視図である。FIG. 3 is a perspective view showing the configuration of the abnormality detection system according to the first embodiment. 異常検出システムの構成を示すブロック図である。It is a block diagram which shows the structure of an abnormality detection system. ブロブをバウンディングボックスにより包囲した状態を示す説明図である。It is explanatory drawing which shows the state which enclosed the blob by the bounding box. リサイズの処理の説明図である。It is explanatory drawing of the process of resizing. 検査画像DBのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of inspection image DB. 異常検出モデルの生成処理に関する説明図である。It is explanatory drawing regarding the production|generation process of an abnormality detection model. 制御部による異常検出モデルの生成処理の処理手順の一例を示すフローチャートである。6 is a flowchart showing an example of a processing procedure of an abnormality detection model generation processing by a control unit. 制御部による異常検出処理の処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a processing procedure of abnormality detection processing by a control unit. 表示部における表示画面の一例を示す説明図である。It is explanatory drawing which shows an example of the display screen in a display part. PCの制御部による上述の再学習処理の処理手順の一例を示すフローチャートである。It is a flow chart which shows an example of the processing procedure of the above-mentioned re-learning processing by the control part of PC. 実施の形態2に係る異常検出モデルの生成処理に関する説明図である。FIG. 9 is an explanatory diagram related to an abnormality detection model generation process according to the second embodiment. 表示部における表示画面の一例を示す説明図である。It is explanatory drawing which shows an example of the display screen in a display part. 制御部による異常の種類の切替処理の処理手順の一例を示すフローチャートである。7 is a flowchart illustrating an example of a processing procedure of switching processing of an abnormality type by a control unit. 検査物の状態を示すボタンを表示する表示画面の一例を示す説明図である。It is explanatory drawing which shows an example of the display screen which displays the button which shows the state of a test object. 実施の形態3に係る異常検出システムの構成を示すブロック図である。FIG. 9 is a block diagram showing a configuration of an abnormality detection system according to a third embodiment. 制御部による異常検出処理の処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a processing procedure of abnormality detection processing by a control unit. 実施の形態4に係る異常検出システムの構成を示す斜視図である。It is a perspective view which shows the structure of the abnormality detection system which concerns on Embodiment 4. 異常検出システムの構成を示すブロック図である。It is a block diagram which shows the structure of an abnormality detection system. 異常検出処理に関する説明図である。It is explanatory drawing regarding an abnormality detection process.

以下、本発明をその実施の形態を示す図面に基づいて詳述する。
(実施の形態1)
図1は実施の形態1に係る異常検出システム10の構成を示す斜視図、図2は異常検出システム10の構成を示すブロック図である。
異常検出システム10は、検査装置としての情報処理装置1と、X線検査機2とを備える。本実施の形態においては、X線検査機2の搬送部(コンベア)6の搬送ベルト61上に分散した状態で検査物4を載置し、検査物4に対しX線を用いて撮像した画像に基づいて異常を検出する異常検出システム10について説明する。検査物4の一例として、種子、大豆等の食品が挙げられる。なお、検査物4は、食品には限定されず、ネジ、ゴルフボール等、画像により形状を検知できるものであればよい。検査物4は搬送ベルト61上に分散した状態で載置される場合に限定されず、包装材に収納されたものでもよく、トレイに載置されたものであってもよい。情報処理装置1とX線検査機2とは、一体化されていてもよい。
Hereinafter, the present invention will be described in detail with reference to the drawings showing an embodiment thereof.
(Embodiment 1)
1 is a perspective view showing a configuration of an abnormality detection system 10 according to the first embodiment, and FIG. 2 is a block diagram showing a configuration of the abnormality detection system 10.
The abnormality detection system 10 includes an information processing device 1 as an inspection device and an X-ray inspection machine 2. In the present embodiment, the inspection object 4 is placed in a dispersed state on the conveyor belt 61 of the conveyor section (conveyor) 6 of the X-ray inspection machine 2, and an image of the inspection object 4 is captured using X-rays. An abnormality detection system 10 for detecting an abnormality based on will be described. Examples of the inspection object 4 include foods such as seeds and soybeans. The inspection object 4 is not limited to food, and may be a screw, a golf ball or the like as long as the shape can be detected by an image. The inspection object 4 is not limited to being placed in a dispersed state on the conveyor belt 61, and may be stored in a packaging material or placed on a tray. The information processing device 1 and the X-ray inspection machine 2 may be integrated.

X線検査機2は、横長の直方体状をなす下側筐体23と、下側筐体23上に設けられ、下側筐体23より小さい上側筐体21とを備える。
下側筐体23内に搬送部6が設けられている。搬送部6は、下側筐体23の長手方向の一端部の外側に上流側ローラ63が設けられ、他端部の外側に下流側ローラ62が設けられている。上流側ローラ63と下流側ローラ62の間には、上流側ローラ63及び下流側ローラ62よりも下側に、2つの下段ローラ64,65が設けられており、これらのローラに搬送ベルト61が架け渡されている。上流側ローラ63と下流側ローラ62のいずれか一方に、搬送モータ(不図示)からの駆動力が与えられ、被検査物を検査するときに、搬送ベルト61が時計周りに一定の速度Vで周回する。
The X-ray inspector 2 includes a horizontally-long rectangular parallelepiped lower housing 23 and an upper housing 21 provided on the lower housing 23 and smaller than the lower housing 23.
The transport unit 6 is provided in the lower housing 23. The transport unit 6 is provided with an upstream roller 63 on the outer side of one end in the longitudinal direction of the lower housing 23 and a downstream roller 62 on the outer side of the other end. Between the upstream roller 63 and the downstream roller 62, two lower rollers 64 and 65 are provided below the upstream roller 63 and the downstream roller 62, and the conveyor belt 61 is provided between these rollers. Has been bridged. A driving force from a conveyance motor (not shown) is applied to one of the upstream roller 63 and the downstream roller 62, and when the inspection object is inspected, the conveyance belt 61 rotates clockwise at a constant speed V. Orbit.

上側筐体21に、X線照射部(照射部)3が収納されている。X線照射部3はX線管31を有する。上側筐体21の正面には、ディスプレイ22が設けられている。ディスプレイ22は、例えばLCD(Liquid Crystal Display)等の表示装置である。
上流側ローラ63と下流側ローラ62との間を移動する搬送ベルト61の下側にX線検知部7が設けられている。X線検知部7は、TDI(Time Delay Integration)カメラまたはTDIセンサと呼ばれるものであり、X線の強度に応じて蛍光を発するシンチレータと、シンチレータで発せられた蛍光を検知する多数のフォトダイオードとを有している。
An X-ray irradiation unit (irradiation unit) 3 is housed in the upper housing 21. The X-ray irradiation unit 3 has an X-ray tube 31. A display 22 is provided on the front surface of the upper housing 21. The display 22 is a display device such as an LCD (Liquid Crystal Display).
The X-ray detection unit 7 is provided below the transport belt 61 that moves between the upstream roller 63 and the downstream roller 62. The X-ray detection unit 7 is called a TDI (Time Delay Integration) camera or a TDI sensor, and includes a scintillator that emits fluorescence according to the intensity of X-rays, and many photodiodes that detect the fluorescence emitted by the scintillator. have.

TDIカメラでは、フォトダイオードが、被検査物の移動方向であるY方向と直交するX方向に直線的に並んで1つの検知ライン71が構成され、この検知ラインが複数ライン設けられている。複数の検知ライン71は被検査物の移動方向であるY方向へ向けて平行に並んで配置されている。図1においては、個々の検知ライン71を独立したラインセンサ素子として図示しているが、実際には、1つのTDIカメラの筐体内に、複数のフォトダイオードがX方向とY方向に規則的に並んで配置され、X方向に並ぶフォトダイオードで1ラインの検知ライン71が構成されている。 In the TDI camera, the photodiodes are linearly arranged in the X direction orthogonal to the Y direction, which is the moving direction of the object to be inspected, to form one detection line 71, and a plurality of detection lines are provided. The plurality of detection lines 71 are arranged in parallel in the Y direction, which is the moving direction of the inspection object. In FIG. 1, each detection line 71 is shown as an independent line sensor element, but in reality, a plurality of photodiodes are regularly arranged in the X direction and the Y direction in the housing of one TDI camera. One line of the detection line 71 is configured by the photodiodes arranged side by side and arranged in the X direction.

情報処理装置1は、種々の情報処理、情報の送受信が可能な情報処理装置であり、例えばパーソナルコンピュータ、サーバ装置等である。X線検査機2はLAN等のネットワークNを介して情報処理装置1に通信接続されている。情報処理装置1がサーバ装置である場合、ネットワークNはインターネットであってもよい。また、インターネット等のネットワークNを介して通信可能に接続されたクラウドコンピュータが、情報処理装置1の処理を実行することにしてもよい。
本実施の形態では情報処理装置1がパーソナルコンピュータであるものとし、以下の説明では簡潔のためPC1と読み替える。
The information processing device 1 is an information processing device capable of various information processing and information transmission/reception, and is, for example, a personal computer, a server device, or the like. The X-ray inspection machine 2 is communicatively connected to the information processing apparatus 1 via a network N such as a LAN. When the information processing device 1 is a server device, the network N may be the Internet. Alternatively, a cloud computer communicatively connected via the network N such as the Internet may execute the process of the information processing device 1.
In the present embodiment, the information processing device 1 is assumed to be a personal computer, and will be read as PC1 for simplicity in the following description.

PC1は、検査物4を撮像した画像を取得し、該画像に基づき検査物4の異常の有無を検出する処理を行う。本実施の形態でPC1は、機械学習により画像内から検査物4の異常を検出(識別)するよう学習済みの後述する異常検出モデル152を用いて異常の有無の検出を行う。異常検出モデル152は、人工知能ソフトウェアの一部であるプログラムモジュールとしての利用が想定される。
PC1は、X線検査機2を用いて検査物4を撮像した画像に基づく画像(検査画像)を異常検出モデル152に入力し、検査物4の異常の有無を示す識別結果を出力として取得する。PC1の制御部11が、異常検出モデル152からの指令に従って、入力層に入力された検査画像に対し演算を行い、識別結果を出力するように動作する。
以下、検査物4の異常の種類が形状の異常であり、PC1が異常検出モデル152に検査画像を入力し、ソフトマックス関数により正常の確率値及び異常の確率値を出力させ、異常の確率値を異常値として取得する場合につき説明する。
PC1は、取得した異常値に応じ、検査物4を廃棄するか否か等の選別を行う。
The PC 1 acquires an image of the inspection object 4 and performs a process of detecting the presence or absence of abnormality of the inspection object 4 based on the image. In the present embodiment, the PC 1 detects the presence or absence of an abnormality using an abnormality detection model 152, which will be described later and has been learned to detect (identify) the abnormality of the inspection object 4 from the image by machine learning. The abnormality detection model 152 is expected to be used as a program module that is a part of artificial intelligence software.
The PC 1 inputs an image (inspection image) based on an image obtained by imaging the inspection object 4 using the X-ray inspection machine 2 into the abnormality detection model 152, and acquires an identification result indicating whether or not there is an abnormality in the inspection object 4 as an output. .. The control unit 11 of the PC 1 operates so as to perform an operation on the inspection image input to the input layer according to a command from the abnormality detection model 152 and output the identification result.
Hereinafter, the type of abnormality of the inspection object 4 is a shape abnormality, the PC 1 inputs the inspection image to the abnormality detection model 152, and outputs the probability value of normality and the probability value of abnormality by the softmax function. The case of acquiring as an abnormal value will be described.
The PC 1 sorts out whether or not to discard the inspection object 4 according to the acquired abnormal value.

PC1は、制御部11、主記憶部12、通信部13、表示部14、及び補助記憶部15を備える。
制御部11は、一又は複数のCPU(Central Processing Unit)、MPU(Micro-Processing Unit)、GPU(Graphics Processing Unit)等の演算処理装置を有し、補助記憶部15に記憶されたプログラムPを読み出して実行することにより、PC1に係る種々の情報処理、制御処理等を行う。図2の各機能部は、制御部11がプログラムPに基づいて動作することにより実行される。
The PC 1 includes a control unit 11, a main storage unit 12, a communication unit 13, a display unit 14, and an auxiliary storage unit 15.
The control unit 11 has an arithmetic processing unit such as one or more CPUs (Central Processing Units), MPUs (Micro-Processing Units), and GPUs (Graphics Processing Units), and stores the programs P stored in the auxiliary storage unit 15. By reading and executing, various information processing, control processing, and the like related to the PC 1 are performed. Each functional unit in FIG. 2 is executed by the control unit 11 operating based on the program P.

制御部11は、機能部として、画像生成部(生成部)111、画像処理部(生成部)112、対象特定部(抽出部)113、切り出し部(包囲部)114、画像処理部115、学習検査部116、表示部(出力部)117、選別部(出力部)118、及び再学習部119を有する。
画像生成部111は、検査物4を透過し、X線検知部7により検知されたX線に基づき、X線画像を生成する。
画像処理部112は、X線画像に対し平滑化フィルタ、特徴抽出フィルタ等により画像処理を行い、処理画像を生成する。
対象特定部113は、処理画像に基づいて、検査物4のブロブ解析を行い、ブロブを特定する。
切り出し部114は、ブロブが所定の大きさの矩形内に入るように切り出し、切り出し画像を生成する。
画像処理部115は、切り出し画像に対し、正規化等の処理を行い、検査画像を生成する。
The control unit 11 has, as functional units, an image generating unit (generating unit) 111, an image processing unit (generating unit) 112, a target specifying unit (extracting unit) 113, a cutout unit (enclosing unit) 114, an image processing unit 115, and learning. The inspection unit 116, the display unit (output unit) 117, the selection unit (output unit) 118, and the re-learning unit 119 are included.
The image generation unit 111 transmits an inspection object 4 and generates an X-ray image based on the X-ray detected by the X-ray detection unit 7.
The image processing unit 112 performs image processing on the X-ray image using a smoothing filter, a feature extraction filter, etc., and generates a processed image.
The target specifying unit 113 performs blob analysis of the inspection object 4 based on the processed image and specifies a blob.
The cutout unit 114 cuts out the blob so as to fit inside a rectangle of a predetermined size, and generates a cutout image.
The image processing unit 115 performs processing such as normalization on the cutout image to generate an inspection image.

学習検査部116は、異常検出モデル152に検査画像を入力し、異常値を取得する。 The learning inspection unit 116 inputs the inspection image to the abnormality detection model 152 and acquires the abnormal value.

表示部117は、異常値をディスプレイ22へ出力し、検査画像の異常の有無をディスプレイ22において表示する。
選別部118は、検査物4の異常値を閾値と比較し、廃棄するか否かの選別を行ったり、搬送部6を停止させたり、検査物4をマーキングしたりする。選別部118は、例えば検査物4の異常値が0.5以上である場合、異常品とみなし、廃棄すると選別する。異常値の閾値は0.5である場合に限定されない。
再学習部119は、検査画像と、作業者から入力された異常検出モデル152の判断の良否の判定とを対応付けた教師データを用いて、異常検出モデル152を再学習する。
The display unit 117 outputs the abnormal value to the display 22 and displays the presence/absence of abnormality of the inspection image on the display 22.
The sorting unit 118 compares the abnormal value of the inspection object 4 with a threshold value, performs sorting of whether or not to discard, stops the transport unit 6, or marks the inspection object 4. For example, when the abnormal value of the inspection object 4 is 0.5 or more, the selection unit 118 regards the inspection object 4 as an abnormal product and selects it when it is discarded. The threshold value of the abnormal value is not limited to 0.5.
The re-learning unit 119 re-learns the abnormality detection model 152 by using the teacher data in which the inspection image and the determination of the quality of the abnormality detection model 152 input by the operator are associated with each other.

主記憶部12は、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、フラッシュメモリ等の一時記憶領域であり、制御部11が演算処理を実行するために必要なデータを一時的に記憶する。通信部13は、通信に関する処理を行うための通信モジュールであり、外部と情報の送受信を行う。 The main storage unit 12 is a temporary storage area such as an SRAM (Static Random Access Memory), a DRAM (Dynamic Random Access Memory), a flash memory, etc., and temporarily stores data necessary for the control unit 11 to execute arithmetic processing. Remember. The communication unit 13 is a communication module for performing processing relating to communication, and transmits/receives information to/from the outside.

補助記憶部15は大容量メモリ、ハードディスク等であり、制御部11が処理を実行するために必要なプログラムP、その他のデータを記憶している。また、補助記憶部15は、検査画像DB151及び前記異常検出モデル152を記憶している。検査画像DB151は、異常検出対象である検査物4の情報を格納したデータベースである。 The auxiliary storage unit 15 is a large-capacity memory, a hard disk, or the like, and stores the program P and other data necessary for the control unit 11 to execute processing. The auxiliary storage unit 15 also stores an inspection image DB 151 and the abnormality detection model 152. The inspection image DB 151 is a database that stores information about the inspection object 4 that is an abnormality detection target.

補助記憶部15に記憶されるプログラムPは、プログラムPを読み取り可能に記録した記録媒体153により提供されてもよい。記録媒体153は、例えば、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、マイクロSDカード、コンパクトフラッシュ(登録商標)等の可搬型のメモリである。記録媒体153に記録されるプログラムPは、図に示していない読取装置を用いて記録媒体153から読み取られ、補助記憶部15にインストールされる。また、情報処理装置1が外部通信装置と通信可能な通信部を備える場合、補助記憶部15に記憶されるプログラムPは、通信部を介した通信により提供されてもよい。 The program P stored in the auxiliary storage unit 15 may be provided by the recording medium 153 in which the program P is readably recorded. The recording medium 153 is, for example, a portable memory such as a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a micro SD card, or a compact flash (registered trademark). The program P recorded in the recording medium 153 is read from the recording medium 153 using a reading device (not shown) and installed in the auxiliary storage unit 15. When the information processing device 1 includes a communication unit that can communicate with an external communication device, the program P stored in the auxiliary storage unit 15 may be provided by communication via the communication unit.

なお、補助記憶部15はPC1に接続された外部記憶装置であってもよい。また、PC1は複数のコンピュータからなるマルチコンピュータであってもよく、ソフトウェアによって仮想的に構築された仮想マシンであってもよい。 The auxiliary storage unit 15 may be an external storage device connected to the PC 1. Further, the PC 1 may be a multi-computer including a plurality of computers, or may be a virtual machine virtually constructed by software.

図3は、対象特定部113が特定したブロブを切り出し部114により切り出し、ブロブをバウンディングボックス41により包囲して切り出し画像(検査画像)40を生成した状態を示す説明図である。制御部11の対象特定部113は、パターンマッチング、エッジ検出、又はR−CNN(Regions with CNN features)等によりブロブの検出を行う。各検査画像40は、各検査物4が同じ大きさのバウンディングボックス41により包囲されている。
図4は、切り出し部114によるリサイズの処理の説明図である。
検査物4がバウンディングボックス41からはみ出ている場合は、制御部11の切り出し部114はリサイズを行い、検査物4がバウンディングボックス41内に収まるようにする。
FIG. 3 is an explanatory diagram showing a state in which the blob specified by the target specifying unit 113 is cut out by the cutout unit 114, the blob is surrounded by the bounding box 41, and the cutout image (inspection image) 40 is generated. The target specifying unit 113 of the control unit 11 detects a blob by pattern matching, edge detection, R-CNN (Regions with CNN features), or the like. In each inspection image 40, each inspection object 4 is surrounded by a bounding box 41 having the same size.
FIG. 4 is an explanatory diagram of the resizing process performed by the clipping unit 114.
When the inspection object 4 protrudes from the bounding box 41, the cutout portion 114 of the control unit 11 resizes the inspection object 4 so that the inspection object 4 fits inside the bounding box 41.

図5は検査画像DB151のレコードレイアウトの一例を示す説明図である。検査画像DB151は、検査画像ID列、座標情報列、異常値列を含む。検査画像ID列は、各検査画像を識別するための検査画像IDを記憶している。座標情報列は、検査画像IDと対応付けて、搬送ベルト61上のX線照射領域における、検査物4の載置位置を示す座標情報を記憶している。座標情報は、図1の上流側ローラ63及び下流側ローラ62間における、X方向及びY方向の中心を原点としたときのバウンディングボックス41の四隅におけるX座標、及びY座標である。異常値は上述したように、異常の確率値である。 FIG. 5 is an explanatory diagram showing an example of the record layout of the inspection image DB 151. The inspection image DB 151 includes an inspection image ID sequence, a coordinate information sequence, and an abnormal value sequence. The inspection image ID column stores inspection image IDs for identifying each inspection image. The coordinate information sequence stores coordinate information indicating the placement position of the inspection object 4 in the X-ray irradiation area on the conveyor belt 61 in association with the inspection image ID. The coordinate information is the X coordinate and the Y coordinate at the four corners of the bounding box 41 when the center in the X direction and the Y direction between the upstream roller 63 and the downstream roller 62 in FIG. 1 is the origin. The abnormal value is the probability value of abnormality as described above.

図6は、異常検出モデル152の生成処理に関する説明図である。図6では、機械学習を行って異常検出モデル152を生成する処理を概念的に示している。 FIG. 6 is an explanatory diagram related to generation processing of the abnormality detection model 152. FIG. 6 conceptually illustrates a process of performing machine learning to generate the abnormality detection model 152.

PC1は、異常検出モデル152として、検査物4の検査画像内における異常の画像特徴量を学習することで、検査画像40を入力とし、検査物4の異常の有無を示す情報を出力とするニューラルネットワークを構築(生成)する。例えばニューラルネットワークはCNN(Convolution Neural Network)であり、検査画像40の入力を受け付ける入力層と、異常の有無の識別結果を出力する出力層と、検査画像40の画像特徴量を抽出する中間層とを有する。 The PC 1 uses the inspection image 40 as an input by learning the image feature amount of the abnormality in the inspection image of the inspection object 4 as the abnormality detection model 152, and outputs the information indicating whether or not the inspection object 4 is abnormal. Build (generate) a network. For example, the neural network is a CNN (Convolution Neural Network), and an input layer that receives an input of the inspection image 40, an output layer that outputs a result of identifying whether there is an abnormality, and an intermediate layer that extracts the image feature amount of the inspection image 40. Have.

入力層は、検査画像40に含まれる各画素の画素値の入力を受け付ける複数のニューロンを有し、入力された画素を中間層に受け渡す。中間層は、検査画像の画像特徴量を抽出する複数のニューロンを有し、抽出した画像特徴量を出力層に受け渡す。図6において、中間層の層数は3とされているが、これに限定されない。例えば異常検出モデル152がCNNである場合、中間層は、入力層から入力された各画素の画素値を畳み込むコンボリューション層と、コンボリューション層で畳み込んだ画素値をマッピングするプーリング層とが交互に連結された構成を有し、検査画像40の画素情報を圧縮しながら最終的に画像の特徴量を抽出する。図6において、コンボリューション層、及びプーリング層の記載は省略している。出力層は、検査物4の異常を識別した識別結果を出力する二つのニューロンを有し、中間層から出力された画像特徴量に基づいて検査物4の異常の有無を識別する。一方のニューロンは検査物4の正常(異物なし)の確率値を出力し、他方のニューロンは検査物4の異常(異物あり)の確率値を出力する。 The input layer has a plurality of neurons that receive the input of the pixel value of each pixel included in the inspection image 40, and transfers the input pixels to the intermediate layer. The intermediate layer has a plurality of neurons for extracting the image feature amount of the inspection image, and transfers the extracted image feature amount to the output layer. In FIG. 6, the number of intermediate layers is three, but the number is not limited to this. For example, when the abnormality detection model 152 is CNN, the convolution layer that convolves the pixel value of each pixel input from the input layer and the pooling layer that maps the pixel value that is convoluted by the convolution layer alternate in the intermediate layer. The feature amount of the image is finally extracted while compressing the pixel information of the inspection image 40. In FIG. 6, the description of the convolution layer and the pooling layer is omitted. The output layer has two neurons that output a discrimination result for discriminating the abnormality of the inspection object 4, and discriminates the presence or absence of abnormality of the inspection object 4 based on the image feature amount output from the intermediate layer. One neuron outputs the probability value of the normal (no foreign substance) of the inspection object 4, and the other neuron outputs the probability value of the abnormal (external substance) of the inspection object 4.

なお、本実施の形態では異常検出モデル152がCNNであるものとして説明するが、異常検出モデル152はCNNに限定されず、CNN以外のニューラルネットワーク、SVM(Support Vector Machine)、ベイジアンネットワーク、回帰木など、他の学習アルゴリズムで構築された学習済みモデルであってよい。 In the present embodiment, the abnormality detection model 152 is described as being CNN, but the abnormality detection model 152 is not limited to CNN, and a neural network other than CNN, SVM (Support Vector Machine), Bayesian network, regression tree It may be a trained model constructed by another learning algorithm.

PC1は、複数の検査画像40と、各検査画像40における検査物4の異常を示す情報(異物を有するか、異物を有さず、正常であるか)とが対応付けられた教師データ(異常データ、正常データ)を用いて学習を行う。例えば図6に示すように、教師データは、検査物4の検査画像40に対し、検査画像40のIDと、異常の種類(形状の異常)、ランク(1:異常、0:正常)とがラベル付けされたデータである。 The PC 1 includes teacher data (abnormality) in which a plurality of inspection images 40 are associated with information indicating whether or not the inspection object 4 is abnormal in each inspection image 40 (whether or not the foreign matter is normal or the foreign matter is normal). Learning is performed using data and normal data. For example, as shown in FIG. 6, with respect to the inspection image 40 of the inspection object 4, the teacher data includes the ID of the inspection image 40, the type of abnormality (abnormal shape), and the rank (1: abnormal, 0: normal). It is labeled data.

PC1は、教師データである検査画像40を入力層に入力し、中間層での演算処理を経て、出力層から検査物4の異常の有無を示す識別結果を取得する。なお、出力層から出力される識別結果は、ソフトマックス関数を用いた場合、連続的な確率値(例えば「0」から「1」までの範囲の値)である。識別結果は、異常の有無を離散的に示す値(例えば「0」又は「1」の値)であってもよい。 The PC 1 inputs the inspection image 40, which is the teacher data, to the input layer, performs the arithmetic processing on the intermediate layer, and obtains the identification result indicating the presence or absence of abnormality of the inspection object 4 from the output layer. The identification result output from the output layer is a continuous probability value (for example, a value in the range from “0” to “1”) when the softmax function is used. The identification result may be a value (for example, a value of “0” or “1”) that discretely indicates the presence or absence of abnormality.

PC1は、出力層から出力された識別結果を、教師データにおいて検査画像40に対しラベル付けされた情報、すなわち正解値と比較し、出力層からの出力値が正解値に近づくように、中間層での演算処理に用いるパラメータを最適化する。該パラメータは、例えばニューロン間の重み(結合係数)、各ニューロンで用いられる活性化関数の係数などである。パラメータの最適化の方法は特に限定されないが、例えばPC1は誤差逆伝播法を用いて各種パラメータの最適化を行う。 The PC 1 compares the identification result output from the output layer with the information labeled on the inspection image 40 in the teacher data, that is, the correct value, and the intermediate layer so that the output value from the output layer approaches the correct value. Optimize the parameters used in the calculation process in. The parameters are, for example, weights between neurons (coupling coefficient), coefficients of an activation function used in each neuron, and the like. The method of optimizing the parameters is not particularly limited, but for example, the PC 1 optimizes various parameters using the error back propagation method.

PC1は、教師データに含まれる各検査画像40について上記の処理を行い、異常検出モデル152を生成する。PC1は検査物4の検査画像40を取得した場合、異常検出モデル152を用いて検査物4の異物の有無を検出する。 The PC 1 performs the above processing on each inspection image 40 included in the teacher data to generate the abnormality detection model 152. When the inspection image 40 of the inspection object 4 is acquired, the PC 1 uses the abnormality detection model 152 to detect the presence/absence of foreign matter in the inspection object 4.

図7は、制御部11による異常検出モデル152の生成処理の処理手順の一例を示すフローチャートである。
制御部11は、複数の検査物4の検査画像40と、各検査画像40内における検査物4の前記異常を示す情報とを対応付けた教師データを取得する(S11)。
FIG. 7 is a flowchart showing an example of a processing procedure of generation processing of the abnormality detection model 152 by the control unit 11.
The control unit 11 acquires the teacher data in which the inspection images 40 of the plurality of inspection objects 4 are associated with the information indicating the abnormality of the inspection object 4 in each inspection image 40 (S11).

制御部11は教師データを用いて、検査物4の検査画像40を入力した場合に検査物4の異常有無情報を出力する異常検出モデル152(学習済みモデル)を生成する(ステップS12)。具体的には、制御部11は、教師データである検査画像40をニューラルネットワークの入力層に入力し、検査画像40内の形態の異常の有無を識別した識別結果を出力層から取得する。制御部11は、取得した識別結果を教師データの正解値(検査画像40に対してラベル付けられた情報)と比較し、出力層から出力される識別結果が正解値に近づくよう、中間層での演算処理に用いるパラメータ(重み等)を最適化する。制御部11は、生成した異常検出モデル152を補助記憶部15に格納し、一連の処理を終了する。 The control unit 11 uses the teacher data to generate the abnormality detection model 152 (learned model) that outputs the abnormality presence/absence information of the inspection object 4 when the inspection image 40 of the inspection object 4 is input (step S12). Specifically, the control unit 11 inputs the inspection image 40, which is the teacher data, to the input layer of the neural network, and acquires the identification result for identifying the presence/absence of a morphology in the inspection image 40 from the output layer. The control unit 11 compares the acquired identification result with the correct value of the teacher data (information labeled on the inspection image 40), and in the middle layer, the identification result output from the output layer approaches the correct value. The parameters (weight, etc.) used in the calculation processing of are optimized. The control unit 11 stores the generated abnormality detection model 152 in the auxiliary storage unit 15 and ends the series of processes.

図8は、制御部11による異常検出処理の処理手順の一例を示すフローチャートである。
PC1の制御部11は、検査物4を透過し、X線検知部7により検知されたX線に基づき、X線画像を生成する(S21)。
制御部11は、X線画像に対し平滑化フィルタ、特徴抽出フィルタ等により画像処理を行い、処理画像を生成する(S22)。
制御部11は、処理画像に基づいて、検査物4のブロブ解析を行い、ブロブを特定する(S23)。
制御部11は、ブロブが所定の大きさの矩形内に入るように切り出し、切り出し画像を生成する(S24)。
制御部11は、切り出し画像に対し、正規化等の処理を行い、検査画像を生成する(S25)。
制御部11は、異常検出モデル152に検査画像を入力し、正常の確率値及び異常の確率値を出力させ、異常値を取得する(S26)。
制御部11は、異常値をディスプレイ22へ出力し、各検査物4の検査画像40をディスプレイ22において表示する(S27)。制御部11は、ディスプレイ22において、異常値が閾値以上である、異常の検査物4をバウンディングボックス42により包囲した状態で表示する。
制御部11は、検査物4の異常値及び検査画像IDに基づいて、廃棄するか否かの選別を行い(S28)、処理を終了する。
FIG. 8 is a flowchart showing an example of the processing procedure of the abnormality detection processing by the control unit 11.
The control unit 11 of the PC 1 transmits an inspection object 4 and generates an X-ray image based on the X-ray detected by the X-ray detection unit 7 (S21).
The control unit 11 performs image processing on the X-ray image using a smoothing filter, a feature extraction filter, etc., and generates a processed image (S22).
The control unit 11 performs blob analysis of the inspection object 4 based on the processed image and identifies the blob (S23).
The control unit 11 cuts out the blob so as to fit in a rectangle of a predetermined size, and generates a cutout image (S24).
The control unit 11 performs processing such as normalization on the cutout image to generate an inspection image (S25).
The control unit 11 inputs the inspection image to the abnormality detection model 152, outputs the normal probability value and the abnormal probability value, and acquires the abnormal value (S26).
The control unit 11 outputs the abnormal value to the display 22 and displays the inspection image 40 of each inspection object 4 on the display 22 (S27). On the display 22, the control unit 11 displays the abnormal inspection object 4 having an abnormal value equal to or larger than the threshold value in a state of being surrounded by the bounding box 42.
The control unit 11 selects whether or not to discard based on the abnormal value of the inspection object 4 and the inspection image ID (S28), and ends the process.

以上のように、本実施の形態によれば、検査物4の検査画像40において、正常部分と異常部分との画素値の差異が小さい場合においても、精度良く、正常部分と異常部分とを判別できる。
従って、形状の異常、異物の有無等の異常有無情報を精度良く検出できる。
作業者が目視による異常の検出を行う必要がなくなり、異常検出作業の効率化を図ることができる。
As described above, according to the present embodiment, in the inspection image 40 of the inspection object 4, even when the difference in pixel value between the normal portion and the abnormal portion is small, the normal portion and the abnormal portion can be accurately discriminated. it can.
Therefore, it is possible to accurately detect abnormality presence/absence information such as a shape abnormality and the presence/absence of foreign matter.
It is not necessary for the operator to visually detect the abnormality, and the efficiency of the abnormality detection work can be improved.

図9は、ディスプレイ22における表示画面5の一例を示す説明図である。
表示画面は、図9における左側の第1画面51と、右側の第2画面52とを有する。
制御部11は、第1画面51において、搬送ベルト61に分散して載置された複数の検査物4の位置(前記座標情報)に対応付けて、夫々青色のバウンディングボックス41により包囲された複数の検査画像40を表示する。制御部11は、第2画面52において、各検査画像40を前記検査画像ID順に並べて表示し、異常の検査画像40は赤色のバウンディングボックス42により包囲する。作業者は、検査画像40の行方向に順に移動するための「>」及び「<」からなる選択ボタン56により第2画面52のいずれかの検査画像40を選択できる。検査画像40はマウス等のポインティングデバイスにより選択してもよい。作業者が一の検査画像40を選択した場合、制御部11は、第1画面51において、対応する検査画像40を黄色のバウンディングボックスにより包囲した状態で表示する。
第2画面52は、他に、作業者により異常検出モデル152の推定結果(判断)が正しいと判定したときに押圧するOKボタン(操作ボタン)54、判断は正しくないと判定したときに押圧するNGボタン(操作ボタン)53、及び明度調整等の他の指示を入力するときのOtherボタン55を有する。
FIG. 9 is an explanatory diagram showing an example of the display screen 5 on the display 22.
The display screen has a first screen 51 on the left side and a second screen 52 on the right side in FIG. 9.
In the first screen 51, the control unit 11 associates the positions (the coordinate information) of the plurality of inspection objects 4 dispersedly placed on the conveyor belt 61 with each of the plurality of blue bounding boxes 41. The inspection image 40 of is displayed. On the second screen 52, the control unit 11 displays the inspection images 40 side by side in the order of the inspection image IDs, and the abnormal inspection image 40 is surrounded by the red bounding box 42. The operator can select one of the inspection images 40 on the second screen 52 by the selection button 56 composed of “>” and “<” for moving in the row direction of the inspection image 40. The inspection image 40 may be selected by a pointing device such as a mouse. When the operator selects one inspection image 40, the control unit 11 displays the corresponding inspection image 40 on the first screen 51 in a state of being surrounded by a yellow bounding box.
The second screen 52 is also pressed by an OK button (operation button) 54 that is pressed when the operator determines that the estimation result (judgment) of the abnormality detection model 152 is correct, and is pressed when it is determined that the judgment is not correct. It has an NG button (operation button) 53 and an Other button 55 for inputting other instructions such as brightness adjustment.

選択ボタン56により選択された検査画像40につき、作業者からOKボタン53又はNGボタン54による制御部11の判断の良否の入力を受け付け、所定数以上のデータが集まった場合、制御部11は、検査画像40と、作業者から入力された判断の良否とを教師データとして、異常検出モデル152の再学習を行うことができる。 For the inspection image 40 selected by the selection button 56, when the operator accepts the input of the judgment of the control unit 11 by the OK button 53 or the NG button 54 and collects a predetermined number or more of data, the control unit 11 It is possible to re-learn the abnormality detection model 152 using the inspection image 40 and the quality of the judgment input by the operator as teacher data.

図10は、PC1の制御部11による上述の再学習処理の処理手順の一例を示すフローチャートである。 FIG. 10 is a flowchart showing an example of a processing procedure of the above-mentioned re-learning processing by the control unit 11 of the PC 1.

制御部11は、選択された検査画像40につき、作業者による第2画面52のOKボタン53又はNGボタン54の押圧に基づき、制御部11の判断の良否の判定を受け付ける(S31)。制御部11は良否の判定を受け付けていないと判定した場合(S31:NO)、判定の処理を繰り返す。
制御部11は所定数の検査画像40に基づき、良否の判定を受け付けたと判定した場合(S31:YES)、異常を検出した検査物4の検査画像40と、作業者から入力された制御部11の判断の良否とを対応付けた教師データを取得する(S32)。
制御部11は教師データを用いて、検査物4の検査画像を入力した場合に検査物4の異常有無情報を出力する異常検出モデル152を生成する(S33)。
以上により、再学習される。これにより、異常検出処理を継続するほど異常検出モデル152がアップデートされ、より正確な異常検出を行うことができるようになる
The control unit 11 accepts the determination of whether the determination of the control unit 11 is good or not based on the operator pressing the OK button 53 or the NG button 54 of the second screen 52 for the selected inspection image 40 (S31). When the control unit 11 determines that the quality determination is not accepted (S31: NO), the determination process is repeated.
When the control unit 11 determines that the acceptance/rejection determination is accepted based on the predetermined number of inspection images 40 (S31: YES), the inspection image 40 of the inspection object 4 in which the abnormality is detected, and the control unit 11 input by the operator. The teacher data that is associated with the quality of the determination is acquired (S32).
The control unit 11 uses the teacher data to generate the abnormality detection model 152 that outputs the abnormality presence/absence information of the inspection object 4 when the inspection image of the inspection object 4 is input (S33).
By the above, re-learning is performed. As a result, the abnormality detection model 152 is updated as the abnormality detection processing is continued, and more accurate abnormality detection can be performed.

(実施の形態2)
実施の形態2に係るPC1は、異常検出モデル152が、検査物4の形状の異常に加えて、異物の有無を検出すること以外は、実施の形態1に係るPCと同様の処理を行う。
図11は、異常検出モデル152の生成処理に関する説明図である。図6と同一部分は同一符号を付して詳細な説明を省略する。
(Embodiment 2)
The PC 1 according to the second embodiment performs the same processing as the PC according to the first embodiment, except that the abnormality detection model 152 detects the presence or absence of a foreign matter in addition to the abnormality in the shape of the inspection object 4.
FIG. 11 is an explanatory diagram regarding the generation processing of the abnormality detection model 152. The same parts as those in FIG. 6 are designated by the same reference numerals and detailed description thereof will be omitted.

PC1は、異常検出モデル152として、検査物4の検査画像40内における異常の画像特徴量を学習することで、検査画像40を入力とし、検査物4の形状の異常、及び異物の有無を示す情報を出力とするニューラルネットワークを生成する。ニューラルネットワークはCNNであり、検査画像40の入力を受け付ける入力層と、異常の有無の識別結果を出力する出力層と、検査画像40の画像特徴量を抽出する中間層とを有する。 The PC 1 receives the inspection image 40 as an input by learning the image feature amount of the abnormality in the inspection image 40 of the inspection object 4 as the abnormality detection model 152, and indicates the abnormality of the shape of the inspection object 4 and the presence/absence of foreign matter. A neural network that outputs information is generated. The neural network is a CNN, and has an input layer that receives the input of the inspection image 40, an output layer that outputs the identification result of the presence or absence of abnormality, and an intermediate layer that extracts the image feature amount of the inspection image 40.

入力層は、検査画像40に含まれる各画素の画素値の入力を受け付ける複数のニューロンを有し、入力された画素を中間層に受け渡す。中間層は、検査画像の画像特徴量を抽出する複数のニューロンを有し、抽出した画像特徴量を出力層に受け渡す。図11において、中間層の層数は3とされているが、これに限定されない。例えば異常検出モデル152がCNNである場合、中間層は、入力層から入力された各画素の画素値を畳み込むコンボリューション層と、コンボリューション層で畳み込んだ画素値をマッピングするプーリング層とが交互に連結された構成を有し、検査画像40の画素情報を圧縮しながら最終的に画像の特徴量を抽出する。図11において、コンボリューション層、及びプーリング層の記載は省略している。出力層は、検査物4の異常を識別した識別結果を出力する三つのニューロンを有し、中間層から出力された画像特徴量に基づいて検査物4の形状の異常の有無、異物の有無を識別する。第1のニューロンは検査物4の正常の確率値を出力し、第2のニューロンは検査物4の形状の異常の確率値を出力し、第3のニューロンは検査物4が異物を有する確率値を出力する。なお、異常の種類は3以上であってもよい。 The input layer has a plurality of neurons that receive the input of the pixel value of each pixel included in the inspection image 40, and transfers the input pixels to the intermediate layer. The intermediate layer has a plurality of neurons for extracting the image feature amount of the inspection image, and transfers the extracted image feature amount to the output layer. In FIG. 11, the number of intermediate layers is three, but the number is not limited to this. For example, when the abnormality detection model 152 is CNN, the convolution layer that convolves the pixel value of each pixel input from the input layer and the pooling layer that maps the pixel value that is convoluted by the convolution layer alternate in the intermediate layer. The feature amount of the image is finally extracted while compressing the pixel information of the inspection image 40. In FIG. 11, the description of the convolution layer and the pooling layer is omitted. The output layer has three neurons that output the discrimination result for discriminating the abnormality of the inspection object 4, and determines whether the shape of the inspection object 4 is abnormal or not based on the image feature amount output from the intermediate layer. Identify. The first neuron outputs the probability value that the test object 4 is normal, the second neuron outputs the probability value that the shape of the test object 4 is abnormal, and the third neuron outputs the probability value that the test object 4 has a foreign substance. Is output. The number of abnormalities may be three or more.

PC1は、複数の検査画像40と、各検査画像40における検査物4の異常を示す情報(形状が異常であるか、異物を有するか、正常であるか)とが対応付けられた教師データを用いて学習を行う。例えば図11に示すように、教師データは、検査物4の検査画像40に対し、検査画像40のIDと、異常の種類(形状の異常)、ランク(1:異常、0:正常)とがラベル付けされたデータである。
PC1は、教師データである検査画像40を入力層に入力し、中間層での演算処理を経て、出力層から検査物4の異常の有無を示す識別結果を取得する。なお、出力層から出力される識別結果は、ソフトマックス関数を用いた場合、連続的な確率値(例えば「0」から「1」までの範囲の値)である。
The PC 1 stores teacher data in which a plurality of inspection images 40 are associated with information indicating whether the inspection object 4 is abnormal in each inspection image 40 (whether the shape is abnormal, has foreign matter, or is normal). Use to learn. For example, as shown in FIG. 11, with respect to the inspection image 40 of the inspection object 4, the teacher data includes the ID of the inspection image 40, the type of abnormality (abnormal shape), and the rank (1: abnormal, 0: normal). It is labeled data.
The PC 1 inputs the inspection image 40, which is the teacher data, to the input layer, performs the arithmetic processing on the intermediate layer, and obtains the identification result indicating the presence or absence of abnormality of the inspection object 4 from the output layer. The identification result output from the output layer is a continuous probability value (for example, a value in the range from “0” to “1”) when the softmax function is used.

PC1は、出力層から出力された識別結果を、教師データにおいて検査画像40に対しラベル付けされた情報、すなわち正解値と比較し、出力層からの出力値が正解値に近づくように、中間層での演算処理に用いるパラメータを最適化する。該パラメータは、例えばニューロン間の重み(結合係数)、各ニューロンで用いられる活性化関数の係数などである。パラメータの最適化の方法は特に限定されないが、例えばPC1は誤差逆伝播法を用いて各種パラメータの最適化を行う。 The PC 1 compares the identification result output from the output layer with the information labeled on the inspection image 40 in the teacher data, that is, the correct value, and the intermediate layer so that the output value from the output layer approaches the correct value. Optimize the parameters used in the calculation process in. The parameters are, for example, weights between neurons (coupling coefficient), coefficients of an activation function used in each neuron, and the like. The method of optimizing the parameters is not particularly limited, but for example, the PC 1 optimizes various parameters using the error back propagation method.

PC1は、教師データに含まれる各検査画像40について上記の処理を行い、異常検出モデル152を生成する。PC1は検査物4の検査画像40を取得した場合、異常検出モデル152を用いて検査物4の異常の有無を検出する。 The PC 1 performs the above processing on each inspection image 40 included in the teacher data to generate the abnormality detection model 152. When the inspection image 40 of the inspection object 4 is acquired, the PC 1 uses the abnormality detection model 152 to detect the presence/absence of abnormality of the inspection object 4.

学習検査部116は、検査画像40を異常検出モデル152に入力し、上述の三つの確率値を出力させ、形状の異常の確率値(異常値A)、及び異物を有する確率値(異常値B)を取得する。 The learning inspection unit 116 inputs the inspection image 40 into the abnormality detection model 152, outputs the above three probability values, and outputs the probability value of abnormal shape (abnormal value A) and the probability value of having foreign matter (abnormal value B). ) To get.

図12は、実施の形態2に係るディスプレイ22における表示画面5の一例を示す説明図である。図9と同一部分は同一符号を付して詳細な説明を省略する。
実施の形態2においては、第2画面52に、Otherボタン55の代わりに、Changeボタン(第2の操作ボタン)57を有する。
作業者がChangeボタン57を押圧することにより、異常の種類が、「形状の異常」と「異物の有無」との間で切り替わる。異常の種類が「形状の異常」である場合、第1画面51及び第2画面52において、形状の異常を有する検査画像40は赤のバウンディングボックス42により包囲される。異常の種類が「異物の有無」に切り替わった場合、第1画面51及び第2画面52において、異物を有する検査画像40は、緑のバウンディングボックス42により包囲される。
FIG. 12 is an explanatory diagram showing an example of the display screen 5 on the display 22 according to the second embodiment. The same parts as those in FIG. 9 are designated by the same reference numerals, and detailed description thereof will be omitted.
In the second embodiment, the second screen 52 has a Change button (second operation button) 57 instead of the Other button 55.
When the operator presses the Change button 57, the type of abnormality is switched between “abnormal shape” and “presence/absence of foreign matter”. When the type of abnormality is “shape abnormality”, the inspection image 40 having the shape abnormality is surrounded by the red bounding box 42 on the first screen 51 and the second screen 52. When the type of abnormality is switched to “presence or absence of foreign matter”, the inspection image 40 having foreign matter is surrounded by the green bounding box 42 on the first screen 51 and the second screen 52.

図13は、制御部11による異常の種類の切替処理の処理手順の一例を示すフローチャートである。
制御部11は、異常の種類の切り替えを受け付けたか否かを判定する(S41)。始めに、異常の種類が「形状の異常」であり、形状の異常に基づく検査画像40がディスプレイ22に表示されており、異常の種類が「異物の有無」に切り替えられたとする。制御部11は異常の種類の切り替えを受け付けていないと判定した場合(S41:NO)、判定の処理を繰り返す。
FIG. 13 is a flowchart showing an example of a processing procedure of the abnormality type switching processing by the control unit 11.
The control unit 11 determines whether or not the switching of the type of abnormality has been accepted (S41). First, it is assumed that the abnormality type is “shape abnormality”, the inspection image 40 based on the shape abnormality is displayed on the display 22, and the abnormality type is switched to “presence/absence of foreign matter”. When the control unit 11 determines that the switching of the abnormality type is not accepted (S41: NO), the determination process is repeated.

制御部11は異常の種類の切り替えを受け付けたと判定した場合(S41:YES)、ディスプレイ22において、異物の有無を示す検査画像40に切り替えて表示する(S42)。制御部11は、ディスプレイ22の第2画面において、異物の有無に係る異常値Bが閾値以上、例えば0.5以上である、異常の検査物4を緑のバウンディングボックス42により包囲した状態で表示する。 When the control unit 11 determines that the switching of the type of abnormality has been received (S41: YES), the control unit 11 switches and displays the inspection image 40 indicating the presence or absence of the foreign matter on the display 22 (S42). On the second screen of the display 22, the control unit 11 displays the abnormal inspection object 4 in which the abnormal value B relating to the presence or absence of a foreign substance is a threshold value or more, for example, 0.5 or more, surrounded by the green bounding box 42. To do.

制御部11は、異常の検査物4を異常値B及び検査画像IDに基づいて選別する(S43)。 The control unit 11 selects the abnormal inspection object 4 based on the abnormal value B and the inspection image ID (S43).

以上のようにして、必要とする異常の種類に切り替えて、異常を検出できる。
異常の種類が「形状の異常」又は「異物の有無」から選択されている場合に、上記と同様にして作業者が選択した検査画像40につき、作業者による第2画面52のOKボタン53又はNGボタン54の押圧に基づき、制御部11の判断の良否の入力を受け付けることができる。
NGボタン54が押圧された場合、図14に示すように第1画面51に、夫々「正常」、「形状の異常」、及び「異物あり」を示すボタン58,59、60が表示される。作業者は検査画像40の実際の内容に対応するボタンを選択する。
PC1は、検査画像40と、作業者から入力された判断の良否とを教師データとして、異常検出モデル152の再学習を行うことができる。
As described above, the abnormality can be detected by switching to the required abnormality type.
When the type of abnormality is selected from “abnormality of shape” or “presence/absence of foreign matter”, the operator selects the OK image 53 on the second screen 52 for the inspection image 40 selected by the operator in the same manner as above. Based on the pressing of the NG button 54, it is possible to accept the input of the quality of the judgment of the control unit 11.
When the NG button 54 is pressed, buttons 58, 59, 60 indicating "normal", "abnormal shape", and "foreign matter" are displayed on the first screen 51 as shown in FIG. The operator selects the button corresponding to the actual content of the inspection image 40.
The PC 1 can re-learn the abnormality detection model 152 using the inspection image 40 and the quality of the judgment input by the operator as teacher data.

(実施の形態3)
図15は実施の形態3に係る異常検出システム20の構成を示すブロック図である。
実施の形態3に係る異常検出システム20は、制御部11が機能部として異常判定部(第2の取得部)120を有すること以外は、実施の形態1に係る異常検出システム10と同様の構成を有する。異常判定部120は、画像処理部115により生成された検査画像40に基づき、検査物4の形状の異常値を算出する。
本実施の形態に係る異常検出システム20においては、異常判定部120により算出した異常値に応じ、異常検出モデル152を用いて異常を検出する。
(Embodiment 3)
FIG. 15 is a block diagram showing the configuration of the abnormality detection system 20 according to the third embodiment.
The abnormality detection system 20 according to the third embodiment has the same configuration as the abnormality detection system 10 according to the first embodiment, except that the control unit 11 has an abnormality determination unit (second acquisition unit) 120 as a functional unit. Have. The abnormality determination unit 120 calculates an abnormal value of the shape of the inspection object 4 based on the inspection image 40 generated by the image processing unit 115.
In the abnormality detection system 20 according to the present embodiment, the abnormality is detected using the abnormality detection model 152 according to the abnormality value calculated by the abnormality determination unit 120.

図16は、制御部11による異常検出処理の処理手順の一例を示すフローチャートである。
PC1の制御部11は、検査物4を透過し、X線検知部7により検知されたX線に基づき、X線画像を生成する(S51)。
制御部11は、X線画像に対し平滑化フィルタ、特徴抽出フィルタ等により画像処理を行い、処理画像を生成する(S52)。
制御部11は、処理画像に基づいて、検査物4のブロブ解析を行い、ブロブを特定する(S53)。
制御部11は、ブロブが所定の大きさの矩形内に入るように切り出し、切り出し画像を生成する(S54)。
制御部11は、切り出し画像に対し、正規化等の処理を行い、検査画像を生成する(S55)。
FIG. 16 is a flowchart showing an example of a processing procedure of abnormality detection processing by the control unit 11.
The control unit 11 of the PC 1 transmits the inspection object 4 and generates an X-ray image based on the X-ray detected by the X-ray detection unit 7 (S51).
The control unit 11 performs image processing on the X-ray image using a smoothing filter, a feature extraction filter, etc., and generates a processed image (S52).
The control unit 11 performs blob analysis of the inspection object 4 based on the processed image and identifies the blob (S53).
The control unit 11 cuts out the blob so as to fit in a rectangle of a predetermined size, and generates a cutout image (S54).
The control unit 11 performs processing such as normalization on the cutout image to generate an inspection image (S55).

制御部11は、異常検出モデル152を用いずに、画素値等に基づき、検査物4の形状についての異常値を算出する。異常値は、1に近い程、異常であり、0に近い程、正常であるとする(S56)。例えば、検査画像40のブロブ(塊)を構成する画素の画素値は基準値より大きく、ブロブの背景を構成する画素の画素値は基準値より小さいとする。ブロブを構成する画素をカウントすることにより、ブロブの面積が算出される。ブロブの周囲を形成する背景画素の配列に基づき、ブロブの周囲長が算出される。面積及び周囲長を閾値と比較し、完全に正常である場合を0、完全に異常である場合を1として、制御部11は形状の異常値を算出する。 The control unit 11 calculates an abnormal value for the shape of the inspection object 4 based on the pixel value and the like without using the abnormality detection model 152. The closer the abnormal value is to 1, the more abnormal, and the closer to 0, the more normal (S56). For example, it is assumed that the pixel values of the pixels forming the blob (lump) of the inspection image 40 are larger than the reference value and the pixel values of the pixels forming the background of the blob are smaller than the reference value. The area of the blob is calculated by counting the pixels that make up the blob. The perimeter of the blob is calculated based on the array of background pixels that form the perimeter of the blob. The area and the perimeter are compared with a threshold value, and the control unit 11 calculates an abnormal value of the shape by setting 0 when it is completely normal and 1 when it is completely abnormal.

制御部11は、算出した異常値が0又は1であるか否かを判定する(S57)。
制御部11は、算出した異常値が0又は1であると判定した場合(S57:YES)、異常値が0であるか否かを判定する(S58)。制御部11は異常値が0であると判定した場合、即ち異常なしと判断した場合(S58:YES)、学習検査をスキップして処理を終了する。
制御部11は異常値が0でないと判定した場合(S58:NO)、即ち異常値が1であり、異常を有すると判定した場合、学習検査をスキップしてS60へ処理を進める。
The control unit 11 determines whether the calculated abnormal value is 0 or 1 (S57).
When determining that the calculated abnormal value is 0 or 1 (S57: YES), the control unit 11 determines whether the abnormal value is 0 (S58). When the control unit 11 determines that the abnormal value is 0, that is, when there is no abnormality (S58: YES), the learning test is skipped and the process ends.
When the control unit 11 determines that the abnormal value is not 0 (S58: NO), that is, when the abnormal value is 1 and it is determined that there is an abnormality, the learning test is skipped and the process proceeds to S60.

制御部11は、算出した異常値が0又は1でないと判定した場合(S57:NO)、異常検出モデル152を用いて、取得した検査画像40から検査物4の異常値を取得する(S59)。 When determining that the calculated abnormal value is not 0 or 1 (S57: NO), the control unit 11 uses the abnormality detection model 152 to acquire the abnormal value of the inspection object 4 from the acquired inspection image 40 (S59). ..

制御部11は、異常の検査物4を異常値及び検査画像IDに基づいて選別する(S60)。 The control unit 11 selects the abnormal inspection object 4 based on the abnormal value and the inspection image ID (S60).

本実施の形態においては、画像処理後の検査画像40に対し画素値等に基づき、異常を検出し、得られた結果が不確実である場合、さらに異常検出モデル152を用いて異常を検出することで、より正確に異常を検出できる。
PC1は、複数の画像処理アルゴリズムに基づいて、画像処理部115において検査画像40を生成するように構成し、各画像処理アルゴリズムに対応して夫々異常検出モデル152を生成してもよい。そして、異常判定部120により夫々の処理を施された検査画像40に基づく異常値を検出し、画像処理アルゴリズムに対応する異常検出モデル152により、異常を検出してもよい。
In the present embodiment, an abnormality is detected in the inspection image 40 after the image processing based on the pixel value or the like, and when the obtained result is uncertain, the abnormality is further detected using the abnormality detection model 152. Therefore, the abnormality can be detected more accurately.
The PC 1 may be configured to generate the inspection image 40 in the image processing unit 115 based on a plurality of image processing algorithms, and may generate the abnormality detection model 152 corresponding to each image processing algorithm. Then, the abnormality determination unit 120 may detect an abnormal value based on the inspection image 40 that has been subjected to each process, and the abnormality may be detected by the abnormality detection model 152 corresponding to the image processing algorithm.

(実施の形態4)
実施の形態4に係るX線検査機2は、異常品であると判断された検査物4を廃棄する構造を備えること以外は、実施の形態2に係るX線検査機2と同様の構成を有する。
図17は実施の形態4に係る異常検出システム30の構成を示す斜視図、図18は異常検出システム30の構成を示すブロック図である。図17及び図18中、図1及び図2と同一部分は同一符号を付して詳細な説明を省略する。
本実施の形態に係るX線検査機2においては、下側筐体23の下流側端部に、搬送ベルト61に向かうようにX方向に複数個のエアバルブ91を有する廃棄部9が設けられている。エアバルブ91には、X方向の端部から順に番号が付されている。
制御部11は、エアバルブ91を開閉する開閉部121を有する。
選別部(第2の出力部)118は、形状の異常、又は異物を有する異常品を選別し、検査物4の座標情報として、検査物4の載置位置に対応するエアバルブ91の番号を開閉部121へ出力する。開閉部121は、対応する番号のエアバルブ91を開く。これにより、異常品と選別された検査物4に対し、対応するエアバルブ91から該検査物4に向けてエアが噴出され、検査物4が搬送部6から弾き飛ばされる。
(Embodiment 4)
The X-ray inspection machine 2 according to the fourth embodiment has the same configuration as the X-ray inspection machine 2 according to the second embodiment except that the X-ray inspection machine 2 according to the fourth embodiment has a structure for discarding the inspection object 4 that is determined to be an abnormal product. Have.
17 is a perspective view showing the configuration of the abnormality detection system 30 according to the fourth embodiment, and FIG. 18 is a block diagram showing the configuration of the abnormality detection system 30. 17 and 18, those parts which are the same as those corresponding parts in FIGS. 1 and 2 are designated by the same reference numerals, and a detailed description thereof will be omitted.
In the X-ray inspecting machine 2 according to the present embodiment, a discarding unit 9 having a plurality of air valves 91 in the X direction is provided at the downstream end of the lower housing 23 so as to face the conveyor belt 61. There is. The air valves 91 are sequentially numbered from the end in the X direction.
The control unit 11 includes an opening/closing unit 121 that opens/closes the air valve 91.
The selection unit (second output unit) 118 selects an abnormal product having an abnormal shape or foreign matter, and opens/closes the number of the air valve 91 corresponding to the mounting position of the inspection product 4 as coordinate information of the inspection product 4. It is output to the section 121. The opening/closing part 121 opens the air valve 91 of the corresponding number. As a result, air is ejected toward the inspection object 4 from the corresponding air valve 91 with respect to the inspection object 4 selected as an abnormal product, and the inspection object 4 is repelled from the transport section 6.

図19は、実施の形態4に係る異常検出処理に関する説明図である。図19では、検査画像から検査物4の形状の異常の有無を検出する場合を概念的に示している。
制御部11は、X線照射部3を用いて撮像された検査物4の画像に基づく検査画像40を取得し、異常検出モデル152に入力する。例えば制御部11は、検査画像40を取得するとともに、検査物4の座標情報として、検査物4の載置位置に対応するエアバルブ91の番号を取得する。
FIG. 19 is an explanatory diagram of the abnormality detection process according to the fourth embodiment. FIG. 19 conceptually shows a case where the presence or absence of an abnormality in the shape of the inspection object 4 is detected from the inspection image.
The control unit 11 acquires the inspection image 40 based on the image of the inspection object 4 captured by using the X-ray irradiation unit 3, and inputs the inspection image 40 to the abnormality detection model 152. For example, the control unit 11 acquires the inspection image 40 and also acquires the number of the air valve 91 corresponding to the mounting position of the inspection object 4 as the coordinate information of the inspection object 4.

制御部11は、異常検出モデル152の中間層にて検査画像40の特徴量を抽出する演算処理を行い、抽出した特徴量を異常検出モデル152に入力して、検査物4の正常の確率値、形状の異常の確率値、異物の有無の確率値を出力させ、異常値A、及び異常値Bを取得する。 The control unit 11 performs arithmetic processing to extract the feature amount of the inspection image 40 in the intermediate layer of the abnormality detection model 152, inputs the extracted feature amount to the abnormality detection model 152, and outputs the normal probability value of the inspection object 4. , The probability value of the shape abnormality and the probability value of the presence/absence of foreign matter are output, and the abnormal value A and the abnormal value B are acquired.

上記のように、制御部11は異常検出モデル152を用いて、検査物4の廃棄が必要になる異常を検出する。制御部11は、検査画像40を教師データにして学習を行い、検査物4の異常を学習した異常検出モデル152を用いて異常検出を行う。なお、PC1は異常の種類毎に別々の異常検出モデル152(ニューラルネットワーク)を構築しておいてもよく、単一の異常検出モデル152に全ての異常を学習させておいてもよい。 As described above, the control unit 11 uses the abnormality detection model 152 to detect an abnormality that requires the inspection object 4 to be discarded. The control unit 11 performs learning by using the inspection image 40 as teacher data and performs abnormality detection using the abnormality detection model 152 that has learned the abnormality of the inspection object 4. The PC 1 may have a different abnormality detection model 152 (neural network) built for each type of abnormality, or a single abnormality detection model 152 may learn all the abnormalities.

制御部11は、異常値A及び異常値Bをディスプレイ22へ出力する。PC1は、検査画像40から各種の異常を検出した場合、作業者に報知する、又は作業者が所持している所定の携帯端末に通知してもよい。 The control unit 11 outputs the abnormal value A and the abnormal value B to the display 22. When detecting various abnormalities from the inspection image 40, the PC 1 may notify the worker or notify a predetermined mobile terminal carried by the worker.

例えば制御部11は、通知する情報として、検出した検査物4の異常の種類、程度を示す検出結果のほかに、異常を検出した検査物4のエアバルブ91の番号を併せて送信する。 For example, the control unit 11 transmits, as the information to be notified, the number of the air valve 91 of the inspection object 4 in which the abnormality is detected, in addition to the detection result indicating the type and degree of the detected abnormality in the inspection object 4.

異常値A又は異常値Bは閾値と比較され、異常値A又は異常値Bが閾値以上であり、異常があると判断された検査物4は、図19の下側に示すように、対応するエアバルブ91からエアが噴出され、搬送ベルト61から排出される。
なお、座標情報としてエアバルブ91の番号を取得する代わりに、搬送ベルト61のX座標、Y座標を取得して、異常の検査物4を廃棄することにしてもよい。例えば画素に応じたX座標、Y座標を取得する場合、エアバルブ91の番号を取得する場合と比較して、廃棄する検査物4を絞り込むことができ、製品の歩留まりを上げることができる。
The abnormal value A or the abnormal value B is compared with the threshold value, the abnormal value A or the abnormal value B is equal to or larger than the threshold value, and the inspection object 4 determined to have the abnormality corresponds to the lower side in FIG. Air is ejected from the air valve 91 and discharged from the conveyor belt 61.
Instead of acquiring the number of the air valve 91 as the coordinate information, the X coordinate and the Y coordinate of the conveyor belt 61 may be acquired and the abnormal inspection object 4 may be discarded. For example, in the case of acquiring the X coordinate and the Y coordinate corresponding to the pixel, the inspection items 4 to be discarded can be narrowed down and the product yield can be increased as compared with the case of acquiring the number of the air valve 91.

以上のように、本発明の一態様に係る学習モデルの生成方法は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、特定したブロブが所定の大きさの矩形内に入るよう に切り出して、検査画像を取得し、前記検査画像と前記検査物の異常の有無に関する異常有無情報とを含む教師データを取得し、前記教師データに基づいて、複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記検査物の異常有無情報を出力する学習モデルを生成する。 As described above, the learning model generation method according to one aspect of the present invention irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed, and responds to the electromagnetic waves that have passed through each inspection object. Based on the pixel value of each pixel in the acquired image , identify the blob corresponding to one inspected object , cut out the identified blob so that it falls within a rectangle of a predetermined size, and acquire the inspected image. Then, the teacher data including the inspection image and abnormality presence/absence information regarding the presence/absence of abnormality of the inspection object is acquired, and based on the teacher data, the plurality of inspection objects are irradiated with electromagnetic waves, and the electromagnetic waves transmitted through each inspection object. Among the images acquired according to , the blob is specified, the blob is cut out and acquired so as to be within a rectangle of a predetermined size, when an inspection image corresponding to one inspection object is input, A learning model that outputs abnormality information about the inspection object is generated.

上記学習モデルを用いることにより、検査物の検査画像において、正常部分と異常部分との画素値の差異が小さい場合においても、精度良く、正常部分と異常部分とを判別できる。
従って、形状の異常、異物の有無等の異常有無情報を精度良く検出できる。
By using the learning model, the normal portion and the abnormal portion can be accurately discriminated even when the difference in pixel value between the normal portion and the abnormal portion is small in the inspection image of the inspection object.
Therefore, it is possible to accurately detect abnormality presence/absence information such as a shape abnormality and the presence/absence of foreign matter.

上述の学習モデルの生成方法は、前記電磁波はX線であり、該X線に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を生成し、生成した検査画像を含むバウンディングボックスを表示し、前記バウンディングボックスに含まれる検査物の異常有無情報を表示してもよい。 In the learning model generation method described above, the electromagnetic waves are X-rays, the blobs are specified in an image acquired according to the X-rays , and the blobs are cut out so as to be within a rectangle of a predetermined size. generates an inspection image corresponding to one object of inspection, to display the bounding box containing the inspection image generated may display abnormal presence information of the inspection object included in the bounding box.

上記構成によれば、画像の特徴量の抽出がし易くなり、検査画像及び異常有無情報を表示することで、作業者による検出結果の正誤の情報を取得し易くなる。 According to the above configuration, the feature amount of the image is easily extracted, and the inspection image and the abnormality presence/absence information are displayed, so that it is easy to acquire the correctness information of the detection result by the operator.

上述の学習モデルの生成方法は、検査物を含む検査画像と前記検査物の異常有無情報とを取得し、前記検査画像及び前記異常有無情報に基づき、前記学習モデルを再学習してもよい。 The above-described learning model generation method may acquire an inspection image including an inspection object and abnormality information of the inspection object, and re-learn the learning model based on the inspection image and the abnormality information.

上記構成によれば、学習モデルがアップデートされ、より正確な異常検出を行うことができるようになる。 According to the above configuration, the learning model is updated, and more accurate abnormality detection can be performed.

本発明の一態様に係る学習モデルは、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力される入力層と、前記検査物の異常の有無を示す異常有無情報を出力する出力層と、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像及び検査物の異常有無情報に基づいてパラメータが学習された中間層とを備え、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記中間層による演算を経て前記検査物の異常有無情報を前記出力層から出力するようにコンピュータを機能させる。 The learning model according to one aspect of the present invention radiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of the pixel, the blob corresponding to one inspection object is specified, and the inspection image corresponding to the one inspection object that is obtained by cutting out so that the blob falls within a rectangle of a predetermined size is input. An input layer, an output layer that outputs abnormality presence/absence information indicating the presence or absence of abnormality of the inspection object, and irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and each inspection object The blob is specified from among the images acquired according to the electromagnetic waves transmitted through , and the blob is cut out and acquired so as to be within a rectangle of a predetermined size, and the inspection image and the inspection object corresponding to one inspection object Equipped with an intermediate layer whose parameters are learned based on abnormality information, irradiate electromagnetic waves to a plurality of inspection objects distributed and placed on a conveyor and conveyed , and acquired according to the electromagnetic waves transmitted through each inspection object. When the inspection image corresponding to one inspection object is input, which is obtained by identifying the blob among the images and cutting out so that the blob falls within a rectangle of a predetermined size, the calculation by the intermediate layer The computer is caused to output the abnormality presence/absence information of the inspection object from the output layer.

上記学習モデルを用いることにより、検査物の検査画像において、正常部分と異常部分との画素値の差異が小さい場合においても、精度良く、正常部分と異常部分とを判別できる。
従って、形状の異常、異物の有無等の異常有無情報を精度良く検出できる。
By using the learning model, the normal portion and the abnormal portion can be accurately discriminated even when the difference in pixel value between the normal portion and the abnormal portion is small in the inspection image of the inspection object.
Therefore, it is possible to accurately detect abnormality presence/absence information such as a shape abnormality and the presence/absence of foreign matter.

本発明の一態様に係る検査装置は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射する照射部と、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得する取得部と、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、前記取得部により取得した検査画像を入力して、前記異常有無情報を取得する学習検査部と、前記異常有無情報を出力する出力部とを備える。 An inspection apparatus according to one aspect of the present invention, an irradiation unit that irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed, and an image acquired according to the electromagnetic waves that have passed through each inspection object . Among them, based on the pixel value of each pixel, identify the blob corresponding to one inspection object, cut out so that the blob is within a rectangle of a predetermined size , the inspection image corresponding to one inspection object An acquisition unit to acquire and identify the blob among the images acquired according to the electromagnetic waves that have passed through the inspection object , and acquire the one inspection object by cutting out so that the blob falls within a rectangle of a predetermined size. Learning inspection unit that inputs the inspection image acquired by the acquisition unit to a learning model that outputs abnormality presence/absence information indicating the presence/absence of abnormality of the inspection object when a corresponding inspection image is input, and acquires the abnormality presence/absence information And an output unit that outputs the abnormality presence/absence information.

上記構成によれば、検査物の検査画像において、正常部分と異常部分との画素値の差異が小さい場合においても、精度良く、正常部分と異常部分とを判別できる。
従って、形状の異常、異物の有無等の異常有無情報を精度良く検出できる。
作業者が目視による異常の検出を行う必要がなくなり、異常検出作業の効率化を図ることができる。
According to the above configuration, in the inspection image of the inspection object, the normal portion and the abnormal portion can be accurately discriminated even when the difference in pixel value between the normal portion and the abnormal portion is small.
Therefore, it is possible to accurately detect abnormality presence/absence information such as a shape abnormality and the presence/absence of foreign matter.
It is not necessary for the operator to visually detect the abnormality, and the efficiency of the abnormality detection work can be improved.

上述の検査装置は、前記電磁波はX線であり、前記取得部は、前記X線に基づく画像を生成する生成部と、生成した画像から前記ブロブを抽出する抽出部と、前記ブロブをバウンディングボックスにより包囲する包囲部とを備え、前記バウンディングボックスにより包囲された検査画像を取得してもよい。 In the above-described inspection apparatus, the electromagnetic waves are X-rays, and the acquisition unit includes a generation unit that generates an image based on the X-rays, an extraction unit that extracts the blob from the generated image, and a bounding box for the blob. It is also possible to acquire the inspection image surrounded by the bounding box.

上記構成によれば、画像の特徴量の抽出がし易くなる。 According to the above configuration, it becomes easy to extract the feature amount of the image.

上述の検査装置は、ディスプレイを備え、前記出力部は、複数の検査物の位置に対応付けて、夫々バウンディングボックスにより包囲された複数の検査画像を表示し、異常の検査物を含む異常画像は前記バウンディングボックスとは異なる第2のバウンディングボックスによりさらに包囲されている第1画面と、各画像が並べて表示され、前記異常画像は前記第2のバウンディングボックスにより包囲されており、作業者による各検査物の異常有無情報の入力を受け付ける操作ボタンを有する第2画面とを並べて、前記ディスプレイに表示する表示部であってもよい。 The above-described inspection apparatus includes a display, the output unit displays a plurality of inspection images each surrounded by a bounding box in association with the positions of the plurality of inspection objects, and an abnormal image including an abnormal inspection object is displayed. The first screen further surrounded by a second bounding box different from the bounding box and each image are displayed side by side, and the abnormal image is surrounded by the second bounding box, and each inspection by the operator is performed. It may be a display unit that displays the second screen having an operation button for receiving the input of the abnormality information of the object side by side on the display.

上記構成によれば、検査画像及び異常有無情報を表示することで、作業者による検出結果の正誤の情報を取得することができる。 According to the above configuration, by displaying the inspection image and the abnormality presence/absence information, it is possible to acquire correctness/incorrectness information of the detection result by the operator.

上述の検査装置は、検査画像、及び前記操作ボタンが受け付けた前記異常有無情報に基づき、前記学習モデルを再学習する再学習部を備えてもよい。 The inspection device may include a re-learning unit that re-learns the learning model based on the inspection image and the abnormality presence/absence information received by the operation button.

上記構成によれば、学習モデルがアップデートされ、より正確な異常検出を行うことができるようになる。 According to the above configuration, the learning model is updated, and more accurate abnormality detection can be performed.

上述の検査装置は、前記第2画面は、前記検査物の異常の種類の入力を受け付ける第2の操作ボタンを備え、前記第2の操作ボタンが前記入力を受け付けた場合、前記表示部は前記種類に基づいて、異常画像を前記第2のバウンディングボックスにより包囲して表示してもよい。 In the inspection apparatus described above, the second screen includes a second operation button that receives an input of the type of abnormality of the inspection object, and when the second operation button receives the input, the display unit displays the input. The abnormal image may be surrounded by the second bounding box and displayed based on the type.

上記構成によれば、異常の種類を切り替えて、異常の検出を行うことができる。 According to the above configuration, the type of abnormality can be switched to detect the abnormality.

上述の検査装置は、前記学習検査部が取得した異常有無情報が閾値以上である検査物を廃棄する廃棄部と、前記学習検査部が取得した異常有無情報が閾値以上である検査物の検査画像に対応する座標情報を出力する第2の出力部とを備えてもよい。 The inspection device described above is a discarding unit that discards an inspection object for which the abnormality inspection information acquired by the learning inspection unit is a threshold value or more, and an inspection image for an inspection object for which the abnormality inspection information acquired by the learning inspection unit is a threshold value or more. And a second output unit that outputs coordinate information corresponding to.

上記構成によれば、異常がある検査物のみを良好に廃棄できる。 According to the above configuration, it is possible to satisfactorily discard only the inspection item having an abnormality.

上述の検査装置は、前記コンベアの搬送方向に交叉する方向に並設された複数のバルブを有し、異常の検査物に対応するバルブからガスを噴出して前記検査物を吹き落とす廃棄部と、前記学習検査部が取得した異常有無情報が閾値以上である検査物に対応するバルブの情報を出力する第2の出力部と、前記検査物に対応するバルブを開閉する開閉部とを備えてもよい。 The above-mentioned inspection device has a plurality of valves arranged in parallel in a direction intersecting with the conveying direction of the conveyor, and a discarding unit that blows out gas from the valve corresponding to the abnormal inspection object and blows off the inspection object. A second output unit that outputs information on a valve corresponding to the inspection object for which the abnormality inspection information acquired by the learning inspection unit is a threshold value or more; and an opening/closing unit that opens/closes the valve corresponding to the inspection object. Good.

上記構成によれば、異常がある検査物のみを容易に廃棄できる。 According to the above configuration, only the inspection item having an abnormality can be easily discarded.

上述の検査装置は、前記電磁波に応じて取得した画像に対し、画像処理アルゴリズムを適用して画像処理を施して前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、取得した、一の検査物に対応する検査画像に基づいて、前記検査物の異常の有無を示す情報を取得する第2の取得部を備え、前記学習検査部は、前記第2の取得部が取得した前記情報に応じ、前記検査画像を入力してもよい。 The inspection apparatus described above applies the image processing algorithm to the image acquired according to the electromagnetic wave to perform the image processing to identify the blob, and cuts out the blob so that it falls within a rectangle of a predetermined size. And a second acquisition unit that acquires information indicating whether there is an abnormality in the inspection object based on the acquired inspection image corresponding to the inspection object, and the learning inspection unit includes the second acquisition unit. You may input the said inspection image according to the said information which the part acquired.

上記構成によれば、画像処理後の画像に対し画素値等に基づき、異常を検出した後、さらに学習モデルを用いて異常を検出するので、より正確に異常を検出できる。 According to the above configuration, after the abnormality is detected on the image after the image processing based on the pixel value and the like, the abnormality is further detected by using the learning model, so that the abnormality can be detected more accurately.

本発明の一態様に係る異常検出方法は、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する処理をコンピュータに実行させる。 The abnormality detection method according to an aspect of the present invention, irradiating electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of each pixel, a blob corresponding to one inspection object is specified, and the blob is cut out so as to be within a rectangle of a predetermined size, and an inspection image corresponding to the one inspection object is acquired. , Identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object , and cutting and acquiring the blob so that it falls within a rectangle of a predetermined size , an inspection image corresponding to one inspection object A computer is made to perform the process which inputs the acquired said inspection image into the learning model which outputs the abnormality presence/absence information which shows the presence or absence of abnormality of a test|inspection when it inputs.

本発明の一態様に係るコンピュータプログラムは、コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する処理をコンピュータに実行させる。 A computer program according to an aspect of the present invention irradiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed , and among the images acquired according to the electromagnetic waves that have passed through each inspection object , Based on the pixel value of the pixel, identify the blob corresponding to one inspection object, cut out so that the blob is within a rectangle of a predetermined size , to obtain an inspection image corresponding to one inspection object, Input the inspection image corresponding to one inspection object acquired by identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object and cutting out so that the blob falls within a rectangle of a predetermined size In this case, the computer is made to execute the processing of inputting the acquired inspection image to a learning model that outputs abnormality presence/absence information indicating the presence/absence of abnormality of the inspection object and outputting the abnormality presence/absence information.

今回開示された実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
例えば、検査物は食品に限定されず、包装体、工業製品等であってもよい。
また、廃棄部はエアバルブ66からなる場合には限定されない。
検査物4に照射する電磁波はX線に限定されず、テラヘルツ波、赤外線及び可視光等であってもよい。
The embodiments disclosed this time are to be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above meaning but by the scope of the claims, and is intended to include meanings equivalent to the scope of the claims and all modifications within the scope.
For example, the inspection item is not limited to food, and may be a package, an industrial product, or the like.
Further, the discarding unit is not limited to the one including the air valve 66.
The electromagnetic waves with which the inspection object 4 is irradiated are not limited to X-rays, and may be terahertz waves, infrared rays, visible light, or the like.

1 PC(情報処理装置)
11 制御部
12 主記憶部
13 通信部
14 表示部
15 補助記憶部
P プログラム
151 検査画像DB
152 異常検出モデル
2 X線検査機
22 ディスプレイ
3 X線照射部
4 検査物
40 検査画像
41、42 バウンディングボックス
5 表示画面
6 搬送部
61 搬送ベルト
66 エアバルブ
7 X線検知部
71 検知ライン
1 PC (information processing device)
11 Control Section 12 Main Storage Section 13 Communication Section 14 Display Section 15 Auxiliary Storage Section P Program 151 Inspection Image DB
152 Abnormality detection model 2 X-ray inspection machine 22 Display 3 X-ray irradiation unit 4 Inspection object 40 Inspection image 41, 42 Bounding box 5 Display screen 6 Conveying unit 61 Conveying belt 66 Air valve 7 X-ray detecting unit 71 Detection line

Claims (14)

コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、
各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、
特定したブロブが所定の大きさの矩形内に入るように切り出して、検査画像を取得し、
前記検査画像と前記検査物の異常の有無に関する異常有無情報とを含む教師データを取得し、
前記教師データに基づいて、複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記検査物の異常有無情報を出力する学習モデルを生成する
学習モデルの生成方法。
Irradiate electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and transported ,
Among the images acquired according to the electromagnetic waves transmitted through each inspection object , based on the pixel value of each pixel , identify the blob corresponding to one inspection object ,
Cut out the specified blob so that it falls within a rectangle of a predetermined size , acquire an inspection image,
Acquiring teacher data including the inspection image and abnormality presence/absence information regarding presence/absence of abnormality of the inspection object,
Based on the teacher data, a plurality of inspection objects are irradiated with electromagnetic waves, and among the images acquired according to the electromagnetic waves that have passed through each inspection object , the blob is specified, and the blob is within a rectangle of a predetermined size. A learning model generation method for generating a learning model that outputs abnormality information of the inspection object when an inspection image corresponding to one inspection object that is cut out so as to be acquired is input.
前記電磁波はX線であり、
該X線に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を生成し、
生成した検査画像を含むバウンディングボックスを表示し、
前記バウンディングボックスに含まれる検査物の異常有無情報を表示する
請求項1に記載の学習モデルの生成方法。
The electromagnetic waves are X-rays,
The blob is specified from among the images acquired according to the X-rays, the blob is cut out so as to be within a rectangle of a predetermined size, and an inspection image corresponding to one inspection object is generated,
Display the bounding box containing the generated inspection image,
The method for generating a learning model according to claim 1, wherein information on presence/absence of abnormality of an inspection object included in the bounding box is displayed.
検査物を含む検査画像と前記検査物の異常有無情報とを取得し、
前記検査画像及び前記異常有無情報に基づき、前記学習モデルを再学習する
請求項1又は2に記載の学習モデルの生成方法。
Acquires the inspection image including the inspection object and the abnormality information of the inspection object,
The learning model generation method according to claim 1, wherein the learning model is re-learned based on the inspection image and the abnormality presence/absence information.
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力される入力層と、
前記検査物の異常の有無を示す異常有無情報を出力する出力層と、
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像及び検査物の異常有無情報に基づいてパラメータが学習された中間層と
を備え、
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、各検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像が入力された場合に、前記中間層による演算を経て前記検査物の異常有無情報を前記出力層から出力するように
コンピュータを機能させる学習モデル。
Irradiate electromagnetic waves to a plurality of inspected objects that are distributed and placed on a conveyor and conveyed, and in the image acquired according to the electromagnetic waves transmitted through each inspected object , based on the pixel value of each pixel, one inspection An input layer to which an inspection image corresponding to one inspection object is input, which is obtained by specifying a blob corresponding to the object and cutting out so that the blob falls within a rectangle of a predetermined size ,
An output layer for outputting abnormality presence/absence information indicating presence/absence of abnormality of the inspection object,
Irradiate electromagnetic waves to a plurality of inspected objects that are distributed and placed on a conveyor and specify the blobs in the image acquired according to the electromagnetic waves that have passed through each inspected object , and the blobs have a predetermined size. And an intermediate layer in which the parameters are learned based on the inspection image corresponding to one inspection object and the abnormality information of the inspection object , which is obtained by cutting out so as to fall within the rectangle of
Irradiate electromagnetic waves to a plurality of inspected objects that are distributed and placed on a conveyor and specify the blobs in the image acquired according to the electromagnetic waves that have passed through each inspected object , and the blobs have a predetermined size. When an inspection image corresponding to one inspection object , which is obtained by being cut out so as to be included in the rectangle, is input, abnormality information of the inspection object is output from the output layer through calculation by the intermediate layer. A learning model that makes a computer function.
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射する照射部と、
各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得する取得部と、
検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、前記取得部により取得した検査画像を入力して、前記異常有無情報を取得する学習検査部と、
前記異常有無情報を出力する出力部と
を備える検査装置。
An irradiation unit that radiates electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and conveyed ,
Among the images acquired according to the electromagnetic waves transmitted through each inspection object, the blob corresponding to one inspection object is specified based on the pixel value of each pixel so that the blob falls within a rectangle of a predetermined size. And an acquisition unit that acquires an inspection image corresponding to one inspection object,
Input the inspection image corresponding to one inspection object acquired by identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object and cutting out so that the blob falls within a rectangle of a predetermined size In the learning model that outputs the abnormality presence/absence information indicating the presence or absence of abnormality of the inspection object, the learning inspection unit that inputs the inspection image acquired by the acquisition unit and acquires the abnormality presence/absence information,
And an output unit that outputs the abnormality presence/absence information.
前記電磁波はX線であり、
前記取得部は、
前記X線に基づく画像を生成する生成部と、
生成した画像から前記ブロブを抽出する抽出部と、
前記ブロブをバウンディングボックスにより包囲する包囲部と
を備え、前記バウンディングボックスにより包囲された検査画像を取得する、請求項5に記載の検査装置。
The electromagnetic waves are X-rays,
The acquisition unit is
A generation unit that generates an image based on the X-rays;
An extraction unit that extracts the blob from the generated image,
An enclosing unit enclosing the blob with a bounding box, and the inspection apparatus according to claim 5, which acquires an inspection image surrounded by the bounding box.
ディスプレイ
を備え、
前記出力部は、
複数の検査物の位置に対応付けて、夫々バウンディングボックスにより包囲された複数の検査画像を表示し、異常の検査物を含む異常画像は前記バウンディングボックスとは異なる第2のバウンディングボックスによりさらに包囲されている第1画面と、各画像が並べて表示され、前記異常画像は前記第2のバウンディングボックスにより包囲されており、作業者による各検査物の異常有無情報の入力を受け付ける操作ボタンを有する第2画面とを並べて、前記ディスプレイに表示する表示部である請求項6に記載の検査装置。
Equipped with a display,
The output unit is
A plurality of inspection images each surrounded by a bounding box are displayed in association with positions of the plurality of inspection objects, and the abnormal image including the abnormal inspection object is further surrounded by a second bounding box different from the bounding box. And a second screen having the operation screen for displaying the abnormal image surrounded by the second bounding box and having an operation button for accepting an operator's input of abnormality information of each inspection object. The inspection device according to claim 6, which is a display unit that displays the screen on the display side by side.
検査画像、及び前記操作ボタンが受け付けた前記異常有無情報に基づき、前記学習モデルを再学習する再学習部を備える、請求項7に記載の検査装置。 The inspection apparatus according to claim 7, further comprising a re-learning unit that re-learns the learning model based on an inspection image and the abnormality presence/absence information received by the operation button. 前記第2画面は、前記検査物の異常の種類の入力を受け付ける第2の操作ボタンを備え、
前記第2の操作ボタンが前記入力を受け付けた場合、前記表示部は前記種類に基づいて、異常画像を前記第2のバウンディングボックスにより包囲して表示する、請求項7又は8に記載の検査装置。
The second screen includes a second operation button that receives an input of the type of abnormality of the inspection object,
The inspection apparatus according to claim 7 or 8, wherein when the second operation button receives the input, the display unit surrounds and displays an abnormal image with the second bounding box based on the type. ..
前記学習検査部が取得した異常有無情報が閾値以上である検査物を廃棄する廃棄部と、
前記学習検査部が取得した異常有無情報が閾値以上である検査物の検査画像に対応する座標情報を出力する第2の出力部と
を備える、請求項5から9までのいずれか1項に記載の検査装置。
A discarding unit that discards an inspection item in which the abnormality presence/absence information acquired by the learning inspection unit is a threshold value or more,
A second output unit that outputs coordinate information corresponding to the inspection image of the inspection object for which the abnormality inspection information acquired by the learning inspection unit is greater than or equal to a threshold value. Inspection equipment.
検査物の搬送方向に交叉する方向に並設された複数のバルブを有し、異常の検査物に対応するバルブからガスを噴出して前記検査物を吹き落とす廃棄部と、
前記学習検査部が取得した異常有無情報が閾値以上である検査物に対応するバルブの情報を出力する第2の出力部と、
前記検査物に対応するバルブを開閉する開閉部と
を備える、請求項5から9までのいずれか1項に記載の検査装置。
A discarding unit having a plurality of valves arranged in a direction intersecting with the conveyance direction of the inspection object, ejecting gas from the valve corresponding to the abnormal inspection object to blow off the inspection object,
A second output unit that outputs valve information corresponding to the inspection object for which the abnormality inspection information acquired by the learning inspection unit is equal to or greater than a threshold value;
The opening/closing part which opens/closes the valve corresponding to the said to-be-inspected object, The inspection apparatus of any one of Claim 5 to 9.
前記電磁波に応じて取得した画像に対し、画像処理アルゴリズムを適用して画像処理を施して前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、取得した、一の検査物に対応する検査画像に基づいて、前記検査物の異常の有無を示す情報を取得する第2の取得部を備え、
前記学習検査部は、前記第2の取得部が取得した前記情報に応じ、前記検査画像を入力する、請求項5から11までのいずれか1項に記載の検査装置。
An image obtained by applying an image processing algorithm to the image obtained according to the electromagnetic wave is subjected to image processing to identify the blob, and the blob is cut out so as to be within a rectangle of a predetermined size, and the obtained blob is obtained. A second acquisition unit that acquires information indicating whether there is an abnormality in the inspection object based on an inspection image corresponding to the inspection object ,
The inspection apparatus according to any one of claims 5 to 11, wherein the learning inspection unit inputs the inspection image according to the information acquired by the second acquisition unit.
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、
各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、
検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する
処理をコンピュータに実行させる、異常検出方法。
Irradiate electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and transported ,
Among the images acquired according to the electromagnetic waves transmitted through each inspection object, the blob corresponding to one inspection object is specified based on the pixel value of each pixel so that the blob falls within a rectangle of a predetermined size. Cut out to obtain the inspection image corresponding to one inspection object,
Input the inspection image corresponding to one inspection object acquired by identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object and cutting out so that the blob falls within a rectangle of a predetermined size An abnormality detection method that causes a computer to execute a process of inputting the acquired inspection image and outputting the abnormality presence/absence information to a learning model that outputs abnormality presence/absence information indicating presence/absence of abnormality of the inspection object.
コンベアに分散して載置されて搬送される複数の検査物に電磁波を照射し、
各検査物を透過した電磁波に応じて取得した画像のうち、各画素の画素値に基づいて、一の検査物に対応するブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して、一の検査物に対応する検査画像を取得し、
検査物を透過した電磁波に応じて取得した画像のうち前記ブロブを特定し、該ブロブが所定の大きさの矩形内に入るように切り出して取得した、一の検査物に対応する検査画像を入力した場合に検査物の異常の有無を示す異常有無情報を出力する学習モデルに、取得した前記検査画像を入力して、異常有無情報を出力する
処理をコンピュータに実行させる、コンピュータプログラム。
Irradiate electromagnetic waves to a plurality of inspection objects that are distributed and placed on a conveyor and transported ,
Among the images acquired according to the electromagnetic waves transmitted through each inspection object, the blob corresponding to one inspection object is specified based on the pixel value of each pixel so that the blob falls within a rectangle of a predetermined size. Cut out to obtain the inspection image corresponding to one inspection object,
Input the inspection image corresponding to one inspection object acquired by identifying the blob among the images acquired according to the electromagnetic waves transmitted through the inspection object and cutting out so that the blob falls within a rectangle of a predetermined size A computer program that causes a computer to execute a process of inputting the acquired inspection image to a learning model that outputs abnormality presence/absence information indicating the presence or absence of abnormality of the inspection object and outputting the abnormality presence/absence information.
JP2019051400A 2019-03-19 2019-03-19 Learning model generation method, learning model, inspection device, abnormality detection method, and computer program Active JP6742037B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019051400A JP6742037B1 (en) 2019-03-19 2019-03-19 Learning model generation method, learning model, inspection device, abnormality detection method, and computer program
PCT/JP2020/003346 WO2020189043A1 (en) 2019-03-19 2020-01-30 Learning model generation method, learning model, inspection device, abnormality detection method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019051400A JP6742037B1 (en) 2019-03-19 2019-03-19 Learning model generation method, learning model, inspection device, abnormality detection method, and computer program

Publications (2)

Publication Number Publication Date
JP6742037B1 true JP6742037B1 (en) 2020-08-19
JP2020153764A JP2020153764A (en) 2020-09-24

Family

ID=72047807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019051400A Active JP6742037B1 (en) 2019-03-19 2019-03-19 Learning model generation method, learning model, inspection device, abnormality detection method, and computer program

Country Status (2)

Country Link
JP (1) JP6742037B1 (en)
WO (1) WO2020189043A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117813492A (en) * 2021-08-13 2024-04-02 株式会社羽岛 Method for generating learning model, inspection device, inspection method, and computer program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156135A (en) * 1999-11-29 2001-06-08 Hitachi Ltd Method and device for sorting defective image and manufacturing method of semiconductor device using them
JP5635903B2 (en) * 2010-12-27 2014-12-03 アンリツ産機システム株式会社 X-ray inspection equipment
JP6061713B2 (en) * 2013-02-08 2017-01-18 本田技研工業株式会社 Inspection apparatus, inspection method and program
JP2016156647A (en) * 2015-02-23 2016-09-01 株式会社 システムスクエア Inspection device using electromagnetic wave
KR20170127565A (en) * 2015-03-20 2017-11-21 가부시끼가이샤 이시다 Inspection device
US10255523B2 (en) * 2015-11-16 2019-04-09 Orbital Insight, Inc. Moving vehicle detection and analysis using low resolution remote sensing imagery
US11580398B2 (en) * 2016-10-14 2023-02-14 KLA-Tenor Corp. Diagnostic systems and methods for deep learning models configured for semiconductor applications
CN108303747B (en) * 2017-01-12 2023-03-07 清华大学 Inspection apparatus and method of detecting a gun
WO2018150607A1 (en) * 2017-02-20 2018-08-23 Serendipity株式会社 Appearance inspection device, lighting device, and imaging lighting device
JPWO2019151393A1 (en) * 2018-01-31 2020-12-03 株式会社ニチレイフーズ Food inspection system, food inspection program, food inspection method and food production method

Also Published As

Publication number Publication date
WO2020189043A1 (en) 2020-09-24
JP2020153764A (en) 2020-09-24

Similar Documents

Publication Publication Date Title
JP6749655B1 (en) Inspection device, abnormality detection method, computer program, learning model generation method, and learning model
US11295173B2 (en) Image identification apparatus, image identification method, and recording medium
Asraf et al. A comparative study in kernel-based support vector machine of oil palm leaves nutrient disease
US8131107B2 (en) Method and system for identifying defects in NDT image data
JP2019526848A (en) Accounting method and equipment using convolutional neural network image recognition technology
KR20210126163A (en) Inspection device
JP6537008B1 (en) Inspection device
WO2023084543A1 (en) System and method for leveraging neural network based hybrid feature extraction model for grain quality analysis
Zhang et al. Computer vision estimation of the volume and weight of apples by using 3d reconstruction and noncontact measuring methods
TW202242390A (en) Defect inspection device, defect inspection method, and manufacturing method
JP6742037B1 (en) Learning model generation method, learning model, inspection device, abnormality detection method, and computer program
Aktaş et al. Classification of pistachios with deep learning and assessing the effect of various datasets on accuracy
Zhao et al. A robot system for the autodetection and classification of apple internal quality attributes
Shi et al. Nondestructive discrimination of analogous density foreign matter inside soy protein meat semi-finished products based on transmission hyperspectral imaging
CN110991469B (en) Fruit soluble solid online detection method and system
Mizuno et al. Development of visual egg inspection system for poultry farmer using CNN with deep learning
CN113228049B (en) Milk analyzer for classifying milk
EP4018180A1 (en) Devices, systems and methods for sorting and labelling food products
JP7034529B1 (en) Training model generation method, learning model, checking device, checking method and computer program
WO2021119946A1 (en) Food inspection solution
JP6763569B2 (en) Optical inspection equipment and optical inspection system
ul Khairi et al. Comparison Analysis of Machine Learning Classification on Apple Fruit Quality
Hasan et al. Framework for fish freshness detection and rotten fish removal in Bangladesh using mask R–CNN method with robotic arm and fisheye analysis
WO2022080504A1 (en) Determination device, learning device, determination method, learning method, and control program
Santhosh et al. A non-contact technique for qualitative analysis of crayon packets using image processing techniques

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191225

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191226

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200310

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200501

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200714

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200721

R150 Certificate of patent or registration of utility model

Ref document number: 6742037

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250