JP2022068654A - Inspection device - Google Patents

Inspection device Download PDF

Info

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
Application number
JP2020177447A
Other languages
Japanese (ja)
Inventor
直毅 駒井
Naoki Komai
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.)
Ishida Co Ltd
Original Assignee
Ishida Co Ltd
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 Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2020177447A priority Critical patent/JP2022068654A/en
Publication of JP2022068654A publication Critical patent/JP2022068654A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an inspection device which can determine a barcode as not good which may be un-readable by a scanner.SOLUTION: An inspection device 5 is an inspection device that inspects a barcode 93 attached to a product and includes an acquisition part 55A which acquires a barcode image generated by photographing the barcode and an inspection part 55B that inspects the barcode based on the barcode image. The inspection part determines whether the barcode is good or bad based on a determination result of whether the barcode image can be converted into code information and the evaluation result of the print quality of the barcode that is evaluated based on the barcode image.SELECTED DRAWING: Figure 2

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. ..

特開2012-174101号公報Japanese Unexamined Patent Publication No. 2012-174101

しかしながら、上記従来のラベル検査装置の検査結果において印字切れが無いと判定された商品ラベルのバーコードであっても、商品が出荷される店舗に配置されるスキャナの一部で読取不能になるという不具合が発生することがあった。スキャナでバーコードが読み取れない場合、店舗において商品を適切に処理できない等の問題が発生する。 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.

図1は、一実施形態の検査装置を含む包装システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a packaging system including an inspection device of one embodiment. 図2は、一実施形態の検査装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing a functional configuration of the inspection device of one embodiment. 図3は、商品ラベルの一例を示す図である。FIG. 3 is a diagram showing an example of a product label. 図4(A)は印字欠けの一例を示した図であり、図4(B)は印字掠れの一例を示した図であり、図4(C)は印字欠け(ボイド)の一例を示した図であり、図4(D)は印字欠け(スポット)の一例を示した図である。FIG. 4A is a diagram showing an example of printing defects, FIG. 4B is a diagram showing an example of printing blurring, and FIG. 4C is a diagram showing an example of printing defects (voids). FIG. 4D is a diagram showing an example of printing defects (spots). 図5(A)は印字不良の商品ラベルの一例を示した図であり、図5(B)は印字不良のバーコードの一例を示した図である。FIG. 5A is a diagram showing an example of a product label with printing defects, and FIG. 5B is a diagram showing an example of a barcode with printing defects.

以下、添付図面を参照して、本発明の好適な実施形態について詳細に説明する。なお、図面の説明において同一又は相当要素には同一符号を付し、重複する説明は省略する。 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 printing device 4, an inspection device 5, and a packaging device 6. In the packaging system 1, for example, articles such as food are packaged. In the packaging system 1, printing is performed on the film F for packaging the article, the printed content of the printed film F is inspected, and the article is packaged with the printed packaging film RF.

搬送装置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 support portion 9 that supports the film roll FR around which the long film F is wound, a drive roller 11 that conveys the film F supplied from the film roll FR, and a drive roller 11. The film F is provided with a cutting portion 13 for cutting the film F, and guide rollers 15, 16, 17, 18, and 19 for forming a transport path between the support portion 9 and the drive roller 11. The film F extends continuously from the film roll FR to the cut portion 13.

支持部9は、フィルムロールFRを回転可能に支持する。支持部9は、印刷装置4よりもフィルムFの搬送経路の上流側に設けられている。駆動ローラ11は、フィルムの搬送経路において印刷装置4と切断部13との間に設けられている。駆動ローラ11は、フィルムFを搬送すると共に、所定のタイミングでフィルムFの搬送を一時的に停止させる。所定のタイミングは、フィルムFを一定量搬送するように設定されている。所定のタイミングは、切断部13がフィルムFを切断するタイミングにも相当する。 The support portion 9 rotatably supports the film roll FR. The support portion 9 is provided on the upstream side of the transport path of the film F with respect to the printing apparatus 4. The drive roller 11 is provided between the printing device 4 and the cutting portion 13 in the film transport path. The drive roller 11 conveys the film F and temporarily stops the transfer of the film F at a predetermined timing. The predetermined timing is set to convey a fixed amount of the film F. The predetermined timing also corresponds to the timing at which the cutting portion 13 cuts the film F.

駆動ローラ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 drive roller 11 includes a pair of rollers 11a and 11b. In the drive roller 11, the film F is sandwiched in the vertical direction by the pair of rollers 11a and 11b, and the film F is conveyed by the rotation of the pair of rollers 11a and 11b. At least one of the pair of rollers 11a and 11b is rotationally driven by a drive unit (not shown). The cutting portion 13 cuts the film F when the transport of the film F is temporarily stopped by the drive roller 11. The cutting portion 13 cuts the film F at the timing when the rotation of the pair of rollers 11a and 11b of the drive roller 11 is stopped. The film F cut by the cutting portion 13 becomes the packaging film RF. The numbers and positions of the plurality of guide rollers 15, 16, 17, 18, 19 forming the transport path of the film F between the film roll FR and the drive roller 11 are appropriately set.

印刷装置4は、フィルムFに印刷を行う。印刷装置4は、搬送ローラ41と、印刷部42と、ダンサローラ43と、を備えている。 The printing device 4 prints on the film F. The printing apparatus 4 includes a transport roller 41, a printing unit 42, and a dancer roller 43.

搬送ローラ41は、フィルムロールFRの下流側に配置されている。搬送ローラ41は、切断部13よりもフィルムFの搬送経路の上流側に設けられている。搬送ローラ41は、フィルムFの下方に位置し、フィルムFの下面に接触可能である。搬送ローラ41は、印刷装置4の筐体部(図示せず)に回転可能に支持されている。 The transport roller 41 is arranged on the downstream side of the film roll FR. The transport roller 41 is provided on the upstream side of the transport path of the film F with respect to the cutting portion 13. The transport roller 41 is located below the film F and can come into contact with the lower surface of the film F. The transport roller 41 is rotatably supported by a housing portion (not shown) of the printing apparatus 4.

印刷部42は、サーマルヘッド(図示せず)に組み込まれた発熱素子を加熱することによって熱転写インクリボンを加熱し、この加熱によって融解したインクをフィルムFに転写することにより印字する。本実施形態の印刷部42は、フィルムFに商品ラベル90を印字する。商品ラベル90として印字される内容には、図3に示されるように、バーコード93が含まれており、その他の情報として、商品名、原材料名、消費期限、保存方法、及び製造者情報等の商品情報91が含まれている。バーコード93は、バー(エレメント)93Aと、スペース(エレメント)93Bとからなり、英字・数字等を表現した符号である。本実施形態のバー93Aの色は黒であり、スペース93Bは白であるが、これに限定されない。 The printing unit 42 heats the thermal transfer ink ribbon by heating a heat generating element incorporated in a thermal head (not shown), and prints by transferring the ink melted by this heating to the film F. The printing unit 42 of the present embodiment prints the product label 90 on the film F. As shown in FIG. 3, the content printed as the product label 90 includes the barcode 93, and other information includes the product name, raw material name, expiration date, storage method, manufacturer information, and the like. Product information 91 is included. The bar code 93 is composed of a bar (element) 93A and a space (element) 93B, and is a code representing letters, numbers, and the like. The color of the bar 93A of the present embodiment is black, and the space 93B is white, but the space 93B is not limited to this.

図1に戻り、ダンサローラ43は、フィルムFの搬送経路において搬送ローラ41と切断部13との間に設けられている。ダンサローラ43は、搬送されるフィルムFの上方に位置し、フィルムFの上面に接触可能である。ダンサローラ43は、鉛直方向に沿って移動可能に設けられており、ダンサローラ43が適時移動することによりフィルムFの弛みを吸収する。 Returning to FIG. 1, the dancer roller 43 is provided between the transport roller 41 and the cutting portion 13 in the transport path of the film F. The dancer roller 43 is located above the film F to be conveyed and is in contact with the upper surface of the film F. The dancer roller 43 is provided so as to be movable along the vertical direction, and the dancer roller 43 absorbs the slack of the film F by moving in a timely manner.

検査装置5は、フィルムFによって包装された物品(商品)に付されたバーコードを検査する。より詳細には、検査装置5は、印刷装置4の印刷部42によって印字されたバーコード93を検査する。検査装置5は、カメラ51と、照明部53と、制御部55と、表示操作部57と、を備えている。 The inspection device 5 inspects the barcode attached to the article (commodity) packaged by the film F. More specifically, the inspection device 5 inspects the barcode 93 printed by the printing unit 42 of the printing device 4. The inspection device 5 includes a camera 51, a lighting unit 53, a control unit 55, and a display operation unit 57.

カメラ51は、印刷部42によって印刷されたフィルムFの印刷面を撮像する。カメラ51は、例えば、ガイドローラ15とガイドローラ16との間を搬送されるフィルムを撮像する。照明部53は、ガイドローラ15とガイドローラ16との間に設けられており、カメラ51に対しフィルムFが搬送される領域を挟んで配置されている。このような構成では、カメラ51は、フィルムFの印刷面とは反対側の裏面から光が照射されたフィルムFを撮像することができる。カメラ51は、撮像した画像を制御部55に出力する。 The camera 51 takes an image of the printed surface of the film F printed by the printing unit 42. The camera 51, for example, captures a film conveyed between the guide roller 15 and the guide roller 16. The illumination unit 53 is provided between the guide roller 15 and the guide roller 16, and is arranged so as to sandwich the region where the film F is conveyed with respect to the camera 51. In such a configuration, the camera 51 can take an image of the film F irradiated with light from the back surface opposite to the printing surface of the film F. The camera 51 outputs the captured image to the control unit 55.

制御部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 control unit 55 is an electronic control unit including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an I / O port, a communication port, and the like. The display operation unit 57 is a portion that enables the operation of the entire packaging system 1 including the inspection device 5, and is a portion that displays the state of the entire packaging system 1. The control unit 55 and the display operation unit 57 are provided in the housing 5B. The inspection device 5 is provided integrally with the printing device 4. More specifically, the housing 5A in which the camera 51 is provided and the housing 4A in which the printing unit 42 is provided are connected by a connecting portion 5Bb. Further, the housing 5B provided with the control unit 55 and the display operation unit 57 and the housing 4A provided with the printing unit 42 are connected by a connecting unit 5Ba.

図2に示されるように、制御部55は、CPU及び主記憶部等のハードウェア上に所定のコンピュータソフトウェアを読み込ませることにより形成される、取得部55Aと、検査部55Bと、設定部55Cと、を有している。取得部55A、検査部55B、及び設定部55Cは、CPUの制御のもと実行される。 As shown in FIG. 2, the control unit 55 is formed by loading predetermined computer software on hardware such as a CPU and a main storage unit, and includes an acquisition unit 55A, an inspection unit 55B, and a setting unit 55C. And have. The acquisition unit 55A, the inspection unit 55B, and the setting unit 55C are executed under the control of the CPU.

取得部55Aは、バーコード93を撮像して生成されたバーコード画像を取得する。本実施形態の取得部55Aは、カメラ51によって撮像されたバーコード画像を有線又は無線の通信手段を介して取得する。検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいてバーコード93を検査する。検査部55Bは、バーコード画像をコード情報に変換できるか否かの判定結果と、バーコード画像に基づいて評価されるバーコード93の印刷品質に評価結果とに基づいて、バーコード93の良否を判定する。 The acquisition unit 55A acquires the generated barcode image by imaging the barcode 93. The acquisition unit 55A of the present embodiment acquires a barcode image captured by the camera 51 via a wired or wireless communication means. The inspection unit 55B inspects the barcode 93 based on the barcode image acquired by the acquisition unit 55A. The inspection unit 55B determines whether or not the barcode image can be converted into code information, and the quality of the barcode 93 evaluated based on the barcode image is evaluated based on the print quality of the barcode 93. Is determined.

バーコード画像をコード情報に変換できるか否かの判定方法について説明する。当該判定は、バーコード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 barcode 93 is correctly printed as the information to be printed. When the code information converted based on the barcode image and the code information stored in advance match, the inspection unit 55B of the present embodiment determines that the barcode image could be converted into the code information, and converts the barcode image into the barcode image. If the code information converted based on the code information does not match the code information stored in advance, or if the code information cannot be converted, it is determined that the barcode image cannot be converted into the code information. When the inspection unit 55B cannot recognize the barcode image as a barcode, it also determines that the barcode image cannot be converted into code information.

次に、バーコード画像に基づくバーコード93の印刷品質の評価について説明する。当該評価は、印字されたバーコード93が店舗等に配備されたバーコードリーダ(スキャナ)によって読み取られるか否かを確認するために行われる。バーコードリーダは、バーコード93に光を当て、その反射光を捉えることによってバー93A及びスペース93Bを2値のデジタル信号として置き換える事でコード情報に変換する装置である。このようなバーコードリーダには、CCD(Charge Coupled Device)方式、レーザー方式、及びペン方式のバーコードリーダが含まれる。 Next, the evaluation of the print quality of the barcode 93 based on the barcode image will be described. The evaluation is performed to confirm whether or not the printed barcode 93 can be read by a barcode reader (scanner) installed in a store or the like. The bar code reader is a device that shines light on the bar code 93, captures the reflected light, and replaces the bar 93A and the space 93B with a binary digital signal to convert the bar code 93 into code information. Such barcode readers include CCD (Charge Coupled Device) type, laser type, and pen type barcode readers.

バーコード93の印刷品質は、エレメント(バー93A及び/又はスペース93B)の少なくとも一部に欠けがあるか否か、及び/又は、エレメント(バー93A及び/又はスペース93B)の少なくとも一部に掠れがあるか否かによって評価される。 The print quality of the barcode 93 is such that at least part of the element (bar 93A and / or space 93B) is missing and / or at least part of the element (bar 93A and / or space 93B). Evaluated by the presence or absence.

ここでいう欠けには、図4(A)に示されるようにバー93Aの一部がライン状(白色筋等)に欠ける態様、図示しないがスペース93Bの一部がライン状(有色筋等)に欠ける態様、図4(C)に示されるようにバー93Aの一部がドット状に欠ける態様(ボイド)、及び図4(D)に示されるようにスペース93Bの一部がドット状に欠ける態様(スポット)が含まれる。 As shown in FIG. 4A, a part of the bar 93A is lacking in a line shape (white streaks, etc.), and a part of the space 93B, which is not shown, is line-shaped (colored streaks, etc.). A mode in which a part of the bar 93A is chipped in a dot shape as shown in FIG. 4 (C), and a mode in which a part of the space 93B is chipped in a dot shape as shown in FIG. 4 (D). Aspects (spots) are included.

また、ここでいう掠れには、図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 bar 93A as shown in FIG. 4B, and a mode in which there is unevenness in a part of the space 93B (not shown). Is done. Blurring (unevenness) in the space 93B may be stains, unintended printing (adhesion of ink), or the like.

本実施形態の検査部55Bでは、バーコード93の印刷品質は、エレメントの少なくとも一部に欠けがあるか否かという点と、エレメントの少なくとも一部に掠れがあるか否かという点とによって評価される。 In the inspection unit 55B of the present embodiment, the print quality of the barcode 93 is evaluated by whether or not at least a part of the element is missing and whether or not at least a part of the element is blurred. Will be done.

検査部55Bは、バーコード画像を日本工業規格(JIS X 0520:2014)で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及び/又はモジュレーションに基づいて、エレメントの少なくとも一部の欠けの有無、及び/又は、エレメントの少なくとも一部の掠れの有無を評価する。本実施形態の検査部55Bは、上記欠陥及びモジュレーションの二つの評価パラメータに基づいて、エレメントの少なくとも一部の欠けの有無、及びエレメントの少なくとも一部の掠れの有無の両方を評価する。 The inspection unit 55B shall make the barcode image at least one of the elements based on the defect and / or modulation which is an evaluation parameter for determining the grade of the barcode symbol defined by the Japanese Industrial Standards (JIS X 0520: 2014). Evaluate the presence or absence of chipping and / or the presence or absence of blurring of at least part of the element. The inspection unit 55B of the present embodiment evaluates both the presence / absence of at least a part of the element being chipped and the presence / absence of at least a part of the element being blurred based on the above two evaluation parameters of defect and modulation.

欠陥とは、バー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 bar 93A or the space 93B, which is the maximum contrast value (symbol contrast) between the bar 93A and the space 93B. For example, a white dot or line in the bar 93A increases the maximum reflectance variation in the bar 93A, and a black dot or line in the space 93B increases the maximum reflectance variation in the space 93B. Let me. The larger the difference between the symbol contrast value and the maximum variation in reflectance, the smaller the grade, which is the evaluation value of the defect. As described above, the defect, which is one of the evaluation parameters, is suitable for evaluating the chipping of the bar 93A and the space 93B. Defect grades are represented by 4 (good) to 0 (bad).

モジュレーションとは、バー93Aとスペース93Bとのコントラスト最大値(シンボルコントラスト)にしめる、隣り合うバー93Aとスペース93Bとのコントラスト最小値(最小エッジコントラスト)の比率をいう。バーコード93は、理想的には、エッジコントラスト値とシンボルコントラスト値とは等しくあるべきであるが、印字掠れが発生するとエッジコントラスト値が減少する。最小エッジコントラスト値とシンボルコントラスト値との差が大きくなればなるほど、モジュレーションの評価値であるグレードは小さくなる。このように評価パラメータの一つであるモジュレーションは、バー93A及びスペース93Bの掠れ(むら)を評価するのに適している。モジュレーションのグレードは、4(良)~0(悪)で表される。 Modulation refers to the ratio of the minimum contrast value (minimum edge contrast) between the adjacent bars 93A and the space 93B, which is the maximum contrast value (symbol contrast) between the bar 93A and the space 93B. The barcode 93 should ideally have an equal edge contrast value and a symbol contrast value, but the edge contrast value decreases when print blurring occurs. The larger the difference between the minimum edge contrast value and the symbol contrast value, the smaller the grade that is the evaluation value of the modulation. Modulation, which is one of the evaluation parameters as described above, is suitable for evaluating the blurring (unevenness) of the bar 93A and the space 93B. Modulation grades are represented by 4 (good) to 0 (bad).

検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいて上記欠陥及びモジュレーションのグレードを算出する。検査部55Bは、算出した上記欠陥及びモジュレーションのグレードが、予め記憶された基準グレードよりも小さいか否かを判定する。本実施形態では、上記欠陥及びモジュレーションの何れか一方のグレードが上記基準グレードよりも小さい場合、検査部55Bは、カメラ51によって撮像されたバーコードは不良品であると判定し、上記欠陥及びモジュレーションの両方のグレードが上記基準グレード以上の場合、カメラ51によって撮像されたバーコードは良品であると判定する。 The inspection unit 55B calculates the defect and modulation grades based on the barcode image acquired by the acquisition unit 55A. The inspection unit 55B determines whether or not the calculated defect and modulation grade is smaller than the pre-stored reference grade. In the present embodiment, when any one of the above-mentioned defects and modulation is smaller than the above-mentioned reference grade, the inspection unit 55B determines that the barcode imaged by the camera 51 is a defective product, and the above-mentioned defects and modulation. When both grades are equal to or higher than the above standard grade, it is determined that the barcode imaged by the camera 51 is a non-defective product.

検査部55Bは、カメラ51によって撮像されたバーコードが不良品であると判定した場合には、表示操作部57にバーコードが不良品であることを表示し、カメラ51によって撮像されたバーコードが良品であると判定した場合には、表示操作部57にバーコードが良品であることを表示する。 When the inspection unit 55B determines that the barcode imaged by the camera 51 is a defective product, the inspection unit 55B displays on the display operation unit 57 that the barcode is a defective product, and displays the barcode imaged by the camera 51 as a defective product. If it is determined that the product is a non-defective product, the display operation unit 57 indicates that the barcode is a non-defective product.

設定部55Cは、バーコード93の評価パラメータの種類(欠陥及びモジュレーション)と、評価パラメータの基準値(閾値)とを設定する部分である。設定部55Cは、表示操作部57に、評価パラメータの種類及び評価パラメータの基準値を設定する設定画面を表示する。 The setting unit 55C is a part for setting the type (defect and modulation) of the evaluation parameter of the barcode 93 and the reference value (threshold value) of the evaluation parameter. The setting unit 55C displays a setting screen for setting the type of evaluation parameter and the reference value of the evaluation parameter on the display operation unit 57.

本実施形態において設定部55Cにおいて予め設定される(予め記憶されている)評価パラメータは、例えば、下記に示す手順(ステップ1~ステップ3)によって決定することができる。
ステップ1:良品と判定された商品ラベルについて、欠陥及びモジュレーションを計測する。
ステップ2:検査装置5によってコード情報に変換できたが、バーコードリーダで正しくスキャンすることができない(バーコード画像をコード情報に変換できない)商品ラベルを収集し、欠陥及びモジュレーションを計測する。
ステップ3:ステップ1及びステップ2で計測した値に基づいて基準値を決定する。
In the present embodiment, the evaluation parameters preset (pre-stored) in the setting unit 55C can be determined, for example, by the procedure (step 1 to step 3) shown below.
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 inspection device 5, but cannot be scanned correctly with a barcode reader (cannot convert barcode images into code information), and measure defects and modulation.
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 packaging device 6 wraps the article. The packaging device 6 wraps the article with the packaging film RF cut by the cutting portion 13.

以上説明したように、上記実施形態の検査装置5では、バーコード93の印刷品質をバーコード93の良否判定の一つの指標としているので、バーコードリーダによって読取不能になる可能性のあるバーコード93を不良品として判定できる。すなわち、上記実施形態の検査装置5では、バーコードリーダによって読取不能になる可能性のあるバーコード93が印字された包装フィルムRFによって包装された商品が出荷されることを回避できる。ひいては、店舗等のレジ等でバーコード93が読み取れないといった不具合を回避できる。 As described above, in the inspection device 5 of the above embodiment, since the print quality of the barcode 93 is used as one index for determining the quality of the barcode 93, the barcode may become unreadable by the barcode reader. 93 can be determined as a defective product. That is, in the inspection device 5 of the above embodiment, it is possible to avoid shipping the product packaged by the packaging film RF on which the barcode 93, which may become unreadable by the barcode reader, is printed. As a result, it is possible to avoid a problem that the barcode 93 cannot be read at a cash register in a store or the like.

本願発明者らは、商品ラベル等に印刷されたバーコード93がバーコードリーダによって読取不能になるという不具合は、印刷されたバーコード93の印刷品質に起因することを見出した。そして、バーコードリーダによって読取不能になるバーコード93の特徴として、エレメントの少なくとも一部に欠け、及び/又は、エレメントの少なくとも一部に掠れがあることを見出した。 The inventors of the present application have found that the problem that the barcode 93 printed on the product label or the like becomes unreadable by the barcode reader is caused by the print quality of the printed barcode 93. Then, they have found that at least a part of the element is missing and / or at least a part of the element is blurred as a feature of the barcode 93 that cannot be read by the barcode reader.

そこで、上記の実施形態では、検査部55Bは、バーコード画像から抽出されるエレメントの少なくとも一部の欠け、及び/又は、エレメントの少なくとも一部の掠れに基づいて印刷品質を評価している。この構成では、エレメントの少なくとも一部の欠け、及び/又は、エレメントの少なくとも一部の掠れが評価されるので、バーコードリーダによって読取不能になる可能性のあるバーコード93の検知性能を高めることができる。 Therefore, in the above embodiment, the inspection unit 55B 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. 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 detection performance of the barcode 93 which may become unreadable by the barcode reader is enhanced. Can be done.

また、本願発明者らは、上述したような欠け及び掠れは、バーコード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 barcode 93. Therefore, it is not possible to apply the present invention to the present embodiment in which the thermal transfer ink ribbon is heated by heating the heat generating element incorporated in the thermal head, and the ink melted by this heating is transferred to the film F for printing. It is possible to further enhance the effect that the barcode 93, which may become unreadable by the barcode reader, can be determined as a defective product.

上記実施形態の検査装置5では、バーコード画像に基づいてバーコード93をコード情報に変換できるか否かを判定している。これにより、商品ラベルに印字すべきバーコード93が印字されているか否かを、別途バーコードリーダ等を設けることなく、バーコード93の印字品質を判定するためのバーコード画像を用いて一体的に判定することができる。 The inspection device 5 of the above embodiment determines whether or not the barcode 93 can be converted into code information based on the barcode image. As a result, whether or not the barcode 93 to be printed on the product label is printed is integrated by using the barcode image for determining the print quality of the barcode 93 without providing a separate barcode reader or the like. Can be determined.

上記実施形態の検査装置5では、検査部55Bは、バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及びモジュレーションの二つの評価パラメータに基づいて、バー93Aの少なくとも一部の欠け、及び/又は、バー93Aの少なくとも一部の掠れを評価している。これにより、エレメントの少なくとも一部の欠けの度合、及び/又は、エレメントの少なくとも一部の掠れの度合について、適切かつ客観的に評価することができる。 In the inspection device 5 of the above embodiment, the inspection unit 55B bases the barcode image on two evaluation parameters of defect and modulation, which are evaluation parameters for determining the grade of the barcode symbol defined by the Japanese Industrial Standards. , At least a part of the bar 93A is missing, and / or at least a part of the bar 93A is blurred. Thereby, 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 appropriately and objectively evaluated.

上記実施形態の検査装置5では、評価パラメータの種類及び閾値を設定する設定部55Cを備えているので、バーコード93の印刷品質を判定するにあたり適切な評価パラメータを設定することができる。 Since the inspection device 5 of the above embodiment includes a setting unit 55C for setting the type and threshold value of the evaluation parameter, it is possible to set an appropriate evaluation parameter when determining the print quality of the barcode 93.

以上、本発明の実施形態について説明してきたが、本発明は必ずしも上述した実施形態に限定されるものではなく、その要旨を逸脱しない範囲で様々な変更が可能である。 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 inspection device 5 of the above embodiment has been described with an example of adopting at least one of a defect and a modulation as an evaluation parameter for evaluating the quality of the barcode 93, but in addition to these evaluation parameters, the decoding ease is added. May be added. Decoding ease here is an evaluation parameter for determining the grade of the barcode symbol defined by the Japanese Industrial Standards (JIS X 0520: 2014), as well as defects and modulation.

復号容易度とは、バーコードリーダが、各シンボル体系仕様で定めた「参照複合アルゴリズム」によって複合するときの複合しやすさの度合いをいう。例えば、バー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 bar 93A and the space 93B cannot be obtained due to the lack of the bar 93A (or the space 93B), the grade which is the evaluation value of the decoding ease becomes small. As described above, the decoding ease, which is one of the evaluation parameters, is suitable for evaluating the thickness ratio of the bar 93A and the space 93B. Modulation grades are represented by 4 (good) to 0 (bad). The inspection device 5 according to the modified example can appropriately and objectively evaluate the degree of chipping of at least a part of the bar 93A and / or the degree of blurring of at least a part of the bar 93A.

(変形例2)
上記実施形態及び上記変形例の検査装置5の検査部55Bは、バーコード画像をコード情報に変換できるか否かの判定結果と、バーコード画像に基づいて評価されるバーコード93の印刷品質との二つの指標に基づいて、バーコード93の良否を判定する例を挙げて説明したが、これに限定されない。例えば、検査部55Bは、バー93Aの配列方向における両端のバー93Aの高さ方向長さを、これらの指標に加えることによってバーコード93の良否を判定してもよい。
(Modification 2)
The inspection unit 55B of the inspection device 5 of the above-described embodiment and the above-described modification determines whether or not the barcode image can be converted into code information, and the print quality of the barcode 93 evaluated based on the barcode image. Although the description has been given with an example of determining the quality of the barcode 93 based on the above two indexes, the present invention is not limited to this. For example, the inspection unit 55B may determine the quality of the barcode 93 by adding the lengths of the bars 93A at both ends in the arrangement direction of the bars 93A in the height direction to these indexes.

図5(A)に示されるように、フィルムFに印字されるバーコード93には、バー93Aの配列方向に沿って延在する白い線(筋)が入る印字不良が発生することがある。このような印字不良を有するバーコード93は、バーコードリーダでスキャニングしたときに読取不能になる可能性は小さいものの、不良品として取り除いておきたいという要望がある。そして、このような白い線が入る印字不良は、上記実施形態で説明した熱転写インクリボンを用いて印字する印刷部42を有する構成の印刷装置4において発生することが多い。 As shown in FIG. 5A, the barcode 93 printed on the film F may have a printing defect in which white lines (streaks) extending along the arrangement direction of the bars 93A are included. Although it is unlikely that the barcode 93 having such a printing defect becomes unreadable when scanned by a barcode reader, there is a request that the barcode 93 should be removed as a defective product. Then, such a printing defect in which a white line is inserted often occurs in the printing apparatus 4 having a printing unit 42 for printing using the thermal transfer ink ribbon described in the above embodiment.

より詳細には、上記の印字不良は、作業者が熱転写インクリボンを印字方向とは逆方向に巻き戻してしまい、熱転写インクリボンにおいて一度印字した部分が再度印字に用いられることによって発生する。このような印字不良は、バーコード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 barcode 93, the barcode 93 that is normal on at least one side of the white line is determined to be a good product by the inspection device 5 of the above embodiment. ..

そこで、変形例2に係る検査装置5では、図5(B)に示されるように、検査部55Bは、バー93Aの配列方向における両端のバー93Aの高さ方向長さH1・H2を取得し、取得した高さ方向長さH1・H2が予め記憶された基準値よりも短い場合、そのバーコード93は不良品と判定する。このような判定を実施する変形例2に係る検査装置5では、白い線が入る印字不良が生じたときには、両端のバー93Aが高さ方向に白い線で分断されるので、取得される高さ方向長さH1・H2が相対的に短くなる。これにより、白い線が入ったバーコード93は不良品と判定される。 Therefore, in the inspection device 5 according to the modified example 2, as shown in FIG. 5B, the inspection unit 55B acquires the lengths H1 and H2 of the bars 93A at both ends in the arrangement direction of the bars 93A in the height direction. If the acquired lengths H1 and H2 in the height direction are shorter than the reference value stored in advance, the bar code 93 is determined to be a defective product. In the inspection device 5 according to the modified example 2 that performs such a determination, when a printing defect in which a white line is inserted occurs, the bars 93A at both ends are divided by the white line in the height direction, so that the height to be obtained is obtained. The directional lengths H1 and H2 are relatively short. As a result, the barcode 93 containing the white line is determined to be a defective product.

(その他の変形例)
上記実施形態及び上記変形例では、印刷部42がインクリボンを用いて印刷を行う形態を一例に説明した。しかし、印刷の方式はこれに限定されず、例えば、インクジェット方式であってもよい。
(Other variants)
In the above-described embodiment and the above-mentioned modification, a mode in which the printing unit 42 prints using the ink ribbon has been described as an example. However, the printing method is not limited to this, and may be, for example, an inkjet method.

上記実施形態及び上記変形例では、検査部55Bは、バーコード93の印字品質を判定するための評価パラメータとして欠陥及びモジュレーションの少なくとも一方を採用するか、これらに加えて復号容易度を採用する例を挙げて説明したが、これらに限定されない。例えば、検査部55Bは、上述の評価パラメータに代えて又は加えて、日本工業規格によって定められた最小反射率、シンボルコントラスト、及び最小エッジコントラストの少なくとも一つを採用してもよい。しかしながら、上述のエレメントの欠け及び掠れを適切に検出できる欠陥及びモジュレーションの両方を評価パラメータとしてバーコード93の印字品質を評価する上記の実施形態は印字品質の評価精度を高めることができる。 In the above embodiment and the above modification, the inspection unit 55B adopts at least one of defects and modulation as an evaluation parameter for determining the print quality of the barcode 93, or adopts decoding ease in addition to these. However, the explanation is not limited to these. For example, the inspection unit 55B may adopt at least one of the minimum reflectance, the symbol contrast, and the minimum edge contrast defined by the Japanese Industrial Standards in place of or in addition to the evaluation parameters described above. However, the above-described embodiment for evaluating the print quality of the barcode 93 using both the defect and the modulation capable of appropriately detecting the chipping and blurring of the above-mentioned element as evaluation parameters can improve the evaluation accuracy of the print quality.

上記実施形態及び上記変形例の検査部55Bは、取得部55Aによって取得されたバーコード画像に基づいてバーコード93の印字品質を評価している例を挙げて説明したが、当該バーコード画像に画像処理を施してからバーコード93の印字品質を評価してもよい。画像処理の例には、カラーフィルタを用いた処理が含まれる。例えば、柄入りのフィルムF上に印字されたバーコード93のバーコード画像に基づいて上記の印字品質を評価した場合、印字自体は問題無いものであっても不良品判定となる場合がある。これは、前述の評価パラメータは、バー93Aの欠けだけではなく、スペース93Bの欠け(スペース93B内の反射率のバラツキ)についても評価対象としているためである。ここで、閾値を緩和する方法も考えられるが、本来の目的である欠け及び掠れの検出ができなくなるおそれがある。そこで、本変形例の検査部55Bは、例えばレッドフィルターを用いてバーコード画像に画像処理を施してからバーコード93の印字品質を評価している。これにより、スペース93Bの反射率のバラツキを軽減させることができるので、バーコード93の印字品質を適切に評価することができる。 The inspection unit 55B of the above embodiment and the above modification has been described with reference to an example in which the print quality of the barcode 93 is evaluated based on the barcode image acquired by the acquisition unit 55A. The print quality of the barcode 93 may be evaluated after performing image processing. Examples of image processing include processing using color filters. For example, when the above print quality is evaluated based on the bar code image of the bar code 93 printed on the film F with a pattern, even if the print itself has no problem, it may be determined as a defective product. This is because the above-mentioned evaluation parameter targets not only the chipping of the bar 93A but also the chipping of the space 93B (the variation in the reflectance in the space 93B). Here, a method of relaxing the threshold value can be considered, but there is a possibility that the original purpose of detecting chipping and blurring cannot be detected. Therefore, the inspection unit 55B of this modification evaluates the print quality of the barcode 93 after performing image processing on the barcode image using, for example, a red filter. As a result, the variation in the reflectance of the space 93B can be reduced, so that the print quality of the barcode 93 can be appropriately evaluated.

上記実施形態及び上記変形例では、検査装置5は、搬送装置3、印刷装置4、及び包装装置6と一体的に構成された包装システム1の一部として組み込まれている例を挙げて説明したが、これに限定されない。例えば、検査装置5は、搬送装置3、印刷装置4、及び包装装置6とは、別体として構成されてもよい。また、検査装置5は、包装システム1が配備される場所に配置されてもよいし、包装システム1が配備される場所とは離れた場所に、有線又は無線によってアクセス可能に配置されてもよい。 In the above embodiment and the above modification, the inspection device 5 has been described with reference to an example in which the inspection device 5 is incorporated as a part of the packaging system 1 integrally configured with the transfer device 3, the printing device 4, and the packaging device 6. However, it is not limited to this. For example, the inspection device 5 may be configured as a separate body from the transfer device 3, the printing device 4, and the packaging device 6. Further, the inspection device 5 may be arranged at a place where the packaging system 1 is deployed, or may be arranged at a place distant from the place where the packaging system 1 is deployed so as to be accessible by wire or wirelessly. ..

上記実施形態及び上記変形例では、検査装置5は、包装システム1の一部として組み込まれる例を挙げて説明したが、検査装置5は、ラベルプリンタ等のラベル発行装置、ラベル発行貼付装置等、バーコード93を印字する各種装置に組み込まれてもよい。 In the above embodiment and the above modification, the inspection device 5 has been described with reference to an example in which the inspection device 5 is incorporated as a part of the packaging system 1. However, the inspection device 5 includes a label issuing device such as a label printer, a label issuing and pasting device, and the like. It may be incorporated in various devices for printing the bar code 93.

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.
前記検査部は、前記バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥及びモジュレーションの二つの評価パラメータに基づいて、前記エレメントの少なくとも一部の欠け及び/又は前記エレメントの少なくとも一部の掠れを評価する、請求項2記載の検査装置。 The inspection unit uses at least a part of the element based on two evaluation parameters of defect and modulation, which are evaluation parameters for determining the grade of the barcode symbol defined by the Japanese Industrial Standards for the barcode image. The inspection device according to claim 2, which evaluates chipping and / or blurring of at least a part of the element. 前記検査部は、前記バーコード画像を日本工業規格で定められたバーコードシンボルのグレードを決定するための評価パラメータである欠陥、モジュレーション、及び復号容易度の三つの評価パラメータに基づいて、前記エレメントの少なくとも一部の欠け及び/又は前記エレメントの少なくとも一部の掠れを評価する、請求項2記載の検査装置。 The inspection unit uses the element based on 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. 2. The inspection device according to claim 2, which evaluates at least a part of a chip and / or a blur 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.
前記評価パラメータの種類及び前記閾値を設定する設定部を更に備える、請求項5記載の検査装置。 The inspection device according to claim 5, further comprising a setting unit for setting the type of the evaluation parameter and the threshold value.
JP2020177447A 2020-10-22 2020-10-22 Inspection device Pending JP2022068654A (en)

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)

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