X-ray inspection device
An X-ray inspection device includes a conveying unit, an X-ray irradiation unit, an X-ray detection unit, and a control unit configured to inspect whether foreign matter is included in an article based on an X-ray transmission image. The control unit performs a first inspection of using a predetermined threshold value to inspect whether the foreign matter having a lower attenuation rate of X-rays than the article is included in the article, performs a second inspection of using a machine learning algorithm to inspect whether the foreign matter is included inside the article, and determines that the foreign matter is included in the article in a case where the foreign matter common to inspection results of the first inspection and the second inspection is included in the article.
1 . An X-ray inspection device, comprising:
a conveying unit configured to convey an article;
an X-ray irradiation unit configured to irradiate the article conveyed by the conveying unit with X-rays;
an X-ray detection unit configured to detect the X-rays with which the X-ray irradiation unit irradiates the article and which transmit through the article;
an X-ray transmission image generation unit configured to generate an X-ray transmission image based on the X-rays detected by the X-ray detection unit; and
an inspection unit configured to inspect whether foreign matter is included in the article based on the X-ray transmission image generated by the X-ray transmission image generation unit, wherein
the inspection unit
performs a first inspection of using a predetermined threshold value to inspect whether the foreign matter having a lower attenuation rate of the X-rays than the article is included in the article,
performs a second inspection of using a machine learning algorithm to inspect whether the foreign matter is included inside the article, and
determines that the foreign matter is included in the article in case where the foreign matter common to inspection results of the first inspection and the second inspection is included in the article.
2 . The X-ray inspection device according to claim 1 , wherein
the inspection unit determines whether the foreign matter is included in the article based on a region occupied by the foreign matter in the X-ray transmission image upon determining that the foreign matter is included in the article in the inspection result of at least one of the first inspection and the second inspection.
3 . The X-ray inspection device according to claim 1 , wherein
the X-ray detection unit detects the X-rays in a first energy band transmitted through the article and the X-rays in a second energy band transmitted through the article,
the X-ray transmission image generation unit generates the X-ray transmission image based on the X-rays in the first energy band and the X-ray transmission image based on the X-rays in the second energy band, and
the inspection unit determines whether the foreign matter is included in the article based on a difference image of a plurality of the X-ray transmission images generated by the X-ray transmission image generation unit.
4 . The X-ray inspection device according to claim 1 , wherein
the inspection unit performs the second inspection by using a learned model that is machine-learned based on an image including the foreign matter having the lower attenuation rate of the X-rays than the article.
5 . The X-ray inspection device according to claim 1 , wherein
the foreign matter has a specific gravity smaller than the article.