JP2022068654A - Inspection device - Google Patents
Inspection device Download PDFInfo
- Publication number
- JP2022068654A JP2022068654A JP2020177447A JP2020177447A JP2022068654A JP 2022068654 A JP2022068654 A JP 2022068654A JP 2020177447 A JP2020177447 A JP 2020177447A JP 2020177447 A JP2020177447 A JP 2020177447A JP 2022068654 A JP2022068654 A JP 2022068654A
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- inspection device
- inspection
- image
- unit
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、検査装置に関する。 The present invention relates to an inspection device.
例えば、パン、おにぎり、及び弁当等の商品には、商品名、賞味期限、原材料、バーコード等の商品関連情報が記載された商品ラベルが貼付されている。これらの商品を製造する工場等では、製造された商品に貼付する商品ラベルが、当該商品に貼付されるべき商品ラベルとして正しい商品関連情報が印刷されたものであるか否かの検査が実施されている。このような検査を実施する検査装置として、例えば特許文献1には、商品ラベルに印字されるべきバーコードが印字切れすることなく印字されているか否かを検査するラベル検査装置が開示されている。 For example, products such as bread, rice balls, and lunch boxes are affixed with product labels containing product-related information such as product names, expiration dates, raw materials, and barcodes. At factories that manufacture these products, inspections are carried out to see if the product label affixed to the manufactured product has the correct product-related information printed as the product label to be affixed to the product. ing. As an inspection device for performing such an inspection, for example, Patent Document 1 discloses a label inspection device for inspecting whether or not a barcode to be printed on a product label is printed without being cut off. ..
しかしながら、上記従来のラベル検査装置の検査結果において印字切れが無いと判定された商品ラベルのバーコードであっても、商品が出荷される店舗に配置されるスキャナの一部で読取不能になるという不具合が発生することがあった。スキャナでバーコードが読み取れない場合、店舗において商品を適切に処理できない等の問題が発生する。 However, even if the barcode of the product label is determined to have no print breakage in the inspection result of the conventional label inspection device, it cannot be read by a part of the scanner installed in the store where the product is shipped. Problems sometimes occurred. If the barcode cannot be read by the scanner, problems such as the inability to properly process the product in the store will occur.
そこで、本発明は、スキャナによって読取不能になる可能性のあるバーコードを不良品として判定できる検査装置を提供することを目的とする。 Therefore, an object of the present invention is to provide an inspection device capable of determining a barcode that may become unreadable by a scanner as a defective product.
本発明に係る検査装置は、商品に付されたバーコードを検査する検査装置であって、バーコードを撮像して生成されたバーコード画像を取得する取得部と、バーコード画像に基づいてバーコードを検査する検査部と、を備え、検査部は、バーコード画像をコード情報に変換できるか否かの判定結果と、バーコード画像に基づいて評価されるバーコードの印刷品質の評価結果とに基づいて、バーコードの良否を判定する。 The inspection device according to the present invention is an inspection device for inspecting a barcode attached to a product, and has an acquisition unit for acquiring a barcode image generated by imaging the barcode and a bar based on the barcode image. It is equipped with an inspection unit that inspects the code, and the inspection unit includes a determination result of whether or not the barcode image can be converted into code information, and an evaluation result of the print quality of the barcode evaluated based on the barcode image. The quality of the barcode is determined based on.
本願発明者らは、商品ラベル等に印刷されたバーコードがスキャナによって読取不能になるという不具合は、印刷されたバーコードの印刷品質に起因することを見出した。本発明の構成では、コード情報に変換できるか否かの判定結果という指標に加え、バーコードの印刷品質をバーコードの良否判定を一つの指標としているので、スキャナによって読取不能になる可能性のあるバーコードを不良品として判定できる。 The inventors of the present application have found that the problem that the barcode printed on the product label or the like becomes unreadable by the scanner is caused by the print quality of the printed barcode. In the configuration of the present invention, in addition to the index of the determination result of whether or not the code information can be converted, the print quality of the barcode is used as one index of the quality of the barcode, so that it may become unreadable by the scanner. A certain barcode can be determined as a defective product.
本発明に係る検査装置において検査されるバーコードは、バー及びスペースからなるエレメントによって構成されており、検査部は、バーコード画像から抽出されるエレメントの少なくとも一部の欠け及び/又はエレメントの少なくとも一部の掠れに基づいて印刷品質を評価してもよい。本願発明者らは、バーコードを印刷するサーマルヘッドにゴミ等が付着することによって発生する、エレメントの少なくとも一部の欠けたバーコード、及び/又はエレメントの少なくとも一部が掠れたバーコードが、スキャナによって読取不能になる可能性が高いことを見出した。この構成では、エレメントの少なくとも一部の欠け、及び/又は、エレメントの少なくとも一部の掠れが評価されるので、スキャナによって読取不能になる可能性のあるバーコードの検知性能を高めることができる。 The barcode to be inspected in the inspection apparatus according to the present invention is composed of an element consisting of a bar and a space, and the inspection unit is responsible for chipping at least a part of the element extracted from the barcode image and / or at least the element. The print quality may be evaluated based on some blurring. The inventors of the present application have described that a barcode in which at least a part of an element is missing and / or a barcode in which at least a part of an element is blurred, which is generated by adhesion of dust or the like to a thermal head for printing a barcode. We have found that it is likely that the scanner will make it unreadable. In this configuration, the missing of at least a part of the element and / or the blurring of at least a part of the element is evaluated, so that the bar code detection performance that may be unreadable by the scanner can be improved.
本発明に係る検査装置では、検査部は、バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及びモジュレーションの二つの評価パラメータに基づいて、エレメントの少なくとも一部の欠け及び/又は前記エレメントの少なくとも一部の掠れを評価してもよい。この構成では、エレメントの少なくとも一部の欠けの度合、及び/又は、エレメントの少なくとも一部の掠れの度合について、適切かつ客観的に評価することができる。 In the inspection device according to the present invention, the inspection unit sets the bar code image based on two evaluation parameters of defect and modulation, which are evaluation parameters for determining the grade of the bar code symbol defined by the Japanese Industrial Standards. At least a portion of the missing and / or at least a portion of the element may be assessed for blurring. In this configuration, the degree of chipping of at least a part of the element and / or the degree of blurring of at least a part of the element can be evaluated appropriately and objectively.
本発明に係る検査装置では、検査部は、バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥、モジュレーション、及び復号容易度の三つの評価パラメータに基づいて、エレメントの少なくとも一部の欠け及び/又はエレメントの少なくとも一部の掠れを評価してもよい。この構成では、エレメントの少なくとも一部の欠けの度合、及び/又は、エレメントの少なくとも一部の掠れの度合について、適切かつ客観的に評価することができる。 In the inspection device according to the present invention, the inspection unit has three evaluation parameters of defect, modulation, and decoding ease, which are evaluation parameters for determining the grade of the barcode symbol defined by the Japanese Industrial Standards for the barcode image. At least a part of the element may be chipped and / or at least a part of the element may be blurred based on the above. In this configuration, the degree of chipping of at least a part of the element and / or the degree of blurring of at least a part of the element can be evaluated appropriately and objectively.
本発明に係る検査装置では、検査部は、予め記憶された閾値に基づいて印刷品質が一定の水準を有しているか否かを判定し、閾値は、バーコードをスキャンするバーコードリーダによって読み取ることができるバーコード又は読み取ることができないバーコードの評価結果に基づいて定められていてもよい。この構成では、対象のバーコードがバーコードリーダによって読み取ることができるか否かをより確実に判定することができる。 In the inspection apparatus according to the present invention, the inspection unit determines whether or not the print quality has a certain level based on a threshold value stored in advance, and the threshold value is read by a barcode reader that scans the barcode. It may be determined based on the evaluation result of a bar code that can be read or a bar code that cannot be read. In this configuration, it is possible to more reliably determine whether or not the target barcode can be read by the barcode reader.
本発明に係る検査装置は、評価パラメータの種類及び閾値を設定する設定部を更に備えてもよい。この構成では、バーコードの印刷品質を判定するにあたり適切な評価パラメータを設定することができる。 The inspection device according to the present invention may further include a setting unit for setting the type of evaluation parameter and the threshold value. In this configuration, appropriate evaluation parameters can be set in determining the print quality of the barcode.
本発明によれば、スキャナによって読取不能になる可能性のあるバーコードを不良品として判定できる。 According to the present invention, a barcode that may become unreadable by a scanner can be determined as a defective product.
以下、添付図面を参照して、本発明の好適な実施形態について詳細に説明する。なお、図面の説明において同一又は相当要素には同一符号を付し、重複する説明は省略する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the description of the drawings, the same or equivalent elements are designated by the same reference numerals, and duplicate description will be omitted.
図1に示されるように、包装システム1は、搬送装置3と、印刷装置4と、検査装置5と、包装装置6と、を備えている。包装システム1では、例えば、食品等の物品を包装する。包装システム1では、物品を包装するフィルムFに印刷を行い、印刷されたフィルムFの印字内容の検査を行い、印刷を行った包装フィルムRFで物品を包装する。
As shown in FIG. 1, the packaging system 1 includes a transport device 3, a
搬送装置3は、長尺状のフィルムFが巻回されたフィルムロールFRを支持する支持部9と、フィルムロールFRから供給されたフィルムFを搬送する駆動ローラ11と、駆動ローラ11によって搬送されるフィルムFを切断する切断部13と、支持部9と駆動ローラ11との間の搬送経路を形成するガイドローラ15,16,17,18,19と、を備えている。フィルムFは、フィルムロールFRから切断部13までの間、一続きに延在している。
The transport device 3 is conveyed by a
支持部9は、フィルムロールFRを回転可能に支持する。支持部9は、印刷装置4よりもフィルムFの搬送経路の上流側に設けられている。駆動ローラ11は、フィルムの搬送経路において印刷装置4と切断部13との間に設けられている。駆動ローラ11は、フィルムFを搬送すると共に、所定のタイミングでフィルムFの搬送を一時的に停止させる。所定のタイミングは、フィルムFを一定量搬送するように設定されている。所定のタイミングは、切断部13がフィルムFを切断するタイミングにも相当する。
The
駆動ローラ11は、一対のローラ11a,11bを含んで構成されている。駆動ローラ11では、一対のローラ11a,11bによってフィルムFを上下方向において挟み、一対のローラ11a,11bが回転することによって、フィルムFを搬送する。一対のローラ11a,11bの少なくとも一方は、駆動部(図示省略)によって回転駆動される。切断部13は、駆動ローラ11によってフィルムFの搬送が一時的に停止されたときに、フィルムFを切断する。切断部13は、駆動ローラ11の一対のローラ11a,11bの回転が停止したタイミングでフィルムFを切断する。切断部13によって切断されたフィルムFは、包装フィルムRFとなる。フィルムロールFRと駆動ローラ11との間のフィルムFの搬送経路を形成する複数のガイドローラ15,16,17,18,19の数及び位置は、適宜設定される。
The
印刷装置4は、フィルムFに印刷を行う。印刷装置4は、搬送ローラ41と、印刷部42と、ダンサローラ43と、を備えている。
The
搬送ローラ41は、フィルムロールFRの下流側に配置されている。搬送ローラ41は、切断部13よりもフィルムFの搬送経路の上流側に設けられている。搬送ローラ41は、フィルムFの下方に位置し、フィルムFの下面に接触可能である。搬送ローラ41は、印刷装置4の筐体部(図示せず)に回転可能に支持されている。
The
印刷部42は、サーマルヘッド(図示せず)に組み込まれた発熱素子を加熱することによって熱転写インクリボンを加熱し、この加熱によって融解したインクをフィルムFに転写することにより印字する。本実施形態の印刷部42は、フィルムFに商品ラベル90を印字する。商品ラベル90として印字される内容には、図3に示されるように、バーコード93が含まれており、その他の情報として、商品名、原材料名、消費期限、保存方法、及び製造者情報等の商品情報91が含まれている。バーコード93は、バー(エレメント)93Aと、スペース(エレメント)93Bとからなり、英字・数字等を表現した符号である。本実施形態のバー93Aの色は黒であり、スペース93Bは白であるが、これに限定されない。
The
図1に戻り、ダンサローラ43は、フィルムFの搬送経路において搬送ローラ41と切断部13との間に設けられている。ダンサローラ43は、搬送されるフィルムFの上方に位置し、フィルムFの上面に接触可能である。ダンサローラ43は、鉛直方向に沿って移動可能に設けられており、ダンサローラ43が適時移動することによりフィルムFの弛みを吸収する。
Returning to FIG. 1, the
検査装置5は、フィルムFによって包装された物品(商品)に付されたバーコードを検査する。より詳細には、検査装置5は、印刷装置4の印刷部42によって印字されたバーコード93を検査する。検査装置5は、カメラ51と、照明部53と、制御部55と、表示操作部57と、を備えている。
The
カメラ51は、印刷部42によって印刷されたフィルムFの印刷面を撮像する。カメラ51は、例えば、ガイドローラ15とガイドローラ16との間を搬送されるフィルムを撮像する。照明部53は、ガイドローラ15とガイドローラ16との間に設けられており、カメラ51に対しフィルムFが搬送される領域を挟んで配置されている。このような構成では、カメラ51は、フィルムFの印刷面とは反対側の裏面から光が照射されたフィルムFを撮像することができる。カメラ51は、撮像した画像を制御部55に出力する。
The
制御部55は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、I/Oポート及び通信ポート等からなる電子制御ユニットである。表示操作部57は、検査装置5を含む包装システム1全体を操作可能とする部分であり、また包装システム1全体の状態を表示する部分である。制御部55及び表示操作部57は、筐体5Bに設けられている。検査装置5は、印刷装置4と一体に設けられている。より詳細には、カメラ51が設けられる筐体5Aと印刷部42が設けられる筐体4Aとは、連結部5Bbによって連結されている。また、制御部55及び表示操作部57が設けられる筐体5Bと印刷部42が設けられる筐体4Aとは、連結部5Baによって連結されている。
The
図2に示されるように、制御部55は、CPU及び主記憶部等のハードウェア上に所定のコンピュータソフトウェアを読み込ませることにより形成される、取得部55Aと、検査部55Bと、設定部55Cと、を有している。取得部55A、検査部55B、及び設定部55Cは、CPUの制御のもと実行される。
As shown in FIG. 2, the
取得部55Aは、バーコード93を撮像して生成されたバーコード画像を取得する。本実施形態の取得部55Aは、カメラ51によって撮像されたバーコード画像を有線又は無線の通信手段を介して取得する。検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいてバーコード93を検査する。検査部55Bは、バーコード画像をコード情報に変換できるか否かの判定結果と、バーコード画像に基づいて評価されるバーコード93の印刷品質に評価結果とに基づいて、バーコード93の良否を判定する。
The
バーコード画像をコード情報に変換できるか否かの判定方法について説明する。当該判定は、バーコード93が印字すべき情報として正しく印字されているか否かを確認するために行われる。本実施形態の検査部55Bは、バーコード画像に基づいて変換されたコード情報と予め記憶されたコード情報とが一致した場合、バーコード画像をコード情報に変換できたと判定し、バーコード画像に基づいて変換されたコード情報と予め記憶されたコード情報とが一致しない場合、又はコード情報に変換できない場合、バーコード画像をコード情報に変換できないと判定する。検査部55Bは、バーコード画像をバーコードとして認識できない場合も、同様に、バーコード画像をコード情報に変換できないと判定する。
A method of determining whether or not a barcode image can be converted into code information will be described. The determination is performed to confirm whether or not the
次に、バーコード画像に基づくバーコード93の印刷品質の評価について説明する。当該評価は、印字されたバーコード93が店舗等に配備されたバーコードリーダ(スキャナ)によって読み取られるか否かを確認するために行われる。バーコードリーダは、バーコード93に光を当て、その反射光を捉えることによってバー93A及びスペース93Bを2値のデジタル信号として置き換える事でコード情報に変換する装置である。このようなバーコードリーダには、CCD(Charge Coupled Device)方式、レーザー方式、及びペン方式のバーコードリーダが含まれる。
Next, the evaluation of the print quality of the
バーコード93の印刷品質は、エレメント(バー93A及び/又はスペース93B)の少なくとも一部に欠けがあるか否か、及び/又は、エレメント(バー93A及び/又はスペース93B)の少なくとも一部に掠れがあるか否かによって評価される。
The print quality of the
ここでいう欠けには、図4(A)に示されるようにバー93Aの一部がライン状(白色筋等)に欠ける態様、図示しないがスペース93Bの一部がライン状(有色筋等)に欠ける態様、図4(C)に示されるようにバー93Aの一部がドット状に欠ける態様(ボイド)、及び図4(D)に示されるようにスペース93Bの一部がドット状に欠ける態様(スポット)が含まれる。
As shown in FIG. 4A, a part of the
また、ここでいう掠れには、図4(B)に示されるようにバー93Aの一部に掠れ(むら)がある態様、及び図示はしないがスペース93Bの一部にむらがある態様が含まれる。スペース93Bにおける掠れ(むら)とは、汚れであったり、意図しない印字(インクの付着)等であったりする。
Further, the blurring referred to here includes a mode in which there is blurring (unevenness) in a part of the
本実施形態の検査部55Bでは、バーコード93の印刷品質は、エレメントの少なくとも一部に欠けがあるか否かという点と、エレメントの少なくとも一部に掠れがあるか否かという点とによって評価される。
In the
検査部55Bは、バーコード画像を日本工業規格(JIS X 0520:2014)で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及び/又はモジュレーションに基づいて、エレメントの少なくとも一部の欠けの有無、及び/又は、エレメントの少なくとも一部の掠れの有無を評価する。本実施形態の検査部55Bは、上記欠陥及びモジュレーションの二つの評価パラメータに基づいて、エレメントの少なくとも一部の欠けの有無、及びエレメントの少なくとも一部の掠れの有無の両方を評価する。
The
欠陥とは、バー93Aとスペース93Bとのコントラスト最大値(シンボルコントラスト)にしめる、バー93A内又はスペース93B内の反射率のばらつき最大値に比率をいう。例えば、バー93A内の白い点又は線は、そのバー93A内の反射率のばらつき最大値を上昇させ、スペース93B内の黒い点又は線は、そのスペース93B内の反射率のばらつき最大値を上昇させる。シンボルコントラスト値と反射率のばらつき最大値との差が大きくなればなるほど、欠陥の評価値であるグレードは小さくなる。このように評価パラメータの一つである欠陥は、バー93A及びスペース93Bの欠けを評価するのに適している。欠陥のグレードは、4(良)~0(悪)で表される。
The defect means a ratio to the maximum variation value of the reflectance in the
モジュレーションとは、バー93Aとスペース93Bとのコントラスト最大値(シンボルコントラスト)にしめる、隣り合うバー93Aとスペース93Bとのコントラスト最小値(最小エッジコントラスト)の比率をいう。バーコード93は、理想的には、エッジコントラスト値とシンボルコントラスト値とは等しくあるべきであるが、印字掠れが発生するとエッジコントラスト値が減少する。最小エッジコントラスト値とシンボルコントラスト値との差が大きくなればなるほど、モジュレーションの評価値であるグレードは小さくなる。このように評価パラメータの一つであるモジュレーションは、バー93A及びスペース93Bの掠れ(むら)を評価するのに適している。モジュレーションのグレードは、4(良)~0(悪)で表される。
Modulation refers to the ratio of the minimum contrast value (minimum edge contrast) between the
検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいて上記欠陥及びモジュレーションのグレードを算出する。検査部55Bは、算出した上記欠陥及びモジュレーションのグレードが、予め記憶された基準グレードよりも小さいか否かを判定する。本実施形態では、上記欠陥及びモジュレーションの何れか一方のグレードが上記基準グレードよりも小さい場合、検査部55Bは、カメラ51によって撮像されたバーコードは不良品であると判定し、上記欠陥及びモジュレーションの両方のグレードが上記基準グレード以上の場合、カメラ51によって撮像されたバーコードは良品であると判定する。
The
検査部55Bは、カメラ51によって撮像されたバーコードが不良品であると判定した場合には、表示操作部57にバーコードが不良品であることを表示し、カメラ51によって撮像されたバーコードが良品であると判定した場合には、表示操作部57にバーコードが良品であることを表示する。
When the
設定部55Cは、バーコード93の評価パラメータの種類(欠陥及びモジュレーション)と、評価パラメータの基準値(閾値)とを設定する部分である。設定部55Cは、表示操作部57に、評価パラメータの種類及び評価パラメータの基準値を設定する設定画面を表示する。
The
本実施形態において設定部55Cにおいて予め設定される(予め記憶されている)評価パラメータは、例えば、下記に示す手順(ステップ1~ステップ3)によって決定することができる。
ステップ1:良品と判定された商品ラベルについて、欠陥及びモジュレーションを計測する。
ステップ2:検査装置5によってコード情報に変換できたが、バーコードリーダで正しくスキャンすることができない(バーコード画像をコード情報に変換できない)商品ラベルを収集し、欠陥及びモジュレーションを計測する。
ステップ3:ステップ1及びステップ2で計測した値に基づいて基準値を決定する。
In the present embodiment, the evaluation parameters preset (pre-stored) in the
Step 1: Measure defects and modulation for product labels that are determined to be non-defective.
Step 2: Collect product labels that can be converted into code information by the
Step 3: A reference value is determined based on the values measured in steps 1 and 2.
なお、店舗等に並ぶ商品の商品ラベルについてバーコードリーダで正しくバーコードをスキャンすることができる商品ラベルと、正しくバーコードをスキャンすることができない商品ラベルとを準備し、これらの商品ラベルが、ステップ1~ステップ3によって決定された評価パラメータの基準値に基づいて、それぞれ正しく良否が判定されるか否かを確認することによって、良品・不良品の判定精度を高めることができる。 For product labels of products lined up in stores, etc., we have prepared product labels that can correctly scan barcodes with a barcode reader and product labels that cannot correctly scan barcodes. By confirming whether or not the quality is correctly determined based on the reference values of the evaluation parameters determined in steps 1 to 3, the determination accuracy of the non-defective product and the defective product can be improved.
上述したとおり、商品ラベルがバーコードリーダで正しくスキャンできるか否かは、バーコードリーダごとの特性の個体差によるので、上記評価パラメータの基準値は、店舗ごとのバーコードリーダの特性に合わせて設定することによって、良品・不良品の判定精度を高めることができる。 As described above, whether or not the product label can be correctly scanned by the barcode reader depends on the individual difference in the characteristics of each barcode reader, so the reference value of the above evaluation parameters is adjusted to the characteristics of the barcode reader of each store. By setting, it is possible to improve the determination accuracy of non-defective products and defective products.
包装装置6は、物品を包装する。包装装置6は、切断部13によって切断された包装フィルムRFによって物品を包装する。
The
以上説明したように、上記実施形態の検査装置5では、バーコード93の印刷品質をバーコード93の良否判定の一つの指標としているので、バーコードリーダによって読取不能になる可能性のあるバーコード93を不良品として判定できる。すなわち、上記実施形態の検査装置5では、バーコードリーダによって読取不能になる可能性のあるバーコード93が印字された包装フィルムRFによって包装された商品が出荷されることを回避できる。ひいては、店舗等のレジ等でバーコード93が読み取れないといった不具合を回避できる。
As described above, in the
本願発明者らは、商品ラベル等に印刷されたバーコード93がバーコードリーダによって読取不能になるという不具合は、印刷されたバーコード93の印刷品質に起因することを見出した。そして、バーコードリーダによって読取不能になるバーコード93の特徴として、エレメントの少なくとも一部に欠け、及び/又は、エレメントの少なくとも一部に掠れがあることを見出した。
The inventors of the present application have found that the problem that the
そこで、上記の実施形態では、検査部55Bは、バーコード画像から抽出されるエレメントの少なくとも一部の欠け、及び/又は、エレメントの少なくとも一部の掠れに基づいて印刷品質を評価している。この構成では、エレメントの少なくとも一部の欠け、及び/又は、エレメントの少なくとも一部の掠れが評価されるので、バーコードリーダによって読取不能になる可能性のあるバーコード93の検知性能を高めることができる。
Therefore, in the above embodiment, the
また、本願発明者らは、上述したような欠け及び掠れは、バーコード93を印刷するサーマルヘッドにゴミ等が付着することによって発生することを見出した。したがって、サーマルヘッドに組み込まれた発熱素子を加熱することによって熱転写インクリボンを加熱し、この加熱によって融解したインクをフィルムFに転写することにより印字する本実施形態に本願発明を適用することは、バーコードリーダによって読取不能になる可能性のあるバーコード93を不良品として判定できるという効果をより高めることができる。
Further, the inventors of the present application have found that the above-mentioned chipping and blurring are caused by dust or the like adhering to the thermal head for printing the
上記実施形態の検査装置5では、バーコード画像に基づいてバーコード93をコード情報に変換できるか否かを判定している。これにより、商品ラベルに印字すべきバーコード93が印字されているか否かを、別途バーコードリーダ等を設けることなく、バーコード93の印字品質を判定するためのバーコード画像を用いて一体的に判定することができる。
The
上記実施形態の検査装置5では、検査部55Bは、バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及びモジュレーションの二つの評価パラメータに基づいて、バー93Aの少なくとも一部の欠け、及び/又は、バー93Aの少なくとも一部の掠れを評価している。これにより、エレメントの少なくとも一部の欠けの度合、及び/又は、エレメントの少なくとも一部の掠れの度合について、適切かつ客観的に評価することができる。
In the
上記実施形態の検査装置5では、評価パラメータの種類及び閾値を設定する設定部55Cを備えているので、バーコード93の印刷品質を判定するにあたり適切な評価パラメータを設定することができる。
Since the
以上、本発明の実施形態について説明してきたが、本発明は必ずしも上述した実施形態に限定されるものではなく、その要旨を逸脱しない範囲で様々な変更が可能である。 Although the embodiments of the present invention have been described above, the present invention is not necessarily limited to the above-described embodiments, and various modifications can be made without departing from the gist thereof.
(変形例1)
上記実施形態の検査装置5は、バーコード93の品質を評価するための評価パラメータとして欠陥及びモジュレーションの少なくとも一方を採用する例を挙げて説明したが、これらの評価パラメータに加えて復号容易度を加えてもよい。ここでいう復号容易度は、欠陥及びモジュレーションと同様に、日本工業規格(JIS X 0520:2014)で定められたバーコードシンボルのグレードを決定するための評価パラメータである。
(Modification 1)
The
復号容易度とは、バーコードリーダが、各シンボル体系仕様で定めた「参照複合アルゴリズム」によって複合するときの複合しやすさの度合いをいう。例えば、バー93A(又はスペース93B)の欠けによって、バー93A及びスペース93Bの適正な太細比がとれない場合、復号容易度の評価値であるグレードは小さくなる。このように評価パラメータの一つである復号容易度は、バー93A及びスペース93Bの太細比を評価するのに適している。モジュレーションのグレードは、4(良)~0(悪)で表される。変形例に係る検査装置5では、バー93Aの少なくとも一部の欠けの度合、及び/又は、バー93Aの少なくとも一部の掠れの度合について、適切かつ客観的に評価することができる。
Decoding ease refers to the degree of ease of compounding when the barcode reader combines by the "reference compounding algorithm" defined in each symbol system specification. For example, if the appropriate thickness ratio of the
(変形例2)
上記実施形態及び上記変形例の検査装置5の検査部55Bは、バーコード画像をコード情報に変換できるか否かの判定結果と、バーコード画像に基づいて評価されるバーコード93の印刷品質との二つの指標に基づいて、バーコード93の良否を判定する例を挙げて説明したが、これに限定されない。例えば、検査部55Bは、バー93Aの配列方向における両端のバー93Aの高さ方向長さを、これらの指標に加えることによってバーコード93の良否を判定してもよい。
(Modification 2)
The
図5(A)に示されるように、フィルムFに印字されるバーコード93には、バー93Aの配列方向に沿って延在する白い線(筋)が入る印字不良が発生することがある。このような印字不良を有するバーコード93は、バーコードリーダでスキャニングしたときに読取不能になる可能性は小さいものの、不良品として取り除いておきたいという要望がある。そして、このような白い線が入る印字不良は、上記実施形態で説明した熱転写インクリボンを用いて印字する印刷部42を有する構成の印刷装置4において発生することが多い。
As shown in FIG. 5A, the
より詳細には、上記の印字不良は、作業者が熱転写インクリボンを印字方向とは逆方向に巻き戻してしまい、熱転写インクリボンにおいて一度印字した部分が再度印字に用いられることによって発生する。このような印字不良は、バーコード93全体として白い線は入っているものの、当該白い線を境にして少なくとも片側について正常なバーコード93は、上記実施形態の検査装置5では良品と判定される。
More specifically, the above-mentioned printing defect occurs when the operator rewinds the thermal transfer ink ribbon in the direction opposite to the printing direction, and the portion of the thermal transfer ink ribbon once printed is used for printing again. Although such a printing defect contains a white line as a whole of the
そこで、変形例2に係る検査装置5では、図5(B)に示されるように、検査部55Bは、バー93Aの配列方向における両端のバー93Aの高さ方向長さH1・H2を取得し、取得した高さ方向長さH1・H2が予め記憶された基準値よりも短い場合、そのバーコード93は不良品と判定する。このような判定を実施する変形例2に係る検査装置5では、白い線が入る印字不良が生じたときには、両端のバー93Aが高さ方向に白い線で分断されるので、取得される高さ方向長さH1・H2が相対的に短くなる。これにより、白い線が入ったバーコード93は不良品と判定される。
Therefore, in the
(その他の変形例)
上記実施形態及び上記変形例では、印刷部42がインクリボンを用いて印刷を行う形態を一例に説明した。しかし、印刷の方式はこれに限定されず、例えば、インクジェット方式であってもよい。
(Other variants)
In the above-described embodiment and the above-mentioned modification, a mode in which the
上記実施形態及び上記変形例では、検査部55Bは、バーコード93の印字品質を判定するための評価パラメータとして欠陥及びモジュレーションの少なくとも一方を採用するか、これらに加えて復号容易度を採用する例を挙げて説明したが、これらに限定されない。例えば、検査部55Bは、上述の評価パラメータに代えて又は加えて、日本工業規格によって定められた最小反射率、シンボルコントラスト、及び最小エッジコントラストの少なくとも一つを採用してもよい。しかしながら、上述のエレメントの欠け及び掠れを適切に検出できる欠陥及びモジュレーションの両方を評価パラメータとしてバーコード93の印字品質を評価する上記の実施形態は印字品質の評価精度を高めることができる。
In the above embodiment and the above modification, the
上記実施形態及び上記変形例の検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいてバーコード93の印字品質を評価している例を挙げて説明したが、当該バーコード画像に画像処理を施してからバーコード93の印字品質を評価してもよい。画像処理の例には、カラーフィルタを用いた処理が含まれる。例えば、柄入りのフィルムF上に印字されたバーコード93のバーコード画像に基づいて上記の印字品質を評価した場合、印字自体は問題無いものであっても不良品判定となる場合がある。これは、前述の評価パラメータは、バー93Aの欠けだけではなく、スペース93Bの欠け(スペース93B内の反射率のバラツキ)についても評価対象としているためである。ここで、閾値を緩和する方法も考えられるが、本来の目的である欠け及び掠れの検出ができなくなるおそれがある。そこで、本変形例の検査部55Bは、例えばレッドフィルターを用いてバーコード画像に画像処理を施してからバーコード93の印字品質を評価している。これにより、スペース93Bの反射率のバラツキを軽減させることができるので、バーコード93の印字品質を適切に評価することができる。
The
上記実施形態及び上記変形例では、検査装置5は、搬送装置3、印刷装置4、及び包装装置6と一体的に構成された包装システム1の一部として組み込まれている例を挙げて説明したが、これに限定されない。例えば、検査装置5は、搬送装置3、印刷装置4、及び包装装置6とは、別体として構成されてもよい。また、検査装置5は、包装システム1が配備される場所に配置されてもよいし、包装システム1が配備される場所とは離れた場所に、有線又は無線によってアクセス可能に配置されてもよい。
In the above embodiment and the above modification, the
上記実施形態及び上記変形例では、検査装置5は、包装システム1の一部として組み込まれる例を挙げて説明したが、検査装置5は、ラベルプリンタ等のラベル発行装置、ラベル発行貼付装置等、バーコード93を印字する各種装置に組み込まれてもよい。
In the above embodiment and the above modification, the
1…包装システム、3…搬送装置、4…印刷装置、5…検査装置、6…包装装置、51…カメラ、53…照明部、55…制御部、55A…取得部、55B…検査部、55C…設定部、57…表示操作部、90…商品ラベル、91…商品情報、93…バーコード、93A…バー、93B…スペース。 1 ... Packaging system, 3 ... Conveyor device, 4 ... Printing device, 5 ... Inspection device, 6 ... Packaging device, 51 ... Camera, 53 ... Lighting unit, 55 ... Control unit, 55A ... Acquisition unit, 55B ... Inspection unit, 55C ... Setting unit, 57 ... Display operation unit, 90 ... Product label, 91 ... Product information, 93 ... Bar code, 93A ... Bar, 93B ... Space.
Claims (6)
前記バーコードを撮像して生成されたバーコード画像を取得する取得部と、
前記バーコード画像に基づいて前記バーコードを検査する検査部と、を備え、
前記検査部は、前記バーコード画像をコード情報に変換できるか否かの判定結果と、前記バーコード画像に基づいて評価される前記バーコードの印刷品質の評価結果とに基づいて、前記バーコードの良否を判定する、検査装置。 An inspection device that inspects barcodes attached to products.
An acquisition unit that acquires the generated barcode image by imaging the barcode, and
An inspection unit that inspects the barcode based on the barcode image is provided.
The inspection unit determines whether or not the barcode image can be converted into code information, and the barcode is evaluated based on the barcode image and the print quality of the barcode is evaluated. An inspection device that determines the quality of a product.
前記検査部は、前記バーコード画像から抽出される前記エレメントの少なくとも一部の欠け及び/又は前記エレメントの少なくとも一部の掠れに基づいて前記印刷品質を評価する、請求項1記載の検査装置。 The barcode is composed of an element consisting of a bar and a space.
The inspection device according to claim 1, wherein the inspection unit evaluates the print quality based on the chipping of at least a part of the element extracted from the barcode image and / or the blurring of at least a part of the element.
前記閾値は、前記バーコードをスキャンするバーコードリーダによって読み取ることができるバーコード又は読み取ることができない前記バーコードの評価結果に基づいて定められている、請求項3又は4記載の検査装置。 The inspection unit determines whether or not the print quality has a certain level based on a threshold value stored in advance, and determines whether or not the print quality has a certain level.
The inspection device according to claim 3 or 4, wherein the threshold value is determined based on the evaluation result of the barcode that can be read by the barcode reader that scans the barcode or the barcode that cannot be read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020177447A JP2022068654A (en) | 2020-10-22 | 2020-10-22 | Inspection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020177447A JP2022068654A (en) | 2020-10-22 | 2020-10-22 | Inspection device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022068654A true JP2022068654A (en) | 2022-05-10 |
Family
ID=81459871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020177447A Pending JP2022068654A (en) | 2020-10-22 | 2020-10-22 | Inspection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022068654A (en) |
-
2020
- 2020-10-22 JP JP2020177447A patent/JP2022068654A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11893449B2 (en) | Method, apparatus, and system for characterizing an optical system | |
US10999460B2 (en) | Methods, apparatuses, and systems for detecting printing defects and contaminated components of a printer | |
JP2004160981A (en) | Mark seal printing/inspection device, printed mark seal inspecting method and mark seal printing control method | |
MXPA06008254A (en) | Device and method for detecting contamination in a container. | |
JP2008279060A (en) | Counterfeit determination system and individual discrimination information reading method | |
US20100147418A1 (en) | Apparatus and method for marking plastic containers | |
US11151434B2 (en) | Two dimensional barcode provided with surrounding dynamic environmental indicator and color calibration reference | |
US20170036471A1 (en) | Printer System | |
JP4411023B2 (en) | Printing inspection system for packaging | |
WO2008074917A1 (en) | Monitoring system based on the combination of a code and an indicator | |
JP2022068654A (en) | Inspection device | |
JP6359363B2 (en) | Container inspection device and container inspection method | |
JP2009150854A (en) | Printed matter inspection device and printed matter inspection method | |
JP4684172B2 (en) | Appearance inspection apparatus and PTP sheet manufacturing apparatus | |
JP2017125939A (en) | Method for calibrating laser marking device | |
JP2007309779A (en) | Device and method for inspecting quality of printed matter | |
JP2008146432A (en) | Method of detecting mark | |
US10706239B1 (en) | Integrated label printer and barcode reader, and related systems and methods | |
JP7057433B2 (en) | Print inspection device | |
JP4777734B2 (en) | X-ray inspection equipment | |
JP5749036B2 (en) | Verification device | |
CN114341938A (en) | Inspection method and device | |
JP4876656B2 (en) | IC card orientation inspection method, IC card orientation inspection apparatus, and IC card orientation inspection program | |
JP2004355402A (en) | Label information reader | |
JP6639452B2 (en) | Packaging quality inspection device |