JP7442475B2 - Judgment device, judgment method, and judgment program - Google Patents
Judgment device, judgment method, and judgment program Download PDFInfo
- Publication number
- JP7442475B2 JP7442475B2 JP2021035069A JP2021035069A JP7442475B2 JP 7442475 B2 JP7442475 B2 JP 7442475B2 JP 2021035069 A JP2021035069 A JP 2021035069A JP 2021035069 A JP2021035069 A JP 2021035069A JP 7442475 B2 JP7442475 B2 JP 7442475B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- image data
- surface area
- determination
- specifying
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 74
- 238000007689 inspection Methods 0.000 claims description 46
- 238000003384 imaging method Methods 0.000 claims description 27
- 239000003973 paint Substances 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000001678 irradiating effect Effects 0.000 claims description 2
- 238000000926 separation method Methods 0.000 claims 1
- 239000000853 adhesive Substances 0.000 description 32
- 230000001070 adhesive effect Effects 0.000 description 32
- 239000004033 plastic Substances 0.000 description 29
- 229920003023 plastic Polymers 0.000 description 29
- 229920000139 polyethylene terephthalate Polymers 0.000 description 24
- 239000005020 polyethylene terephthalate Substances 0.000 description 24
- 230000005856 abnormality Effects 0.000 description 7
- 239000012263 liquid product Substances 0.000 description 7
- 239000000047 product Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 235000013361 beverage Nutrition 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- -1 polyethylene terephthalate Polymers 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 239000000654 additive Substances 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000016709 nutrition Nutrition 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 235000014214 soft drink Nutrition 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
本発明は、ボトル状の容器に添付される添付物の有無を判定可能な判定装置、判定方法、および判定プログラムに関する。 The present invention relates to a determination device, a determination method, and a determination program capable of determining the presence or absence of an attachment attached to a bottle-shaped container.
液体製品を販売する場合、各国の法令により、当該液体製品に係る情報を表示することが義務付けられる場合がある。たとえば、液体製品の一例である飲料製品を日本国内において販売する場合、当該飲料製品の内容物である飲料について、名称、保存の方法、消費期限又は賞味期限、原材料名、添加物、内容量、栄養成分の量及び熱量、事業者の氏名又は名称及び住所、ならびに製造所等の所在地、を表示することが義務付けられている(内閣府令第十号食品表示基準第三条)。また、ポリエチレンテレフタレート製飲料用ボトルを容器として飲料製品を販売する場合には、分別回収を容易にするための材質表示を付すことが義務付けられている(資源の有効な利用の促進に関する法律第二十四条)。さらに、業界団体(たとえば、全国清涼飲料工業会)が設定するガイドラインに従った表示が求められる場合がある。 When selling liquid products, the laws and regulations of each country may require that information related to the liquid products be displayed. For example, when selling a beverage product, which is an example of a liquid product, in Japan, the name, storage method, expiry date or best-before date, raw material name, additives, content amount, etc. It is mandatory to display the amount of nutritional ingredients and caloric content, the name and address of the business operator, and the location of the manufacturing facility, etc. (Cabinet Office Ordinance No. 10 Food Labeling Standards, Article 3). In addition, when selling beverage products using polyethylene terephthalate beverage bottles as containers, it is mandatory to label the material to facilitate separate collection (Act on Promotion of Effective Utilization of Resources No. 2). Article 14). Additionally, labeling may be required in accordance with guidelines set by industry organizations (for example, the National Soft Drink Industry Association).
このような表示(以下、「義務表示等」という。)を行う手段としては、容器を包囲する態様でラベルを装着することが汎用され、ロールラベルおよびシュリンクラベルは当該用途に用いられるラベルの代表例である。ラベルに表示されている事項の一部は、これを表示することが法令で定められている事項であるので、ラベルに欠陥がある製品を市場に流通させることは認められない。 A commonly used means of making such a display (hereinafter referred to as "mandatory labeling, etc.") is to attach a label in a manner that surrounds the container, and roll labels and shrink labels are typical labels used for this purpose. This is an example. Some of the information displayed on the label is required by law, so it is not allowed to distribute products with defective labels on the market.
そこで、液体製品の製造においては、ラベルが確実に添付されているか否かを検査する検査装置が用いられる。たとえば特開2020-27085号公報(特許文献1)には、搬送手段により搬送される容器を上方から撮影した画像に基づいてラベルの装着の良否を判定するラベル検査装置が開示されている。また、特許第6359364号公報(特許文献2)には、容器を側方から撮影した画像に基づいてラベルの良否判定を行う容器検査装置が開示されている。 Therefore, in the production of liquid products, an inspection device is used to inspect whether the label is reliably attached. For example, Japanese Unexamined Patent Publication No. 2020-27085 (Patent Document 1) discloses a label inspection device that determines whether a label is properly attached based on an image taken from above of a container being transported by a transporting means. Further, Japanese Patent No. 6359364 (Patent Document 2) discloses a container inspection device that determines the quality of a label based on an image taken from the side of the container.
近年、容器自身のデザインや液体製品の外観などを製品の個性として消費者に訴求することを企図して、従来のラベルより面積が小さい添付物を容器の肩部などに付して、当該添付物に義務表示等を表示することが試みられている。この場合、容器の多くの部分がラベルに覆われずに露出することになるが、容器がガラスやプラスチックなどの光を反射しやすい材料で形成されている場合、光を反射しやすい容器の表面が多く露出することになる。このような構成の液体製品について、たとえば特許文献1のラベル検査装置を用いてラベルの装着の良否を判定しようとすると、検査対象の容器に正しく添付されている添付物と検査対象の容器の表面に映り込んだ物体とを区別できず、ラベルの装着の良否が誤って判定される場合があった。 In recent years, with the aim of appealing to consumers by using the design of the container itself or the appearance of the liquid product as a unique feature of the product, attachments that are smaller in area than conventional labels have been attached to the shoulder of the container, etc. Attempts are being made to display mandatory information on objects. In this case, many parts of the container will be exposed without being covered by the label, but if the container is made of a material that easily reflects light, such as glass or plastic, the surface of the container that tends to reflect light will will be exposed more. For a liquid product with such a configuration, when trying to determine whether the label is properly attached using the label inspection device of Patent Document 1, for example, it is difficult to determine whether the attachment is correctly attached to the container to be inspected and the surface of the container to be inspected. In some cases, it was not possible to distinguish between objects reflected in the image, and it was sometimes incorrectly determined whether the label was attached properly or not.
そこで、容器への映り込みの影響を排して、容器に添付される添付物の有無を判定できる判定装置、判定方法、および判定プログラムの実現が求められる。 Therefore, there is a need to realize a determination device, a determination method, and a determination program that can determine the presence or absence of an attachment attached to a container while eliminating the influence of reflection on the container.
本発明に係る判定装置は、ボトル状の容器に添付される、少なくとも一部に蛍光塗料が塗布されている添付物の有無を判定可能な判定装置であって、前記容器を、当該容器の上面側から撮像可能な撮像装置と、前記容器に対して紫外線を照射可能な紫外線照射装置と、演算装置と、を備え、前記演算装置は、前記撮像装置が撮像した画像データを取得する取得処理と、前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定処理と、前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定処理と、前記検査領域における前記添付物に対応する部分の有無を判定する判定処理と、を実行可能に構成されており、前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件であることを特徴とする。 The determination device according to the present invention is a determination device capable of determining the presence or absence of an attachment attached to a bottle-shaped container, at least a portion of which is coated with fluorescent paint. An imaging device capable of capturing an image from the side, an ultraviolet irradiation device capable of irradiating the container with ultraviolet rays, and a calculation device, the calculation device performing an acquisition process of acquiring image data imaged by the imaging device. , a top surface region specifying process for specifying a top surface region that is a region corresponding to the top surface of the image data; and a top surface region specifying process for specifying a top surface region that is a region corresponding to the top surface of the image data; , is configured to be able to execute an inspection area specifying process for specifying the inspection area as an inspection area, and a determination process for determining the presence or absence of a portion corresponding to the attachment in the inspection area, and the predetermined condition is that the upper surface area The condition is characterized in that the distance from the object is within a predetermined reference value .
また、本発明に係る判定方法は、撮像装置と、紫外線照射装置と、演算装置と、を備える判定装置が、ボトル状の容器に添付される添付物の有無を判定する判定方法であって、前記添付物の少なくとも一部に蛍光塗料が塗布されており、前記容器を上面側から撮像した画像データを取得する取得工程と、前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定工程と、前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定工程と、前記検査領域における前記添付物に対応する部分の有無を判定する判定工程と、を含み、前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件であることを特徴とする。 Further, the determination method according to the present invention is a determination method in which a determination device including an imaging device, an ultraviolet irradiation device, and a calculation device determines the presence or absence of an attachment attached to a bottle-shaped container, at least a portion of the attachment is coated with a fluorescent paint, an acquisition step of acquiring image data obtained by imaging the container from the top surface side, and an upper surface region of the image data that is a region corresponding to the top surface. a top surface area specifying step for specifying an area of the image data that is extracted according to a predetermined condition based on the top surface area as an inspection area; a determination step of determining the presence or absence of a portion corresponding to the object , and the predetermined condition is characterized in that a distance from the upper surface area is within a predetermined reference value. .
また、本発明に係る判定プログラムは、ボトル状の容器に添付される、少なくとも一部に蛍光塗料が塗布されている添付物の有無を、前記容器を上面側から撮像した画像データに基づいて判定可能な判定プログラムであって、前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定処理と、前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定処理と、前記検査領域における前記添付物に対応する部分の有無を判定する判定処理と、をコンピュータに実行させ、前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件であることを特徴とする。 Further, the determination program according to the present invention determines the presence or absence of an attachment that is attached to a bottle-shaped container and has at least a portion coated with fluorescent paint, based on image data obtained by imaging the container from the top side. A possible determination program includes an upper surface area specifying process for identifying an upper surface area corresponding to the upper surface of the image data, and a predetermined determination process based on the upper surface area of the image data. A computer is caused to execute an inspection area specifying process for specifying an area extracted according to a condition as an inspection area, and a determination process for determining the presence or absence of a portion corresponding to the attachment in the inspection area , and the predetermined condition is , the condition includes that the distance from the upper surface area is within a predetermined reference value .
これらの構成によれば、容器への映り込みの影響を排して、容器に添付される添付物の有無を判定できる。上記の構成では、添付物に塗布された蛍光塗料が蛍光を発するように紫外線を照射した状態で容器を撮像できるので、添付物から特異的に蛍光が発せられている状態の画像を取得できる。そして、この画像を基礎として判定を行うことによって、蛍光を発する添付物と、蛍光を発しない映り込み像とを明確に区別できる。
また、前記所定の条件が、上面領域からの離間距離が所定の基準値以内であることを含む条件であると、容器の口部周辺や肩部などに添付物が装着される場合に、適切な検査領域を設定できるので、判定精度が向上しうる。
According to these configurations, the presence or absence of an attachment attached to a container can be determined while eliminating the influence of reflection on the container. With the above configuration, the container can be imaged while being irradiated with ultraviolet rays so that the fluorescent paint applied to the attachment emits fluorescence, so it is possible to obtain an image of the attachment specifically emitting fluorescence. By making a determination based on this image, it is possible to clearly distinguish between an attachment that emits fluorescence and a reflected image that does not emit fluorescence.
In addition, if the predetermined condition includes that the distance from the top surface area is within a predetermined reference value, it will be appropriate to attach the attachment to the area around the mouth or shoulder of the container. Since the inspection area can be set, the determination accuracy can be improved.
以下、本発明の好適な態様について説明する。ただし、以下に記載する好適な態様例によって、本発明の範囲が限定されるわけではない。 Hereinafter, preferred embodiments of the present invention will be described. However, the scope of the present invention is not limited to the preferred embodiments described below.
本発明に係る判定装置は、一態様として、前記容器はサポートリングを有し、前記上面領域特定処理において、前記画像データのうちの前記サポートリングに対応する領域の内側を前記上面領域として特定することが好ましい。 In one aspect of the determination device according to the present invention, the container has a support ring, and in the upper surface area specifying process, the inside of the area corresponding to the support ring in the image data is specified as the upper surface area. It is preferable.
この構成によれば、画像データにおいてサポートリングが他の部分より明るく写りやすいことを利用して上面領域を正しく特定でき、これによって判定精度が向上しうる。 According to this configuration, the upper surface area can be correctly specified by utilizing the fact that the support ring tends to appear brighter than other parts in the image data, and thereby the determination accuracy can be improved.
本発明に係る判定装置は、一態様として、前記容器の前記上面には印刷が施されており、前記上面領域特定処理において、前記画像データのうちの前記印刷に対応する領域に基づいて前記上面領域を特定することが好ましい。 In one aspect of the determination device according to the present invention, the upper surface of the container is printed, and in the upper surface area specifying process, the upper surface is determined based on an area corresponding to the printing of the image data. Preferably, the area is specified.
この構成によれば、画像データにおいて容器上面の印刷が他の部分より明るく写りやすいことを利用して上面領域を正しく特定でき、これによって判定精度が向上しうる。 According to this configuration, the upper surface area can be correctly identified by utilizing the fact that the printing on the upper surface of the container tends to appear brighter than other parts in the image data, and thereby the determination accuracy can be improved.
本発明に係る判定装置は、一態様として、前記撮像装置は、一軸上に並べられた複数の前記容器を同時に撮像可能であり、前記演算装置は、前記上面領域特定処理において、複数の前記容器のそれぞれについて前記上面領域を特定し、前記検査領域特定処理において、複数の前記容器のそれぞれについて前記検査領域を特定し、ここで、前記所定の条件は、隣接する二つの前記容器に係る前記検査領域が重複することがないように設定され、前記判定処理において、複数の前記容器のそれぞれについて前記添付物に対応する部分の有無を判定することが好ましい。 In one aspect of the determination device according to the present invention, the imaging device is capable of simultaneously capturing images of a plurality of the containers arranged on one axis, and the arithmetic device is configured to perform imaging of the plurality of containers in the upper surface region specifying process. The upper surface area is specified for each of the containers, and in the inspection area specifying process, the inspection area is specified for each of the plurality of containers, and the predetermined condition is the inspection area for each of the two adjacent containers. Preferably, the regions are set so that they do not overlap, and in the determination process, the presence or absence of a portion corresponding to the attachment is preferably determined for each of the plurality of containers.
この構成によれば、複数の容器を同時に判定する場合であっても、それぞれの容器について適切な判定結果が得られる。特に、隣接する容器に起因する映り込みが生じうる場合であっても、添付物の有無を正確に判定しうる。 According to this configuration, even when a plurality of containers are determined at the same time, appropriate determination results can be obtained for each container. In particular, even if reflections may occur due to adjacent containers, the presence or absence of an attachment can be accurately determined.
本発明に係る判定装置は、一態様として、前記判定処理において、前記添付物に対応する部分が存在すると判定した場合に、前記添付物に対応する部分の数量をさらに判定することが好ましい。 As one aspect of the determination device according to the present invention, when it is determined in the determination process that there is a portion corresponding to the attachment, it is preferable that the determination device further determines the quantity of the portion corresponding to the attachment.
この構成によれば、容器に添付物が添付されていない態様の異常に加えて、容器に過剰の添付物が添付されている態様の異常も検出できる。 According to this configuration, in addition to an abnormality in which no attachment is attached to the container, it is also possible to detect an abnormality in which an excessive attachment is attached to the container.
本発明のさらなる特徴と利点は、図面を参照して記述する以下の例示的かつ非限定的な実施形態の説明によってより明確になるであろう。 Further features and advantages of the invention will become clearer from the following description of exemplary and non-limiting embodiments, written with reference to the drawings.
本発明に係る判定装置、判定方法、判定プログラムの実施形態について、図面を参照して説明する。以下では、本発明に係る判定装置を、ペットボトルB(ボトル状の容器の例)に添付される粘着ラベルL(添付物の例)の有無を判定可能な判定装置1(図1)に適用した例について説明する。 Embodiments of a determination device, a determination method, and a determination program according to the present invention will be described with reference to the drawings. In the following, the determination device according to the present invention is applied to a determination device 1 (FIG. 1) that can determine the presence or absence of an adhesive label L (an example of an attachment) attached to a plastic bottle B (an example of a bottle-shaped container). An example will be explained below.
〔ペットボトルの構成〕
ペットボトルBは、ポリエチレンテレフタレート製のボトル状容器である(図2)。ペットボトルBの肩部には、粘着ラベルLが添付される。粘着ラベルLには、粘着ラベルLがペットボトルBに貼付(添付の例)される前に、あらかじめ蛍光塗料が塗布されている。ペットボトルBの口部は蓋Cによって封止されており、当該口部の下方にはサポートリングSが設けられている。サポートリングSは、口部から径方向外側に延出しており、サポートリングSの直径は蓋Cの直径より大きい。なお、サポートリングSは、ペットボトルBに液体製品を充填する過程において、充填装置によって支持される部分である。
[PET bottle composition]
PET bottle B is a bottle-shaped container made of polyethylene terephthalate (FIG. 2). An adhesive label L is attached to the shoulder of the plastic bottle B. A fluorescent paint is applied to the adhesive label L in advance before the adhesive label L is attached to the plastic bottle B (example attached). The mouth of the plastic bottle B is sealed with a lid C, and a support ring S is provided below the mouth. The support ring S extends radially outward from the mouth, and the diameter of the support ring S is larger than the diameter of the lid C. Note that the support ring S is a part that is supported by the filling device during the process of filling the PET bottle B with a liquid product.
〔判定装置の構成〕
判定装置1は、撮像装置2と、紫外線照射装置3と、演算装置4と、を備える(図1)。撮像装置2は画像データを出力可能なデジタルカメラとして、演算装置4はコンピュータとして、それぞれ実装されている。
[Configuration of determination device]
The determination device 1 includes an imaging device 2, an ultraviolet irradiation device 3, and a calculation device 4 (FIG. 1). The imaging device 2 is implemented as a digital camera capable of outputting image data, and the arithmetic device 4 is implemented as a computer.
ペットボトルBの出荷ラインでは、ペットボトルBを24本(6本×4本)並べた列が形成され、当該列がブランクシートの上にスライドされたのちにブランクシートが箱体に組み立てられる、という手順で、ペットボトルBが24本収容された梱包製品が完成される。本実施形態では、ペットボトルBが24本並べられた列が、ブランクシートの上にスライドされる経路の上方に、撮像装置2が設けられている。撮像装置2は、ペットボトルBの移動方向Xに直交する軸Y上の6本のペットボトルB(一軸上に並べられた複数の容器の例)をその撮像範囲に含むように設けられている。撮像装置2は、ブランクシートの上にスライドされる途中のペットボトルBの列を撮像して画像データ5を生成する。このように、撮像装置2は、ペットボトルBの上方(蓋C側)からペットボトルBを撮像できる。
On the shipping line for PET bottles B, a row of 24 PET bottles B (6 bottles x 4 bottles) is formed, and after the row is slid onto a blank sheet, the blank sheet is assembled into a box. Through these steps, a packaged product containing 24 PET bottles B is completed. In this embodiment, the imaging device 2 is provided above the path along which a row of 24 plastic bottles B is slid onto a blank sheet. The imaging device 2 is provided so that its imaging range includes six PET bottles B (an example of a plurality of containers arranged on one axis) on an axis Y perpendicular to the moving direction X of the PET bottles B. . The imaging device 2 generates
紫外線照射装置3は、撮像装置2の撮像範囲内にある6本のペットボトルBに対して紫外線を照射できるように構成されている。紫外線照射装置3からペットボトルBに対して照射される紫外線は、粘着ラベルLに塗布されている蛍光塗料の励起波長の成分を含んでいる。したがって、粘着ラベルLが紫外線照射装置3から照射された紫外線を受けると、粘着ラベルLに塗布された蛍光塗料が蛍光を発する。撮像装置2は、紫外線照射装置3から紫外線が照射されている状態のペットボトルBを撮像する。 The ultraviolet irradiation device 3 is configured to be able to irradiate six plastic bottles B within the imaging range of the imaging device 2 with ultraviolet rays. The ultraviolet rays irradiated onto the plastic bottle B from the ultraviolet irradiation device 3 contain a component of the excitation wavelength of the fluorescent paint applied to the adhesive label L. Therefore, when the adhesive label L receives ultraviolet rays irradiated from the ultraviolet irradiation device 3, the fluorescent paint applied to the adhesive label L emits fluorescence. The imaging device 2 images the PET bottle B that is being irradiated with ultraviolet light from the ultraviolet irradiation device 3.
演算装置4は、撮像装置2が撮像した画像データ5を取得可能であるとともに、画像データ5に基づいて粘着ラベルLの有無を判定する一連の処理を実行可能なコンピュータとして実装されている。以下では、粘着ラベルLの有無を判定する一連の処理について順に説明する。なお、各処理は、画像データ5の6本のペットボトルBのそれぞれに対応する部分ごとに行われる。
The arithmetic device 4 is implemented as a computer capable of acquiring
第一に、演算装置4は、画像データ5を取得する。粘着ラベルLは蛍光を発しているため、画像データ5において粘着ラベルLに対応する部分は、他の領域に比べて明確に輝度が高い。また、サポートリングSはペットボトルBの他の領域に比べて肉厚に形成されているため光を乱反射しており、これによって画像データ5において他の領域より輝度が高くなりやすい。加えて、蓋Cの上面に施された印刷物を形成する材料に、蛍光を発する物質が一部含まれているため、当該印刷物の部分も、画像データ5において他の領域より輝度が高くなりやすい。
First, the computing device 4 acquires the
第二に、演算装置4は、画像データ5の二値化処理を行う。二値化処理後の画像データ51の模式図を図4に示す。図4では、二値化処理後の明領域のみが着色されており、着色されていない領域は暗領域を表す。また図4では、撮像対象の6本のペットボトルBに対応する部分を破線で示している。
Second, the arithmetic device 4 performs a binarization process on the
二値化処理後の画像データ51には、粘着ラベルLに対応する部分(明領域52)、サポートリングSに対応する部分(明領域53)、および蓋Cの上面の印刷物に対応する部分(明領域54)が存在する。明領域52は、粘着ラベルLに対応する形状の明領域として現れ、粘着ラベルLが蛍光を発しているため画像データ51中で最も輝度が高い。明領域53は、サポートリングSに対応する円環状の明領域として現れる。明領域54は、蓋Cの上面の印刷物の形状(本実施形態では星型)に対応する形状の明領域として現れる。明領域53および明領域54と暗領域との境界は、明領域52と暗領域との境界に比べて不明瞭な場合がある。二値化処理の閾値は、明領域53および明領域54の少なくとも一方が明領域として認識される限りにおいて、できる限り大きな値に設定することが好ましい。
The
第三に、演算装置4は、画像データ51のうちの、蓋Cの上面(容器の上面の例)に対応する領域である上面領域55を特定する上面領域特定処理を実行する。画像データ51において、サポートリングSに対応する明領域53が特定されている場合は、明領域53の内側を上面領域55として特定する。画像データ51において、蓋Cの上面の印刷物に対応する明領域54が特定されている場合は、明領域54を中心に拡がる所定の範囲を上面領域55として特定する。明領域53に基づく特定方法と、明領域54に基づく特定方法とは、いずれを採用してもよく、たとえばペットボトルBごとにより好ましい特定方法を用いてもよい。ここで、より好ましい特定方法は、たとえば、明領域53および明領域54のうちの輝度が高いものを基準とする特定方法を選択する、などの基準により選択されうる。
Thirdly, the arithmetic device 4 executes an upper surface area specifying process for specifying an
第四に、演算装置4は、上面領域55の径方向外側に拡がる領域を検査領域56として特定する検査領域特定処理を実行する。具体的には、上面領域55の中心を中心とする一辺65mmの正方形状の範囲(上面領域を基準とする所定の条件の例)を、検査領域56として特定する。ここで、検査領域56の一辺の長さ(65mm)は、ペットボトルBの上面図寸法を考慮して設定され、並べられた状態のペットボトルBの中心軸間の離間距離Dx(図3)より小さい値に設定される。これによって、検査領域56は、画像データ51におけるあるペットボトルBに対応する部分をほぼ包含し、かつ、隣接するペットボトルBに対応する部分をその領域内に含まないように特定される。このとき、複数のペットボトルBに関連する検査領域56同士が重複することがない。なお、ペットボトルBの上面図寸法が異なれば検査領域56の適切な範囲の大きさも異なるので、検査領域56の一辺の長さはペットボトルBの上面図寸法に応じて適宜設定される。
Fourth, the arithmetic device 4 executes an inspection area specifying process for specifying an area extending radially outward of the
第五に、演算装置4は、検査領域56における粘着ラベルLに対応する部分の有無を判定する判定処理を実行する。本実施形態では、粘着ラベルLがペットボトルBの肩部から上方に立ち上がる形で貼付されているので、上面領域55の外側に拡がる検査領域56に明領域52が存在する場合、粘着ラベルLが貼付されていると判定する。反対に、検査領域56内に明領域52が存在しない場合は、粘着ラベルLが貼付されていないと判定する。これによって、ペットボトルBに粘着ラベルLが貼付されていない態様の異常を検出しうる。
Fifth, the arithmetic device 4 executes a determination process for determining the presence or absence of a portion corresponding to the adhesive label L in the
このように本実施形態では、粘着ラベルLに塗布された蛍光塗料に起因して、画像データ51において粘着ラベルLに対応する部分が明領域52として現れることに基づいて、粘着ラベルLの有無を判定する。そのため、判定結果は、ペットボトルBの肩部に映り込む物体の影響を受けない。
As described above, in this embodiment, the presence or absence of the adhesive label L is determined based on the fact that the portion corresponding to the adhesive label L appears as a
また、検査領域56内に明領域52が存在する場合、検査領域56内における明領域52の数量を同時に検出する。明領域52の数量は、ペットボトルBに貼付されている粘着ラベルLの数量に対応するので、たとえば、一本のペットボトルBに複数の粘着ラベルLが貼付されている態様の異常を検出しうる。
Furthermore, when
演算装置4は、以上の一連の処理を、画像データ5の、6本のペットボトルBのそれぞれに対応する部分ごとに行う。そして、6本のペットボトルBのそれぞれに一つずつの粘着ラベルLが貼付されている場合に、当該6本のペットボトルBが正常であると判定する。さらに、この判定を4回繰り返して、梱包単位である24本のペットボトルBのそれぞれに一つずつの粘着ラベルLが貼付されていると判定された場合に、当該24本のペットボトルBが正常であると判定する。反対に、24本のペットボトルBのうちの少なくとも一本に、粘着ラベルLが貼付されていない態様、または複数の粘着ラベルLが貼付されている態様の異常を検出した場合は、当該異常が検出されたペットボトルBを含む24本のペットボトルBが異常であると判定する。このとき演算装置4は、異常が発生した旨を管理者に知らせるための警報を発するための信号、異常であると判定されたペットボトルBを含む梱包体を出荷対象の製品から排斥する動作を、出荷ラインを構成する装置に行わせるための信号、および、出荷ラインを構成する各装置の動作を停止するための信号、を発信する。
The arithmetic device 4 performs the above series of processes for each portion of the
〔その他の実施形態〕
最後に、本発明に係る判定装置、判定方法、判定プログラムのその他の実施形態について説明する。なお、以下のそれぞれの実施形態で開示される構成は、矛盾が生じない限り、他の実施形態で開示される構成と組み合わせて適用することも可能である。
[Other embodiments]
Finally, other embodiments of the determination device, determination method, and determination program according to the present invention will be described. Note that the configurations disclosed in each of the embodiments below can be applied in combination with the configurations disclosed in other embodiments as long as no contradiction occurs.
上記の実施形態では、判定装置1が、ペットボトルBに添付される粘着ラベルLの有無を判定可能に構成されている例について説明した。しかし、本発明において判定対象とする添付物の形状は、ボトル状の容器に添付されうる形状である限り限定されず、たとえば容器の口部に嵌着されるタグであってもよい。 In the embodiment described above, an example in which the determination device 1 is configured to be able to determine the presence or absence of the adhesive label L attached to the plastic bottle B has been described. However, the shape of the attachment to be determined in the present invention is not limited as long as it can be attached to a bottle-shaped container, and may be, for example, a tag fitted to the mouth of the container.
上記の実施形態では、上面領域特定処理に先立って二値化処理を行い、二値化処理後の画像データ51に基づいて上面領域特定処理を実行する構成を例として説明した。しかし、本発明において、上面領域特定処理に先立って行われる前処理の段階が設けられてもよいし、設けられなくてもよい。また、かかる前処理は、上記に例示した二値化処理に限定されず、画像解析の分野で通常用いられる任意の処理が適用されうる。
In the above-described embodiment, the configuration has been described as an example in which the binarization process is performed prior to the top area specifying process, and the top area specifying process is executed based on the
上記の実施形態では、上面領域特定処理において上面領域を特定する方法として、サポートリングSに対応する明領域53の内側を上面領域55として特定する方法、および、蓋Cの上面の印刷物に対応する明領域54を中心に拡がる所定の範囲を上面領域55として特定する方法、を例示した。しかし、本発明において上面領域を特定する方法は特に限定されず、たとえば、容器の上面とその他の部分との色彩の違いに基づいて上面領域を特定する方法であってもよい。
In the above embodiment, as a method for specifying the upper surface area in the upper surface area specifying process, there is a method of specifying the inside of the
上記の実施形態では、検査領域特定処理において、上面領域55の中心を中心とする正方形状の範囲を検査領域56として特定する構成を例として説明した。しかし、本発明において検査領域を特定する方法は特に限定されず、たとえば、上面領域を中心に拡がる円形の領域を検査領域として特定してもよい。
In the above embodiment, the configuration has been described as an example in which a square range centered on the center of the
本発明において、判定処理における具体的なアルゴリズムは、容器および添付物の形状や添付物の添付方法などに応じて適宜設定されうる。また、たとえば、容器および添付物が存在する場合と、容器のみが存在する場合と、の双方または一方について教師データを用意し、当該教師データに基づいて演算装置に学習済みモデルを構築させれば、当該学習済みモデルに基づいて添付物に対応する部分の有無を判定できる。 In the present invention, a specific algorithm for the determination process can be set as appropriate depending on the shape of the container and the attachment, the attachment method of the attachment, and the like. Also, for example, if you prepare training data for both or one of the case where a container and attachments exist and the case where only a container exists, and have the arithmetic device construct a trained model based on the training data, , it is possible to determine whether there is a part corresponding to the attachment based on the learned model.
上記の実施形態では、一軸上に6本のペットボトルBが並べられた列を一括して撮像し、当該6本のペットボトルBにおける粘着ラベルLの有無を一括で判定する構成を例として説明した。しかし、本発明において一度に判定対象とする容器は、単数であっても複数であってもよい。 In the above embodiment, an example of a configuration will be described in which a row of six plastic bottles B arranged on one axis is imaged at once, and the presence or absence of the adhesive label L on the six plastic bottles B is determined at once. did. However, in the present invention, the number of containers to be determined at one time may be singular or plural.
その他の構成に関しても、本明細書において開示された実施形態は全ての点で例示であって、本発明の範囲はそれらによって限定されることはないと理解されるべきである。当業者であれば、本発明の趣旨を逸脱しない範囲で、適宜改変が可能であることを容易に理解できるであろう。したがって、本発明の趣旨を逸脱しない範囲で改変された別の実施形態も、当然、本発明の範囲に含まれる。 Regarding other configurations, it should be understood that the embodiments disclosed in this specification are illustrative in all respects, and the scope of the present invention is not limited thereby. Those skilled in the art will easily understand that modifications can be made as appropriate without departing from the spirit of the present invention. Therefore, other embodiments that are modified without departing from the spirit of the present invention are naturally included within the scope of the present invention.
本発明は、たとえばペットボトルに添付される粘着ラベルの有無の判定に利用することができる。 The present invention can be used, for example, to determine the presence or absence of an adhesive label attached to a plastic bottle.
1 :判定装置
2 :撮像装置
3 :紫外線照射装置
4 :演算装置
5 :画像データ
51 :二値化処理された画像データ
52 :明領域(ラベル)
53 :明領域(サポートリング)
54 :明領域(印刷物)
55 :上面領域
56 :検査領域
B :ペットボトル
S :サポートリング
C :蓋
L :粘着ラベル
1: Judgment device 2: Imaging device 3: Ultraviolet irradiation device 4: Arithmetic device 5: Image data 51: Binarized image data 52: Bright area (label)
53: Bright area (support ring)
54: Bright area (printed matter)
55: Top area 56: Inspection area B: Plastic bottle S: Support ring C: Lid L: Adhesive label
Claims (7)
前記容器を、当該容器の上面側から撮像可能な撮像装置と、
前記容器に対して紫外線を照射可能な紫外線照射装置と、
演算装置と、を備え、
前記演算装置は、
前記撮像装置が撮像した画像データを取得する取得処理と、
前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定処理と、
前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定処理と、
前記検査領域における前記添付物に対応する部分の有無を判定する判定処理と、を実行可能に構成されており、
前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件である判定装置。 A determination device capable of determining the presence or absence of an attachment attached to a bottle-shaped container, at least a portion of which is coated with fluorescent paint,
an imaging device capable of capturing an image of the container from the top side of the container;
an ultraviolet irradiation device capable of irradiating the container with ultraviolet rays;
comprising a computing device;
The arithmetic device is
an acquisition process of acquiring image data captured by the imaging device;
a top surface area specifying process for specifying a top surface area that is a region corresponding to the top surface in the image data;
Inspection area specifying processing that specifies, as an inspection area, an area of the image data that is extracted according to a predetermined condition based on the upper surface area;
a determination process for determining the presence or absence of a portion corresponding to the attachment in the inspection area ;
In the determination device, the predetermined condition includes that a distance from the upper surface area is within a predetermined reference value .
前記上面領域特定処理において、前記画像データのうちの前記サポートリングに対応する領域の内側を前記上面領域として特定する請求項1に記載の判定装置。 the container has a support ring;
2. The determination device according to claim 1 , wherein in the upper surface area specifying process, an inner side of a region of the image data corresponding to the support ring is specified as the upper surface area.
前記上面領域特定処理において、前記画像データのうちの前記印刷に対応する領域に基づいて前記上面領域を特定する請求項1または2に記載の判定装置。 The upper surface of the container is printed,
3. The determination device according to claim 1, wherein in the upper surface area specifying process, the upper surface area is specified based on an area corresponding to the printing of the image data.
前記演算装置は、
前記上面領域特定処理において、複数の前記容器のそれぞれについて前記上面領域を特定し、
前記検査領域特定処理において、複数の前記容器のそれぞれについて前記検査領域を特定し、ここで、前記所定の条件は、隣接する二つの前記容器に係る前記検査領域が重複することがないように設定され、
前記判定処理において、複数の前記容器のそれぞれについて前記添付物に対応する部分の有無を判定する請求項1~3のいずれか一項に記載の判定装置。 The imaging device is capable of simultaneously imaging a plurality of containers arranged on one axis,
The arithmetic device is
In the upper surface area specifying process, specifying the upper surface area for each of the plurality of containers,
In the inspection area specifying process, the inspection area is specified for each of the plurality of containers, and the predetermined condition is set so that the inspection areas of two adjacent containers do not overlap. is,
4. The determination device according to claim 1, wherein in the determination process, the presence or absence of a portion corresponding to the attachment is determined for each of the plurality of containers.
前記添付物の少なくとも一部に蛍光塗料が塗布されており、
前記容器を上面側から撮像した画像データを取得する取得工程と、
前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定工程と、
前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定工程と、
前記検査領域における前記添付物に対応する部分の有無を判定する判定工程と、を含み、
前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件である判定方法。 A determination method in which a determination device including an imaging device, an ultraviolet irradiation device, and a calculation device determines the presence or absence of an attachment attached to a bottle-shaped container,
At least a portion of the attachment is coated with fluorescent paint,
an acquisition step of acquiring image data obtained by imaging the container from the top side;
a top surface region specifying step of specifying a top surface region that is a region corresponding to the top surface in the image data;
an inspection area specifying step of specifying, as an inspection area, an area of the image data that is extracted according to a predetermined condition based on the upper surface area;
a determination step of determining the presence or absence of a portion corresponding to the attachment in the inspection area ,
In the determination method, the predetermined condition is a condition including that a separation distance from the upper surface area is within a predetermined reference value .
前記画像データのうちの、前記上面に対応する領域である上面領域を特定する上面領域特定処理と、
前記画像データのうちの、前記上面領域を基準とする所定の条件に従って抽出される領域を、検査領域として特定する検査領域特定処理と、
前記検査領域における前記添付物に対応する部分の有無を判定する判定処理と、をコンピュータに実行させ、
前記所定の条件は、前記上面領域からの離間距離が所定の基準値以内であることを含む条件である判定プログラム。 A determination program capable of determining the presence or absence of an attachment attached to a bottle-shaped container, at least a portion of which is coated with fluorescent paint, based on image data obtained by imaging the container from the top side,
a top surface area specifying process for specifying a top surface area that is a region corresponding to the top surface in the image data;
Inspection area specifying processing that specifies, as an inspection area, an area of the image data that is extracted according to a predetermined condition based on the upper surface area;
causing a computer to execute a determination process of determining the presence or absence of a portion corresponding to the attachment in the inspection area ;
The determination program includes the predetermined condition including that a distance from the upper surface area is within a predetermined reference value .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021035069A JP7442475B2 (en) | 2021-03-05 | 2021-03-05 | Judgment device, judgment method, and judgment program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021035069A JP7442475B2 (en) | 2021-03-05 | 2021-03-05 | Judgment device, judgment method, and judgment program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022135329A JP2022135329A (en) | 2022-09-15 |
JP7442475B2 true JP7442475B2 (en) | 2024-03-04 |
Family
ID=83232105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021035069A Active JP7442475B2 (en) | 2021-03-05 | 2021-03-05 | Judgment device, judgment method, and judgment program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7442475B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102006003325A1 (en) | 2006-01-24 | 2007-07-26 | Syscona Kontrollsysteme Gmbh | Container, e.g. bottles characteristics, e.g. color identification method involves guiding of coherent blind grill between protruding containers in all relevant intermediate spaces |
JP2009162728A (en) | 2008-01-10 | 2009-07-23 | Omron Corp | Transparent body inspection apparatus, transparent body inspection method, and transparent body inspection system |
US20200380229A1 (en) | 2018-12-28 | 2020-12-03 | Aquifi, Inc. | Systems and methods for text and barcode reading under perspective distortion |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004012294A (en) * | 2002-06-06 | 2004-01-15 | Suntory Ltd | Label inspection method and label inspection device |
-
2021
- 2021-03-05 JP JP2021035069A patent/JP7442475B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102006003325A1 (en) | 2006-01-24 | 2007-07-26 | Syscona Kontrollsysteme Gmbh | Container, e.g. bottles characteristics, e.g. color identification method involves guiding of coherent blind grill between protruding containers in all relevant intermediate spaces |
JP2009162728A (en) | 2008-01-10 | 2009-07-23 | Omron Corp | Transparent body inspection apparatus, transparent body inspection method, and transparent body inspection system |
US20200380229A1 (en) | 2018-12-28 | 2020-12-03 | Aquifi, Inc. | Systems and methods for text and barcode reading under perspective distortion |
Also Published As
Publication number | Publication date |
---|---|
JP2022135329A (en) | 2022-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10074169B2 (en) | Method and apparatus for detecting bubbles and/or creases on labeled containers | |
CA2774339A1 (en) | Methods and devices for classifying objects | |
JP2011133496A (en) | Device and method for detecting contamination in container | |
US20230175976A1 (en) | Method and device for inspecting containers | |
CN115428015A (en) | Method and apparatus for optically inspecting a container in a beverage processing system | |
JP2005091243A (en) | Empty bottle inspection system | |
JP2008281477A (en) | Label inspection method | |
EP1708931B1 (en) | Storage unit with identifying markings | |
JP7442475B2 (en) | Judgment device, judgment method, and judgment program | |
JP7272550B2 (en) | Label inspection device | |
US11624711B2 (en) | Method and device for the optical inspection of containers | |
JP7442474B2 (en) | Judgment device, judgment method, and judgment program | |
US20230081638A1 (en) | Production line management system, production line management method, can management system, can, manufacturing method for can | |
JP2007161327A (en) | Inspecting apparatus, container with shrink label, and shrink label | |
JP6420065B2 (en) | Inspection device | |
JP4851891B2 (en) | Weighing device and packaging weighing system | |
JP2016017810A (en) | Container inspection apparatus and container inspection method | |
JP5974575B2 (en) | Mouth inspection device and mouth inspection method | |
JP3986534B2 (en) | Empty bottle inspection system | |
JP2019021233A (en) | Can-top detector and can-top detection method | |
JP5919842B2 (en) | Inspection apparatus and inspection method | |
JP2018044890A (en) | Container mounted film detection device, film mounted container detection system, and container mounted film detection method | |
JP6878093B2 (en) | Attachment detection device and detection method | |
Killough | Revolutionizing Quality Control: How AI Vision Is Setting New Industry Standards | |
JP6363735B2 (en) | Inspection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231122 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240117 |
|
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: 20240123 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240220 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7442475 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |