JP2014165797A - Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program - Google Patents

Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program Download PDF

Info

Publication number
JP2014165797A
JP2014165797A JP2013036892A JP2013036892A JP2014165797A JP 2014165797 A JP2014165797 A JP 2014165797A JP 2013036892 A JP2013036892 A JP 2013036892A JP 2013036892 A JP2013036892 A JP 2013036892A JP 2014165797 A JP2014165797 A JP 2014165797A
Authority
JP
Japan
Prior art keywords
label
staircase
barcode
image
ledger
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
JP2013036892A
Other languages
Japanese (ja)
Inventor
Hiroichi Sadatomi
博一 貞富
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2013036892A priority Critical patent/JP2014165797A/en
Publication of JP2014165797A publication Critical patent/JP2014165797A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To automatically perform a print omission checking.SOLUTION: A label ledger inspection device 1 obtains an image of an inspected label 31 from a label ledger 3 having the inspected label attached thereto, for managing the propriety of labels 4, 5, 6 printed by a prescribed printer 7 and attached to food products, in order to inspect the propriety. The label ledger 3 has a stair barcode 50 printed by a printer 7 attached thereto, and the stair barcode 50 has a plurality of squares 55 uniformly shifted in the X and Y directions to be arranged in a stair shape. In addition, the label ledger inspection device 1 comprises: a ledger image storage unit 28 for storing a ledger image acquired from the label ledger 3 having the stair barcode 50 attached thereto; and a print state determination unit 54 for determining the propriety of the print state by the printer 7 by inspecting a dot omission in an image of the stair barcode 50.

Description

本発明は、食品生産物に貼付するラベルの印刷状態を管理するための印刷状態検査機能を有するラベル台帳検査装置に関する。   The present invention relates to a label ledger inspection apparatus having a printing state inspection function for managing the printing state of a label to be attached to a food product.

従来、食品製造工場では、生産した食品生産物に種々のラベルを貼付している。当該ラベルは当該食品生産物としての商品の名称及び消費期限等を表示するPOSラベルであったり、食品の内容を端的に表示する包材ラベルであったり、販売促進のためのポイントを表示する販促ラベルであったりする。そして、ラベルの貼付作業は当該食品の製造開始から製造終了までに行われる。食品製造業界では、一般的にラベルの貼付作業におけるラベルの適否を管理するために被検査ラベルを貼ったラベル台帳が使用されている。ラベルの貼付作業は当該ラベル台帳に貼られた被検査ラベルを基準に行われ、これによりラベル貼付作業の正確性と迅速性が図られる。   Conventionally, in food manufacturing factories, various labels are affixed to produced food products. The label is a POS label that displays the name and expiry date of the product as the food product, a packaging label that simply displays the contents of the food, or a promotion that displays points for sales promotion. It may be a label. And the label sticking operation is performed from the start of manufacture of the food to the end of manufacture. In the food manufacturing industry, a label ledger with a label to be inspected is generally used to manage the suitability of the label in the labeling operation. The label affixing operation is performed on the basis of the inspected label affixed to the label ledger, thereby improving the accuracy and speed of the label affixing operation.

図9は従来のラベル台帳のレイアウト構成を示す説明図である。同図は例えば甲工場のラベル台帳70を示す。同図に示す甲工場のラベル台帳70は、見本ラベル71に製品名「おにぎりいくら」とバーコードが表示され、その下に被検査ラベルを貼るための被検査ラベル領域72(1)、(2)、(3)、(4)が設けてある。被検査ラベル領域72は左上から横方向に順に(1)、(2)、(3)、(4)が指定され、被検査ラベルを貼る際に時間的に差があるとき、即ち被検査ラベルが時間により変更されるときは、被検査ラベル領域72(1)、(2)、(3)、(4)の順に貼っていく。そして、被検査ラベル領域72は破線77で区分けされ固定化されている。   FIG. 9 is an explanatory diagram showing the layout configuration of a conventional label ledger. The figure shows a label ledger 70 of, for example, the factory A. In the label book 70 of the former factory shown in the figure, the product name “Onigiri Ikura” and the barcode are displayed on the sample label 71, and the inspected label areas 72 (1), (2) for attaching the inspected label thereunder. ), (3), (4). In the inspected label area 72, (1), (2), (3), (4) are designated in order from the upper left to the horizontal direction, and when the inspected label is pasted, there is a time difference, that is, the inspected label Is changed according to time, the inspected label regions 72 (1), (2), (3), and (4) are pasted in this order. The inspection label area 72 is divided and fixed by a broken line 77.

従って、まず被検査ラベル領域72(1)にPOSラベル73、包材ラベル74及び販促ラベル75の3種類の被検査ラベルを貼る。その後ラベルの交換、即ち、販促ラベル75の巻のみがなくなり、再度新しい巻をセットし、再度販促ラベル75を検査する場合に、次の被検査ラベル領域72(2)に販促ラベル76を貼る。ライン番号78及びライン番号バーコード78−1は、複数の生産ラインによって同一食品生産物を生産する際の生産ライン番号を示す。複数同時生産ラインによって生産する食品生産物に対しても、常に同一のラベルを貼付する必要があるので、同一のラベル台帳70が必要である。ライン番号78及びライン番号バーコード78−1は、複数同時生産時にシステム上台帳を見分ける必要があるので印字している。同図の「01」は、複数ある生産ラインのうちライン番号01番の生産ライン用のラベル台帳70であることを示す。   Therefore, first, three types of test labels, that is, the POS label 73, the packaging material label 74, and the sales promotion label 75 are attached to the test label area 72 (1). Thereafter, when the label is exchanged, that is, when only the volume of the sales promotion label 75 is lost, a new volume is set again and the sales promotion label 75 is inspected again, the sales promotion label 76 is pasted on the next inspected label area 72 (2). The line number 78 and the line number barcode 78-1 indicate the production line numbers when the same food product is produced by a plurality of production lines. Since it is necessary to always attach the same label to food products produced by a plurality of simultaneous production lines, the same label ledger 70 is required. The line number 78 and the line number bar code 78-1 are printed because it is necessary to distinguish the system ledger when a plurality of lines are simultaneously produced. “01” in the figure indicates a label ledger 70 for the production line of line number 01 among a plurality of production lines.

ここで、ラベル台帳70に正しく被検査ラベル73、74、75が貼られているかの検査は、作業員が目視によって行っていた。ラベル台帳70はこれを作成した時点で間違いを発見できれば、ラベルの貼付作業を含めた食品生産物の生産をストップすることができるため無駄な生産を未然に防ぐことができる。また、被検査ラベル73、74、75は、ラベル台帳70に貼ることで、ラベルのゆがみが発生しない状態で、異材ラベルの検査が可能になる。そのため当該ラベル台帳70の作成に当たり、目視ではなくコンピュータ化することが求められている。そこで、コンピュータ化は、被検査ラベル73、74、75が貼られたラベル台帳70をスキャナ又はカメラで画像を取得し、台帳画像を画像解析により本来正しい被検査ラベル73、74、75が貼られているかを自動的に検査するラベル台帳検査装置が考えられる。   Here, the operator has visually inspected whether the inspected labels 73, 74, and 75 are correctly attached to the label ledger 70. If the label ledger 70 can find an error when it is created, the production of the food product including the label attaching operation can be stopped, so that unnecessary production can be prevented. In addition, the labels to be inspected 73, 74, and 75 are attached to the label ledger 70, so that different material labels can be inspected without any distortion of the labels. Therefore, in creating the label ledger 70, it is required to make it into a computer rather than visually. Therefore, in the computerization, the label ledger 70 with the inspected labels 73, 74, and 75 is acquired with a scanner or a camera, and the ledger image is subjected to image analysis so that the correct inspected labels 73, 74, and 75 are pasted. A label ledger inspection device that automatically inspects whether or not the device is in place.

一方、特に食品業界において、アレルギーの表記が問題なく印刷されているか、鮮明に印刷されているかが非常に重要になってきている。そのため印刷されたPOSラベルにかすれ印字(即ち、ドット抜け)が存在するかを判断するため、多くの食品業界において専用の階段バーコードを印字し、その階段バーコードをチェックすることにより、かすれ印字のチェックを実施している。階段バーコードとは、図3に記載されるように、階段状にバーが印刷された印刷物を指す。   On the other hand, especially in the food industry, it has become very important whether the allergy label is printed without problems or clearly printed. For this reason, in order to determine whether the printed POS label has a faint print (that is, missing dots), in many food industries, a special staircase barcode is printed, and the staircase barcode is checked to print the faint print. Checks are being carried out. As described in FIG. 3, the staircase barcode refers to a printed matter in which bars are printed in a staircase shape.

図10は、従来のかすれ印字(ドット抜け)のチェックを示す説明図である。同図(a)は、かすれ印字のあるPOSラベル73を示し、POSラベル73は矢印Aラインにドット抜けが存在することを示す。一般にインクジェットプリンタ、サーマルプリンタ等のプリンタでは、1ドット毎にずらして印刷することにより、ドット抜けを検査することが行われている。同図(b)は、かすれ印字をチェックするためのテストパターンとしての階段バーコード81を示し、1ドット毎にずらして印刷したものである。当該階段バーコード81は矢印Bラインにドット抜けが存在することを示す。両者は同一の図示しない印刷装置で印刷されたものとする。   FIG. 10 is an explanatory diagram showing a conventional check for faint printing (dot missing). FIG. 4A shows a POS label 73 with faint printing, and the POS label 73 shows that a dot dropout exists on the arrow A line. In general, in printers such as ink jet printers and thermal printers, dot missing is inspected by shifting printing for each dot. FIG. 5B shows a staircase barcode 81 as a test pattern for checking fading printing, which is printed while being shifted for each dot. The staircase bar code 81 indicates that there is a missing dot on the arrow B line. Both are printed by the same printing apparatus (not shown).

階段バーコード81は階段状にバーコードを印刷し、バーコードの抜けを検査することによりドット抜けを検査する。かすれ印字のあるPOSラベル73を未然に発見するために、予め当該印刷装置で階段バーコード81を印刷し、目視によりかすれ印字のチェックを行っていた。   The staircase bar code 81 prints a bar code in a staircase pattern, and inspects missing dots by inspecting missing bar codes. In order to detect the POS label 73 with faint printing in advance, the staircase barcode 81 is printed in advance by the printing apparatus, and the faint printing is checked visually.

なお、特開2004−58282号公報(特許文献1)にはインクジェット記録装置が記載されている。特許文献1の図4には階段チャートが記載され、インクジェットの各ノズルから吐出されたインク滴が、記録媒体上に着弾した様子を観察できることが記載されている。   JP-A-2004-58282 (Patent Document 1) describes an ink jet recording apparatus. FIG. 4 of Patent Document 1 describes a stair chart, which describes that it is possible to observe how ink droplets ejected from each inkjet nozzle land on a recording medium.

特開2004−58282号公報JP 2004-58282 A

しかしながら、従来技術に関する階段バーコード81を利用した検査方法では、X軸方向の印字抜けは検査できても、Y軸方向の印字抜けが検査できないという問題があった。また、X軸方向及びY軸方向の印字抜けを同時には判定できないという問題もあった。更に、目視によるチェックでは限界があり、検査漏れが発生するという問題があった。   However, the inspection method using the staircase bar code 81 related to the prior art has a problem that even if the printing omission in the X-axis direction can be inspected, the printing omission in the Y-axis direction cannot be inspected. There is also a problem that it is not possible to simultaneously determine missing prints in the X-axis direction and the Y-axis direction. Furthermore, there is a limit in the visual check, and there is a problem that an inspection omission occurs.

また、ラベル台帳70に被検査ラベルとしてのPOSラベル73等と階段バーコード81を貼付し、ラベル台帳検査装置によりPOSラベル73等の検査と同時に、階段バーコード81を利用した印字抜けチェックを行うことも考えられるが、階段バーコード81の適否の検査にも限界があり、POSラベル73等の検査と同時に行うことは困難であるという問題があった。更にまた、画像同士の特徴点を取り出し、比較する方法も考えられるが、階段バーコードのかすれの場合、わずかに白い線が入っているのみのため、従来の画像による検査方法では当該かすれが検知できないという問題があった。   Further, a POS label 73 and the like as a label to be inspected and a stair bar code 81 are attached to the label ledger 70, and a check for missing prints using the stair bar code 81 is performed simultaneously with the inspection of the POS label 73 etc. by the label ledger inspection device. However, there is a limit to the suitability check of the staircase barcode 81, and there is a problem that it is difficult to perform it simultaneously with the check of the POS label 73 and the like. In addition, a method of extracting and comparing feature points between images is also conceivable, but in the case of blurring of staircase barcodes, only a slight white line is included, so that the conventional image inspection method detects such blurring. There was a problem that I could not.

本発明が解決しようとする課題は、階段バーコードを利用した印字抜けチェックを自動で行うことにより、印刷装置による印刷状態の適否を判定することにある。   The problem to be solved by the present invention is to determine the suitability of a printing state by a printing apparatus by automatically performing a check for missing print using a staircase barcode.

上記課題を解決するために本発明に関するラベル台帳検査装置は、所定の印刷装置により印刷され、食品生産物に貼付されるラベルであって、当該ラベルの適否を管理するための被検査ラベルを貼ったラベル台帳から前記被検査ラベルの画像を得て、当該被検査ラベルの適否を検査するラベル台帳検査装置において、前記ラベル台帳には、前記印刷装置で印刷した階段バーコードが前記被検査ラベルとともに貼付され、前記階段バーコードは、複数の方形部をX方向及びY方向に均等にずらせて階段状に配置した形状であり、更に、前記階段バーコードと前記被検査ラベルを貼った前記ラベル台帳から取得した台帳画像を記憶する台帳画像格納部と、前記階段バーコードの画像からドット抜けを検査することにより前記印刷装置による印刷状態の適否を判定する印刷状態判定部とを有することを特徴とするものである。   In order to solve the above-described problems, a label ledger inspection apparatus according to the present invention is a label printed by a predetermined printing apparatus and affixed to a food product, and a label to be inspected for managing the adequacy of the label is attached. In the label ledger inspection apparatus that obtains an image of the inspected label from the label ledger and inspects the suitability of the inspected label, the stair barcode printed by the printing device is included in the label ledger together with the inspected label The staircase bar code is a shape in which a plurality of square portions are arranged in a staircase shape evenly shifted in the X and Y directions, and the label ledger on which the staircase bar code and the inspected label are pasted A ledger image storage unit for storing a ledger image obtained from the printing method, and a printing form by the printing device by inspecting missing dots from the image of the staircase barcode. It is characterized in that it has a determining printing state determination unit the appropriateness of.

上記構成を有する本発明によれば、食品生産物に貼付されるラベルを印刷する印刷装置に階段バーコードを印刷させ、印刷した階段バーコードを被検査ラベルとともにラベル台帳に貼付する。そして、ラベル台帳検査装置では、前記階段バーコードと前記被検査ラベルを貼った前記ラベル台帳から取得した台帳画像を記憶する台帳画像格納部と、前記階段バーコードの画像からドット抜けを検査することにより前記印刷装置による印刷状態の適否を判定する印刷状態判定部を有することとしたので、被検査ラベルの適否の検査と、印刷装置の適否の検査を同時に可能とするラベル台帳検査装置を提供することが可能になる。   According to the present invention having the above-described configuration, the staircase barcode is printed on the printing apparatus that prints the label to be attached to the food product, and the printed staircase barcode is attached to the label ledger together with the label to be inspected. And in the label ledger inspection device, a ledger image storage unit for storing a ledger image acquired from the label ledger with the staircase barcode and the label to be inspected, and inspecting missing dots from the image of the staircase barcode The label ledger inspection apparatus that enables the inspection of the appropriateness of the inspected label and the inspection of the appropriateness of the printing apparatus at the same time is provided. It becomes possible.

第1の実施の形態に関するラベル台帳検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the label ledger inspection apparatus regarding 1st Embodiment. ラベルの種類を示す説明図である。It is explanatory drawing which shows the kind of label. 第1の実施の形態に関する階段バーコードを示す説明図である。It is explanatory drawing which shows the staircase barcode regarding 1st Embodiment. 第1の実施の形態に関するラベル台帳のレイアウト構成を示す説明図である。It is explanatory drawing which shows the layout structure of the label ledger regarding 1st Embodiment. 第1の実施の形態に関するラベル台帳検査装置の動作の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of operation | movement of the label ledger inspection apparatus regarding 1st Embodiment. 第1の実施の形態に関する階段バーコードの印字抜け判定動作を示すフローチャートである。It is a flowchart which shows printing omission determination operation | movement of the staircase barcode regarding 1st Embodiment. 第1の実施の形態に関する印字抜け判定の動作を示す説明図である。It is explanatory drawing which shows the operation | movement of printing omission determination regarding 1st Embodiment. 同じく第1の実施の形態に関する印字抜け判定の動作を示す説明図である。It is explanatory drawing which similarly shows the operation | movement of a printing | missing omission determination regarding 1st Embodiment. 従来のラベル台帳のレイアウト構成を示す説明図である。It is explanatory drawing which shows the layout structure of the conventional label ledger. 従来のかすれ印字のチェックを示す説明図である。It is explanatory drawing which shows the check of the conventional faint print.

(第1の実施の形態)
以下、本発明の第1の実施の形態について説明する。図1は第1の実施の形態に関するラベル台帳検査装置の構成を示すブロック図である。弁当や惣菜等の食品製造工場の複数同時生産ラインにおける生産される食品生産物にラベルを貼付する作業において、ラベル台帳3は、ラベルの適否を管理するために後述する被検査ラベル31及び本実施の形態に関する階段バーコード50を貼って作成される。作成されたラベル台帳3は撮像装置としてのカメラ又はスキャナ2によって走査され、後述する台帳画像3−1が読み取られる。スキャナ2によって取得された台帳画像3−1は、画像信号としてラベル台帳検査装置1へ送られる。なお、印刷装置7については後述する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described. FIG. 1 is a block diagram showing the configuration of the label ledger inspection apparatus according to the first embodiment. In the work of attaching labels to food products produced in multiple simultaneous production lines of food manufacturing plants such as lunch boxes and side dishes, the label ledger 3 is a label to be inspected 31 described later and this implementation in order to manage the suitability of the labels. It is created by pasting a staircase bar code 50 relating to the form. The created label ledger 3 is scanned by a camera or scanner 2 as an imaging device, and a ledger image 3-1 described later is read. The ledger image 3-1 acquired by the scanner 2 is sent to the label ledger inspection apparatus 1 as an image signal. The printing device 7 will be described later.

ラベル台帳検査装置1はパソコンからなり、スキャナ2からの画像信号を受信する画像入力部11を有する。スキャナ2からの画像信号には、階段バーコード50の画像が含まれている。画像入力部11で受信された画像信号は、台帳画像3−1に変換されて画像メモリ12の台帳画像格納部28に記憶される。更に、台帳画像格納部28には、後述する白紙の台帳画像3−0が記憶されている。白紙の台帳画像3−0とは、ラベル台帳3のうち被検査ラベル31が貼られていないラベル台帳3の画像である。台帳画像格納部28はまた、台帳画像3−1と白紙の台帳画像3−0とから計算された差分画像42(後述する被検査ラベル領域26(1)の画像)を記憶する。   The label ledger inspection apparatus 1 includes a personal computer and includes an image input unit 11 that receives an image signal from the scanner 2. The image signal from the scanner 2 includes an image of the staircase barcode 50. The image signal received by the image input unit 11 is converted into a ledger image 3-1 and stored in the ledger image storage unit 28 of the image memory 12. Further, the ledger image storage unit 28 stores a blank ledger image 3-0, which will be described later. The blank ledger image 3-0 is an image of the label ledger 3 in which the label 31 to be inspected is not pasted. The ledger image storage unit 28 also stores a difference image 42 (an image of an inspected label area 26 (1) described later) calculated from the ledger image 3-1 and the blank ledger image 3-0.

画像メモリ12は、更にパラメータ格納部29及びラベル画像格納部30を有する。パラメータ格納部29には、ラベル台帳3のパラメータである商品番号、便番号及び検査日が記憶されている。当該パラメータは、ラベル台帳3のバーコード25に記載されており、図示しないバーコード読取部により読み取られて、当該パラメータ格納部29に記憶される。ラベル画像格納部30には、被検査ラベル領域26の後述する被検査ラベル画像31−1の画像が記憶され、更に予め登録した後述する登録ラベル画像45が記憶されている。   The image memory 12 further includes a parameter storage unit 29 and a label image storage unit 30. The parameter storage unit 29 stores a product number, a flight number, and an inspection date, which are parameters of the label ledger 3. The parameter is described in the barcode 25 of the label ledger 3, read by a barcode reading unit (not shown), and stored in the parameter storage unit 29. The label image storage unit 30 stores an image of an inspected label image 31-1 described later in the inspected label area 26, and further stores a registered label image 45 described later registered in advance.

被検査ラベル領域取得部13は、スキャナ2から今回受信した台帳画像3−1について、後述する第1番目の被検査ラベル領域26(1)を指示する図示しない太線枠を認識し、被検査ラベル領域26(1)のエリアを取得し、被検査ラベル領域26(1)の左下を自動的に原点(0,0)とする。   The inspected label area acquisition unit 13 recognizes a thick line frame (not shown) indicating a first inspected label area 26 (1) to be described later on the ledger image 3-1 received from the scanner 2 this time, and inspects the label. The area 26 (1) is acquired, and the lower left of the inspected label area 26 (1) is automatically set as the origin (0, 0).

特徴点抽出部14は、第1回目の検査のとき、及び第2回目以降の検査のときも、台帳画像3−1と、白紙の台帳画像3−0について、常に被検査ラベル領域26(1)から差分画像42を計算する。白紙の台帳画像3−0には被検査ラベル31が貼られていないので、差分画像42には被検査ラベル領域26(1)の画像が得られる。そして、特徴点抽出部14は被検査ラベル領域26(1)の画像から特徴点を抽出する。   The feature point extraction unit 14 always performs the inspected label area 26 (1) for the ledger image 3-1 and the blank ledger image 3-0 during the first examination and the second and subsequent examinations. ) To calculate the difference image 42. Since the inspected label 31 is not pasted on the blank ledger image 3-0, an image of the inspected label area 26 (1) is obtained in the difference image 42. Then, the feature point extraction unit 14 extracts feature points from the image of the inspected label area 26 (1).

パラメータ判定部15は、前記パラメータ格納部29に記憶されたラベル台帳3のパラメータである検査日、便番号及び商品番号が一致する台帳画像3−1があるかどうか判定する。ここで、検査日とはラベル台帳3の検査日である。便番号とは食品生産のロット番号であり、商品番号とは商品の種類に付された固有の番号である。パラメータが一致する台帳画像3−1がなければ、検査対象となる第1回目のラベル台帳3の検査であることが分かる。そして当該パラメータをパラメータ格納部29に登録する。第2回目以降のラベル台帳3の検査のときは、ラベル台帳3のパラメータである商品番号、便番号及び検査日の全てが同一かどうかで判定する。そうすると、ラベル台帳3のパラメータが、パラメータ格納部29にあれば第2回目以降の検査であることが分かる。   The parameter determination unit 15 determines whether there is a ledger image 3-1 in which the inspection date, the flight number, and the product number, which are parameters of the label ledger 3 stored in the parameter storage unit 29, match. Here, the inspection date is the inspection date of the label ledger 3. A flight number is a lot number for food production, and a product number is a unique number assigned to the type of product. If there is no ledger image 3-1 with the matching parameters, it can be seen that the inspection is for the first label ledger 3 to be inspected. Then, the parameter is registered in the parameter storage unit 29. When the label ledger 3 is inspected for the second and subsequent times, it is determined whether or not the product number, the flight number, and the inspection date, which are parameters of the label ledger 3, are all the same. If it does so, if the parameter of the label ledger 3 exists in the parameter storage part 29, it will be understood that it is the inspection after the 2nd time.

領域1画像判定部16は、台帳画像3−1の第1番目の被検査ラベル領域26(1)の画像特徴点を比較し、一致不一致を判定する。一致すれば同じ生産ラインのラベル台帳3であり、不一致であれば異なる生産ラインのラベル台帳3である。従って、領域1画像判定部16は、前記パラメータ判定部15と相まって、複数の台帳画像3−1について、パラメータ及び画像特徴点の一致不一致に応じて、複数同時生産ラインのうち同じ生産ライン用のラベル台帳3か否か判定するものである。   The area 1 image determination unit 16 compares the image feature points of the first inspected label area 26 (1) of the ledger image 3-1, and determines the coincidence / mismatch. If they match, it is the label ledger 3 of the same production line, and if they do not match, it is the label ledger 3 of a different production line. Accordingly, the region 1 image determination unit 16, in combination with the parameter determination unit 15, for the plurality of ledger images 3-1, for the same production line among the plurality of simultaneous production lines, according to the match / mismatch of the parameters and the image feature points. It is determined whether the label ledger 3 or not.

更に、被検査ラベル検査部17は、ラベル画像格納部30に記憶された被検査ラベル画像31−1と、登録ラベル画像45とを比較検査する。被検査ラベル検査部17は、被検査ラベル画像31−1の個数と画像のチェックを行う。ここで被検査ラベル検査部17が行う画像のチェックは、被検査ラベル画像31−1の特徴点と、登録ラベル画像45の特徴点を比較検査する。特徴点比較を行えば迅速化が期待できる。比較検査の結果、被検査ラベル画像31−1が、予め登録した登録ラベル画像45と同じであるときは、ラベル台帳3に誤りがないことになる。   Further, the inspected label inspection unit 17 compares and inspects the inspected label image 31-1 stored in the label image storage unit 30 and the registered label image 45. The inspected label inspection unit 17 checks the number and images of the inspected label images 31-1. Here, the image check performed by the inspected label inspection unit 17 compares and inspects the feature points of the inspected label image 31-1 and the feature points of the registered label image 45. Speeding up can be expected by comparing feature points. As a result of the comparison inspection, when the inspected label image 31-1 is the same as the registered label image 45 registered in advance, the label ledger 3 has no error.

更に、表示部18は被検査ラベル検査部17による検査結果と、後述する印刷装置7による印刷状態にドット抜けがあるとき、その判定結果を表示する。記憶部19はラベル台帳検査動作及び印刷状態判定動作に必要な情報を記憶する。階段バーコード判別部51は、台帳画像格納部28から読み出した階段バーコード50の画像が正しい階段バーコード50かどうか判定する。   Further, the display unit 18 displays the determination result when there is a missing dot in the inspection result by the inspected label inspection unit 17 and the printing state by the printing apparatus 7 described later. The storage unit 19 stores information necessary for the label ledger inspection operation and the printing state determination operation. The stair bar code discriminating unit 51 determines whether the image of the stair bar code 50 read from the ledger image storage unit 28 is the correct stair bar code 50.

線分取得部52は、階段バーコード判別部51が判別した階段バーコード50の画像に対して、原点S(0、0)及び最大値M(a、b)を検出し、原点S(0、0)及び最大値M(a、b)を結ぶ線分を取得する。ドット抜け判定部53は、線分取得部52が取得した線分に対して、ドット抜けを判定する。これら階段バーコード判別部51、線分取得部52及びドット抜け判定部53は、印刷状態判定部54を構成する。印刷状態判定部54は、印刷装置7が正常に印刷しているかどうかを判定する。即ち、印刷状態判定部54は、階段バーコード50の画像からドット抜けを検査することにより印刷装置7による印刷状態の適否を判定する。そして、制御部20は、上記各部の動作を制御する。   The line segment acquisition unit 52 detects the origin S (0, 0) and the maximum value M (a, b) for the image of the staircase barcode 50 determined by the staircase barcode determination unit 51, and the origin S (0 , 0) and the line segment connecting the maximum values M (a, b). The dot dropout determination unit 53 determines dot dropout for the line segment acquired by the line segment acquisition unit 52. The staircase barcode determination unit 51, the line segment acquisition unit 52, and the missing dot determination unit 53 constitute a printing state determination unit 54. The printing state determination unit 54 determines whether the printing apparatus 7 is printing normally. That is, the printing state determination unit 54 determines the suitability of the printing state by the printing device 7 by inspecting missing dots from the image of the staircase barcode 50. And the control part 20 controls operation | movement of said each part.

図2はラベルの種類を示す説明図である。同図は、食品製造工場において、生産した食品生産物(ここでは「おにぎり」)に次の3種類のラベルを貼付していることを示している。POSラベル4は方形の台紙に商品の名称(ここでは「シーチキン(登録商標)マヨネーズ」)、消費期限(12年2月4日午後7時)、原材料名、製造者等を表示する。包材ラベル5は円形の台紙に食品の内容と図形を表示する。そして、販促ラベル6は楕円形の台紙に消費者への販促のためのポイント点数を表示する。また、販促ラベル6は、新発売用の新発売シールの場合もある。POSラベル4は、前記印刷装置7によって印刷される。包材ラベル5及び販促ラベル6は、別の印刷装置によって印刷される。   FIG. 2 is an explanatory diagram showing the types of labels. This figure shows that the following three types of labels are affixed to the produced food product (here, “rice ball”) in the food manufacturing factory. The POS label 4 displays the name of the product (here, “Sea Chicken (registered trademark) mayonnaise”), the expiration date (February 4, 2012 at 7:00 pm), the name of the raw material, the manufacturer, and the like. The packaging material label 5 displays food contents and figures on a circular mount. And the sales promotion label 6 displays the point score for the sales promotion to a consumer on an elliptical mount. The sales promotion label 6 may be a newly released sticker for a new release. The POS label 4 is printed by the printing device 7. The packaging material label 5 and the promotional label 6 are printed by another printing apparatus.

これらのラベル4、5、6は食品生産物としての「おにぎり」の生産過程で当該おにぎりに貼付される。そして、それに先立ち、POSラベル4、包材ラベル5及び販促ラベル6と同一形状の被検査ラベル31(即ち、後述するPOSラベル34、包材ラベル35及び販促ラベル36)が次に説明するラベル台帳3に貼られる。作業員は、ラベル台帳3に貼られている被検査ラベル31、即ちPOSラベル34、包材ラベル35及び販促ラベル36を確認しながら、食品生産物としてのおにぎりにPOSラベル4、包材ラベル5、販促ラベル6を貼付する作業を行う。当該ラベルは時間的に常に一定だが、食品生産物の生産過程によりラベルの巻がなくなり、再度新しい巻をセットする。この交換ラベルの際、ラベルの貼付ミスが発生しやすいため、再度台帳にラベルを貼って検査している。例えば、POSラベル4や販促ラベル6のラベルの巻を使い切った場合である。これらのラベルの貼付作業の適否を管理するためのラベル台帳3は、常に最適なラベルの貼付作業を指示、管理するものでなければならない。   These labels 4, 5, and 6 are affixed to the rice balls in the production process of “rice balls” as food products. Prior to that, the label to be inspected is a label ledger to be described next, that is, an inspected label 31 having the same shape as the POS label 4, the packaging material label 5 and the sales promotion label 6 (that is, the POS label 34, the packaging material label 35 and the sales promotion label 36 described later). 3 is pasted. The worker confirms the inspected label 31, that is, the POS label 34, the packaging material label 35, and the promotional label 36 attached to the label ledger 3, and the POS label 4 and the packaging material label 5 on the rice balls as food products. Then, the work of attaching the promotional label 6 is performed. Although the label is always constant in time, the label winding is lost due to the production process of the food product, and a new winding is set again. In the case of this exchange label, since a label sticking error is likely to occur, the label is pasted again on the ledger and inspected. For example, this is a case where the volume of the POS label 4 or the promotional label 6 is used up. The label ledger 3 for managing the adequacy of the label application work must always instruct and manage the optimum label application work.

図3は、第1の実施の形態に関する階段バーコードを示す説明図である。印刷装置7の印刷状態検査用の階段バーコード50は、POSラベル4を印刷する印刷装置7と同じ印刷装置によって印刷される。印刷装置7はドットによって文字、図形等の画像を形成する図示しないドット画像形成部を有する。印刷装置7は、複数の直線状又は千鳥状に印字ヘッドが配置されたサーマルプリンタ、インク粒を噴射するインクジェットプリンタ又はワイヤドットプリンタでもよい。更に、電子写真プリンタのようなノンインパクトプリンタであってもよい。   FIG. 3 is an explanatory diagram showing a staircase barcode relating to the first embodiment. The staircase barcode 50 for inspecting the printing state of the printing device 7 is printed by the same printing device as the printing device 7 that prints the POS label 4. The printing apparatus 7 includes a dot image forming unit (not shown) that forms an image such as a character or a figure using dots. The printing device 7 may be a thermal printer having a plurality of linear or staggered print heads, an ink jet printer that ejects ink particles, or a wire dot printer. Furthermore, a non-impact printer such as an electrophotographic printer may be used.

また、同図に示すように、階段バーコード50は、複数の方形部55をX方向及びY方向に均等にずらせて階段状に配置した形状である。このように、方形部55は複数ドット×複数ドットのように構成され、配置された複数の方形部55は全て同じドット数で構成されている。そして、階段状に配置した各方形部55は、隣接する方形部55との間で、重なり合うドットは存在しないように、かつ間が開かないようにずれて配置されている。   Further, as shown in the figure, the staircase barcode 50 has a shape in which a plurality of rectangular portions 55 are arranged in a staircase shape by being shifted equally in the X direction and the Y direction. Thus, the square part 55 is configured as a plurality of dots × a plurality of dots, and the arranged square parts 55 are all configured with the same number of dots. And each square part 55 arrange | positioned at step shape is shifted | deviated so that the dot which overlaps may not exist between the adjacent square parts 55, and a space | interval may not be opened.

図4は第1の実施の形態に関するラベル台帳のレイアウト構成を示す説明図である。ラベル台帳3の第1番目の被検査ラベル領域26(1)に、POSラベル34及び包材ラベル35の2種類の被検査ラベル31と階段バーコード50を貼ったラベル台帳3を示す。前述のように食品生産物に貼付されるラベルは時間により変更されるものであり、ラベル台帳3は現時点での食品生産物に貼付する前記ラベル4、5、6を特定するものである。そして、ラベル4、5、6の特定は、ラベル4、5、6と同一形状を有する被検査ラベル31(34、35、36)によって行われる。なお、同図では販促ラベル36は被検査ラベル領域26(1)には貼付しない場合を示す。   FIG. 4 is an explanatory diagram showing the layout configuration of the label ledger relating to the first embodiment. The label ledger 3 is shown in which two types of inspected labels 31, a POS label 34 and a packaging material label 35, and a staircase barcode 50 are pasted in a first inspected label area 26 (1) of the label ledger 3. As described above, the label affixed to the food product is changed with time, and the label ledger 3 specifies the labels 4, 5, and 6 to be affixed to the current food product. Then, the labels 4, 5, 6 are specified by the inspected labels 31 (34, 35, 36) having the same shape as the labels 4, 5, 6. In the figure, the sales promotion label 36 is shown not attached to the inspected label area 26 (1).

同図に示す本実施の形態に関する甲工場のラベル台帳3は、最上部に工場名21として「甲」及び次の段に見本ラベル24として製品名及びバーコード25が印刷又は表示される。バーコード25には、製品名及びパラメータとしての商品番号、便番号及び検査日、その他ラベル台帳3の管理に必要な情報が含まれる。生産ライン番号及びこれらの情報を記載したバーコードは印刷又は表示がない。   In the label book 3 of the former factory relating to the present embodiment shown in the same figure, “A” is printed or displayed as the factory name 21 at the top, and the product name and the barcode 25 are printed as the sample label 24 at the next level. The bar code 25 includes a product name, a product number as a parameter, a flight number, an inspection date, and other information necessary for managing the label ledger 3. The production line number and the bar code describing this information are not printed or displayed.

その下に被検査ラベル31を貼るための被検査ラベル領域26(1)、(2)、(3)、(4)が設けてある。被検査ラベル領域26は左上から横方向に順に(1)、(2)、(3)、(4)が指定され、被検査ラベル31を貼る際に時間的に差があるとき、即ち被検査ラベル31が時間により変更されるときは、被検査ラベル領域26のこの順に貼っていく。そして、被検査ラベル領域26は破線27で区分けされ固定化されている。   Below this, inspected label regions 26 (1), (2), (3), and (4) for attaching the inspected label 31 are provided. In the inspected label area 26, (1), (2), (3), (4) are specified in order from the upper left to the horizontal direction, and when the inspected label 31 is pasted, there is a time difference, that is, the inspected When the label 31 is changed with time, the label areas 26 to be inspected are pasted in this order. The inspected label area 26 is divided and fixed by a broken line 27.

更に、ラベル台帳3の第1番目の被検査ラベル領域26(1)には、印刷装置7の印刷状態検査用の階段バーコード50が貼付されている。階段バーコード50は、第1番目の被検査ラベル領域26(1)だけに貼付すればよい。即ち、ラベル台帳3の検査時の最初だけに印刷装置7の印刷状態検査を行う。ただし、第1回目以降でも適宜行ってもよい。   Further, a staircase bar code 50 for inspecting the printing state of the printing device 7 is affixed to the first inspected label area 26 (1) of the label ledger 3. The staircase barcode 50 may be attached only to the first inspected label area 26 (1). That is, the printing state inspection of the printing device 7 is performed only at the beginning of the inspection of the label ledger 3. However, it may be appropriately performed even after the first time.

次に本実施の形態に関するラベル台帳検査装置1の動作について説明する。図5は第1の実施の形態に関するラベル台帳検査装置の動作の概要を示す説明図である。まず、被検査ラベル31(POSラベル34及び包材ラベル35)及び階段バーコード50が貼られたラベル台帳3Aについて説明する。階段バーコード50は、第1番目の被検査ラベル領域26(1)だけに貼付される。即ち、ラベル台帳3の検査時の最初だけに印刷装置7の印刷状態検査を行う。ラベル台帳3Aはスキャナ2によって走査され、画像信号としての台帳画像3−1はラベル台帳検査装置1に送られる。   Next, operation | movement of the label ledger inspection apparatus 1 regarding this Embodiment is demonstrated. FIG. 5 is an explanatory diagram showing an outline of the operation of the label ledger inspection apparatus according to the first embodiment. First, the label ledger 3A to which the label to be inspected 31 (POS label 34 and packaging material label 35) and the staircase barcode 50 are attached will be described. The staircase barcode 50 is attached only to the first inspected label area 26 (1). That is, the printing state inspection of the printing device 7 is performed only at the beginning of the inspection of the label ledger 3. The label ledger 3A is scanned by the scanner 2, and a ledger image 3-1 as an image signal is sent to the label ledger inspection apparatus 1.

ラベル台帳検査装置1では、画像入力部11により今回受信した台帳画像3−1と白紙の台帳画像3−0との間で差分画像42(即ち被検査ラベル領域26(1)の画像)が作成される(S1)。その際、被検査ラベル領域取得部13が、台帳画像3−1について、被検査ラベル領域26(1)のエリアを取得する。ただし、本実施の形態では、階段バーコード50の画像は差分画像としては格納しない。その後、パラメータ判定部15において、台帳画像3−1についてパラメータ比較が行われる(S2)。今回受信した台帳画像3−1は第1回目の検査であるので、パラメータとしての検査日、便番号及び商品番号が一致するデータはない。   In the label ledger inspection apparatus 1, a difference image 42 (that is, an image of the inspected label area 26 (1)) is created between the ledger image 3-1 received this time by the image input unit 11 and the blank ledger image 3-0. (S1). At that time, the inspected label area acquisition unit 13 acquires the area of the inspected label area 26 (1) for the ledger image 3-1. However, in the present embodiment, the image of the staircase barcode 50 is not stored as a difference image. Thereafter, the parameter determination unit 15 performs parameter comparison for the ledger image 3-1 (S 2). Since the ledger image 3-1 received this time is the first inspection, there is no data in which the inspection date, the flight number, and the product number as parameters match.

この場合、その後パラメータが登録され、特徴点抽出部14が差分画像42から特徴点を抽出し、これは登録される(S3)。なお、ここで本実施の形態に関する階段バーコード50の特徴点については、前記差分画像から抜き出し、別に登録するものとする。そして、被検査ラベル検査部17において、ラベル台帳3Aの被検査ラベル領域26(1)に貼られた被検査ラベル31のラベル画像が登録ラベル画像45と比較されることにより、検査が行われる(S4)。そして、本実施の形態に関する印刷状態判定部54により階段バーコード50が検査される(S5)。これについては後述する。   In this case, the parameters are then registered, and the feature point extraction unit 14 extracts the feature points from the difference image 42, which is registered (S3). Here, the feature points of the staircase barcode 50 relating to the present embodiment are extracted from the difference image and registered separately. Then, inspected label inspecting unit 17 performs inspection by comparing the label image of inspected label 31 attached to inspected label area 26 (1) of label ledger 3 A with registered label image 45 ( S4). Then, the staircase barcode 50 is inspected by the printing state determination unit 54 relating to the present embodiment (S5). This will be described later.

次に、被検査ラベル31(POSラベル34、包材ラベル35及び販促ラベル36)が貼られたラベル台帳3Bについて説明する。ラベル台帳3Bは同様にスキャナ2によって走査され、画像信号としての台帳画像3−1はラベル台帳検査装置1に送られる。ラベル台帳検査装置1では、画像入力部11により今回受信した台帳画像3−1と白紙の台帳画像3−0との間で差分画像42が作成され台帳画像格納部28に格納する(S1)。その際、被検査ラベル領域取得部13が、台帳画像3−1について、被検査ラベル領域26(1)のエリアを取得する。   Next, the label ledger 3B on which the inspected label 31 (POS label 34, packaging material label 35, and promotional label 36) is attached will be described. The label ledger 3B is similarly scanned by the scanner 2, and the ledger image 3-1 as an image signal is sent to the label ledger inspection apparatus 1. In the label ledger inspection apparatus 1, a difference image 42 is created between the ledger image 3-1 received this time by the image input unit 11 and the blank ledger image 3-0 and stored in the ledger image storage unit 28 (S1). At that time, the inspected label area acquisition unit 13 acquires the area of the inspected label area 26 (1) for the ledger image 3-1.

その後、パラメータ判定部15において、台帳画像3−1について、パラメータ比較が行われる(S2)。今回受信した台帳画像3−1は第2回目以降の検査であるので、パラメータとしての検査日、便番号及び商品番号が一致するデータが存在する。その後、領域1画像判定部16において、過去の差分画像42としてのラベル台帳3Aの被検査ラベル領域26(1)の差分画像42と比較し、一致するかどうか判定される(S6)。この場合、ラベル台帳3Bの被検査ラベル領域26(1)はラベル台帳3Aの被検査ラベル領域26(1)と同じであるので次へ進む。結局、パラメータが一致し、かつ第1番目の被検査ラベル領域26(1)の画像特徴点が一致する台帳画像3−1について、複数同時生産ラインのうち同一の生産ライン用のラベル台帳3Bと判定する。そして、ラベル台帳3Bの被検査ラベル領域26(1)に済マークが付される(S7)。そして、被検査ラベル検査部17において、ラベル台帳3Bの第2番目の被検査ラベル領域26(2)に貼られた被検査ラベル31のラベル画像が登録ラベル画像45と比較されることにより、検査が行われる(S8)。   Thereafter, the parameter determination unit 15 performs parameter comparison for the ledger image 3-1 (S 2). Since the ledger image 3-1 received this time is the second and subsequent inspections, there is data in which the inspection date, the flight number, and the product number as parameters match. Thereafter, the area 1 image determination unit 16 compares the difference image 42 of the inspected label area 26 (1) of the label ledger 3A as the past difference image 42 and determines whether or not they match (S6). In this case, since the inspected label area 26 (1) of the label ledger 3B is the same as the inspected label area 26 (1) of the label ledger 3A, the process proceeds to the next. Eventually, for the ledger image 3-1, the parameters of which match and the image feature points of the first inspected label area 26 (1) match, the label ledger 3B for the same production line among the multiple simultaneous production lines judge. Then, a completion mark is attached to the inspected label area 26 (1) of the label ledger 3B (S7). Then, the inspected label inspection unit 17 compares the label image of the inspected label 31 attached to the second inspected label area 26 (2) of the label ledger 3B with the registered label image 45, thereby inspecting. Is performed (S8).

次に、異なる生産ラインに関する被検査ラベル31(前2者とは位置及び角度が異なるPOSラベル34、包材ラベル35)が貼られたラベル台帳3Cについて説明する。ラベル台帳3Cは同様にスキャナ2によって走査され、画像信号としての台帳画像3−1はラベル台帳検査装置1に送られる。ラベル台帳検査装置1では、画像入力部11により今回受信した台帳画像3−1と白紙の台帳画像3−0との間で差分画像42が作成される(S1)。その際、被検査ラベル領域取得部13が、台帳画像3−1について、被検査ラベル領域26(1)のエリアを取得する。   Next, the label ledger 3C to which the inspected label 31 (POS label 34 and packaging material label 35 having different positions and angles from the former two) relating to different production lines will be described. The label ledger 3C is similarly scanned by the scanner 2, and the ledger image 3-1 as an image signal is sent to the label ledger inspection apparatus 1. In the label ledger inspection apparatus 1, a difference image 42 is created between the ledger image 3-1 received this time and the blank ledger image 3-0 by the image input unit 11 (S1). At that time, the inspected label area acquisition unit 13 acquires the area of the inspected label area 26 (1) for the ledger image 3-1.

その後、パラメータ判定部15において、台帳画像3−1について、パラメータ比較が行われる(S2)。今回受信した台帳画像3−1は第2回目以降の検査であるので、パラメータとしての検査日、便番号及び商品番号が一致するデータが存在する。その後、領域1画像判定部16において、過去の差分画像42としてのラベル台帳3A又は3Bの被検査ラベル領域26(1)の差分画像42と比較し、一致するかどうか判定される(S6)。この場合、ラベル台帳3Cの被検査ラベル領域26(1)はラベル台帳3A又は3Bの被検査ラベル領域26(1)と、被検査ラベル31の位置及び角度が異なる。結局、パラメータが一致し、かつ第1番目の被検査ラベル領域26(1)の画像特徴点が異なる台帳画像3−1について、複数同時生産ラインのうち別の生産ライン用のラベル台帳と判定する。この場合、パラメータが登録され、特徴点抽出部14が差分画像42から特徴点を抽出し、これは登録される(S9)。そして、被検査ラベル検査部17において、ラベル台帳3Cの被検査ラベル領域26(1)に貼られた被検査ラベル31のラベル画像が登録ラベル画像45と比較されることにより、検査が行われる(S10)。   Thereafter, the parameter determination unit 15 performs parameter comparison for the ledger image 3-1 (S 2). Since the ledger image 3-1 received this time is the second and subsequent inspections, there is data in which the inspection date, the flight number, and the product number as parameters match. Thereafter, the area 1 image determination unit 16 compares the difference image 42 of the label area 26 (1) of the label ledger 3A or 3B as the past difference image 42 and determines whether or not they match (S6). In this case, the inspected label area 26 (1) of the label ledger 3C is different from the inspected label area 26 (1) of the label ledger 3A or 3B in the position and angle of the inspected label 31. Eventually, the ledger image 3-1 having the same parameters and different image feature points in the first inspected label area 26 (1) is determined as a label ledger for another production line among a plurality of simultaneous production lines. . In this case, parameters are registered, and the feature point extraction unit 14 extracts feature points from the difference image 42, which are registered (S9). Then, inspected label inspecting unit 17 performs inspection by comparing the label image of inspected label 31 attached to inspected label area 26 (1) of label ledger 3C with registered label image 45 ( S10).

次に、階段バーコード50の検査について説明する。図6は第1の実施の形態に関する階段バーコードの印字抜け判定動作を示すフローチャートである。
S101:ラベル台帳検査装置1の制御部20は画像メモリ12に対し、台帳画像格納部28から台帳画像3−1の中の階段バーコード50の画像を読み出すよう指示する。そして、制御部20は記憶部19に対して、階段バーコード50の画像を一旦記憶するよう指示する。
Next, the inspection of the staircase barcode 50 will be described. FIG. 6 is a flowchart showing an operation for determining missing printing of a staircase barcode according to the first embodiment.
S101: The control unit 20 of the label ledger inspection apparatus 1 instructs the image memory 12 to read the image of the staircase barcode 50 in the ledger image 3-1 from the ledger image storage unit 28. Then, the control unit 20 instructs the storage unit 19 to temporarily store the image of the staircase barcode 50.

S102:制御部20は階段バーコード判別部51に対し、記憶部19に記憶した階段バーコード50の画像が正しい階段バーコード50の画像かどうか判定するよう指示する。この場合の判定方法は、マスター登録した階段バーコードの特徴点を取り出し、被検査ラベル領域26(1)をスキャンして被検査ラベル領域26(1)に貼られた階段バーコード50を抜き出し、特徴点が一致したら階段バーコードであると判定する。即ち、予め格納した基準となる階段バーコードの画像との特徴点比較で行う。   S102: The control unit 20 instructs the staircase bar code discriminating unit 51 to determine whether the image of the staircase bar code 50 stored in the storage unit 19 is a correct staircase bar code 50 image. The determination method in this case is to take out the feature points of the staircase barcode registered as a master, scan the inspected label area 26 (1), extract the staircase barcode 50 attached to the inspected label area 26 (1), If the feature points match, it is determined to be a staircase barcode. That is, it is performed by comparing feature points with a pre-stored reference staircase barcode image.

S103:階段バーコード50と判定した場合、制御部20は線分取得部52に対し、階段バーコード50の画像から原点S(0,0)を取得するよう指示する。図7及び図8は本実施の形態に関する印字抜け判定の動作を示す説明図である。図7(a)は原点Sを左下の位置に取得した状態を示す。座標は(0,0)とする。なお、このとき階段バーコード50の画像が傾いていた場合でも原点S(0,0)の取得は可能である。即ち、ラベル台帳3に対して階段バーコード50が傾いて貼付されていたとしても原点S(0,0)の取得は可能である。   S103: When it is determined that the staircase barcode 50, the control unit 20 instructs the line segment acquisition unit 52 to acquire the origin S (0, 0) from the image of the staircase barcode 50. 7 and 8 are explanatory diagrams showing the operation of determining missing print according to the present embodiment. FIG. 7A shows a state where the origin S is acquired at the lower left position. The coordinates are (0, 0). At this time, even when the image of the staircase barcode 50 is tilted, the origin S (0, 0) can be acquired. That is, even if the staircase bar code 50 is attached to the label ledger 3 at an angle, the origin S (0, 0) can be acquired.

S104:制御部20は同じく線分取得部52に対し、階段バーコード50の画像から最大値M(a,b)を取得するよう指示する。同図(b)は最大値Mを右上の位置に取得した状態を示す。座標は(a,b)とする。   S104: The control unit 20 similarly instructs the line segment acquisition unit 52 to acquire the maximum value M (a, b) from the image of the staircase barcode 50. FIG. 5B shows a state where the maximum value M is acquired at the upper right position. The coordinates are (a, b).

S105:制御部20は同じく線分取得部52に対し、原点S(0,0)と最大値M(a,b)から線分56の画像を取得するよう指示する。前述のように階段バーコード50は、複数の方形部55をX方向及びY方向に均等にずらせて階段状に配置した形状である。即ち、方形部55は複数ドット×複数ドットのように構成され、配置された複数の方形部55は全て同じドット数で構成されている。そして、階段状に配置した各方形部55は、隣接する方形部55との間で、重なり合うドットは存在しないように、かつ間が開かないようにずれて配置されている。よって、原点S(0,0)と最大値M(a,b)を結ぶ線分56の式はy=(b/a)xで表すことができる(0<=x<a)。   S105: The control unit 20 similarly instructs the line segment acquisition unit 52 to acquire the image of the line segment 56 from the origin S (0, 0) and the maximum value M (a, b). As described above, the staircase bar code 50 has a shape in which a plurality of rectangular portions 55 are arranged in a staircase shape with the square portions 55 being evenly shifted in the X direction and the Y direction. That is, the rectangular portion 55 is configured as a plurality of dots × a plurality of dots, and the plurality of arranged rectangular portions 55 are all configured with the same number of dots. And each square part 55 arrange | positioned at step shape is shifted | deviated so that the dot which overlaps may not exist between the adjacent square parts 55, and a space | interval may not be opened. Therefore, the expression of the line segment 56 connecting the origin S (0, 0) and the maximum value M (a, b) can be expressed by y = (b / a) x (0 <= x <a).

従って、線分56を構成する各ドットの座標はX軸、Y軸ともに+1づつ増えていくことになる。図7(c)は取得した線分56を示す。方形部55が全て黒色で印刷されていれば、原点S(0,0)から最大値M(a,b)までの線分56も全て黒色であることになる。しかし、図8(a)に示すように、方形部55のうち一箇所でもドット抜けが縦線(又は横線)として現れれば、図8(b)に示すように、線分56にたった一点の白抜けが生じる。本実施の形態は、次のステップで示すように制御部20の制御によりドット抜け判定部がこれを行う。なお、図8(a)はドット抜けが生じた階段バーコード50を示し、図8(b)はドット抜けが現れた線分56を示す。   Therefore, the coordinates of each dot constituting the line segment 56 increase by +1 for both the X axis and the Y axis. FIG. 7C shows the acquired line segment 56. If the square portions 55 are all printed in black, the line segments 56 from the origin S (0, 0) to the maximum value M (a, b) are all black. However, as shown in FIG. 8A, if a dot dropout appears as a vertical line (or horizontal line) at one location in the rectangular portion 55, only one point is formed on the line segment 56 as shown in FIG. White spots occur. In the present embodiment, as shown in the next step, the dot dropout determination unit performs this under the control of the control unit 20. FIG. 8A shows the staircase barcode 50 in which the missing dot has occurred, and FIG. 8B shows the line segment 56 in which the missing dot has appeared.

S106:制御部20はドット抜け判定部53に対し、線分取得部52が取得した線分の画像から、ドット抜けを判定するよう指示する。ここでドット抜けがないと判定されることは、図8(a)に示す方形部55における縦線としても又は図示しない横線としても印字抜けがないことを意味する。一方、ドット抜けがあると判定されることは、同図に示す方形部55における印字抜けが縦線か横線かどちらか不明であってもよい。ドット抜けがあればステップ107へ進み。ドット抜けがなければ終了する。
S107:ドット抜けがあったとき、制御部20は表示部18に対し、ドット抜けがあったことを表示する。
S106: The control unit 20 instructs the dot missing determining unit 53 to determine dot missing from the line segment image acquired by the line segment acquiring unit 52. Here, the determination that there is no missing dot means that there is no missing print as a vertical line or a horizontal line (not shown) in the rectangular portion 55 shown in FIG. On the other hand, determining that there is a missing dot may be unknown whether the missing dot in the rectangular portion 55 shown in the figure is a vertical line or a horizontal line. If there is a missing dot, go to Step 107. If there are no missing dots, the process ends.
S107: When there is a missing dot, the control unit 20 displays on the display unit 18 that there is a missing dot.

上記構成を有する本実施の形態によれば、食品生産物に貼付されるラベルを印刷する印刷装置に階段バーコード50を印刷させ、印刷した階段バーコード50を被検査ラベル31とともにラベル台帳3に貼付する。そして、ラベル台帳検査装置1では、前記階段バーコード50と前記被検査ラベル31を貼ったラベル台帳3から取得した台帳画像を記憶する台帳画像格納部28と、前記階段バーコード50の画像からドット抜けを検査することにより前記印刷装置による印刷状態の適否を判定する印刷状態判定部54とを有することとしたので、被検査ラベル31の適否の検査と、印刷装置7による印刷状態の適否の検査を同時に可能とするラベル台帳検査装置1を提供することが可能になる。   According to the present embodiment having the above configuration, the stair barcode 50 is printed on the label ledger 3 together with the inspected label 31 by printing the stair barcode 50 on the printing device that prints the label attached to the food product. Affix it. In the label ledger inspection apparatus 1, a ledger image storage unit 28 that stores a ledger image acquired from the label ledger 3 to which the stair barcode 50 and the label 31 to be inspected are pasted, and dots from the image of the stair barcode 50. Since it has the printing state determination unit 54 that determines the suitability of the printing state by the printing device by inspecting the omission, the inspection of the suitability of the inspected label 31 and the inspection of the printing state by the printing device 7 are performed. Can be provided at the same time.

また、階段バーコード50の方形部55は複数ドット×複数ドットのように構成され、配置された複数の方形部55は全て同じドット数で構成されている。そして、階段状に配置した各方形部55は、隣接する方形部55との間で、重なり合うドットは存在しないように、かつ間が開かないようにずれて配置されている。従って、この階段バーコード50から線分56を取り出してドット抜けを判断しているため、縦方向又は横方向のかすれ(白い線)がいずれであってもドット抜けが判断できる。かつ線分56のみのドット抜けを検査すればよいため、短時間で検査することが可能となる。   Further, the rectangular portion 55 of the staircase barcode 50 is configured as a plurality of dots × a plurality of dots, and the plurality of arranged rectangular portions 55 are all configured with the same number of dots. And each square part 55 arrange | positioned at step shape is shifted | deviated so that the dot which overlaps may not exist between the adjacent square parts 55, and a space | interval may not be opened. Accordingly, since the line segment 56 is extracted from the staircase barcode 50 and the missing dot is determined, the missing dot can be determined regardless of the vertical or horizontal blur (white line). In addition, since it is only necessary to inspect the missing dot of only the line segment 56, the inspection can be performed in a short time.

なお、本実施の形態において、図4に示すように階段バーコード50をラベル台帳3の第1番目の被検査ラベル領域26(1)に貼付すると説明したが、これに限らない。即ち、ラベル台帳3には見本ラベル24として製品名及びバーコード25が印刷又は表示されるが、これらに並べて表示するようにしてもよい。この場合、ステップ101で説明したように、ラベル台帳検査装置1の制御部20は画像メモリ12に対し、台帳画像格納部28から台帳画像3−1の中の階段バーコード50の画像を読み出すよう指示することになる。   In the present embodiment, it has been described that the stair barcode 50 is attached to the first inspected label area 26 (1) of the label ledger 3 as shown in FIG. 4, but the present invention is not limited to this. That is, the product name and the barcode 25 are printed or displayed as the sample label 24 on the label ledger 3, but they may be displayed side by side. In this case, as described in step 101, the control unit 20 of the label ledger inspection apparatus 1 reads the image of the staircase barcode 50 in the ledger image 3-1 from the ledger image storage unit 28 with respect to the image memory 12. I will tell you.

1 ラベル台帳検査装置
2 スキャナ
3 ラベル台帳
4 POSラベル
5 包材ラベル
6 販促ラベル
7 印刷装置
11 画像入力部
12 画像メモリ
18 表示部
31 被検査ラベル
34 被検査ラベル(POSラベル)
35 被検査ラベル(包材ラベル)
36 被検査ラベル(販促ラベル)
50 階段バーコード
51 階段バーコード判別部
52 線分取得部
53 ドット抜け判定部
54 印刷状態判定部
55 方形部

DESCRIPTION OF SYMBOLS 1 Label ledger inspection apparatus 2 Scanner 3 Label ledger 4 POS label 5 Packaging material label 6 Promotion label 7 Printing apparatus 11 Image input part 12 Image memory 18 Display part 31 Inspected label 34 Inspected label (POS label)
35 Inspected label (wrapping material label)
36 Inspected label (promotional label)
50 Stair Bar Code 51 Stair Bar Code Discriminating Unit 52 Line Segment Acquisition Unit 53 Missing Dot Determination Unit 54 Print State Determination Unit 55 Square Part

Claims (7)

所定の印刷装置により印刷され、食品生産物に貼付されるラベルであって、当該ラベルの適否を管理するための被検査ラベルを貼ったラベル台帳から前記被検査ラベルの画像を得て、当該被検査ラベルの適否を検査するラベル台帳検査装置において、
前記ラベル台帳には、前記印刷装置で印刷した階段バーコードが前記被検査ラベルとともに貼付され、前記階段バーコードは、複数の方形部をX方向及びY方向に均等にずらせて階段状に配置した形状であり、
更に、前記階段バーコードと前記被検査ラベルを貼った前記ラベル台帳から取得した台帳画像を記憶する台帳画像格納部と、
前記階段バーコードの画像からドット抜けを検査することにより前記印刷装置による印刷状態の適否を判定する印刷状態判定部とを有することを特徴とするラベル台帳検査装置。
An image of the label to be inspected is obtained from a label ledger that is printed by a predetermined printing device and is affixed to a food product, and the label to be inspected for managing the suitability of the label is obtained. In a label ledger inspection device that inspects the suitability of inspection labels,
On the label ledger, a staircase barcode printed by the printing apparatus is attached together with the label to be inspected, and the staircase barcode is arranged in a staircase shape with a plurality of rectangular portions evenly shifted in the X direction and the Y direction. Shape,
Furthermore, a ledger image storage unit for storing a ledger image acquired from the label ledger on which the staircase barcode and the label to be inspected are pasted,
A label ledger inspection apparatus comprising: a printing state determination unit that determines whether a printing state of the printing apparatus is appropriate by inspecting missing dots from the staircase barcode image.
前記印刷状態判定部は、
前記台帳画像から前記階段バーコードの画像を判別する階段バーコード判別部と、
前記階段バーコード判別部が判別した前記階段バーコードの画像の原点及び最大値を検出し、前記原点及び最大値を結ぶ線分を取得する線分取得部と、
前記線分取得部が取得した線分のドット抜けを判定するドット抜け判定部からなり、
更に、前記ドット抜け判定部の判定結果を表示する表示部を有することを特徴とする請求項1記載のラベル台帳検査装置。
The printing state determination unit
A staircase barcode discriminating unit for discriminating an image of the staircase barcode from the ledger image;
A line segment acquisition unit that detects the origin and maximum value of the image of the staircase barcode determined by the staircase barcode determination unit, and acquires a line segment connecting the origin and the maximum value;
The line segment acquisition unit comprises a dot missing determination unit that determines dot missing of a line segment acquired,
The label ledger inspection apparatus according to claim 1, further comprising a display unit that displays a determination result of the dot missing determination unit.
前記印刷装置は、ドットによって文字、図形を形成するものであって、
前記階段バーコードは、前記複数の方形部が全て同じドット数で構成され、前記方形部は、隣接する方形部との間で重なり合うドットがなく、かつ間が開かないようにずれて配置された形状であることを特徴とする請求項2記載のラベル台帳検査装置。
The printing apparatus forms characters and figures with dots,
In the staircase barcode, the plurality of square portions are all configured with the same number of dots, and the square portions are arranged so that there is no overlapping dot between adjacent square portions and the gap is not opened. The label ledger inspection apparatus according to claim 2, wherein the label ledger inspection apparatus has a shape.
所定の印刷装置により印刷された印刷状態を検査する印刷状態検査装置において、
複数の方形部をX方向及びY方向に均等にずらせて階段状に配置した形状からなる階段バーコードであって、前記印刷装置によって印刷された前記階段バーコードから取得した階段バーコード画像を記憶する画像格納部と、
前記階段バーコード画像からドット抜けを検査することにより前記印刷装置による印刷状態の適否を判定する印刷状態判定部を有することを特徴とする印刷状態検査装置。
In a printing state inspection apparatus for inspecting a printing state printed by a predetermined printing apparatus,
A staircase bar code having a shape in which a plurality of square portions are arranged in a staircase pattern evenly shifted in the X and Y directions, and stores a staircase bar code image acquired from the staircase bar code printed by the printing device An image storage unit,
A printing state inspection apparatus comprising: a printing state determination unit that determines whether a printing state of the printing apparatus is appropriate by inspecting missing dots from the staircase barcode image.
前記印刷状態判定部は、
前記階段バーコード画像から前記階段バーコードを判別する階段バーコード判別部と、
前記階段バーコード判別部が判別した前記階段バーコードの原点及び最大値を検出し、前記原点及び最大値を結ぶ線分を取得する線分取得部と、
前記線分取得部が取得した線分のドット抜けを判定するドット抜け判定部からなり、
更に、前記ドット抜け判定部の判定結果を表示する表示部を有することを特徴とする請求項4記載の印刷状態検査装置。
The printing state determination unit
A staircase barcode discriminating unit for discriminating the staircase barcode from the staircase barcode image;
A line segment acquisition unit that detects the origin and maximum value of the staircase barcode determined by the staircase barcode determination unit, and acquires a line segment that connects the origin and maximum value;
The line segment acquisition unit comprises a dot missing determination unit that determines dot missing of a line segment acquired,
The print state inspection apparatus according to claim 4, further comprising a display unit that displays a determination result of the dot missing determination unit.
所定の印刷装置により印刷された印刷状態を検査する印刷状態検査方法において、
複数の方形部をX方向及びY方向に均等にずらせて階段状に配置した形状からなる階段バーコードであって、前記印刷装置によって印刷された前記階段バーコードから取得した階段バーコード画像を画像格納部に格納する画像格納工程と、
画像格納部に格納した前記階段バーコード画像から前記階段バーコードを判別する階段バーコード判別工程と、
前記階段バーコード判別工程で判別した前記階段バーコードの原点及び最大値を検出し、前記原点及び最大値を結ぶ線分を取得する線分取得工程と、
前記線分取得工程で取得した線分のドット抜けを判定するドット抜け判定工程と、
前記ドット抜け判定工程の判定結果を表示する表示工程を含むことを特徴とする印刷状態検査方法。
In a printing state inspection method for inspecting a printing state printed by a predetermined printing apparatus,
A staircase bar code having a shape in which a plurality of square portions are arranged in a staircase shape with equal displacement in the X and Y directions, and the staircase bar code image acquired from the staircase bar code printed by the printing device An image storage step of storing in the storage unit;
A staircase barcode determination step of determining the staircase barcode from the staircase barcode image stored in the image storage unit;
Detecting the origin and maximum value of the staircase barcode determined in the staircase barcode determination step, and acquiring a line segment connecting the origin and maximum value; and
A missing dot determination step for determining missing dots in the line segment acquired in the line segment acquisition step;
A printing state inspection method comprising a display step of displaying a determination result of the dot dropout determination step.
複数の方形部をX方向及びY方向に均等にずらせて階段状に配置した形状からなる階段バーコードであって、所定の印刷装置によって印刷された前記階段バーコードから取得した階段バーコード画像を画像格納部に格納する画像格納ステップと、
画像格納部に格納した前記階段バーコード画像から前記階段バーコードを判別する階段バーコード判別ステップと、
前記階段バーコード判別ステップで判別した前記階段バーコードの原点及び最大値を検出し、前記原点及び最大値を結ぶ線分を取得する線分取得ステップと、
前記線分取得ステップで取得した線分のドット抜けを判定するドット抜け判定ステップと、
前記ドット抜け判定ステップの判定結果を表示部に表示する表示ステップとをコンピュータに実行させるための印刷状態検査プログラム。
A staircase bar code having a shape in which a plurality of square portions are arranged in a staircase pattern evenly shifted in the X and Y directions, and a staircase bar code image acquired from the staircase bar code printed by a predetermined printing device. An image storage step of storing in the image storage unit;
A staircase barcode determination step for determining the staircase barcode from the staircase barcode image stored in the image storage unit;
Detecting the origin and maximum value of the staircase barcode determined in the staircase barcode determination step, and acquiring a line segment connecting the origin and maximum value; and
A missing dot determination step for determining missing dots in the line segment acquired in the line segment acquisition step;
A printing state inspection program for causing a computer to execute a display step of displaying a determination result of the dot missing determination step on a display unit.
JP2013036892A 2013-02-27 2013-02-27 Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program Pending JP2014165797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013036892A JP2014165797A (en) 2013-02-27 2013-02-27 Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013036892A JP2014165797A (en) 2013-02-27 2013-02-27 Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program

Publications (1)

Publication Number Publication Date
JP2014165797A true JP2014165797A (en) 2014-09-08

Family

ID=51616004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013036892A Pending JP2014165797A (en) 2013-02-27 2013-02-27 Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program

Country Status (1)

Country Link
JP (1) JP2014165797A (en)

Similar Documents

Publication Publication Date Title
EP3040903B1 (en) System and method for detecting barcode printing errors
CN104318573B (en) Label defect inspection method
JP5228459B2 (en) Inspection group data management system
JP6757517B2 (en) Visual confirmation support device and visual confirmation support method
JP6011228B2 (en) MANUFACTURING METHOD FOR MARKED STEEL MATERIAL, DEFECT MARKING APPARATUS, DEFECT MARKING STEEL AND METHOD FOR USING DEFECT MARKING STEEL
JP2012174101A (en) Label inspection system, label inspection apparatus and label inspection program
TW201835816A (en) Method for generating image data of a code, and method for determining authenticity or false of the code
CN109278422B (en) Printer, control method and terminal equipment
JP4253326B2 (en) Corrugated board inspection apparatus and corrugated board inspection method
JP2014165797A (en) Label ledger inspection device, print state inspection device, print state inspection method and print state inspection program
JP6395895B1 (en) Video inspection recognition device
JP5853770B2 (en) Label ledger inspection device and label ledger inspection method
CN109102232A (en) It is a kind of informationization aluminium ingot go out Input System and out storage method
JP6015832B2 (en) Label ledger inspection device and label ledger inspection method
JP5994394B2 (en) Steel plate identification device and identification method
JP5521086B2 (en) Patch
KR100747998B1 (en) Barcode label for management of a steel
JP5810974B2 (en) Label ledger inspection device and label ledger inspection method
JP2008251197A (en) Battery, and battery outer packaging
JP6082686B2 (en) Printing inspection method
JP2010121941A (en) Inspection apparatus and method for print position displacement
US20230386016A1 (en) Method for inspecting product defects, electronic device, and storage medium
JP2021033689A (en) Production control system and production control program
JP2023009424A (en) Printed image inspection device, and printed image inspection method
JPS592863A (en) Printing of bar code