Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7601327B2 - Inspection Equipment - Google Patents
[go: Go Back, main page]

JP7601327B2 - Inspection Equipment - Google Patents

Inspection Equipment Download PDF

Info

Publication number
JP7601327B2
JP7601327B2 JP2020188360A JP2020188360A JP7601327B2 JP 7601327 B2 JP7601327 B2 JP 7601327B2 JP 2020188360 A JP2020188360 A JP 2020188360A JP 2020188360 A JP2020188360 A JP 2020188360A JP 7601327 B2 JP7601327 B2 JP 7601327B2
Authority
JP
Japan
Prior art keywords
data
product
feature data
inspection
image
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
JP2020188360A
Other languages
Japanese (ja)
Other versions
JP2022077470A (en
Inventor
昌年 笹井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mega Trade Corp
Original Assignee
Mega Trade Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mega Trade Corp filed Critical Mega Trade Corp
Priority to JP2020188360A priority Critical patent/JP7601327B2/en
Publication of JP2022077470A publication Critical patent/JP2022077470A/en
Application granted granted Critical
Publication of JP7601327B2 publication Critical patent/JP7601327B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本発明は、物品の表面の状態を検査できるようにした検査装置に関するものであって、例えば、混在する複数種類の商品パッケージの印刷状態などを検査できるようにした検査装置に関するものである。 The present invention relates to an inspection device that can inspect the surface condition of an object, for example, an inspection device that can inspect the printing condition of multiple types of mixed product packages.

一般に、商品パッケージには、その商品のイメージ画像や商品説明などの文字・記号などが印刷されている。 Generally, product packaging is printed with an image of the product, as well as text and symbols that explain the product.

ところで、このような商品パッケージは、同じ種類の内容物に対して、複数種類の商品パッケージが印刷されるような場合がある。例えば、染毛剤などの商品パッケージを考えた場合、ヘアカラーに応じた商品が数多く存在し、これに伴って商品パッケージの色やデザインも変えて印刷される。また、食品などの商品パッケージを考えた場合、同じ種類の商品に対して、季節限定品や地域限定品などのように味を変えた商品が数多く存在し、これに対応した商品パッケージもそれぞれのイメージを有するように印刷される。 However, in such product packaging, multiple types of product packaging may be printed for the same type of content. For example, when considering product packaging for hair dye, there are many products that correspond to different hair colors, and the product packaging is printed with different colors and designs accordingly. In addition, when considering product packaging for food products, there are many products with different flavors for the same type of product, such as seasonal or regional limited products, and the corresponding product packaging is printed to have the respective image.

このような複数種類の商品パッケージなどの検査対象物の印刷状態を検査する場合、一般的には、その検査対象物ごとに基準データを記憶させておき、カメラで撮影された検査対象物の画像に基づくデータと基準データとを比較し、その検査対象物の印刷状態を検査するようにしている(特許文献1など)。 When inspecting the printing condition of inspection objects such as multiple types of product packages, reference data is generally stored for each inspection object, and the printing condition of the inspection object is inspected by comparing data based on an image of the inspection object taken by a camera with the reference data (e.g., Patent Document 1).

特開2010-160039号公報JP 2010-160039 A

しかしながら、このように複数種類存在している検査対象物について、それぞれの基準データと比較して検査する場合、次のような問題を生ずる。 However, when inspecting multiple types of objects in this way by comparing them with their respective reference data, the following problems arise:

例えば、複数種類存在する検査対象物の印刷状態を検査する場合、それぞれの種類ごとに分別し、その検査対象物から得られた画像に基づくデータと、その検査対象物の種類に対応した基準データとを比較して検査しなければならない。また、検査対象物の種類を変更する場合は、あらかじめ検査の基準となる基準データを変えておかなければならず、数十種類以上存在する検査対象物をそれぞれ検査する場合は、その作業が非常に面倒なものになる。 For example, when inspecting the printing condition of multiple types of inspection objects, each type must be separated and the data based on the image obtained from the inspection object must be compared with the reference data corresponding to the type of inspection object. Furthermore, when changing the type of inspection object, the reference data that serves as the inspection standard must be changed in advance, and when inspecting dozens or more types of inspection objects, this task becomes extremely tedious.

一方、これらの検査対象物を混在させた状態でコンベアに載せ、その検査対象物をカメラで撮影して基準データと比較する場合、すべての種類の基準データと照らし合わせて検査しなければならず、時間がかかる。また、検査の結果、不良であると判定された場合は、どの基準データによって検査されて不良と判定されたのかが分からず、別の種類の基準データで判断されてしまったのか、あるいは、該当する種類の基準データで判断されて本当に不良であったのかを判断することができなくなってしまう。 On the other hand, if these inspection objects are placed on a conveyor in a mixed state and photographed by a camera to compare with the reference data, they must be inspected against all types of reference data, which takes time. Furthermore, if the inspection results in an item being determined to be defective, it is not clear which reference data was used to determine the defect, making it impossible to determine whether the defect was determined based on a different type of reference data, or whether the item was truly defective based on the relevant type of reference data.

そこで、本発明は上記課題に着目してなされたもので、複数種類の検査対象物が混在している場合であっても、迅速にその検査対象物を検査できるようにした検査装置を提供することを目的とする。 Therefore, the present invention has been made with a focus on the above problem, and aims to provide an inspection device that can quickly inspect objects even when multiple types of objects are mixed together.

すなわち、本発明は上記課題を解決するために、搬送されてきた商品パッケージの画像を取得するカメラと、当該カメラによって取得された画像から、規定の形状を用いて位置合わせし、位置合わせを行うことのできた同一形状を有する画像を抽出する位置合わせ手段と、前記同一形状をなす複数種類の商品パッケージごとに、あらかじめ商品パッケージの特徴を示す特徴データを記憶させた第一記憶手段と、前記同一形状をなす複数種類の商品パッケージごとに、全体画像の基準データを記憶した第二記憶手段と、位置合わせ手段によって抽出された同一形状を有する画像から商品パッケージの特徴データを取得する特徴データ抽出手段と、当該特徴データ抽出手段によって取得された特徴データと一致する商品パッケージの種類を前記第一記憶手段から読み出し、当該種類の商品パッケージの基準データを前記第二記憶手段から読み出して、前記カメラで取得された商品パッケージの全体画像に基づくデータと比較して商品パッケージの状態を検査する検査手段と、を備えるようにしたものである That is, in order to solve the above-mentioned problems, the present invention provides a system comprising a camera which captures an image of a transported product package, an alignment means which aligns the image captured by the camera using a specified shape and extracts an image of the same shape which has been aligned, a first storage means which stores in advance feature data indicating the features of the product package for each of the multiple types of product packages having the same shape, a second storage means which stores reference data of an entire image for each of the multiple types of product packages having the same shape, a feature data extraction means which acquires the feature data of the product package from the image having the same shape extracted by the alignment means, and an inspection means which reads out from the first storage means a type of product package which matches the feature data acquired by the feature data extraction means, reads out the reference data of the product package of that type from the second storage means, and compares it with data based on the entire image of the product package captured by the camera to inspect the condition of the product package .

本発明によれば、同一形状の商品パッケージに対して、例えば、色の違いによる複数種類の商品パッケージの印刷状態を検査できるようになる。 According to the present invention, it becomes possible to inspect the printing condition of multiple types of product packages of the same shape, for example, those that differ in color.

本発明の一実施の形態を示す検査装置の概略図1 is a schematic diagram of an inspection device according to an embodiment of the present invention; 同形態における検査装置の機能ブロック図Functional block diagram of the inspection device in the same configuration. 同形態における特徴データと基準データを記憶するメモリマップ図A memory map diagram for storing feature data and reference data in the same form. 同形態における検査対象物の特徴データを示す図FIG. 13 shows characteristic data of an object to be inspected in the same form. 同形態における特徴データを登録する場合のフローを示す図FIG. 13 shows a flow for registering feature data in the same form. 同形態における検査処理を示すフローチャートA flowchart showing the inspection process in the embodiment. 別の実施の形態における検査処理を示すフローチャートA flowchart showing an inspection process according to another embodiment.

以下、本発明の一実施の形態について、図面を参照しながら説明する。 One embodiment of the present invention will be described below with reference to the drawings.

この実施の形態における検査装置1は、同一形状の商品パッケージ9aに封入される商品(例えば、染毛剤)に対して、複数種類(例えば、色の違いによる種類)の商品パッケージ9aの印刷状態を検査できるようにしたものであって、特徴的に、その商品パッケージ9aに印刷された商品の文字、図形、記号のうち、他の商品パッケージ9aと識別可能な一部の特徴データを登録して第一記憶手段5aに記憶させておくとともに、その特徴データとその商品パッケージ9aの全体検査のための基準データとを紐づけして第二記憶手段5bに記憶させておき、カメラ3で撮影された画像から特徴データを抽出して、どの商品パッケージ9aであるのかを判断し、その特徴データと紐付けされた基準データを読み出して、商品パッケージ9aの画像に基づくデータと比較して検査できるようにしたものである。以下、本実施の形態の検査装置1について詳細に説明する。 The inspection device 1 in this embodiment is capable of inspecting the printing state of multiple types (e.g., types with different colors) of products (e.g., hair dye) enclosed in the same shaped product packages 9a. Characteristically, among the product characters, figures, and symbols printed on the product packages 9a, some feature data that can be distinguished from other product packages 9a is registered and stored in the first storage means 5a, and the feature data is linked to reference data for the overall inspection of the product packages 9a and stored in the second storage means 5b. The feature data is extracted from the image captured by the camera 3 to determine which product package 9a it is, and the reference data linked to the feature data is read out and compared with data based on the image of the product package 9a for inspection. The inspection device 1 in this embodiment is described in detail below.

まず、検査対象物9の画像を取得するカメラ3は、ラインセンサやCCDセンサなどで構成されるものであって、図1に示すように、コンベア2によって搬送されてきた検査対象物9からカラー画像を取得する。このカメラ3は、検査対象物9の全体画像を撮影できるように設けられており、また、このカメラ3に対応して、所定位置に照明装置が設けられている。この照明装置は、光の角度によって検査状態が変化するため、複数の角度から光を照射できるようにしておくとともに、照度や色などを調整できるようにしてもよい。 First, the camera 3 that captures an image of the inspection object 9 is composed of a line sensor, a CCD sensor, or the like, and as shown in FIG. 1, captures a color image from the inspection object 9 transported by the conveyor 2. This camera 3 is set up so that it can capture an image of the entire inspection object 9, and a lighting device is provided at a predetermined position corresponding to this camera 3. Since the inspection state changes depending on the angle of the light, this lighting device is set up so that it can irradiate light from multiple angles, and it may also be possible to adjust the illuminance, color, etc.

このカメラ3で取得された画像は、位置合わせ手段4(図2のブロック図参照)に出力され、そこで回転や平行移動などの処理がされて位置合わせされる。このとき、検査対象物9としては、同一形状を有するものを対象としているため、規定の形状を用いて位置合わせを行う。そして、その画像を一定の方向に向けて、基準データなどと比較できるようにする。なお、ここで位置合わせ手段4を用いて画像の位置合わせをするようにしたが、形状の全く異なる検査対象物9が流れてきた場合や、重なり合った検査対象物9が流れてきた場合は、位置合わせを行うことができないため、エラー表示を行うようにしておいてもよい。 The image captured by the camera 3 is output to the alignment means 4 (see the block diagram in Figure 2), where it is aligned by processing such as rotation and translation. At this time, since the objects to be inspected 9 have the same shape, alignment is performed using a specified shape. The image is then oriented in a certain direction so that it can be compared with reference data, etc. Note that, although the alignment means 4 is used to align the images here, if an object to be inspected 9 with a completely different shape or if overlapping objects to be inspected 9 are introduced, alignment cannot be performed, and an error message may be displayed.

次に、このように位置合わせ手段4によって位置合わせされた画像から特徴データを抽出する。この特徴データは、他の種類の検査対象物9(商品パッケージ9a)と識別可能な特徴を有するものであって、商品パッケージ9aのうち、商品の画像や、その商品の説明文字や記号の一部のデータが用いられる。このような特徴データとしては、例えば、回転による影響を受けにくい文字や図形・記号などの一部が用いられ、オペレータによって、その特徴部分の画像と位置が特徴データとして第一記憶手段5aに記憶される。 Next, feature data is extracted from the image aligned by the alignment means 4 in this manner. This feature data has features that can be distinguished from other types of inspection objects 9 (product packages 9a), and from within the product packages 9a, data on the product image and parts of the product's explanatory text and symbols is used. For example, parts of text, figures, symbols, etc. that are less affected by rotation are used as such feature data, and the image and position of the characteristic part is stored as feature data in the first storage means 5a by the operator.

この特徴データについて詳述すると、図4に示すように、第一種類の商品パッケージ9aについては、そこに表記された「A」の文字のうち、頂点部分の領域の画像が特徴データとして記憶され、また、第二種類の商品パッケージ9aについては、そこに表記された「B」という文字のうち、中央部分の領域の画像が特徴データとして記憶される。また、第三種類の商品パッケージ9aについては、そこに表記された「C」という文字のうち、開口部分の上部の書き出し部分の領域の画像が特徴データとして記憶され、また、第四種類の商品パッケージ9aについては、そこに表記された「D」の文字のうち、左上のコーナー部分の領域の画像が特徴データとして第一記憶手段5aに記憶される。 To go into more detail about this feature data, as shown in FIG. 4, for the first type of product package 9a, an image of the apex area of the letter "A" written thereon is stored as feature data, and for the second type of product package 9a, an image of the center area of the letter "B" written thereon is stored as feature data. For the third type of product package 9a, an image of the upper opening area of the letter "C" written thereon is stored as feature data, and for the fourth type of product package 9a, an image of the upper left corner area of the letter "D" written thereon is stored as feature data in the first storage means 5a.

一方、第二記憶手段5bには、図4に示すように、第一記憶手段5aに記憶された特徴データに対応した基準データが記憶される。この基準データは、検査対象となる商品パッケージ9aの全体画像に基づくデータと比較するためのデータであって、あらかじめ良品となる商品パッケージ9aからの画像データや、商品パッケージ9aの設計時に作成されたデータなどから生成される。具体的には、基準データとして、文字・図形・記号などの輪郭形状のパターンや、色彩などの情報が用いられ、その種類の商品パッケージ9aの特徴データと紐付けされて第二記憶手段5bに記憶される。なお、このように記憶手段に特徴データと基準データを対にして記憶させておく場合、商品パッケージ9aの数が非常に多くなると、既に登録されている商品パッケージ9aの特徴データと偶然に一致してしまう可能性がある。そこで、このような場合、次のような方法を採用することができる。 On the other hand, the second storage means 5b stores reference data corresponding to the feature data stored in the first storage means 5a, as shown in FIG. 4. This reference data is data for comparison with data based on the overall image of the product package 9a to be inspected, and is generated from image data from a product package 9a that is determined to be a good product, data created when the product package 9a is designed, etc. Specifically, information such as the outline shape patterns of characters, figures, symbols, etc., and colors is used as the reference data, which is linked to the feature data of that type of product package 9a and stored in the second storage means 5b. Note that when the feature data and the reference data are stored in pairs in the storage means in this way, if the number of product packages 9a becomes very large, there is a possibility that the feature data will coincide with the feature data of a product package 9a that has already been registered. Therefore, in such a case, the following method can be adopted.

まず、第一の方法としては、図5に示すように、特徴データをオペレータが設定する際(ステップR1)、すでに第一記憶手段5aに記憶されている特徴データと比較し(ステップR2)、所定の閾値よりも一致率が高い基準データが存在するか否かを判断する。そして、その結果、所定の閾値よりも一致率が低い場合は、その特徴データを第一記憶手段5aに記憶させ(ステップR3)、また、所定の閾値よりも一致率が高い場合は、その特徴データを登録できないように表示して(ステップR4)、他の特徴データを登録するようにオペレータに促す。 As a first method, as shown in FIG. 5, when an operator sets feature data (step R1), the feature data is compared with feature data already stored in the first storage means 5a (step R2) to determine whether there is reference data with a matching rate higher than a predetermined threshold. If the matching rate is lower than the predetermined threshold, the feature data is stored in the first storage means 5a (step R3), and if the matching rate is higher than the predetermined threshold, the feature data is displayed so that it cannot be registered (step R4), and the operator is prompted to register other feature data.

あるいは、別の方法としては、特徴データが一致しているか否かを問わず、オペレータによって登録された特徴データをそのまま第一記憶手段5aに記憶させておき、その特徴データと紐付けられて記憶されているすべての基準データを使って検査するようにしてもよい。そして、特徴データに一致するすべての基準データを使って検査した結果、適正であると判断された場合は、「良品」として検査を通すようにする。ただし、このように複数の検査データを使って検査した場合、例えば、複数の検査データを使って検査した旨の表示や、どの種類の検査対象物9の基準データを用いたのかの表示を行うようにしてもよい。 Alternatively, as another method, the feature data registered by the operator may be stored as is in the first storage means 5a regardless of whether the feature data matches, and inspection may be performed using all reference data stored in association with that feature data. Then, if the result of inspection using all reference data that matches the feature data is that it is determined to be appropriate, the product is passed through inspection as a "good product." However, when inspection is performed using multiple pieces of inspection data in this way, for example, it may be possible to display a message indicating that the inspection was performed using multiple pieces of inspection data, or a message indicating which type of inspection object 9's reference data was used.

特徴データ抽出手段6は、カメラ3で撮影された検査対象物9の画像から特徴データを抽出する。この特徴データを抽出する場合、あらかじめ、特徴データの領域として第一記憶手段5aに記憶された領域の画像を抽出するとともに、その画像に基づくデータと特徴データとを比較して、所定の閾値よりも一致率の高い特徴データの種類を抽出する。そして、判別手段61によって、特徴データに類似する検査対象物9の種類を判別し、この種類の特徴データと紐付けされて記憶されている基準データを第二記憶手段5bから読み出す。 The feature data extraction means 6 extracts feature data from the image of the inspection object 9 captured by the camera 3. When extracting this feature data, an image of an area stored in the first storage means 5a as an area of feature data is extracted in advance, and data based on the image is compared with the feature data to extract the type of feature data that has a higher matching rate than a predetermined threshold. Then, the discrimination means 61 discriminates the type of inspection object 9 that is similar to the feature data, and reads out the reference data that is linked to and stored with this type of feature data from the second storage means 5b.

検査手段7は、このように読み出された基準データをもとに、検査対象物9から取得された全体画像に基づくデータと比較し、検査対象物9の良否を判定する。具体的には、取得された全体画像から文字・図形・記号などのデータを抽出し、このデータと基準データとが一致するか否かを検査する方法や、特定領域についてRGBの輝度値を抽出し、基準データのRGB輝度値と比較することによって色合いなどを検査する方法を用いることができる。もちろん、これ以外の方法によって検査を行ってもよく、印刷のかすれ、紙の剥がれなどを検査してもよい。 The inspection means 7 compares the reference data thus read out with data based on the overall image acquired from the inspection object 9 to determine whether the inspection object 9 is good or bad. Specifically, a method of extracting data such as characters, figures, and symbols from the acquired overall image and inspecting whether this data matches the reference data, or a method of extracting RGB luminance values for a specific area and inspecting color tone by comparing them with the RGB luminance values of the reference data can be used. Of course, inspection can be performed by other methods, and inspection can be made for faint printing, peeling of paper, etc.

出力手段8は、このように検査された結果をオペレータに報知する。もしくは、自動で不良商品を振り分ける機能が備わっている場合は、振り分け装置に「不良」である旨の情報を出力し、不良品を分別回収する。 The output means 8 notifies the operator of the results of this inspection. Alternatively, if the system is equipped with a function for automatically separating defective products, it outputs information indicating that the products are "defective" to the separating device, and the defective products are collected separately.

次に、このように構成された検査装置1を用いて検査対象物9を検査する場合のフローチャートについて、図6を用いて説明する。なお、前提として、同一商品に対して複数種類存在する商品パッケージ9aの印刷状態を検査する場合を想定し、コンベア上に同一面を上にしてランダムに載置されてきた状態で、その商品パッケージ9aをカメラ3で撮影して検査するものとする。 Next, a flowchart for inspecting the inspection target 9 using the inspection device 1 configured in this manner will be described with reference to FIG. 6. As a premise, it is assumed that the printing state of multiple types of product packages 9a for the same product is to be inspected, and the product packages 9a are randomly placed on the conveyor with the same side facing up, and then photographed by the camera 3 for inspection.

まず、コンベア2上に商品パッケージ9aが載せられて流れてくると、カメラ3によってその商品パッケージ9aの全体画像が取得される(ステップS1)。そして、その画像が位置合わせ手段4に出力され、回転や平行移動などによって位置合わせされ、一定方向を向く画像に補正される(ステップS2)。 First, when a product package 9a is placed on the conveyor 2 and flows down, the camera 3 captures an overall image of the product package 9a (step S1). The image is then output to the alignment means 4, where it is aligned by rotation, translation, etc., and corrected to face a fixed direction (step S2).

次に、このように位置合わせによって補正された画像から、特徴データ抽出手段6を用いて、その画像の一部の特徴データを抽出する(ステップS3)。このとき、あらかじめ特徴データとして第一記憶手段5aに記憶されている領域の画像を取得し、その画像に基づくデータが第一記憶手段5aに記憶されている特徴データと一致しているか否かを判断する(ステップS4)。そして、所定値よりも一致率が高いものであって、最も一致率の高い特徴データの商品パッケージ9aの種類を判別し、その特徴データと紐付けされた第二記憶手段5bの基準データを読み出す(ステップS5)。一方、全ての特徴データと比較した結果(ステップS6)、所定の閾値よりも一致率の高い特徴データが存在しない場合は、裏向けに商品パッケージ9aが載せられているか、あるいは、商品パッケージ9aが重なって搬送されている可能性があるため、エラーである旨の出力を行う(ステップS7)。 Next, from the image thus corrected by positioning, the feature data extraction means 6 extracts a portion of the image feature data (step S3). At this time, an image of an area previously stored as feature data in the first storage means 5a is acquired, and it is determined whether the data based on the image matches the feature data stored in the first storage means 5a (step S4). Then, the type of product package 9a with the feature data that has the highest match rate, which is higher than a predetermined value, is determined, and the reference data in the second storage means 5b linked to that feature data is read (step S5). On the other hand, as a result of comparing with all the feature data (step S6), if there is no feature data with a match rate higher than the predetermined threshold, it is possible that the product package 9a is placed face down or that the product packages 9a are being transported overlapping each other, and an error is output (step S7).

そして、このように基準データが読み出された場合(ステップS5)、ステップS1で取得された全体画像に基づくデータと基準データとを比較し、検査対象物9の状態を検査する(ステップS8)。そして、一致率が所定の閾値を超えている場合は、「良品」とし(ステップS9)、逆に、一致率が所定の閾値以下である場合は、「不良」として(ステップS10)、その旨を出力手段8を介して出力する。 When the reference data is read out in this manner (step S5), the data based on the overall image acquired in step S1 is compared with the reference data, and the condition of the inspection object 9 is inspected (step S8). If the matching rate exceeds a predetermined threshold, the inspection object is deemed to be a "good product" (step S9). Conversely, if the matching rate is equal to or lower than the predetermined threshold, the inspection object is deemed to be a "defective product" (step S10), and this is output via the output means 8.

次に、第二の実施の形態として、同じ特徴データが無条件に登録されている場合の検査方法について、図7のフローチャートを用いて説明する。 Next, as a second embodiment, we will explain the inspection method when the same feature data is unconditionally registered, using the flowchart in Figure 7.

図6と同様に、コンベア上に商品パッケージ9aが載せられて流れてくると、カメラ3によってその商品パッケージ9aの全体画像が取得され(ステップT1)、回転や平行移動などによって位置合わせされ、一定方向を向く画像に補正される(ステップT2)。 As in FIG. 6, when a product package 9a is placed on the conveyor and conveyed, an image of the entire product package 9a is acquired by the camera 3 (step T1), and the image is aligned by rotation, translation, etc., and corrected to face in a fixed direction (step T2).

次に、このように位置合わせされた画像から、特徴データ抽出手段6を用いて、その画像の一部の特徴データを抽出する(ステップT3)。このとき、あらかじめ特徴データとして第一記憶手段5aに記憶されている領域の画像を取得し、その画像に基づくデータと第一記憶手段5aに記憶されている特徴データと一致しているか否かを判断する(ステップT4)。そして、所定の閾値よりも一致率の高い特徴データの種類をすべて抽出し、その特徴データと紐付けされたすべての基準データを第二記憶手段5bから読み出す(ステップT5)。このとき、抽出された特徴データが複数存在している場合、その特徴データに対応する複数の基準データを読み出す。一方、すべての特徴データと比較した結果(ステップT6)、所定の閾値よりも一致率の高い特徴データが存在しない場合は、裏向けに商品パッケージ9aが載せられているか、あるいは、商品パッケージ9aが重なって搬送されている可能性があるため、エラーである旨の出力を行う(ステップT7)。 Next, from the image aligned in this way, the feature data extraction means 6 is used to extract a portion of the feature data of the image (step T3). At this time, an image of an area previously stored as feature data in the first storage means 5a is acquired, and it is determined whether the data based on the image matches the feature data stored in the first storage means 5a (step T4). Then, all types of feature data with a matching rate higher than a predetermined threshold are extracted, and all reference data linked to the feature data are read from the second storage means 5b (step T5). At this time, if there are multiple extracted feature data, multiple reference data corresponding to the feature data are read. On the other hand, as a result of comparing with all the feature data (step T6), if there is no feature data with a matching rate higher than the predetermined threshold, it is possible that the product package 9a is placed face down or that the product packages 9a are being transported overlapping each other, and an error is output (step T7).

そして、このように複数の基準データが読み出された場合(ステップT5)、ステップT1で取得された全体画像に基づくデータとそれぞれの基準データとを比較し、検査対象物9の状態を検査する(ステップT8)。そして、一致率が所定の閾値を超えている基準データに対して、その種類とともに「良品」である旨を出力し(ステップT9)、それ以外の場合は、「不良」である旨の出力を行う(ステップT10)。 When multiple reference data are read out in this way (step T5), the data based on the overall image acquired in step T1 is compared with each of the reference data to inspect the state of the inspection target 9 (step T8). For reference data whose matching rate exceeds a predetermined threshold, a message indicating that the data is a "good product" along with its type is output (step T9), and for all other cases, a message indicating that the data is a "defective product" is output (step T10).

このように上記実施の形態によれば、搬送されてきた商品パッケージ9aの画像を取得するカメラ3と、当該カメラ3によって取得された画像から、規定の形状を用いて位置合わせし、位置合わせを行うことのできた同一形状を有する画像を抽出する位置合わせ手段4と、前記同一形状をなす複数種類の商品パッケージ9aごとに、あらかじめ商品パッケージ9aの特徴を示す特徴データを記憶させた第一記憶手段5aと、前記同一形状をなす複数種類の商品パッケージ9aごとに、全体画像の基準データを記憶した第二記憶手段5bと、位置合わせ手段4によって抽出された同一形状を有する画像から商品パッケージ9aの特徴データを取得する特徴データ抽出手段6と、当該特徴データ抽出手段6によって取得された特徴データと一致する商品パッケージ9aの種類を前記第一記憶手段5aから読み出し、当該種類の商品パッケージ9aの基準データを前記第二記憶手段5bから読み出して、前記カメラ3で取得された商品パッケージ9aの全体画像に基づくデータと比較して商品パッケージ9aの状態を検査する検査手段7と、を備えるようにしたので、同一形状の商品パッケージに対して、例えば、色の違いによる複数種類の商品パッケージの印刷状態を検査できるようになる。 As described above, according to the embodiment, the system includes the camera 3 which captures an image of the transported product package 9a, the alignment means 4 which aligns the image captured by the camera 3 using a specified shape and extracts an image of the same shape which has been aligned, the first storage means 5a which stores in advance feature data indicating the features of the product package 9a for each of the multiple types of product packages 9a having the same shape, the second storage means 5b which stores reference data of an entire image for each of the multiple types of product packages 9a having the same shape, the feature data extraction means 6 which captures the feature data of the product package 9a from the image of the same shape extracted by the alignment means 4, and the inspection means 7 which reads out from the first storage means 5a the type of product package 9a which matches the feature data captured by the feature data extraction means 6, reads out from the second storage means 5b the reference data for that type of product package 9a, and compares it with data based on the entire image of the product package 9a captured by the camera 3 to inspect the condition of the product package 9a. Therefore, it becomes possible to inspect the printing conditions of multiple types of product packages having the same shape, for example, by differences in color.

なお、本発明は上記実施の形態に限定されることなく、種々の態様で実施することができる。 The present invention is not limited to the above embodiment and can be implemented in various ways.

例えば、上記実施の形態では、商品パッケージ9aの印刷状態を検査する場合を例に挙げて説明したが、書籍やチラシなどの印刷状態を検査する場合や、商品自体の形状や表面状態などを検査する場合についても適用することができる。ただし、これらの検査対象物9を検査する場合は、すべて同一形状であることが好ましい。 For example, in the above embodiment, the case of inspecting the printing condition of the product package 9a has been described as an example, but the present invention can also be applied to inspecting the printing condition of books, flyers, etc., or inspecting the shape and surface condition of the product itself. However, when inspecting these inspection objects 9, it is preferable that they all have the same shape.

また、上記実施の形態では、一部の特徴データを用いて検査対象物9の種類を特定し、それに紐付けされた基準データを抽出するようにしたが、膨大な種類の検査対象物9を検査する場合、特徴データを複数種類設定しておいてもよい。あるいは、特徴データを抽出する前に、粗い状態で商品群を選別し、例えば、取得された全体画像の平均輝度値などから一定の商品群に振り分け、その商品群の中から特徴データを絞り込むように抽出していってもよい。 In the above embodiment, a portion of the feature data is used to identify the type of inspection object 9 and the reference data associated with it is extracted, but when inspecting a huge variety of inspection objects 9, multiple types of feature data may be set. Alternatively, before extracting the feature data, the product group may be roughly selected and sorted into certain product groups based on, for example, the average brightness value of the acquired overall image, and feature data may be extracted from the product groups in a narrowed-down manner.

さらに、上記実施の形態では、第一記憶手段5aに特徴データを記憶させるとともに、第二記憶手段5bに基準データを記憶させたが、これらを同一の記憶手段に記憶させておいてもよい。 Furthermore, in the above embodiment, the feature data is stored in the first storage means 5a and the reference data is stored in the second storage means 5b, but these may be stored in the same storage means.

1・・・検査装置
3・・・カメラ
4・・・位置合わせ手段
5a、5b・・・記憶手段
6・・・特徴データ抽出手段
61・・・判別手段
7・・・検査手段
9・・・検査対象物(9a商品パッケージ)
1: Inspection device 3: Camera
4. Alignment means
5a, 5b...Memory means 6...Feature data extraction means 61...Discrimination means 7...Inspection means 9...Inspection object (9a product package)

Claims (1)

搬送されてきた商品パッケージの画像を取得するカメラと、
当該カメラによって取得された画像から、規定の形状を用いて位置合わせし、位置合わせを行うことのできた同一形状を有する画像を抽出する位置合わせ手段と、
前記同一形状をなす複数種類の商品パッケージごとに、あらかじめ商品パッケージの特徴を示す特徴データを記憶させた第一記憶手段と、
前記同一形状をなす複数種類の商品パッケージごとに、全体画像の基準データを記憶した第二記憶手段と、
位置合わせ手段によって抽出された同一形状を有する画像から商品パッケージの特徴データを取得する特徴データ抽出手段と、
当該特徴データ抽出手段によって取得された特徴データと一致する商品パッケージの種類を前記第一記憶手段から読み出し、当該種類の商品パッケージの基準データを前記第二記憶手段から読み出して、前記カメラで取得された商品パッケージの全体画像に基づくデータと比較して商品パッケージの状態を検査する検査手段と、
を備えたことを特徴とする検査装置。
A camera that captures images of the delivered product packages;
A registration means for performing registration using a specified shape from the images acquired by the camera and extracting images having the same shape that have been registered;
a first storage means for storing in advance characteristic data indicating characteristics of the product package for each of the plurality of types of product packages having the same shape;
a second storage means for storing reference data of an entire image for each of the plurality of types of product packages having the same shape;
a feature data extraction means for acquiring feature data of a product package from the images having the same shape extracted by the positioning means;
an inspection means for reading out from the first storage means a type of product package that matches the characteristic data acquired by the characteristic data extraction means, reading out reference data for the product package of that type from the second storage means, and comparing the data with data based on the overall image of the product package acquired by the camera to inspect the state of the product package;
An inspection device comprising:
JP2020188360A 2020-11-11 2020-11-11 Inspection Equipment Active JP7601327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020188360A JP7601327B2 (en) 2020-11-11 2020-11-11 Inspection Equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020188360A JP7601327B2 (en) 2020-11-11 2020-11-11 Inspection Equipment

Publications (2)

Publication Number Publication Date
JP2022077470A JP2022077470A (en) 2022-05-23
JP7601327B2 true JP7601327B2 (en) 2024-12-17

Family

ID=81654109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020188360A Active JP7601327B2 (en) 2020-11-11 2020-11-11 Inspection Equipment

Country Status (1)

Country Link
JP (1) JP7601327B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7774418B2 (en) * 2021-10-21 2025-11-21 アンリツ株式会社 Article inspection device, article inspection system, and article inspection system program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014009996A (en) 2012-06-28 2014-01-20 Dac Engineering Co Ltd Quality inspection method and quality inspection device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014009996A (en) 2012-06-28 2014-01-20 Dac Engineering Co Ltd Quality inspection method and quality inspection device

Also Published As

Publication number Publication date
JP2022077470A (en) 2022-05-23

Similar Documents

Publication Publication Date Title
US11151402B2 (en) Method of character recognition in written document
CN112446864A (en) Flaw detection method, flaw detection device, flaw detection equipment and storage medium
JP7219023B2 (en) Information processing device and object determination program
TW200842734A (en) Image processing program and image processing device
JPH09231362A (en) Appearance inspection device and method
JP7601327B2 (en) Inspection Equipment
JP3018949B2 (en) Character reading apparatus and method
CN111814576A (en) A deep learning-based image recognition method for shopping receipts
CN110533704B (en) Method, device, equipment and medium for identifying and verifying ink label
JP6451440B2 (en) Label area detection device, label area detection method, label area detection program, and label area detection system
JP3427554B2 (en) Image processing apparatus and method
JP7052377B2 (en) Inspection equipment and inspection method
JP2003087562A (en) Image processing apparatus and image processing method
CN109842733A (en) Image processing apparatus
KR102649500B1 (en) Image identification apparatus, and product manufacturing apparatus provided with image identification apparatus
US20090245659A1 (en) Fast Key-In for Machine-Printed OCR-based Systems
JPH10297063A (en) Quality inspection and sorting method for printed matter
JPWO2020071188A1 (en) Print inspection device
US10936865B2 (en) Device and method for identifying a cork stopper, and respective kit
JP4074655B1 (en) Image processing apparatus, label inspection apparatus, and image processing method
JP3311880B2 (en) Automatic detection device for fruits and vegetables injury
JP4514823B1 (en) Image identification method and apparatus for printed matter
JP3022459B2 (en) Form identification registration device
JP6359364B2 (en) Container inspection method and container inspection apparatus
JP2004145385A (en) Form processing system and form processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240818

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: 20241107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241126

R150 Certificate of patent or registration of utility model

Ref document number: 7601327

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150