JP2009157856A - Image segmentation device and print inspection device - Google Patents

Image segmentation device and print inspection device Download PDF

Info

Publication number
JP2009157856A
JP2009157856A JP2007338475A JP2007338475A JP2009157856A JP 2009157856 A JP2009157856 A JP 2009157856A JP 2007338475 A JP2007338475 A JP 2007338475A JP 2007338475 A JP2007338475 A JP 2007338475A JP 2009157856 A JP2009157856 A JP 2009157856A
Authority
JP
Japan
Prior art keywords
image
cutout
inspection
character
area
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
JP2007338475A
Other languages
Japanese (ja)
Inventor
Keisaku Kano
計作 狩野
Hiroo Nishimura
裕男 西村
Kei Matsueda
慶 松枝
Junichi Takemura
純一 竹村
Koji Ogino
浩二 荻野
Toru Kitsuta
徹 橘田
Shinkichi Iwamoto
信吉 岩元
Makoto Ozawa
誠 小沢
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.)
Glory Ltd
Canon Finetech Nisca Inc
Original Assignee
Glory Ltd
Nisca Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glory Ltd, Nisca Corp filed Critical Glory Ltd
Priority to JP2007338475A priority Critical patent/JP2009157856A/en
Publication of JP2009157856A publication Critical patent/JP2009157856A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image segmentation device capable of efficiently segmenting an image. <P>SOLUTION: Before grasping a position error Δ of a segmentation reference position, an image processing unit segments a larger image area than an inspectable area by grasping the number of transfer pulses of a transfer motor, and each inspection terminal calculates a position error from the segmentation image area (S312), corrects a segmentation reference position when the position error is not less than a predetermined value, and segments an inspection area without correcting the segmentation reference position when the position error is less than the predetermined value (S316 to S320). After grasping the position error Δ of the segmentation reference position, the image processing unit corrects the segmentation reference position to offset the position error of the segmentation reference position to segment the image in the inspectable area on the basis of the corrected segmentation reference position, and each inspection terminal segments a plurality of areas on the basis of the segmentation reference position from the images in the inspectable area without correcting the position error of the segmentation reference position (S349). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は画像切り出し装置および印刷検査装置に係り、特に、プリンタにより帳票に印刷された文字の画像を含む所定領域の画像を切り出す画像切り出し装置および該画像切り出し装置を備え帳票に印刷された文字を検査する印刷検査装置に関する。   The present invention relates to an image cutout device and a print inspection device, and more particularly to an image cutout device that cuts out an image of a predetermined area including an image of a character printed on a form by a printer, and a character printed on a form provided with the image cutout device. The present invention relates to a printing inspection apparatus to be inspected.

例えば、金融機関等で毎月発行される利用明細書や請求書は、印刷装置(プリンタ)でファンフォールド紙等の所定の帳票に文字(数字を含む。)や記号(以下、単に「文字」という。)が印刷され、後処理装置により帳票が切断され、更に、必要に応じて切断された帳票が折りたたまれ、インサータ装置により自動的に封筒に封入されて顧客毎に送付されている。とりわけ、利用明細書等の発行枚数が多い場合には、高精度かつ高速印刷が可能なシステムプリンタが用いられている。   For example, a monthly usage statement or invoice issued by a financial institution or the like is printed on a predetermined form such as fanfold paper or the like (hereinafter referred to simply as “character”) on a predetermined form such as fanfold paper. .) Is printed, the form is cut by the post-processing device, and the cut form is folded as necessary, and is automatically enclosed in an envelope by the inserter device and sent to each customer. In particular, when the number of issued usage statements is large, a system printer capable of high-precision and high-speed printing is used.

ところが、システムプリンタ等の高精度のプリンタを用いても、帳票に印刷された文字の不揃い、濃度差(文字細りやカスレ、文字太りや文字潰れ)、文字抜け、文字スキューのように、プリンタの不具合、紙質、印刷環境等に起因する印刷不良が発生する。   However, even if a high-precision printer such as a system printer is used, the characters of the printer printed on the form are not uniform, density differences (thinning or blurring, thickening or collapsed characters), missing characters, or skewed characters. Printing defects due to defects, paper quality, printing environment, etc. occur.

このような印刷不良を防止するために、帳票内に頁画像切り出し用のマーク(スタートマーク、エンドマーク)を設け画像処理によってマークを認識して1頁毎の画像を切り出し、さらに1頁分の画像から検査領域を切り出して検査領域内の各文字の検査を行う印刷検査装置が知られている(例えば、特許文献1参照)。また、帳票サイズを既知の情報とし、帳票の搬送量を監視して所定の搬送区間の画像を切り出す印刷システムも知られている(例えば、特許文献2参照)。なお、本発明に関連する技術として、OCRによる画像認識技術(例えば、特許文献3参照)やバーコードの画像認識技術が開示されている(例えば、特許文献4参照)。   In order to prevent such printing defects, a mark (start mark, end mark) for cutting out a page image is provided in the form, the mark is recognized by image processing, and an image for each page is cut out. A print inspection apparatus that cuts out an inspection area from an image and inspects each character in the inspection area is known (see, for example, Patent Document 1). There is also known a printing system that uses the form size as known information and monitors the transport amount of the form to cut out an image of a predetermined transport section (see, for example, Patent Document 2). Note that as a technique related to the present invention, an OCR image recognition technique (see, for example, Patent Document 3) and a barcode image recognition technique have been disclosed (for example, see Patent Document 4).

特開2007−172027号公報JP 2007-172027 A 特開2002−86831号公報JP 2002-86831 A 特開2001−283151号公報JP 2001-283151 A 特許第2760803号Japanese Patent No. 2760803

しかしながら、帳票の所定位置に頁画像切り出し用のマークを追加と、従来使用していた帳票の版を修正する必要が生じる。一方、搬送量をもとに画像を切り出すと、帳票の搬送状態の不安定性によって切り出し位置にズレが生じるため、このズレに備えて、照合対象の文字、記号ないしバーコードを検索する範囲を広げる必要があるので、処理時間が過大に必要になる。   However, adding a mark for cutting out a page image at a predetermined position of the form requires correcting the form version that has been conventionally used. On the other hand, if the image is cut out based on the carry amount, the cutout position is displaced due to the instability of the form conveyance state. In preparation for this displacement, the search range for the character, symbol or barcode to be verified is expanded. Because it is necessary, excessive processing time is required.

本発明は上記事案に鑑み、効率よく画像を切り出すことができる画像切り出し装置および該画像切り出し装置を備えた印刷検査装置を提供することを課題とする。   An object of the present invention is to provide an image cutout apparatus that can cut out an image efficiently and a print inspection apparatus that includes the image cutout apparatus.

上記課題を解決するために、本発明の第1の態様は、プリンタにより帳票に印刷された文字の画像を含む所定領域の画像を切り出す画像切り出し装置であって、前記帳票を一方向に搬送する搬送手段と、前記搬送手段で搬送される帳票の画像を読み取る画像読取手段と、前記画像読取手段で読み取られた画像から所定領域の画像を切り出す第1の画像切り出し手段と、前記第1の画像切り出し手段により切り出される画像の切り出し基準位置を予め設定するための第1の設定手段と、前記第1の設定手段で設定された切り出し基準位置と、前記第1の画像切り出し手段により切り出された画像の切り出し基準位置との位置誤差を算出する位置誤差算出手段と、前記第1の画像切り出し手段により切り出された画像から該画像より領域面積の小さい少なくとも1つの領域を切り出す第2の画像切り出し手段と、前記第2の画像切り出し手段により切り出される少なくとも1つの領域を予め設定するための第2の設定手段と、を備え、(1)前記第1の画像切り出し手段は前記搬送手段の搬送量に従い所定領域の画像を切り出し、前記第2の画像切り出し手段は前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に前記少なくとも1つの領域を切り出すことを特徴とする。   In order to solve the above-described problem, a first aspect of the present invention is an image cutout device that cuts out an image of a predetermined area including an image of characters printed on a form by a printer, and conveys the form in one direction. A conveying unit; an image reading unit that reads an image of a form conveyed by the conveying unit; a first image cutting unit that cuts out an image of a predetermined area from the image read by the image reading unit; and the first image First setting means for presetting a cutout reference position of an image cut out by the cutout means, a cutout reference position set by the first setting means, and an image cut out by the first image cutout means A position error calculation means for calculating a position error with respect to the cutout reference position of the image, and a region area smaller than that of the image cut out by the first image cutout means. A second image cutting means for cutting out at least one area, and a second setting means for presetting at least one area cut out by the second image cutting means, (1) the first The first image cutout means cuts out an image of a predetermined area according to the carry amount of the carry means, and the second image cutout means corrects the position error of the cutout reference position calculated by the position error calculation means as necessary. The at least one region is cut out based on the cutout reference position.

第1の態様では、まず、第1および第2の設定手段により、第1の画像切り出し手段で切り出される画像の切り出し基準位置および第2の画像切り出し手段で切り出される少なくとも1つの領域が予め設定される。次いで、搬送手段によりプリンタで文字が印刷された帳票が一方向に搬送され、画像読取手段により搬送手段で搬送される帳票の画像が読み取られ、第1の画像切り出し手段により画像読取手段で読み取られた画像から所定の領域面積を有する画像が切り出され、位置誤差算出手段により第1の設定手段で設定された切り出し基準位置と、第1の画像切り出し手段により切り出された画像の切り出し基準位置との位置誤差が算出され、第2の画像切り出し手段により第1の画像切り出し手段で切り出された画像より領域面積の小さい少なくとも1つの領域が切り出される。この際、(1)第1の画像切り出し手段は搬送手段の搬送量に従い所定領域の画像を切り出し、第2の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に少なくとも1つの領域を切り出す。第1の態様によれば、第1の画像切り出し手段は搬送手段の搬送量に従い画像を切り出すが、帳票の先端は搬送手段に保持されにくいため弛みが発生しやすく、この弛み分が搬送手段の搬送量との不一致を毎頁発生させるため、第1の画像切り出し手段は所定領域の画像を切り出し、第2の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に少なくとも1つの領域を切り出すことで、切り出し画像に欠落を生じることなく画像を切り出すことができる。   In the first aspect, first, the first and second setting means preset in advance the cutout reference position of the image cut out by the first image cutout means and at least one area cut out by the second image cutout means. The Next, the form on which characters are printed by the printer is conveyed in one direction by the conveying means, the image of the form conveyed by the conveying means is read by the image reading means, and read by the image reading means by the first image cutting means. An image having a predetermined area area is cut out from the obtained image, and the cutout reference position set by the first setting means by the position error calculation means and the cutout reference position of the image cut out by the first image cutout means A position error is calculated, and at least one region having a smaller area than the image cut out by the first image cutout unit is cut out by the second image cutout unit. At this time, (1) the first image cutout means cuts out an image of a predetermined area according to the carry amount of the carry means, and the second image cutout means needs the position error of the cutout reference position calculated by the position error calculation means. Correction is made accordingly, and at least one region is cut out based on the cutout reference position. According to the first aspect, the first image cutout unit cuts out an image according to the conveyance amount of the conveyance unit. However, the leading end of the form is not easily held by the conveyance unit, so that looseness is likely to occur. In order to generate a discrepancy with the transport amount every page, the first image cutout unit cuts out an image of a predetermined area, and the second image cutout unit needs a position error of the cutout reference position calculated by the position error calculation unit. Accordingly, the image can be cut out without causing the cutout image to be cut out by cutting out at least one area based on the cutout reference position.

本態様において、(1)第1の画像切り出し手段は搬送手段の搬送量に従い所定領域の画像を切り出し、第2の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に少なくとも1つの領域を切り出す処理と、(1)の後に実行される処理であって、(2)第1の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差がなくなるように切り出し基準位置を補正して、該補正した切り出し基準位置を基準に所定領域の画像を切り出し、第2の画像切り出し手段は第1の画像切り出し手段により切り出された所定領域の画像から切り出し基準位置を基準に少なくとも1つの領域を切り出す処理と、の2種類の処理で画像を切り出すようにしてもよい。このような態様によれば、処理(1)において、第1の画像切り出し手段は搬送手段の搬送量に従い画像を切り出すが、帳票の先端は搬送手段に保持されにくいため弛みが発生しやすく、この弛み分が搬送手段の搬送量との不一致を毎頁発生させるため、第1の画像切り出し手段は所定領域の画像を切り出し、第2の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に少なくとも1つの領域を切り出すことで、切り出し画像に欠落を生じることなく画像を切り出すことができるとともに、処理(2)において、第1の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差がなくなるように切り出し基準位置を補正して、該補正した切り出し基準位置を基準に所定領域の画像を切り出すことで、第2の画像切り出し手段は切り出し基準位置を基準に少なくとも1つの領域を切り出す際に、切り出し基準位置の位置補正の必要性が軽減するため、処理時間の短縮を図ることができる。   In this aspect, (1) the first image cutout means cuts out an image of a predetermined area according to the carry amount of the carry means, and the second image cutout means needs the position error of the cutout reference position calculated by the position error calculation means. And a process executed after (1), wherein (2) the first image cutout means is a position error calculation means. The cut-out reference position is corrected so that the position error of the cut-out reference position calculated by (2) is eliminated, an image of a predetermined area is cut out based on the corrected cut-out reference position, and the second image cut-out means is the first image cut-out means The image is cut out by two types of processing: cutting out at least one region from the image of the predetermined region cut out by the means based on the cutting reference position Unishi may be. According to such an aspect, in the process (1), the first image cutout unit cuts out an image according to the conveyance amount of the conveyance unit. However, since the leading edge of the form is difficult to be held by the conveyance unit, loosening easily occurs. In order for the slack portion to generate a discrepancy with the transport amount of the transport unit every page, the first image cut-out unit cuts out an image of a predetermined area, and the second image cut-out unit uses the cut-out reference position calculated by the position error calculation unit. In the process (2), the position error is corrected as necessary, and at least one region is cut out based on the cutout reference position, so that the cutout image can be cut out without any loss. The first image cutout unit corrects the cutout reference position so that the position error of the cutout reference position calculated by the position error calculation unit is eliminated, and By cutting out an image of a predetermined area based on the corrected cutout reference position, the second image cutout means reduces the need for position correction of the cutout reference position when cutting out at least one area based on the cutout reference position. Therefore, the processing time can be shortened.

また、第1の画像切り出し手段は、処理(2)において、処理(1)において搬送手段の搬送量に従い切り出した所定領域の画像より領域面積の小さい画像を切り出すようにしてもよい。また、位置誤差算出手段により算出された切り出し基準位置の位置誤差が予め設定された値より大きいか否かを判断する判断手段を備え、第2の画像切り出し手段は、処理(1)において、判断手段が肯定判断したときに、位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正し、判断手段が否定判断したときに、位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正しないようにしてもよい。さらに、第2の画像切り出し手段は、処理(2)において、位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正することなく、第1の画像切り出し手段により切り出された画像から切り出し基準位置を基準に少なくとも1つの領域を切り出すようにしてもよい。   Further, in the process (2), the first image cutout unit may cut out an image having a smaller area than the image of the predetermined region cut out in accordance with the conveyance amount of the conveyance unit in the process (1). Further, the image processing apparatus includes a determination unit that determines whether or not the position error of the cutout reference position calculated by the position error calculation unit is larger than a preset value, and the second image cutout unit performs the determination in the process (1). When the means makes an affirmative determination, the position error of the cutout reference position calculated by the position error calculation means is corrected, and when the determination means makes a negative determination, the position error of the cutout reference position calculated by the position error calculation means is corrected. You may make it not correct | amend. Furthermore, the second image cutout unit is configured to extract the cutout reference from the image cut out by the first image cutout unit without correcting the position error of the cutout reference position calculated by the position error calculation unit in the process (2). You may make it cut out at least 1 area | region on the basis of a position.

また、第1の設定手段は、帳票の各頁の所定領域に予め印刷された特定の文字、記号又はバーコードを選択するための選択手段と、選択手段で選択された文字、記号又はバーコードの座標を基準として切り出し基準位置を設定するための座標設定手段とで構成され、位置誤差算出手段は、第1の画像切り出し手段により切り出された画像の選択手段で選択された文字、記号又はバーコードを画像認識して該文字、記号又はバーコードの座標を求め、座標設定手段で設定された文字、記号又はバーコードの座標と、求めた座標との位置誤差を算出するようにしてもよい。この場合、第1の設定手段は、所定の領域を有し選択手段で選択された文字、記号又はバーコードを該領域内で認識可能な認識領域を設定するための認識領域設定手段をさらに有して構成され、位置誤差算出手段は、第1の画像切り出し手段により切り出された画像の選択手段で選択された文字、記号又はバーコードを認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、座標設定手段で設定された文字、記号又はバーコードの座標と、求めた座標との位置誤差を算出することが好ましい。このとき、認識領域設定手段は中心が同一で大きさの異なる少なくとも2つの認識領域を設定可能であり、位置誤差算出手段は、処理(1)において、第1の画像切り出し手段により切り出された画像の選択手段で選択された文字、記号又はバーコードを認識領域のうち大きい認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、座標設定手段で設定された文字、記号又はバーコードの座標と、求めた座標との位置誤差を算出し、第2の画像切り出し手段は、処理(2)において、選択手段で選択された文字、記号又はバーコードを認識領域のうち小さい認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、該求めた座標を基準として切り出し基準位置を算出し該算出した切り出し基準位置を基準に少なくとも1つの領域を切り出すようにしてもよい。   The first setting means includes a selection means for selecting a specific character, symbol or barcode printed in advance in a predetermined area of each page of the form, and a character, symbol or barcode selected by the selection means. Coordinate setting means for setting a cutout reference position with reference to the coordinates of the image, and the position error calculation means is a character, symbol or bar selected by the selection means for the image cut out by the first image cutout means. The code may be image-recognized to obtain the coordinates of the character, symbol or barcode, and the position error between the coordinates of the character, symbol or barcode set by the coordinate setting means and the obtained coordinates may be calculated. . In this case, the first setting means further includes a recognition area setting means for setting a recognition area having a predetermined area and capable of recognizing the character, symbol or barcode selected by the selection means. The position error calculation unit is configured to recognize the character, symbol, or barcode selected by the image selection unit cut out by the first image cutout unit within the recognition area, and to detect the character, symbol, or bar code. It is preferable to obtain the coordinates of the code and calculate the position error between the coordinates of the character, symbol or barcode set by the coordinate setting means and the obtained coordinates. At this time, the recognition area setting means can set at least two recognition areas having the same center and different sizes, and the position error calculation means is the image cut out by the first image cut-out means in the process (1). The character, symbol or barcode selected by the selection means is image-recognized in a large recognition area of the recognition area to obtain the coordinates of the character, symbol or barcode, and the character, symbol or barcode set by the coordinate setting means is obtained. A position error between the coordinates of the barcode and the obtained coordinates is calculated, and the second image cutout means recognizes the character, symbol or barcode selected by the selection means in the processing (2), which is a small recognition area. Image recognition is performed within the area to obtain the coordinates of the character, symbol, or barcode, the cutout reference position is calculated based on the obtained coordinates, and less is obtained based on the calculated cutout reference position. Also may be cut out one region.

また、第2の画像切り出し手段は、処理(1)において、切り出し基準位置の位置誤差を、該位置誤差分の座標を変更することにより補正し、第1の画像切り出し手段は、処理(2)において、切り出し基準位置の位置誤差を、該位置誤差分の座標を変更することにより補正するか、または、搬送手段の搬送量を変更することによって補正するようにしてもよい。さらに、帳票は連続帳票であり、第1の画像切り出し手段は、処理(2)において、位置誤差算出手段により算出された切り出し基準位置の位置誤差がなくなるように切り出し基準位置を一度だけ補正して、該補正した切り出し基準位置を基準に所定領域の画像を切り出すようにしてもよい。   In the process (1), the second image cutout unit corrects the position error of the cutout reference position by changing the coordinates corresponding to the position error, and the first image cutout unit performs the process (2). The position error of the cutout reference position may be corrected by changing the coordinates corresponding to the position error, or may be corrected by changing the transport amount of the transport unit. Further, the form is a continuous form, and the first image cutout unit corrects the cutout reference position only once so that the position error of the cutout reference position calculated by the position error calculation unit is eliminated in the process (2). The image of the predetermined area may be cut out based on the corrected cutout reference position.

上記課題を解決するために、本発明の第2の態様は、プリンタにより帳票に印刷された文字の画像を含む所定領域の画像を切り出す画像切り出し装置を備え、前記帳票に印刷された文字を検査する印刷検査装置であって、前記画像切り出し装置で切り出された画像から前記帳票に印刷された文字の画像を切り出し、該切り出した文字の特徴量を演算する特徴量演算手段と、予め入力され前記プリンタにより前記帳票に印刷され得る全ての文字のコード、フォント及びフォントサイズを含む文字情報と、前記プリンタにより前記文字情報に対応して所定形式で前記帳票に印刷され、画像読取手段で読み取られ前記特徴量演算手段で演算された前記全ての文字の特徴量との対応関係を定めた辞書を作成する辞書作成手段と、予め入力され前記プリンタにより前記帳票に印刷された文字列に関する正解情報をインデクスとして、検査対象となり前記画像読取手段で前記帳票から読み取られ前記特徴量演算手段で演算された文字の特徴量が、前記辞書作成手段で対応付けられた文字の特徴量に対して予め設定された判定基準値以上かを判定し、前記判定基準値以上と判定したときに前記検査対象となる文字が前記プリンタで前記帳票に正しく印刷されたと判断する印刷判断手段と、を備え、前記画像切り出し装置は、第1の態様の構成を有することを特徴とする。   In order to solve the above-described problem, a second aspect of the present invention includes an image cutout device that cuts out an image of a predetermined area including an image of a character printed on a form by a printer, and inspects the character printed on the form. A print inspection apparatus that cuts out an image of a character printed on the form from an image cut out by the image cut-out apparatus, and calculates a feature amount of the cut-out character; Character information including codes, fonts, and font sizes of all characters that can be printed on the form by a printer, and the printer prints the form in a predetermined format corresponding to the character information, and is read by an image reading unit. A dictionary creating means for creating a dictionary that defines a correspondence relationship with the feature quantities of all the characters computed by the feature quantity computing means; Using the correct information on the character string printed on the form by the index as an index, the feature quantity of the character that is to be inspected and read from the form by the image reading means and calculated by the feature quantity calculating means is It is determined whether or not the feature amount of the associated character is equal to or greater than a predetermined determination reference value, and when it is determined to be equal to or greater than the determination reference value, the character to be inspected is correctly printed on the form by the printer. Print judging means for judging that the image has been cut out, and the image cutout device has the configuration of the first aspect.

第2の態様によれば、上記第1の態様と同様の作用効果に加え、特徴量演算手段により画像切り出し装置で切り出された画像から帳票に印刷された文字の画像が切り出されて該切り出された文字の特徴量が演算され、辞書作成手段によりプリンタで実際に帳票に印刷された全ての文字の特徴量とその文字情報との対応関係を定めた辞書が作成され、印刷判断手段により、正解情報をインデクスとして、プリンタで実際に帳票に印刷され特徴量演算手段で演算された文字の特徴量と辞書作成手段で対応付けられた文字の特徴量に対して予め定められた判定基準値以上かが判定されるので、印刷判断手段は同一プリンタで印刷された文字の特徴量同士を照合するため、プリンタの個体差による影響を排除することができると共に、特徴量同士を照合するため、文字情報毎に照合時のロジックを検討する必要がなく、更に、印刷判断手段は判定基準値を閾値として判定するため、閾値を適性に設定することで柔軟に文字が正しく印刷されたかを判断することができる。   According to the second aspect, in addition to the same effect as the first aspect, the character image printed on the form is cut out from the image cut out by the image cutout device by the feature amount calculation means and cut out. Character features are calculated and a dictionary is created by the dictionary creation means to define the correspondence between the feature quantities of all characters actually printed on the form and the character information. If the information is an index, whether it is greater than a predetermined criterion value for the character feature value actually printed on the form by the printer and calculated by the feature value calculation means and the character feature value associated by the dictionary creation means Therefore, since the print determination means collates the feature amounts of characters printed by the same printer, it is possible to eliminate the influence due to individual differences between printers and to check the feature amounts. Therefore, it is not necessary to consider the logic at the time of collation for each character information. Furthermore, since the print determination means determines the determination reference value as a threshold, whether the character is printed correctly and flexibly by setting the threshold appropriately. Can be judged.

本発明によれば、第1の画像切り出し手段は搬送手段の搬送量に従い画像を切り出すが、帳票の先端は搬送手段に保持されにくいため弛みが発生しやすく、この弛み分が搬送手段の搬送量との不一致を毎頁発生させるため、第1の画像切り出し手段は所定領域の画像を切り出し、第2の画像切り出し手段は位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に少なくとも1つの領域を切り出すことで、切り出し画像に欠落を生じることなく画像を切り出すことができる、という効果を得ることができる。   According to the present invention, the first image cutout unit cuts out an image according to the conveyance amount of the conveyance unit. However, since the leading edge of the form is not easily held by the conveyance unit, looseness is likely to occur. In order to generate a mismatch with each page, the first image cutout means cuts out an image of a predetermined area, and the second image cutout means uses the position error of the cutout reference position calculated by the position error calculation means as necessary. By correcting and cutting out at least one region based on the cutout reference position, it is possible to obtain an effect that the image can be cut out without causing a cutout in the cutout image.

以下、図面を参照して、本発明に係る印刷検査装置の実施の形態について説明する。なお、本実施形態では、プリンタで印刷された連続帳票をオフライン(プリンタによる印刷と非連動)で検査する例について説明する。   Hereinafter, an embodiment of a print inspection apparatus according to the present invention will be described with reference to the drawings. In the present embodiment, an example will be described in which a continuous form printed by a printer is inspected offline (not linked to printing by a printer).

(構成)
図1に示すように、本実施形態の印刷検査装置1は、プリンタによりファンフォールド紙(送り穴付折りたたみ印刷用紙)等の連続帳票Fに印刷された画像を読み取る本体ユニット(読取ユニット)10と、連続帳票Fにプリンタで正しく文字(数字を含む。)、記号または1次元または二次元バーコード(以下、文字という。)が印刷されたかを判断する処理ユニット30と、を備えている。
(Constitution)
As shown in FIG. 1, a printing inspection apparatus 1 according to the present embodiment includes a main unit (reading unit) 10 that reads an image printed on a continuous form F such as fanfold paper (folded printing paper with feed holes) by a printer. And a processing unit 30 for determining whether characters (including numbers), symbols, or one-dimensional or two-dimensional barcodes (hereinafter referred to as characters) are correctly printed on the continuous form F by a printer.

図2に示すように、本体ユニット10は、略水平な搬送面10Aを有する筺体内に、連続帳票Fの両側に形成された送り穴に係合する複数の突起が形成され、連続帳票Fを一方向(図2の矢印A方向)に搬送する2本のトラクタベルト17を有している。トラクタベルト17はトラクタローラ15、16間に張架されている。なお、連続帳票Fの幅サイズに適合するように、本体ユニット10は、2本のトラクタベルト17間のトラクタ幅を調整するためのトラクタ幅調整モータTMを有している。   As shown in FIG. 2, the main unit 10 has a plurality of protrusions that are engaged with feed holes formed on both sides of the continuous form F in a casing having a substantially horizontal transfer surface 10 </ b> A. It has two tractor belts 17 that convey in one direction (the direction of arrow A in FIG. 2). The tractor belt 17 is stretched between the tractor rollers 15 and 16. The main unit 10 has a tractor width adjustment motor TM for adjusting the tractor width between the two tractor belts 17 so as to conform to the width size of the continuous form F.

一方、筺体の排出口(不図示)近傍には、トラクタベルト17と共働して連続帳票Fを一方向(図2の矢印A方向)に搬送すると共に、本体ユニット10外に連続帳票Fを排出する搬送排出ローラ18、19が配置されている。トラクタローラ16および搬送排出ローラ18は駆動ローラであり、複数のギアで構成され図示を省略した駆動力伝達機構を介してステッピングモータからなる搬送モータFMからの回転駆動力が伝達される。なお、搬送排出ローラ18、19間は、連続帳票Fをセット可能なように、搬送排出ローラ19が搬送排出ローラ18に対して離間、当接の2位置間で移動可能な構造が採用されている。   On the other hand, the continuous form F is transported in one direction (in the direction of arrow A in FIG. 2) in cooperation with the tractor belt 17 in the vicinity of the housing outlet (not shown), and the continuous form F is placed outside the main unit 10. Conveying and discharging rollers 18 and 19 for discharging are arranged. The tractor roller 16 and the conveyance discharge roller 18 are drive rollers, and a rotational driving force is transmitted from a conveyance motor FM including a stepping motor via a driving force transmission mechanism that is configured by a plurality of gears and not shown. In addition, between the conveyance discharge rollers 18 and 19, a structure is adopted in which the conveyance discharge roller 19 can be moved between two positions of contact and separation with respect to the conveyance discharge roller 18 so that the continuous form F can be set. Yes.

トラクタローラ15、16間に張架されたトラクタベルト17の上面と、搬送排出ローラ18、19間の当接点とは略同一の高さ位置に設定されている。このため、連続帳票Fは、搬送面10Aにその裏面を摺接させて略水平に本体ユニット10の筺体内に案内され、搬送排出ローラ18、19およびトラクタベルト17間で一定の力で引っ張られることでほぼ水平状態で搬送され、搬送排出ローラ18、19により筺体外に排出される。なお、本実施形態では、連続帳票Fの最大搬送速度が1.5m/s程度に設定されている。   The upper surface of the tractor belt 17 stretched between the tractor rollers 15 and 16 and the contact point between the transport discharge rollers 18 and 19 are set at substantially the same height position. For this reason, the continuous form F is guided into the housing of the main unit 10 substantially horizontally with its back surface in sliding contact with the transport surface 10A, and pulled with a constant force between the transport discharge rollers 18 and 19 and the tractor belt 17. Thus, the sheet is conveyed in a substantially horizontal state, and is discharged out of the housing by the conveyance discharge rollers 18 and 19. In the present embodiment, the maximum conveyance speed of the continuous form F is set to about 1.5 m / s.

トラクタベルト17の上方かつ下流側(図2の左側)には、連続帳票Fの表面に印刷された画像を読み取る表面ラインスキャンカメラ11が配置されており、トラクタベルト17の下方かつ表面ラインスキャンカメラ11より若干下流側には、連続帳票Fの裏面に印刷された画像を読み取る裏面ラインスキャンカメラ13が配置されている。ラインスキャンカメラ11、13は、ケーシング内にダイクロイックフィルター、レンズおよびCCDラインセンサを有して構成されている。   A surface line scan camera 11 that reads an image printed on the surface of the continuous form F is disposed above and downstream of the tractor belt 17 (left side in FIG. 2). A back surface line scan camera 13 that reads an image printed on the back surface of the continuous form F is disposed slightly downstream of the image forming apparatus 11. The line scan cameras 11 and 13 have a dichroic filter, a lens, and a CCD line sensor in a casing.

ラインスキャンカメラ11、13の読取位置の両側には、それぞれ、読取位置を照射するための白色光LEDアレイ12A、12Bおよび14A、14Bが配置されている。なお、LEDアレイ12A、12B、14A、14Bの近傍には、読取位置に対し白色光をライン状に集光させるためのロッドレンズ(不図示)がそれぞれ配置されている。   White light LED arrays 12A, 12B and 14A, 14B for irradiating the reading positions are arranged on both sides of the reading positions of the line scan cameras 11, 13, respectively. A rod lens (not shown) for condensing white light in a line shape with respect to the reading position is disposed in the vicinity of the LED arrays 12A, 12B, 14A, and 14B.

また、本体ユニット10には、トラクタベルト17の上方かつ上流側に連続帳票Fが本体ユニット10にセットされているかを検出する原稿セット検出センサ21、トラクタベルト17と搬送排出ローラ18、19との間に、連続帳票Fが残留しているかを検出する残留紙検出センサ22、トラクタローラ15の回転軸に取り付けられトラクタベルト17の連続帳票Fに対する搬送量を検出するロータリエンコーダ23、2本のトラクタベルト17間のトラクタ幅を調整するためのギア(不図示)の近傍に取り付けられトラクタ幅のホームポジションを検出するトラクタ幅ホームポジション検出センサ24、搬送排出ローラ19の回転軸に取り付けられ連続帳票Fのジャムを検出するジャム検出センサ25が、それぞれ配設されている。   The main unit 10 includes a document set detection sensor 21 that detects whether the continuous form F is set on the main unit 10 above and upstream of the tractor belt 17, a tractor belt 17, and transport discharge rollers 18 and 19. In the meantime, a residual paper detection sensor 22 that detects whether or not the continuous form F remains, a rotary encoder 23 that is attached to the rotating shaft of the tractor roller 15 and detects the transport amount of the tractor belt 17 with respect to the continuous form F, two tractors A tractor width home position detection sensor 24 for detecting the home position of the tractor width, which is attached in the vicinity of a gear (not shown) for adjusting the tractor width between the belts 17, and a continuous form F attached to the rotation shaft of the transport discharge roller 19. A jam detection sensor 25 for detecting the jam is provided.

更に、本体ユニット10は、商用交流電源から駆動部等を駆動/作動可能な直流電源に変換する電源部(不図示)および本体ユニット10全体の動作制御を行うマイクロコンピュータ(不図示、以下、MCUと略称する。)を有している。MCUには、外部バスを介して、上述したセンサを制御するセンサ制御部、モータ駆動を制御するアクチュエータ制御部、CPUを有しラインスキャンカメラで読み取った1頁分の画像を切り出す画像処理部および処理ユニット30との通信を行うためのインターフェースが接続されている。   Further, the main unit 10 includes a power source unit (not shown) that converts a commercial AC power source into a DC power source that can drive / operate the driving unit and the like, and a microcomputer (not shown, hereinafter, MCU) that controls the operation of the entire main unit 10. For short). The MCU includes, via an external bus, a sensor control unit that controls the above-described sensor, an actuator control unit that controls driving of the motor, an image processing unit that has a CPU and extracts an image for one page read by a line scan camera, and An interface for communicating with the processing unit 30 is connected.

本体ユニット10の筺体には、連続帳票Fをセットすると共に、点検、修理用の複数の開放扉が設けられている。なお、本体ユニット10の下流側には、連続帳票Fを折りたたむ折りたたみ装置50、折りたたみ装置50の折りたたみ速度と本体ユニット10の連続帳票Fの搬送速度とを調整するためのバッファとなるループ台40が、ループ台40、折りたたみ装置50の順に配置されている。   The casing of the main unit 10 is provided with a continuous form F and a plurality of open doors for inspection and repair. On the downstream side of the main unit 10, a folding device 50 that folds the continuous form F, and a loop base 40 that serves as a buffer for adjusting the folding speed of the folding device 50 and the conveyance speed of the continuous form F of the main unit 10. The loop base 40 and the folding device 50 are arranged in this order.

図1および図3に示すように、処理ユニット30は、筐体内に配置された検査サーバ31と複数台の同一仕様のコンピュータからなる検査端末32(32A、32B、32C、32D、32E)とで構成されている。換言すれば、処理ユニット30は、図1に示すように、機構的には検査サーバ31および検査端末32を収容したラックであり、図3に示すように、機能的には、プリンタにより連続帳票Fに正しく文字が印刷されたかを判断するコンピュータ群である。なお、図3は、この機能面を中心に、コンピュータ単位で表した図1の等価ブロック図である。   As shown in FIGS. 1 and 3, the processing unit 30 includes an inspection server 31 arranged in a housing and an inspection terminal 32 (32A, 32B, 32C, 32D, 32E) including a plurality of computers having the same specifications. It is configured. In other words, as shown in FIG. 1, the processing unit 30 is a rack that mechanically accommodates the inspection server 31 and the inspection terminal 32, and as shown in FIG. A computer group that determines whether characters are correctly printed on F. Note that FIG. 3 is an equivalent block diagram of FIG.

図1に示すように、処理ユニット30の上部には検査サーバ31のディスプレイ31Aが配置されており、ディスプレイ31Aの両側には複数の操作ボタン31B(図3の検査サーバ31のキーボードに相当)が配置されている。検査サーバ31の下部には検査端末32が配置されている。また、図3に示すように、検査サーバ31、各検査端末32、本体ユニット10は、それぞれ相互間が通信回線で接続されている。   As shown in FIG. 1, a display 31A of the inspection server 31 is arranged at the top of the processing unit 30, and a plurality of operation buttons 31B (corresponding to the keyboard of the inspection server 31 of FIG. 3) are provided on both sides of the display 31A. Has been placed. An inspection terminal 32 is disposed below the inspection server 31. As shown in FIG. 3, the inspection server 31, each inspection terminal 32, and the main unit 10 are connected to each other via a communication line.

図4に示すように、本体ユニット10のインターフェースは、制御回路20、シリアライザーおよびデシリアライザーを有するキャプチャーボード10Bを有している。一方、各検査端末32には、制御回路34(34a、34b、34c、34d、34e)、シリアライザー、デシリアライザーおよび2頁分のページメモリを有するインターフェースボード33(33a、33b、33c、33d、33e)が配置されている。本体ユニット10のキャプチャーボード10Bと各検査端末32のインターフェースボードとは、キャプチャーボード10Bを最上流として通信回線を介してデージーチェーン状に接続されている。このため、本体ユニット10は、処理待ちの検査端末32に画像データ等を送信することができる。   As shown in FIG. 4, the interface of the main unit 10 has a capture board 10B having a control circuit 20, a serializer, and a deserializer. On the other hand, each inspection terminal 32 includes an interface board 33 (33a, 33b, 33c, 33d) having a control circuit 34 (34a, 34b, 34c, 34d, 34e), a serializer, a deserializer, and a page memory for two pages. , 33e) are arranged. The capture board 10B of the main unit 10 and the interface board of each inspection terminal 32 are connected in a daisy chain via a communication line with the capture board 10B as the most upstream. For this reason, the main unit 10 can transmit image data and the like to the inspection terminal 32 waiting for processing.

(連続帳票)
次に、本実施形態の印刷検査装置1の検査対象となる連続帳票Fについて説明する。なお、以下、説明を簡単にするために、連続帳票Fは、図3に示すように、印刷サーバ60で制御されるシステムプリンタ70で印刷されたものとして説明する。
(Continuous form)
Next, the continuous form F to be inspected by the print inspection apparatus 1 according to the present embodiment will be described. In the following, for the sake of simplicity, the continuous form F will be described as being printed by a system printer 70 controlled by the print server 60 as shown in FIG.

図5に示した連続帳票Fは利用明細書として使用される一例を模式的に示しており、連続帳票Fには、システムプリンタ70により利用明細書の内容を構成する文字列が印刷される。本実施形態では、図5に一点鎖線で示した検査領域EF内の文字が印刷検査装置1により検査される検査対象文字となる。また、図5に示した例では、検査可能領域RF内に、一次元や二次元バーコードが印刷されるバーコード領域BCも設定されており、検査対象はこのようなバーコードであってもよい。なお、本実施形態では、連続帳票Fの裏面側にも同様に印刷されるが、検査領域EFは表面側と異なる領域に設定可能である。   The continuous form F shown in FIG. 5 schematically shows an example of use as a usage statement. A character string constituting the contents of the usage statement is printed on the continuous form F by the system printer 70. In the present embodiment, the characters in the inspection area EF indicated by the one-dot chain line in FIG. 5 are the inspection target characters to be inspected by the print inspection apparatus 1. In the example shown in FIG. 5, a barcode area BC on which a one-dimensional or two-dimensional barcode is printed is also set in the inspectable area RF, and the inspection object is such a barcode. Good. In the present embodiment, printing is similarly performed on the back side of the continuous form F, but the inspection area EF can be set to a different area from the front side.

ここで着目すべき点は、上述した特許文献1の技術と比較して、連続帳票Fの各頁に、本体ユニット10が連続帳票Fの画像を頁単位で読み取れるように、各頁の開始を表す開始マーク、各頁の終了を表す終了マーク、システムプリンタ70による連続帳票Fに対する頁情報がコーディングされたバーコード等が印刷されていない点である。   The point to be noted here is that each page of the continuous form F is read on each page of the continuous form F so that the main unit 10 can read the image of the continuous form F on a page-by-page basis as compared with the technique of Patent Document 1 described above. A start mark to be displayed, an end mark to indicate the end of each page, a bar code in which page information for the continuous form F by the system printer 70 is coded, and the like are not printed.

(動作)
次に、本実施形態の印刷検査装置1の動作について、辞書作成処理、帳票登録処理、印刷検査処理の順に説明する。なお、辞書作成処理および帳票登録処理は印刷検査装置1による連続帳票Fの印刷検査処理を行う前に実行される。
(Operation)
Next, the operation of the print inspection apparatus 1 according to the present embodiment will be described in the order of dictionary creation processing, form registration processing, and print inspection processing. The dictionary creation process and the form registration process are executed before the print inspection process of the continuous form F by the print inspection apparatus 1 is performed.

<辞書作成処理>
辞書作成処理について一言すれば、システムプリンタ70により連続帳票Fに印刷され得る文字のそれぞれの特徴量を演算し、演算した特徴量と文字(情報)との対応関係を定めた辞書を作成するものであるが、詳しくは以下の通りである。
<Dictionary creation process>
In short, the dictionary creation processing calculates each feature quantity of characters that can be printed on the continuous form F by the system printer 70, and creates a dictionary that defines the correspondence between the computed feature quantity and the characters (information). The details are as follows.

まず、印刷サーバ60は、システムプリンタ70により連続帳票Fに印刷され得る全ての文字のコード、フォントおよびフォントサイズを含む文字情報に対応して所定形式で辞書作成用の専用連続帳票(以下、辞書作成用連続帳票という。)に文字列を印刷させる。本実施形態では、この辞書作成用連続帳票に、図5に示した連続帳票Fとは別の予め所定文字が印刷されていない略無地、かつ、連続帳票Fと同紙質の連続帳票が用いられ、所定形式として、各行に辞書作成用の文字が印刷されることを示す識別マーク、1文字の大きさが分かる参照用文字、フォント毎に複数のフォントサイズの文字を印刷し、一つのフォントサイズに対して2個以上の文字を印刷する形式が用いられている。なお、この「所定形式」は、システムプリンタ70により辞書作成用連続帳票に文字情報を構成する全ての文字がどのように印刷されているかが処理ユニット30側でも把握可能なプトロコルを意味している。   First, the print server 60 is a dedicated continuous form for creating a dictionary in a predetermined format corresponding to character information including codes, fonts and font sizes of all characters that can be printed on the continuous form F by the system printer 70 (hereinafter referred to as a dictionary). A character string is printed on a continuous form for creation). In the present embodiment, a continuous form having the same paper quality as the continuous form F, which is different from the continuous form F shown in FIG. As a predetermined format, an identification mark indicating that a dictionary creation character is printed on each line, a reference character that indicates the size of the character, a plurality of font size characters for each font, and a single font size For this, a format in which two or more characters are printed is used. This “predetermined format” means a protocol that allows the processing unit 30 to grasp how all the characters constituting the character information are printed on the dictionary creation continuous form by the system printer 70. .

次に、印刷サーバ60により、システムプリンタ70で辞書作成用連続帳票に印刷され得る全ての文字のコード、フォントおよびフォントサイズを含む文字情報が上述した所定形式に適合するように記録媒体に書き込まれ、記録媒体を介して文字情報が検査サーバ31に入力される。検査サーバ31は文字情報を各検査端末32に送信し、各検査端末32はハードディスクに文字情報を格納する。これにより、辞書作成処理の準備が完了する。一般に、利用明細書や請求書となる連続帳票Fに印刷される文字のフォントおよびフォントサイズは限定されているため、印刷サーバ60が記録媒体に記録する情報量はそれ程大きくはならない。従って、上述した「印刷され得る全ての文字」はシステムプリンタ70が印刷可能な全ての文字を意味するものでなく、連続帳票Fに印刷されないフォント、フォントサイズの文字は除かれる意味であるが、記録媒体に余裕がある場合にはシステムプリンタ70が印刷可能な全ての文字を記録するようにしてもよい。   Next, character information including codes, fonts, and font sizes of all characters that can be printed on the dictionary creation continuous form by the system printer 70 is written on the recording medium by the print server 60 so as to conform to the predetermined format described above. Character information is input to the inspection server 31 via the recording medium. The inspection server 31 transmits character information to each inspection terminal 32, and each inspection terminal 32 stores the character information in the hard disk. Thus, the preparation for the dictionary creation process is completed. In general, since the font and font size of characters printed on the continuous form F serving as a usage statement or an invoice are limited, the amount of information recorded on the recording medium by the print server 60 does not become so large. Therefore, the above-mentioned “all characters that can be printed” does not mean all characters that can be printed by the system printer 70, and means that fonts and font size characters that are not printed on the continuous form F are excluded. If there is a margin in the recording medium, all characters that can be printed by the system printer 70 may be recorded.

オペレータにより、システムプリンタ70で印刷された辞書作成用連続帳票が本体ユニット10にセットされ、操作ボタン31Bのうち所定ボタン(プレフィードボタン)が押下されると、印刷検査装置1は辞書作成用連続帳票を所定距離搬送するためのプレフィードを開始する。   When the operator creates a dictionary creation continuous form printed by the system printer 70 in the main unit 10 and presses a predetermined button (pre-feed button) among the operation buttons 31B, the print inspection apparatus 1 causes the dictionary creation continuous Start pre-feed for transporting a form for a predetermined distance.

すなわち、処理ユニット30(検査サーバ31)からプレフィードのコマンドを受信した本体ユニット10のMCUは、LEDアレイ12A、12Bおよび14A、14Bを点灯させると共に、アクチュエータ制御部を介して搬送モータFMを駆動させる。これにより、辞書作成用連続帳票は図2の矢印A方向に一定速度で搬送され、ラインスキャンカメラ11、13は辞書作成用連続帳票の画像読取を開始する。また、MCUは、センサ制御部からの信号を参照して、辞書作成用連続帳票のジャム等の監視を開始する。   That is, the MCU of the main unit 10 that has received the pre-feed command from the processing unit 30 (inspection server 31) lights up the LED arrays 12A, 12B and 14A, 14B, and drives the transport motor FM via the actuator controller. Let Thus, the dictionary creation continuous form is conveyed at a constant speed in the direction of arrow A in FIG. 2, and the line scan cameras 11 and 13 start reading images of the dictionary creation continuous form. Further, the MCU refers to a signal from the sensor control unit and starts monitoring a jam or the like of the dictionary creation continuous form.

本体ユニット10の画像処理部(のCPU)は、表面ラインスキャンカメラ11からの出力を監視することで辞書作成用連続帳票の先端部が読取位置まで搬送されたか否かを判断しており、肯定判断のときにはその旨を本体ユニット10のMCUに報知し、否定判断のときには辞書作成用連続帳票の先端部が読取位置まで搬送されたか否かの判断を続行する。この報知を受けた本体ユニット10のMCUは、アクチュエータ制御部を介してなおも所定パルス数搬送モータFMを駆動させた後、搬送モータFMの駆動を停止させる。これにより、辞書作成用連続帳票の先端部は表面ラインスキャンカメラ11の読取位置から所定距離(例えば、3m)搬送される(プレフィードされる)。オペレータは、辞書作成用連続帳票のプレフィード搬送が終了した後に(辞書作成用連続帳票の先端部が本体ユニット10からループ台40に排出され停止した後に)、辞書作成用連続帳票の先端部を折りたたみ装置50にセットする。次いで、オペレータにより、操作ボタン31Bのうち所定ボタン(辞書作成処理ボタン)が押下されると、本体ユニット10のMCUは搬送モータFMを再度駆動させ、印刷検査装置1は辞書作成処理を開始する。なお、本体ユニット10のMCUはアクチュエータ制御部を介して搬送モータFMに出力した搬送パルス数を画像処理部(のCPU)にも報知している。   The image processing unit (CPU) of the main unit 10 determines whether or not the leading end of the dictionary creation continuous form has been transported to the reading position by monitoring the output from the surface line scan camera 11. When the determination is made, the fact is notified to the MCU of the main unit 10, and when the determination is negative, the determination of whether or not the leading end of the dictionary creating continuous form has been conveyed to the reading position is continued. Upon receiving this notification, the MCU of the main unit 10 drives the transport motor FM for a predetermined number of pulses through the actuator controller, and then stops driving the transport motor FM. Thus, the leading end of the dictionary creation continuous form is conveyed (pre-fed) by a predetermined distance (for example, 3 m) from the reading position of the surface line scan camera 11. After completing the pre-feed conveyance of the dictionary creating continuous form (after the leading end of the dictionary creating continuous form is discharged from the main unit 10 to the loop base 40 and stopped), the operator moves the leading end of the dictionary creating continuous form. Set in the folding device 50. Next, when a predetermined button (dictionary creation processing button) of the operation buttons 31B is pressed by the operator, the MCU of the main unit 10 drives the transport motor FM again, and the print inspection apparatus 1 starts the dictionary creation processing. The MCU of the main unit 10 also notifies the image processing unit (CPU) of the number of conveyance pulses output to the conveyance motor FM via the actuator control unit.

本体ユニット10の画像処理部(のCPU)は、搬送モータFMの搬送量管理(本例では連続帳票Fの先端部の位置を基準として、アクチュエータ制御部から出力された搬送パルス数をカウントすること)によって、概略の位置で1頁分の画像を切り出して、切り出した画像にシーケンシャルな画像インデクス(例えば、画像ナンバー)を付与し、切り出した1頁分の画像データと画像インデクスとをキャプチャーボード10Bの制御回路20に出力する。   The image processing unit (CPU) of the main body unit 10 counts the number of conveyance pulses output from the actuator control unit based on the conveyance amount management of the conveyance motor FM (in this example, based on the position of the leading end of the continuous form F). ), An image for one page is cut out at an approximate position, a sequential image index (for example, an image number) is assigned to the cut-out image, and the cut-out image data and image index for one page are captured by the capture board 10B. Is output to the control circuit 20.

一方、各検査端末32のインターフェースボード33の制御回路34は、本体ユニット10のキャプチャーボード10Bの制御回路20に対し、所定のレスポンス(応答)と各検査端末32の作動状態を表す状態情報を含むレポートの作成を行っている。レスポンスは、キャプチャーボード10Bが各検査端末32のインターフェースボード33に対して発行する初期化や画像データ転送等のコマンドを実行した結果の状態報告であり、レポートは、ページメモリの使用終了等の各検査端末32の作動状態が変わる度に制御回路34により自律的に作成される報告である。これらのレスポンスおよびレポートは、下流側の検査端末のインターフェースボードから上流側の検査端末のインターフェースボードに向けてキャプチャーボード10Bまで送信され、中間の(上流側の)検査端末のインターフェースボード(の制御回路)は、下流側のインターフェースボードが送信したレスポンスおよびレポートをキャプチャーボード10Bが受信可能なように、より上流側のインターフェースボードまたはキャプチャーボード10Bにレスポンスおよびレポートを転送する。   On the other hand, the control circuit 34 of the interface board 33 of each inspection terminal 32 includes a predetermined response (response) and state information indicating the operating state of each inspection terminal 32 with respect to the control circuit 20 of the capture board 10B of the main unit 10. A report is being created. The response is a status report as a result of executing commands such as initialization and image data transfer issued to the interface board 33 of each inspection terminal 32 by the capture board 10B. This is a report autonomously created by the control circuit 34 every time the operating state of the inspection terminal 32 changes. These responses and reports are transmitted from the interface board of the downstream inspection terminal to the capture board 10B toward the interface board of the upstream inspection terminal, and the control board of the intermediate (upstream) inspection terminal interface board (control circuit thereof) ) Transfers the response and the report to the upstream interface board or the capture board 10B so that the capture board 10B can receive the response and the report transmitted by the downstream interface board.

このため、キャプチャーボード10Bの制御回路20は、各検査端末32のインターフェースボード33からのレスポンスおよびレポートにより、各検査端末32の作動状態を把握することができる。従って、キャプチャーボード10Bは、検査端末32のうちいずれかの検査端末が1頁分の画像データ等(1頁分の画像データ、画像インデクス)を受信可能な状態になる度に、所定条件に基づいて送信先(処理待ちの検査端末)を決定し、決定した検査端末のインターフェースボードに画像処理部から出力された1頁分の画像データ等を送信する。すなわち、キャプチャーボード10Bから各検査端末のインターフェースボード33に送信する際に、検査端末に割り振られたユニークナンバーを指定して、1頁分の画像データ等を送信する。各検査端末32のインターフェースボード33の制御回路34は、指定されたユニークナンバーが自己のナンバーと一致するか否かを判断し、一致するときには、1頁分の画像データ等を取り込み、一致しないときは、下流側のインターフェースボードに受信した1頁分の画像データ等を転送する。   For this reason, the control circuit 20 of the capture board 10 </ b> B can grasp the operating state of each inspection terminal 32 from the response and report from the interface board 33 of each inspection terminal 32. Therefore, the capture board 10B is based on a predetermined condition every time one of the inspection terminals 32 becomes ready to receive one page of image data or the like (one page of image data, image index). The transmission destination (inspection terminal waiting for processing) is determined, and the image data for one page output from the image processing unit is transmitted to the interface board of the determined inspection terminal. That is, when transmitting from the capture board 10B to the interface board 33 of each inspection terminal, the unique number assigned to the inspection terminal is specified and image data for one page is transmitted. The control circuit 34 of the interface board 33 of each inspection terminal 32 determines whether or not the specified unique number matches its own number. If they match, the image data for one page is captured. Transfers the received image data for one page to the downstream interface board.

本実施形態では、上述した所定条件として、キャプチャーボード10Bがn番目の検査端末に画像データ等を送信すると決定する場合に、(1)1番目から(n−1)番目の検査端末がページメモリの1頁目を使用してすべて稼働中であって、n番目の検査端末がページメモリの1頁目を使用して稼働していないとき、または、(2)すべての検査端末がページメモリの1頁目を使用してすべて稼働中、かつ、1番目から(n−1)番目の検査端末がページメモリの2頁目を使用して稼働中であり、n番目の検査端末がページメモリの2頁目を使用して稼働していないとき、を条件としている。   In the present embodiment, as the predetermined condition described above, when the capture board 10B determines to transmit image data or the like to the nth inspection terminal, the (1) first to (n-1) th inspection terminals are stored in the page memory. All pages are in operation and the nth inspection terminal is not in operation using the first page of page memory, or (2) all inspection terminals are in page memory All are in operation using the first page, and the 1st to (n-1) th inspection terminals are in operation using the second page of the page memory, and the nth inspection terminal is in the page memory. The condition is that the second page is not in operation.

各検査端末32は、受信した1頁分の画像データの画像について、まず、当該頁がブランクか文字等が印刷された頁かの判断を行うブランクチェックを行う。すなわち、1頁分の画像領域または1頁分の画像領域のうち所定領域(例えば、図5の顧客住所の検査領域)の黒の割合が所定値以上のときに(汚れやゴミによって生じる黒の割合以上のときに)、当該頁は文字等が印刷された頁と判断し、黒の割合が所定値未満のときに、当該頁はブランクであると判断する。当該頁がブランクであると判断したときは、当該頁について処理を行う必要はないので、次の1頁分の画像データの送信があるまで待機する。   Each inspection terminal 32 first performs a blank check on the received image of one page of image data to determine whether the page is blank or a page on which characters or the like are printed. That is, when the ratio of black in a predetermined area (for example, the customer address inspection area in FIG. 5) of the image area for one page or the image area for one page is equal to or greater than a predetermined value (black color caused by dirt or dust) When the ratio is equal to or greater than the ratio, the page is determined to be a page on which characters or the like are printed. When the ratio of black is less than a predetermined value, the page is determined to be blank. When it is determined that the page is blank, there is no need to perform processing on the page, so that the process waits until image data for the next page is transmitted.

一方、文字等が印刷された頁と判断したときは、各検査端末32は、更に、ブランクでない、当該検査端末に送信された最初の頁の画像データか否かを判断し、否定判断のときは後述する文字画像の切り出しを行い、肯定判断のときは検査サーバ31にブランクでない当該検査端末に送信された最初の頁の画像データに対応する画像インデクスを報告する。検査サーバ31は、全検査端末32からの報告(ブランクでない最初の頁に対応する画像インデクス)を参照することにより、辞書作成用連続帳票の第1頁(実際に文字等が印刷された第1頁)と画像インデクスとの対応関係を把握し、把握した対応関係を各検査端末32に報知する。これにより、各検査端末32は特徴量を演算した辞書作成用連続帳票の物理的頁と画像インデクスとの対応関係を知ることができる。なお、画像インデクスはシーケンシャルであるため、一旦画像インデクスと辞書作成用連続帳票の物理的頁との対応関係が分かると、各検査端末32は画像インデクスにより何頁の処理を行っているかを把握することができる。   On the other hand, when it is determined that the page is printed with characters or the like, each inspection terminal 32 further determines whether the image data of the first page transmitted to the inspection terminal is not blank. Cuts out a character image, which will be described later, and reports an image index corresponding to the image data of the first page transmitted to the inspection terminal that is not blank to the inspection server 31 when an affirmative determination is made. The inspection server 31 refers to the report from all the inspection terminals 32 (image index corresponding to the first page that is not blank), so that the first page of the dictionary creation continuous form (the first one on which characters or the like are actually printed). Page) and the image index are grasped, and the grasped correspondence is notified to each inspection terminal 32. As a result, each inspection terminal 32 can know the correspondence between the physical page of the dictionary creation continuous form for which the feature amount is calculated and the image index. Since the image index is sequential, once the correspondence between the image index and the physical page of the dictionary creation continuous form is known, each inspection terminal 32 grasps how many pages are being processed by the image index. be able to.

また、各検査端末32は、文字等が印刷された頁と判断したときには、受信した1頁分の画像データの画像から一文字ずつ文字画像を切り出して、切り出した文字画像にシーケンシャルな文字画像インデクス(例えば、文字画像ナンバー)を付与し、切り出した文字画像の画像データ、文字画像インデクスおよび上述した画像インデクスをハードディスクに保存する。   Further, when each inspection terminal 32 determines that a page on which characters or the like are printed, it cuts out character images one by one from the received image data image for one page, and sequentially extracts a character image index ( For example, a character image number) is assigned, and the image data of the cut character image, the character image index, and the above-described image index are stored in the hard disk.

なお、文字画像の切り出し開始前に、各検査端末32が辞書作成用連続帳票の物理的頁と画像インデクスとの対応関係について検査サーバ31から報知があれば、文字画像インデクスを用いる必要はなく、ハードディスクに格納された文字情報をインデクスとして用いることができる。しかし、処理タイミングの関係で、必ずしも文字画像の切り出し前に各検査端末が辞書作成用連続帳票の物理的頁と画像インデクスとの対応関係を検査サーバ31から報知されるとは限らない。このため、各検査端末32は、暫定的に、切り出した画像の画像データに文字画像インデクスを付与しておき、各検査端末32が辞書作成用連続帳票の物理的頁と画像インデクスとの対応関係を検査サーバ31から報知された時点で、文字画像インデクスと文字情報との対応をとり、以降、文字情報をインデクスとして使用する。   If each inspection terminal 32 is notified from the inspection server 31 about the correspondence between the physical page of the dictionary creation continuous form and the image index before starting to cut out the character image, it is not necessary to use the character image index. Character information stored in the hard disk can be used as an index. However, because of the processing timing, the inspection server 31 does not always notify the correspondence between the physical page of the dictionary creation continuous form and the image index before the character image is cut out. Therefore, each inspection terminal 32 provisionally assigns a character image index to the image data of the clipped image, and each inspection terminal 32 has a correspondence relationship between the physical page of the dictionary creation continuous form and the image index. When the inspection server 31 is notified, the character image index and the character information are matched, and the character information is used as the index thereafter.

次いで、切り出した文字画像および文字画像インデクス(または文字情報)をハードディスクから1文字分ずつ読み出して、例えば、5×5の小領域に分割し8方向(45°)を基準ベクトルとしたときの、各小領域の画像形成方向の傾きについての特徴ベクトルを演算して各特徴ベクトルに重み係数を掛けた特徴量を演算する。なお、5×5の小領域に分割し8方向の基準ベクトルを用いた場合には1文字について200の特徴空間が形成されることになり、重み係数は、例えば、文字の外側部を構成する小領域の特徴ベクトルほど大きくなるように設定することができる。また、本実施形態では、同一文字(コード、フォントおよびフォントサイズが同じ文字)について辞書作成用連続帳票に2個以上の文字が印刷されているので、各検査端末32は、例えば、1頁分の文字の切り出し後、かつ、各切り出された文字の特徴量の演算開始前までに、文字画像インデクスと文字情報との対応を図り、同一文字について平均した特徴量を演算する。各検査端末32は、受信した1頁分の文字の特徴量を演算すると、文字情報をインデクスとして、文字情報、特徴量、文字の画像データを1文字ずつ対応付けて(1頁分の辞書を作成し)、画像インデクスと共に、検査サーバ31に送信する。   Next, the extracted character image and character image index (or character information) are read from the hard disk one character at a time, and divided into, for example, 5 × 5 small areas, and 8 directions (45 °) are used as reference vectors. A feature vector is calculated for the inclination in the image formation direction of each small region, and a feature amount obtained by multiplying each feature vector by a weighting coefficient is calculated. In addition, when dividing into 5 × 5 small areas and using eight-direction reference vectors, 200 feature spaces are formed for one character, and the weighting factor constitutes, for example, the outer portion of the character. It can be set so that the feature vector of a small region becomes larger. In the present embodiment, since two or more characters are printed on the dictionary creation continuous form for the same character (characters having the same code, font, and font size), each inspection terminal 32 is, for example, for one page. After the character is cut out and before the calculation of the feature amount of each extracted character, the character image index and the character information are matched, and the feature amount averaged for the same character is calculated. When each inspection terminal 32 calculates the feature amount of the received character for one page, the character information is indexed, and character information, feature amount, and character image data are associated one by one (a dictionary for one page is stored). Created) and transmitted to the inspection server 31 together with the image index.

検査サーバ31は、1台以上の検査端末32が作成した辞書を受信し、検査端末が作成した複数の辞書を1つの辞書に再構築する。この辞書は、特徴量として追加される追加特徴量(後述)を複数持つことができるデータ構造を有している。次に、検査端末32から受信した画像インデクスを参照して、記録媒体を介して入力された文字情報を構成する全ての文字について、文字情報、特徴量および画像データの対応関係が定められたか(全ての文字について辞書が作成されたか)否かを判断し、否定判断のときには、残りの辞書の部分を作成するために、処理待ち状態の(特徴量等を検査サーバ31に送信した)検査端末32に、更に、1頁分の画像データ、印刷処理情報および当該頁の文字情報を送信し、肯定判断のときは、各検査端末32に、作成した辞書について検証させる。   The inspection server 31 receives a dictionary created by one or more inspection terminals 32 and reconstructs a plurality of dictionaries created by the inspection terminal into one dictionary. This dictionary has a data structure that can have a plurality of additional feature amounts (described later) added as feature amounts. Next, with reference to the image index received from the inspection terminal 32, the correspondence relationship between the character information, the feature amount, and the image data has been determined for all characters constituting the character information input via the recording medium ( In the case of negative determination, in order to create the remaining dictionary portion, the inspection terminal waiting for processing (the feature amount or the like has been transmitted to the inspection server 31) is determined. Further, image data for one page, print processing information, and character information of the page are transmitted to 32. When the determination is affirmative, each inspection terminal 32 is made to verify the created dictionary.

すなわち、検査サーバ31は、作成した辞書のうち、数十文字分の文字情報、特徴量、画像データおよび当該画像データの画像より低い解像度の解像度情報を各検査端末32に送信する。各検査端末32は、受信した画像データから解像度情報に従って解像度を下げた画像を生成し、生成した画像を上述した所定小領域に分割し8方向を基準ベクトルとしたときの、各小領域の画像形成方向の傾きについての特徴ベクトルを演算して各特徴ベクトルに重み係数を掛けた特徴量を演算する。次に、演算した特徴量が受信した特徴量に対して予め設定された検証基準値以上か否かを判断する。肯定判断のときは、検証対象の文字の特徴量が適正である旨を表す情報を文字情報に付加し、否定判断のときは、検証対象の文字の特徴量が不適正である旨を表す情報を文字情報に付加し、数十文字分の文字についての処理が終了したときに、検査サーバ31に文字情報を送信する。   In other words, the inspection server 31 transmits character information, feature amounts, image data for several tens of characters in the created dictionary, and resolution information having a resolution lower than the image of the image data to each inspection terminal 32. Each inspection terminal 32 generates an image with reduced resolution according to the resolution information from the received image data, and divides the generated image into the above-described predetermined small regions and uses the eight directions as reference vectors. A feature vector obtained by multiplying each feature vector by a weighting coefficient is calculated by calculating a feature vector regarding the inclination in the forming direction. Next, it is determined whether or not the calculated feature value is equal to or greater than a verification reference value set in advance with respect to the received feature value. If the determination is affirmative, information indicating that the feature amount of the character to be verified is appropriate is added to the character information. If the determination is negative, the information indicating that the feature amount of the character to be verified is inappropriate. Is added to the character information, and the character information is transmitted to the inspection server 31 when the processing for several tens of characters is completed.

検査サーバ31は、作成した辞書の全ての文字について文字情報を受信したか否かを判断し、否定判断のときは、処理待ち状態の検査端末32に、更に、数十文字分の文字情報、特徴量、画像データおよび解像度情報を送信し、肯定判断のときは、各文字情報に付加された情報を参照することで、特徴量が不適正と判断された文字があるか否かを判断する。特徴量が不適正と判断された文字がないと判断した場合は、作成した辞書に辞書名を付与し、作成した(文字情報、特徴量、画像データ間の対応関係を定めた)辞書の内容をハードディスクに保存すると共に、各検査端末32に、作成した辞書のうち文字情報と画像データとの対応関係の情報を除く辞書の情報と辞書名とを送信して辞書作成処理を終了し、特徴量が不適正と判断された文字があると判断した場合は、当該文字について、検査端末32に検証基準値を変更させて(下げさせて)、作成した辞書の全ての文字の特徴量が適正と判断されるまで続行し、(変更した)検証基準値を後述する判定基準値として設定して(辞書の付属情報として予め設定されていた判定基準値のデフォルト値を変更して)、作成した辞書に辞書名を付与し、作成した辞書の内容をハードディスクに保存すると共に、各検査端末32に、作成した辞書のうち文字情報と画像データとの対応関係の情報を除く辞書の情報と辞書名とを送信して辞書作成処理を終了する。各検査端末32は、受信した辞書の情報および辞書名をハードディスクに保存する。   The inspection server 31 determines whether or not character information has been received for all the characters in the created dictionary. If the determination is negative, the inspection server 32 that is waiting for processing further receives character information and characteristics for several tens of characters. The amount, the image data, and the resolution information are transmitted, and in the case of an affirmative determination, it is determined whether there is a character whose feature amount is determined to be inappropriate by referring to information added to each character information. If it is determined that there is no character for which the feature amount is determined to be inappropriate, the dictionary name is given to the created dictionary, and the created dictionary contents (corresponding relationships between character information, feature amounts, and image data are defined) Are stored in the hard disk, and the dictionary information and the dictionary name excluding information on the correspondence between the character information and the image data among the created dictionaries are transmitted to each inspection terminal 32, and the dictionary creation process is terminated. If it is determined that there is a character whose amount is determined to be inappropriate, the verification reference value is changed (lowered) by the inspection terminal 32 for that character, and the feature values of all the characters in the created dictionary are appropriate. The verification reference value (changed) is set as a determination reference value described later (by changing the default value of the determination reference value set in advance as dictionary attached information) and created. Assign dictionary name to dictionary The contents of the created dictionary are saved on the hard disk, and the dictionary information and the dictionary name excluding the correspondence information between the character information and the image data in the created dictionary are transmitted to each inspection terminal 32 to create the dictionary. End the process. Each inspection terminal 32 stores the received dictionary information and dictionary name in the hard disk.

<帳票登録処理>
次に、帳票登録処理について説明する。帳票登録処理について一言すれば、文字が適正に印刷されたかの検査対象となる検査領域、検査領域を切り出すための基準となる基準位置認識領域、検査領域のうち特定の領域に印刷された文字列のユニーク性を利用して切り出された画像が何頁目の画像かを把握するためのユニーク性特定領域、一次元または二次元バーコードが印刷されるバーコード領域を設定するものであるが、詳しくは以下の通りである。
<Form registration process>
Next, the form registration process will be described. In short, the form registration process is: the inspection area to be inspected if the characters are printed properly, the reference position recognition area to be a reference for cutting out the inspection area, and the character string printed in a specific area of the inspection area The uniqueness specific area for grasping the page number of the image cut out using the uniqueness of the image, and the barcode area where the one-dimensional or two-dimensional barcode is printed. Details are as follows.

[基準位置認識領域の設定]
画像処理部のCPUは、上述した搬送量管理に従って、本体ユニット10で読み取られた連続帳票Fの1頁分の画像データをキャプチャーボード10Bの制御回路20に出力する。ここで、図6を参照して、基準位置認識領域の設定について説明する。図6に示すように、搬送量管理によって切り出される1頁分の画像領域をIAとすると、基準位置認識領域の設定では、例えば、画像領域IAの基準座標位置R(0,0)と、検査可能領域RFの隅部を形成する記号(罫線の一部)「┏」(以下、マーク「┏」という。)の座標位置(X,Y)との関係が設定される。搬送量管理により画像を切り出すと、連続帳票Fの先端がトラクタベルト17のピンで保持されていないため弛みが発生しやすく、弛み分だけ連続帳票Fと搬送量とに不一致が発生する(不一致分が毎頁発生する)ため、マーク「┏」を中心とした略正方形の第1基準位置認識領域RPF1および第1基準位置認識領域RPF1より小さい第2基準位置認識領域RPF2が設定される。具体的には、オペレータが操作ボタン31Bのうち所定ボタン(基準位置設定ボタン)を押下することにより、ディスプレイ31には1頁分の画像データおよび位置を入力するためのインプットボックスが表示され、オペレータは検査可能領域RFの隅部を形成するマーク「┏」を特定するとともに、インプットボックスに、順次、基準座標位置R(0,0)、マーク「┏」の座標位置(X,Y)、第1基準位置認識領域RPF1、第2基準位置認識領域RPF2の大きさ(座標)を入力する。なお、連続帳票Fの作製時に、基準座標位置R(0,0)と検査可能領域RFの隅部を形成するマーク「┏」の座標位置(X,Y)との関係は既知である(本例では、搬送量誤差を考慮して、基準座標位置Rの位置を連続帳票の1頁の境を形成するミシン目からX、Y方向ともに3mmの位置としている。)。また、第1基準位置認識領域RPF1は弛み分の不一致を吸収可能な大きさが予め定められており(ディスプレイ31に表示され)、オペレータはこの大きさ以上に第1基準位置認識領域RPF1を設定する。
[Setting the reference position recognition area]
The CPU of the image processing unit outputs image data for one page of the continuous form F read by the main unit 10 to the control circuit 20 of the capture board 10B in accordance with the carry amount management described above. Here, the setting of the reference position recognition area will be described with reference to FIG. As shown in FIG. 6, when the image area for one page cut out by the carry amount management is IA, in the setting of the reference position recognition area, for example, the reference coordinate position R (0, 0) of the image area IA and the inspection A relationship with the coordinate position (X, Y) of a symbol (part of a ruled line) “┏” (hereinafter referred to as a mark “┏”) forming a corner of the possible region RF is set. When the image is cut out by the transport amount management, the leading edge of the continuous form F is not held by the pin of the tractor belt 17, and the slack is likely to occur, and the continuous form F and the transport amount are inconsistent by the amount of the slack (the mismatch amount). Therefore, the first reference position recognition area RPF1 and the second reference position recognition area RPF2 that are smaller than the first reference position recognition area RPF1 are set. Specifically, when the operator presses a predetermined button (reference position setting button) among the operation buttons 31B, an input box for inputting image data and a position for one page is displayed on the display 31, and the operator Specifies the mark “┏” that forms the corner of the inspectable region RF, and in the input box, the reference coordinate position R (0, 0), the coordinate position (X, Y) of the mark “┏”, The sizes (coordinates) of the first reference position recognition area RPF1 and the second reference position recognition area RPF2 are input. When the continuous form F is produced, the relationship between the reference coordinate position R (0, 0) and the coordinate position (X, Y) of the mark “┏” that forms the corner of the inspectable region RF is known (this book In the example, in consideration of the conveyance amount error, the position of the reference coordinate position R is set to a position of 3 mm in both the X and Y directions from the perforation that forms the boundary of one page of the continuous form. Further, the first reference position recognition area RPF1 has a predetermined size (displayed on the display 31) that can absorb the mismatch of the slack, and the operator sets the first reference position recognition area RPF1 to be larger than this size. To do.

キャプチャーボード10Bの制御回路20は、本体ユニット10で読み取られた連続帳票Fの1頁分の画像データを上述したように任意の検査端末32に出力する。一方、検査サーバ31は、当該検査端末32に検査可能領域RFの隅部を形成するマーク「┏」のパターン情報を取得する。これにより、検査サーバ31は、基準座標位置R(0,0)、検査可能領域RFの隅部を形成するマーク「┏」のパターン情報、マーク「┏」の座標位置(X,Y)並びに第1基準位置認識領域RPF1、第2基準位置認識領域RPF2の座標を把握する。   The control circuit 20 of the capture board 10B outputs the image data for one page of the continuous form F read by the main unit 10 to an arbitrary inspection terminal 32 as described above. On the other hand, the inspection server 31 acquires pattern information of the mark “┏” that forms the corner of the inspectable region RF in the inspection terminal 32. Thereby, the inspection server 31 has the reference coordinate position R (0, 0), the pattern information of the mark “┏” that forms the corner of the inspectable region RF, the coordinate position (X, Y) of the mark “┏”, and the The coordinates of the first reference position recognition area RPF1 and the second reference position recognition area RPF2 are grasped.

[検査領域の設定]
また、検査サーバ31は、検査可能領域RFの隅部を形成するマーク「┏」の座標位置(X,Y)を基準に、検査可能領域RF(図5参照)を含むように画像を切り出して倍率補正を行いディスプレイ31Aに切り出した画像を表示させ、オペレータによる検査可能領域RFおよび検査領域EFの指定があるまで待機する。オペレータは、操作ボタン31B(または、検査サーバ31にログインした外部コンピュータ)により、まず、検査可能領域RFを指定した後、検査領域EFを順次指定し、検査サーバ31はマーク「┏」の座標位置(X,Y)として検査可能領域RFおよび検査領域EFの位置情報を取得する。
[Set inspection area]
Further, the inspection server 31 cuts out an image so as to include the inspectable region RF (see FIG. 5) with reference to the coordinate position (X, Y) of the mark “┏” that forms the corner of the inspectable region RF. The scaled image is corrected and the cut image is displayed on the display 31A, and waits until the operator designates the inspectable region RF and the inspection region EF. The operator first designates the inspectable region RF and then sequentially designates the inspection region EF by using the operation button 31B (or an external computer logged into the inspection server 31), and the inspection server 31 sets the coordinate position of the mark “┏”. The position information of the inspectable region RF and the inspection region EF is acquired as (X, Y).

検査サーバ31は検査領域EFの指定を終了する旨の操作ボタンが押下されたか(または、外部コンピュータから指定を終了するためのコマンドを受信したか)否かを判断し、否定判断のときは、検査領域EFが続けて指定される可能性があるため待機し、肯定判断のときは、取得した検査可能領域RFおよび検査領域EFの位置情報をハードディスクに格納する。   The inspection server 31 determines whether or not an operation button for ending the specification of the inspection area EF has been pressed (or whether a command for ending the specification is received from an external computer). Since there is a possibility that the inspection area EF may be continuously specified, the process waits. If the determination is affirmative, the acquired position information of the inspectable area RF and the inspection area EF is stored in the hard disk.

[ユニーク性特定領域の設定]
検査サーバ31は検査領域EFの指定がなされた後、指定された検査領域EFの大きさ(領域面積)を算出し、例えば、面積の小さい順の検査領域EFについてのリストを作成する。次いで、検査領域設定の場合と同様に、検査可能領域RFを含む画像の倍率補正を行いディスプレイ31Aに表示させ、オペレータによるユニーク性特定領域の特定があるまで待機する。オペレータは、操作ボタン31B(または、検査サーバ31にログインした外部コンピュータ)により検査領域EFの中からユニーク性特定領域を少なくとも1つ特定し、検査サーバ31は検査領域EFの中から特定されたユニーク性特定領域の情報を取得する。ユニーク性特定領域としては、例えば、ユニーク性を確保しやすい顧客コード(図5の「050216780」)の領域を選択することができる。
[Uniqueness specific area setting]
After the inspection area EF is specified, the inspection server 31 calculates the size (area area) of the specified inspection area EF, and for example, creates a list for the inspection areas EF in ascending order of area. Next, as in the case of the inspection area setting, the magnification of the image including the inspectable area RF is corrected and displayed on the display 31A, and the apparatus waits until the uniqueness specific area is specified by the operator. The operator specifies at least one uniqueness specifying area from the inspection area EF using the operation button 31B (or an external computer logged in to the inspection server 31), and the inspection server 31 is identified from the inspection area EF. Get information on gender specific areas. As the uniqueness specifying area, for example, an area of a customer code (“050216780” in FIG. 5) that can easily ensure uniqueness can be selected.

検査サーバ31はユニーク性特定領域の特定を終了する旨の操作ボタンが押下されたか(または、外部コンピュータから特定を終了するためのコマンドを受信したか)否かを判断し、否定判断のときは、ユニーク性特定領域が続けて特定される可能性があるため待機し、肯定判断のときは、面積の小さい順の検査領域EFについてのリストと特定されたユニーク性特定領域の情報をハードディスクに格納する。   The inspection server 31 determines whether or not an operation button for ending identification of the uniqueness specific area has been pressed (or whether a command for ending identification is received from an external computer). Since there is a possibility that the uniqueness specifying area may be specified continuously, in the case of an affirmative determination, a list of the inspection areas EF in order of decreasing area and information on the specified uniqueness specifying area are stored in the hard disk. To do.

[バーコード領域の設定]
検査サーバ31は、検査領域設定の場合と同様に、検査可能領域RFを含む画像の倍率補正を行いディスプレイ31Aに表示させ、オペレータによるバーコード領域BCの指定があるまで待機する。オペレータは、操作ボタン31B(または、検査サーバ31にログインした外部コンピュータ)によりバーコード領域BCを指定し、検査サーバ31はマーク「┏」の座標位置(X,Y)としてバーコード領域BCの位置情報を取得する。
[Barcode area settings]
As in the case of the inspection area setting, the inspection server 31 corrects the magnification of the image including the inspectable area RF, displays it on the display 31A, and waits until the operator specifies the barcode area BC. The operator designates the barcode area BC with the operation button 31B (or an external computer logged into the inspection server 31), and the inspection server 31 uses the position of the barcode area BC as the coordinate position (X, Y) of the mark “┏”. Get information.

検査サーバ31はバーコード領域BCの指定を終了する旨の操作ボタンが押下されたか(または、外部コンピュータから特定を終了するためのコマンドを受信したか)否かを判断し、否定判断のときは、バーコード領域BCが続けて特定される可能性があるため待機し、肯定判断のときは、バーコード領域BCの位置情報をハードディスクに格納する。なお、上記では、説明を明瞭にするために、検査領域の設定、ユニーク性特定領域の設定およびバーコード領域の設定を順次行う例を示したが、まとめて(一度に)行うようにしてもよい。   The inspection server 31 determines whether or not the operation button for ending the designation of the barcode area BC has been pressed (or whether or not a command for ending the specification has been received from an external computer). Since the bar code area BC may be continuously specified, the process waits. If the determination is affirmative, the position information of the bar code area BC is stored in the hard disk. In the above description, in order to clarify the explanation, an example in which the setting of the inspection area, the setting of the uniqueness specifying area, and the setting of the barcode area are sequentially performed has been described. Good.

[登録帳票情報]
検査サーバ31は、検査領域EF等が指定された連続帳票Fに登録帳票名を付与し、切り出した連続帳票Fの画像データ、検査可能領域RFの隅部を形成するマーク「┏」の特徴量、基準座標位置Rに対するマーク「┏」の位置情報(X,Y)、第1基準位置認識領域RPF1、第2基準位置認識領域RPF2の位置情報、検査可能領域RFおよび検査領域EFの位置情報、検査領域EFの中から特定されたユニーク性特定領域についての情報、バーコード領域の位置情報および面積の小さい順の検査領域EFについてのリストを登録帳票名と関連付けてハードディスクに格納する(以下、この情報を登録帳票情報という。)。
[Registered form information]
The inspection server 31 assigns a registered form name to the continuous form F in which the inspection area EF or the like is specified, and the image data of the cut out continuous form F, the feature amount of the mark “領域” that forms the corner of the inspectable area RF , Position information (X, Y) of the mark “┏” with respect to the reference coordinate position R, position information of the first reference position recognition area RPF1, second reference position recognition area RPF2, position information of the inspectable area RF and inspection area EF, The information about the uniqueness specific area specified from the inspection area EF, the position information of the barcode area, and the list about the inspection area EF in ascending order of area are stored in the hard disk in association with the registered form name (hereinafter referred to as this Information is called registered form information.)

上述した登録帳票名には、オペレータが識別容易な名称を併せて付加することができ、例えば、オペレータは操作ボタン31Bを操作して(または、外部コンピュータから検査サーバ31にログインして、以下同じ。)登録帳票名に付加された名称を指定することにより、ディスプレイ31Aに検査領域EF等を表示させることができる。なお、図5では、検査領域EFが10箇所、バーコード領域BCが1箇所指定された例を示している。   A name that can be easily identified by the operator can be added to the registered form name described above. For example, the operator operates the operation button 31B (or logs in to the inspection server 31 from an external computer, and so on). .) By designating the name added to the registered form name, the inspection area EF and the like can be displayed on the display 31A. FIG. 5 shows an example in which ten inspection areas EF and one barcode area BC are designated.

<印刷検査処理>
[検査ジョブデータ]
次に、印刷検査処理について説明する。この印刷検査処理に先立って、印刷サーバ60は、システムプリンタ70に印刷データを出力して連続帳票Fにオペレータが所望する文字列を印刷させると共に、システムプリンタ70に出力した印刷データを基礎として、検査ジョブデータ(正解情報)を作成し、記録媒体に出力する。図7は、検査ジョブデータのデータ構造の一例を示したものである。検査ジョブデータには、辞書名および登録帳票情報(登録帳票名)を特定するための情報(プリンタを識別するためのコード、帳票を識別するためのコード)の他に、連続帳票Fのデータ(幅や1頁の長さ)、システムプリンタ70による連続帳票Fに対するジョブおよび各頁を特定するための情報や上述した文字情報が含まれている。
<Print inspection process>
[Inspection job data]
Next, the print inspection process will be described. Prior to this print inspection process, the print server 60 outputs print data to the system printer 70 to print a character string desired by the operator on the continuous form F, and based on the print data output to the system printer 70, Inspection job data (correct answer information) is created and output to a recording medium. FIG. 7 shows an example of the data structure of the inspection job data. In the inspection job data, in addition to information for specifying the dictionary name and registered form information (registered form name) (code for identifying the printer, code for identifying the form), data of the continuous form F ( Width, length of one page), a job for the continuous form F by the system printer 70, information for specifying each page, and the character information described above.

オペレータは、操作ボタン31Bを操作して、検査サーバ31に、印刷サーバ60で作成され記録媒体に記録された検査ジョブデータを読み取らせる(図13のステップ402、404)。検査サーバ31は、検査ジョブデータを読み取ると、読み取った検査ジョブデータをハードディスクに保存する。   The operator operates the operation button 31B to cause the inspection server 31 to read the inspection job data created by the print server 60 and recorded on the recording medium (steps 402 and 404 in FIG. 13). When the inspection server 31 reads the inspection job data, the inspection server 31 stores the read inspection job data in the hard disk.

[ユニーク性特定領域による頁ユニーク性の確保]
次に、検査サーバ31は、ハードディスクに保存した登録帳票情報のうちユニーク性特定領域の位置情報により、ハードディスクに保存した検査ジョブデータにおける、対応する領域のフィールド番号(図7参照)を特定し、当該フィールド番号におけるデータに頁単位で一致する(同一の)データがないか否かを判断する。例えば、顧客コードがユニーク性特定領域として特定されていた場合に、一致するデータがなければ、検査ジョブデータにおける顧客コードに対応するページ番号(図7参照)を参照することにより、切り出された画像が何頁目のものかが分かる。しかし、例えば、同じ顧客に対して利用代金明細書が複数枚発行される場合は、異なる頁に同一の顧客コードが印刷されるため、頁を特定することができない。このため、上述したユニーク性特定領域の設定処理では、通常、顧客コードに加え、他のユニーク性特定領域も特定される。図9は、アンダーラインを付した、顧客コードを示す検査領域EF3、利用日を示す検査領域EF5、EF7、利用金額を示す検査領域EF6、EF8が、検査領域のうちユニーク性特定領域として特定された例を示している。一方、ユニーク性特定領域の数が増えれば、頁単位のユニーク性の確保が可能な反面、処理時間が増加する。
[Securing page uniqueness through uniqueness specific areas]
Next, the inspection server 31 specifies the field number (see FIG. 7) of the corresponding area in the inspection job data stored on the hard disk, based on the position information of the uniqueness specifying area among the registered form information stored on the hard disk. It is determined whether or not there is no data (identical) that matches the data in the field number in page units. For example, when the customer code is specified as the uniqueness specifying area and there is no matching data, the image extracted by referring to the page number (see FIG. 7) corresponding to the customer code in the inspection job data. Shows the page number. However, for example, when a plurality of usage price statements are issued to the same customer, the same customer code is printed on different pages, so the page cannot be specified. For this reason, in the setting process of the uniqueness specific area described above, other uniqueness specific areas are usually specified in addition to the customer code. In FIG. 9, the inspection area EF3 indicating the customer code, the inspection areas EF5 and EF7 indicating the usage date, and the inspection areas EF6 and EF8 indicating the usage amount are identified as uniqueness specifying areas among the inspection areas. An example is shown. On the other hand, if the number of uniqueness specifying areas increases, it is possible to ensure uniqueness for each page, but the processing time increases.

このため、検査サーバ31は、ステップ406において、まず、ユニーク性特定領域に対応する複数のフィールド番号における文字列(データ)の組合せが頁単位でユニーク性があるか否かを判断する。例えば、図9の例では、顧客コードを示す検査領域EF3の他に、検査領域EF5〜EF8がユニーク性特定領域として特定されているため、異なる頁に同一の顧客コードが印刷されていたとしても(領域単位の文字列でユニーク性が確保できなくても)、検査領域EF3、EF5〜EF8の組合せにより、同一の顧客コードを有する他の頁と区別可能である(頁単位でユニーク性を確保できる。)。否定判断のときは、ディスプレイ31Aに、特定されたユニーク性特定領域では頁のユニーク性が確保できない旨を表示すると共に、面積の小さい順の検査領域EFについてのリストを参照し、ユニーク性特定領域以外の検査領域EFについて面積の小さい順に(図9に示すように、同じ面積の検査領域EFが複数ある場合には、例えば、検査領域EFの番号の若い順に)、1つずつ、検査ジョブデータにおけるフィールド番号を特定しフィールド番号の数を増やして(例えば、ユニーク性特定領域に検査領域EF9を追加される場合には、検査領域EF9に対応する検査ジョブデータにおけるフィールド番号を増やして)、増加したフィールド番号における文字列(データ)を含めて頁単位でユニーク性を確保できるまで繰り返し、ディスプレイ31Aに、ユニーク性特定領域を追加した旨を表示すると共に、登録帳票情報のユニーク性特定領域についての情報に、増加したフィール番号に対応するユニーク性特定領域についての情報を追加し、面積の小さい順の検査領域EFについてのリストを削除することで更新した登録帳票情報(以下、更新登録帳票情報という。)をハードディスクに保存する。一方、肯定判断のときは、更に、ユニーク性特定領域(フィールド番号)の数を減らしても(例えば、ユニーク性特定領域として図9の検査領域EF6、EF8を減らしても)頁単位のユニーク性の確保が可能か否かを判断し、この判断が否定のとき(ユニーク性を確保できないとき)には、登録帳票情報から面積の小さい順の検査領域EFについてのリストを削除した更新登録帳票情報をハードディスクに保存し、この判断が肯定のとき(ユニーク性を確保できるとき)には、登録帳票情報のユニーク性特定領域についての情報に、減少したフィール番号に対応するユニーク性特定領域についての情報を削除する(例えば、検査領域EF8をユニーク性特定領域として扱わない)とともに、面積の小さい順の検査領域EFについてのリストを削除した更新登録帳票情報をハードディスクに保存する。   For this reason, in step 406, the inspection server 31 first determines whether or not a combination of character strings (data) in a plurality of field numbers corresponding to the uniqueness specifying area is unique in page units. For example, in the example of FIG. 9, since the inspection areas EF5 to EF8 are specified as the uniqueness specifying areas in addition to the inspection area EF3 indicating the customer code, even if the same customer code is printed on different pages (Even if the character string in the area unit cannot be secured), it can be distinguished from other pages having the same customer code by combining the inspection areas EF3 and EF5 to EF8 (Uniqueness is ensured in the page unit) it can.). If the determination is negative, the display 31A displays that the specified uniqueness specifying area cannot ensure the uniqueness of the page, and refers to the list of the inspection areas EF in the order of decreasing area, and the uniqueness specifying area Inspection job data other than the inspection area EF in ascending order of area (as shown in FIG. 9, when there are a plurality of inspection areas EF having the same area, for example, in ascending order of the number of the inspection area EF). Increase the number of field numbers (for example, if the inspection area EF9 is added to the uniqueness specifying area, increase the field number in the inspection job data corresponding to the inspection area EF9) Repeated until uniqueness can be secured in page units, including the character string (data) in the selected field number. In addition to displaying information indicating that the uniqueness specific area has been added to the ray 31A, information on the uniqueness specific area corresponding to the increased field number is added to the information on the uniqueness specific area of the registered form information, and The registered form information updated by deleting the list of the inspection areas EF in ascending order (hereinafter referred to as update registered form information) is stored in the hard disk. On the other hand, when the determination is affirmative, even if the number of uniqueness specifying areas (field numbers) is further reduced (for example, even if the inspection areas EF6 and EF8 in FIG. 9 are reduced as uniqueness specifying areas), the uniqueness of the page unit. If the determination is negative (if uniqueness cannot be ensured), the updated registration form information obtained by deleting the list of the inspection areas EF in the order of decreasing area from the registration form information. Is stored on the hard disk, and when this determination is affirmative (when uniqueness can be ensured), information on the uniqueness specific area corresponding to the reduced field number is added to the information on the uniqueness specific area of the registered form information. (For example, the inspection area EF8 is not treated as a uniqueness specific area) and the list of the inspection areas EF in the order of decreasing area Deleted updated registration form information to be stored in the hard disk.

次いで、検査サーバ31は、検査ジョブデータおよび更新登録帳票情報を各検査端末32に送信する(ステップ408)。各検査端末32は、検査ジョブデータ等の送信があると、受信し検査ジョブデータ等をハードディスクに保存する(図12のステップ302、304)。これにより、処理ユニット30(検査サーバ31および各検査端末32)側の印刷検査処理の準備が終了する。   Next, the inspection server 31 transmits the inspection job data and the update registration form information to each inspection terminal 32 (step 408). When each inspection terminal 32 receives inspection job data, the inspection terminal 32 receives the inspection job data and stores the inspection job data in the hard disk (steps 302 and 304 in FIG. 12). Thereby, the preparation for the print inspection process on the processing unit 30 (inspection server 31 and each inspection terminal 32) side ends.

オペレータにより、システムプリンタ70で印刷された連続帳票Fが本体ユニット10にセットされ、操作ボタン31Bのうちプレフィードボタンが押下されると(図13のステップ410)、検査サーバ31はプレフィードコマンドを本体ユニット10のMCUに送信する(ステップ412)。   When the operator sets the continuous form F printed by the system printer 70 on the main unit 10 and presses the pre-feed button among the operation buttons 31B (step 410 in FIG. 13), the inspection server 31 issues a pre-feed command. The data is transmitted to the MCU of the main unit 10 (step 412).

検査サーバ31からプレフィードコマンドを受信した本体ユニット10のMCU(図10のステップ102)は、LEDアレイ12A、12Bおよび14A、14Bを点灯させた後(ステップ104)、画像処理部のCPUに作動開始信号を出力し、アクチュエータ制御部を介して搬送モータFMを駆動させると共に、アクチュエータ制御部に対し画像処理部にも搬送パルス数を出力させる(ステップ106)。これにより、連続帳票Fは図2の矢印A方向に一定速度で搬送され、ラインスキャンカメラ11、13は連続帳票Fの画像読取を開始する。また、MCUは、センサ制御部からの信号を参照して、連続帳票Fのジャム等の監視を開始する。   The MCU (step 102 in FIG. 10) of the main unit 10 that has received the prefeed command from the inspection server 31 turns on the LED arrays 12A, 12B and 14A, 14B (step 104), and then operates the CPU of the image processing unit. A start signal is output, the conveyance motor FM is driven via the actuator control unit, and the actuator control unit is also caused to output the number of conveyance pulses to the image processing unit (step 106). Thereby, the continuous form F is conveyed at a constant speed in the direction of arrow A in FIG. 2, and the line scan cameras 11 and 13 start reading the image of the continuous form F. Further, the MCU refers to a signal from the sensor control unit and starts monitoring jamming or the like of the continuous form F.

本体ユニット10のMCUから作動開始信号を受信すると(図11のステップ202)、画像処理部(のCPU)は、辞書作成処理の場合と同様に、表面ラインスキャンカメラ11からの出力を監視することで連続帳票Fの先端部が読取位置まで搬送されたか否かを判断し(ステップ204)、肯定判断のときにはその旨を本体ユニット10のMCUに報知し(ステップ206)、否定判断のときには連続帳票Fの先端部が読取位置まで搬送されたか否かの判断を続行する(ステップ204)。   When the operation start signal is received from the MCU of the main unit 10 (step 202 in FIG. 11), the image processing unit (the CPU) monitors the output from the surface line scan camera 11 as in the case of the dictionary creation process. In step 204, it is determined whether or not the leading end of the continuous form F has been conveyed to the reading position. If the determination is affirmative, the fact is notified to the MCU of the main unit 10 (step 206). If the determination is negative, the continuous form F is determined. Determination of whether or not the front end of F has been conveyed to the reading position is continued (step 204).

本体ユニット10のMCUは、画像処理部から報知を受けると(図10のステップ108)、アクチュエータ制御部を介してなおも所定パルス数搬送モータFMを駆動させた後、搬送モータFMの駆動を停止させる(ステップ110)。これにより、連続帳票Fの先端部は表面ラインスキャンカメラ11の読取位置から所定距離搬送される。オペレータは、連続帳票Fのプレフィード搬送が終了した後に、連続帳票Fの先端部を折りたたみ装置50にセットする。   When the MCU of the main unit 10 receives a notification from the image processing unit (step 108 in FIG. 10), the MCU continues to drive the transport motor FM for a predetermined number of pulses via the actuator control unit, and then stops driving the transport motor FM. (Step 110). As a result, the leading end of the continuous form F is conveyed a predetermined distance from the reading position of the surface line scan camera 11. The operator sets the leading end of the continuous form F in the folding device 50 after the pre-feed conveyance of the continuous form F is completed.

次いで、オペレータにより、操作ボタン31Bのうち所定ボタン(印刷検査処理ボタン)が押下されると(図13のステップ414)、検査サーバ31は印刷検査処理コマンドを本体ユニット10のMCUに送信する(ステップ416)。   Next, when a predetermined button (print inspection processing button) of the operation buttons 31B is pressed by the operator (step 414 in FIG. 13), the inspection server 31 transmits a print inspection processing command to the MCU of the main unit 10 (step 414). 416).

本体ユニット10のMCUは、検査サーバ31から印刷検査処理コマンドを受信すると(図10のステップ112)、搬送モータFMを再度駆動させ(ステップ114)、印刷検査装置1は印刷検査処理を開始する。以降、本体ユニット10は印刷検査処理を実行するが、MCUは、残留紙検出センサ22が連続帳票Fの末端を検出したかを監視しており、連続帳票Fの末端を検出すると(ステップ116)、画像処理部のCPUに作動停止信号を出力すると共に、ラインスキャンカメラ11、13による読み取りを停止させ(ステップ118)、LEDアレイ12A、12Bおよび14A、14Bを消灯させ、搬送モータFMの駆動を停止させて(ステップ120)、処理を終了する。   When the MCU of the main unit 10 receives the print inspection process command from the inspection server 31 (step 112 in FIG. 10), the MCU is driven again (step 114), and the print inspection apparatus 1 starts the print inspection process. Thereafter, the main body unit 10 executes the print inspection process, but the MCU monitors whether the residual paper detection sensor 22 detects the end of the continuous form F, and detects the end of the continuous form F (step 116). In addition, an operation stop signal is output to the CPU of the image processing unit, reading by the line scan cameras 11 and 13 is stopped (step 118), the LED arrays 12A, 12B and 14A, 14B are turned off, and the transport motor FM is driven. Stop (step 120), and the process ends.

本体ユニット10の画像処理部のCPUは、連続帳票Fの先端部が読取位置まで搬送された旨を本体ユニット10のMCUに報知した後、本体ユニット10のMCUから予め報知されている帳票のデータ(図7参照)を参照して、辞書作成処理の場合と同様に、上述した搬送量管理により、概略の位置で1頁分の画像(図6の画像領域IA参照)を切り出し(図11のステップ208)、切り出した画像にシーケンシャルな画像インデクスを付与して、キャプチャーボード10Bの制御回路20に、切り出した1頁分の画像データ等(画像データおよび画像インデクス)を出力する(ステップ210)。   The CPU of the image processing unit of the main unit 10 notifies the MCU of the main unit 10 that the leading end of the continuous form F has been conveyed to the reading position, and then reports the form data previously notified from the MCU of the main unit 10. Referring to (see FIG. 7), similarly to the case of the dictionary creation process, an image for one page (see image area IA in FIG. 6) is cut out at an approximate position by the above-described transport amount management (see image area IA in FIG. 11). In step 208, a sequential image index is assigned to the cut-out image, and the cut-out image data (image data and image index) for one page is output to the control circuit 20 of the capture board 10B (step 210).

キャプチャーボード10Bの制御回路20は、上述したように、検査端末のインターフェースボード33で転送されたレスポンスおよびレポートにより、各検査端末32の作動状態を把握しており、所定条件に基づいて送信先を決定し、決定した検査端末のインターフェースボードに画像処理部から出力された1頁分の画像データ等を送信する。各検査端末32のインターフェースボード33の制御回路34は、指定されたユニークナンバーが自己のナンバーと一致するか否かを判断し、一致するときには、1頁分の画像データ等を取り込み、一致しないときは、下流側の検査端末に受信した1頁分の画像データ等を転送する。従って、画像処理部のCPUは、キャプチャーボード10Bの制御回路20を介して、画像データ等を、順次、検査待ちの検査端末32に送信する。   As described above, the control circuit 20 of the capture board 10B grasps the operating state of each inspection terminal 32 based on the response and report transferred by the interface board 33 of the inspection terminal, and determines the transmission destination based on a predetermined condition. The image data and the like for one page output from the image processing unit are transmitted to the interface board of the determined inspection terminal. The control circuit 34 of the interface board 33 of each inspection terminal 32 determines whether or not the specified unique number matches its own number. If they match, the image data for one page is captured. Transfers the received image data for one page to the downstream inspection terminal. Accordingly, the CPU of the image processing unit sequentially transmits image data and the like to the inspection terminal 32 waiting for inspection via the control circuit 20 of the capture board 10B.

各検査端末32は、検査サーバ31から受信した検査ジョブデータおよび更新登録帳票情報をハードディスクに保存した後、キャプチャーボード10Bの制御回路20から画像データ等の送信があるまで待機し、画像データ等(画像データ、画像インデクス)の送信があるとそれらを受信する(図12のステップ306、308)。   Each inspection terminal 32 stores the inspection job data and update registration form information received from the inspection server 31 on the hard disk, and then waits until image data or the like is transmitted from the control circuit 20 of the capture board 10B. When there is transmission of image data and image index, they are received (steps 306 and 308 in FIG. 12).

次に、各検査端末32は、受信した1頁分の画像データの画像について、辞書作成処理の場合と同様に、当該頁がブランクか文字等が印刷された頁かの判断を行うブランクチェックを行う(ステップ310)。当該頁がブランクであると判断したときは、印刷検査の必要がないので、次の画像データ等の送信があるまで待機する(ステップ306に戻る)。   Next, each inspection terminal 32 performs a blank check for determining whether the page is blank or a page on which characters are printed, as in the case of the dictionary creation process, for the received image data of one page. Perform (step 310). If it is determined that the page is blank, there is no need for a print inspection, so the system waits until the next image data or the like is transmitted (return to step 306).

一方、文字等が印刷された頁と判断したときは、第1基準位置認識領域RPF1内のマーク「┏」の位置誤差Δを算出する(ステップ312)。すなわち、各検査端末32は、第1基準位置認識領域RPF1内のマーク「┏」を画像認識する(更に、必要に応じて、すなわち、画像認識では精度が確保できない場合には、マーク「┏」を切り出してパターン情報を取得し)、更新登録帳票情報のマーク「┏」のパターン情報と合致する座標を検索する。次に、図8に示すように、画像領域IAの基準座標位置R(0,0)からのマーク「┏」の座標位置(X’,Y’)を取得する。連続帳票Fの弛み等の搬送誤差がなければ、マーク「┏」は本来第1基準位置認識領域RPF1の中央の位置、すなわち、画像領域IAの基準座標位置R(0,0)から座標(X,Y)の位置にあるはずである。上述したように、座標(X,Y)の位置は連続帳票を作成する際に定められており、更新登録帳票情報に含まれている。このため、各検査端末32は、位置誤差Δを(X−X’,Y−Y’)として算出する。次いで、各検査端末32は、算出した位置誤差Δを検査サーバ31に報知する(ステップ314)。   On the other hand, when it is determined that the page is a page on which characters or the like are printed, the position error Δ of the mark “┏” in the first reference position recognition area RPF1 is calculated (step 312). That is, each inspection terminal 32 recognizes an image of the mark “┏” in the first reference position recognition area RPF1 (and, if necessary, that is, if the accuracy cannot be ensured by image recognition, the mark “┏”). To obtain pattern information), and search for coordinates that match the pattern information of the mark “┏” in the update registration form information. Next, as shown in FIG. 8, the coordinate position (X ′, Y ′) of the mark “┏” from the reference coordinate position R (0, 0) of the image area IA is acquired. If there is no conveyance error such as slack in the continuous form F, the mark “┏” is originally set to the coordinate (X from the center position of the first reference position recognition area RPF1, that is, the reference coordinate position R (0, 0) of the image area IA. , Y). As described above, the position of the coordinates (X, Y) is determined when a continuous form is created, and is included in the update registration form information. Therefore, each inspection terminal 32 calculates the position error Δ as (X−X ′, Y−Y ′). Next, each inspection terminal 32 notifies the calculated position error Δ to the inspection server 31 (step 314).

次に、各検査端末32は、位置誤差ΔのX成分(X−X’)の絶対値、Y成分(Y−Y’)の絶対値がそれぞれ予め定められた所定値以上か否かを判断する(ステップ316)。すなわち、位置誤差ΔのX成分、Y成分の絶対値いずれかが所定値以上大きい場合には、各検査領域EFを切り出す基準となるマーク「┏」の位置(以下、切り出し基準位置という。)に誤差を生じることになるため、切り出し基準位置の補正が必要となる反面、位置誤差Δが微小な場合でも切り出し基準位置の補正を行うと処理時間が長くなる。このため、ステップ316では、処理時間を犠牲にしても検査領域EFおよびバーコード領域BCの切り出し基準位置の補正が必要となるか否かを判断している。肯定判断のときは、切り出し基準位置をX方向およびY方向共に補正して補正した切り出し基準位置を基準に各検査領域EFおよびバーコード領域BCを切り出し(ステップ318、320)、否定判断のときは切り出し基準位置の補正をすることなく各検査領域EFおよびバーコード領域BCを切り出す(ステップ320)。なお、各検査端末32は、検査ジョブデータから登録帳票名を認識し、登録帳票名から検査領域EFの位置情報を取得して検査領域EFおよびバーコード領域BCの画像を切り出す。   Next, each inspection terminal 32 determines whether or not the absolute value of the X component (XX ′) and the absolute value of the Y component (YY ′) of the position error Δ are equal to or greater than a predetermined value. (Step 316). That is, when either the absolute value of the X component or the Y component of the position error Δ is greater than a predetermined value, the position of the mark “┏” serving as a reference for cutting out each inspection area EF (hereinafter referred to as a cutting reference position). Since an error is generated, it is necessary to correct the cutout reference position. On the other hand, if the cutout reference position is corrected even if the position error Δ is small, the processing time becomes longer. For this reason, in step 316, it is determined whether correction of the cut-out reference position of the inspection area EF and the barcode area BC is necessary even at the expense of the processing time. When affirmative determination is made, each inspection area EF and barcode area BC are cut out based on the cutout reference position corrected by correcting the cutout reference position in both the X direction and the Y direction (steps 318 and 320). Each inspection area EF and barcode area BC are cut out without correcting the cutout reference position (step 320). Each inspection terminal 32 recognizes the registered form name from the inspection job data, acquires the position information of the inspection area EF from the registered form name, and cuts out images of the inspection area EF and the barcode area BC.

次に、各検査端末32は、ステップ321において、バーコード領域内のバーコードBCを、検査ジョブデータを参照して画像認識してデコードし、デコードしたバーコード情報が検査ジョブデータのバーコードのデータと一致するか否かを判断し、肯定判断のときはステップ322に進み、否定判断のときはその旨を検査サーバに報知する(不図示)。なお、バーコードを画像認識してデコードする技術は公知であり、本実施形態では、バーコードのデコードにあたりそのような公知技術が用いられている。次いで、各検査端末32は、検査領域EF内の画像から一文字ずつ文字画像を切り出し(ステップ322)、上述した所定小領域に分割して、各小領域の画像形成方向の傾きの特徴ベクトルを演算して各特徴ベクトルに重み係数を掛けた特徴量を演算する(ステップ324)。次に、全検査領域EFの文字について特徴量を演算したか否かを判断し(ステップ326)、否定判断のときには次の検査領域EFについての文字切り出しを続行するためステップ322に戻り、肯定判断のときには、ユニーク性特定領域の各文字の特徴量と一致する特徴量を有する(同一の文字列の)、検査ジョブデータの、ユニーク性特定領域に対応するフィールド番号における文字列を検索して、受信した1頁分の画像データが何頁目に相当するかを特定する(ステップ328)。次いで、検査ジョブデータから該当する頁の文字の照合ジョブデータを抽出すると共に、検査領域EFの検査ジョブデータ(正解情報)を特定し、演算した特徴量が辞書の当該切り出された文字に対応する特徴量に対して判定基準値以上か否かを判断する(ステップ330)。肯定判断のときは、検査領域EF内の画像から切り出された文字(検査対象となる文字)が、システムプリンタ70により連続帳票Fに正しく印刷されたと判断する。   Next, in step 321, each inspection terminal 32 recognizes and decodes the barcode BC in the barcode area by referring to the inspection job data, and the decoded barcode information is the barcode of the inspection job data. It is determined whether or not it matches the data. If the determination is affirmative, the process proceeds to step 322, and if the determination is negative, the fact is notified to the inspection server (not shown). A technique for recognizing and decoding a barcode image is known. In this embodiment, such a known technique is used for decoding a barcode. Next, each inspection terminal 32 cuts out a character image character by character from the image in the inspection area EF (step 322), divides it into the predetermined small areas described above, and calculates the feature vector of the inclination in the image forming direction of each small area. Then, a feature amount obtained by multiplying each feature vector by a weighting coefficient is calculated (step 324). Next, it is determined whether or not the feature amount has been calculated for the characters in all the inspection areas EF (step 326). If a negative determination is made, the process returns to step 322 to continue character extraction for the next inspection area EF, and an affirmative determination is made. At the time of searching for the character string in the field number corresponding to the uniqueness specific area of the inspection job data having the characteristic quantity (of the same character string) that matches the characteristic quantity of each character in the uniqueness specific area, The page number corresponding to the received image data for one page is specified (step 328). Next, collation job data for the corresponding page character is extracted from the inspection job data, inspection job data (correct information) in the inspection area EF is specified, and the calculated feature amount corresponds to the extracted character of the dictionary. It is determined whether or not the feature amount is equal to or greater than a determination reference value (step 330). If the determination is affirmative, it is determined that the characters cut out from the image in the inspection area EF (characters to be inspected) are correctly printed on the continuous form F by the system printer 70.

次に、各検査端末32は、判断結果を頁単位にまとめ、検査結果として検査サーバ31に送信する(ステップ332)。このとき、否定判断(適正に印刷されなかったと判断)された文字については、当該文字に関する属性情報(頁、検査領域、何文字目かの情報および文字情報)と共に、当該文字について検査領域EFから切り出した画像の画像データを検査サーバ31に送信する。これにより、文字等が印刷された最初の頁の処理が終了する。   Next, each inspection terminal 32 collects the determination results in units of pages and transmits the results as inspection results to the inspection server 31 (step 332). At this time, for a character that has been negatively determined (determined that it has not been printed properly), the attribute information (page, inspection area, information on the number of characters and character information) related to the character, and the character from the inspection area EF. The image data of the clipped image is transmitted to the inspection server 31. Thereby, the processing of the first page on which characters or the like are printed is completed.

一方、検査サーバ31は、印刷検査処理コマンドを本体ユニット10のMCUに送信した後、いずれかの検査端末から位置誤差Δの送信があるまで待機し(図13のステップ418)、送信があると位置誤差Δを受信し(ステップ420)、その後、所定時間内に、他の検査端末から位置誤差Δの送信の送信があれば、位置誤差Δを受信する(ステップ418〜422)。次に、受信した位置誤差Δの平均値を算出する(ステップ424)。なお、位置誤差Δは本体ユニット10側の連続帳票Fの弛み等に起因ため、位置誤差Δの平均値を算出する際に、必ずしも全ての検査端末32から位置誤差Δを受信する必要はなく、例えば、いずれか1つの検査端末から受信した位置誤差Δを用いるようにしてもよい(必ずしもステップ422が必要なわけではない。)。次いで、検査サーバ31は、算出した位置誤差Δの平均値を画像処理部のCPUに送信する(ステップ426)。   On the other hand, after transmitting the print inspection processing command to the MCU of the main unit 10, the inspection server 31 waits until a position error Δ is transmitted from any inspection terminal (step 418 in FIG. 13). The position error Δ is received (step 420). Thereafter, if there is a transmission of the position error Δ from another inspection terminal within a predetermined time, the position error Δ is received (steps 418 to 422). Next, an average value of the received position errors Δ is calculated (step 424). Since the position error Δ is caused by the slack of the continuous form F on the main unit 10 side, it is not always necessary to receive the position error Δ from all the inspection terminals 32 when calculating the average value of the position error Δ. For example, the position error Δ received from any one inspection terminal may be used (step 422 is not necessarily required). Next, the inspection server 31 transmits the calculated average value of the position errors Δ to the CPU of the image processing unit (step 426).

検査サーバ31から位置誤差Δの平均値を受信した画像処理部のCPU(図11のステップ212)は、位置誤差Δの平均値分の位置誤差をオフセットするように(なくするように)切り出し基準位置を算出し(ステップ214)、算出した切り出し基準位置を基準に検査可能領域RFを含む画像(例えば、マーク「┓」の部分的な切り欠きを防止するために、検査可能領域RFよりX、Y方向とも各3mm、合計6mm大きい画像)を切り出す(ステップ216)。そして、切り出した画像データと画像インデクスとをキャプチャーボード10Bの制御回路20に出力する(ステップ218)。これにより、切り出される1頁分の画像の領域は、画像領域IAから、切り出し基準位置を基準とする検査可能領域RFより若干大きい画像(画像領域IAより領域面積が小さい画像)に変更され、各検査端末32は検査可能領域RFを含む画像を1頁分の画像データとして取得する。なお、画像インデクスには、切り出しの基準位置と画像サイズの変更を各検査端末32に報知するために、特定の文字が付加される。以降、画像処理部のCPUは、本体ユニット10のMCUから作動停止信号を受信するまで、位置誤差をオフセットした切り出し基準位置を基準とする検査可能領域RFを含む画像の切り出しを続行し、本体ユニット10のMCUからの作動停止信号を受信すると(ステップ220)、処理を終了する。   The CPU (step 212 in FIG. 11) of the image processing unit that has received the average value of the position error Δ from the inspection server 31 is a cut-out criterion so as to offset (eliminate) the position error by the average value of the position error Δ. The position is calculated (step 214), and an image including the inspectable region RF based on the calculated cutout reference position (for example, in order to prevent partial cutout of the mark “┓”, X, An image that is 3 mm in each Y direction and 6 mm in total is cut out (step 216). Then, the cut out image data and the image index are output to the control circuit 20 of the capture board 10B (step 218). Thereby, the area of the image for one page to be cut out is changed from the image area IA to an image slightly larger than the inspectable area RF with the cutout reference position as a reference (an image having a smaller area than the image area IA). The inspection terminal 32 acquires an image including the inspectable area RF as image data for one page. It should be noted that specific characters are added to the image index in order to notify each inspection terminal 32 of the change of the cutout reference position and the image size. Thereafter, until the CPU of the image processing unit receives an operation stop signal from the MCU of the main unit 10, the image processing unit continues to cut out the image including the inspectable region RF based on the reference position where the position error is offset. When an operation stop signal is received from 10 MCUs (step 220), the process is terminated.

各検査端末32は、文字等が印刷された最初の頁の処理を終了した後、次の画像データ等の送信があるか否かを判断する(図12のステップ334)。ステップ334での判断が否定のときは、検査サーバ31から検査ジョブデータの削除指令が送信されたか否かを判断し(ステップ364、図13のステップ448も参照)、否定判断のときはステップ334に戻り、肯定判断のときは検査ジョブデータを削除して(ステップ368)処理を終了する。一方、ステップ334での判断が肯定のときには、ステップ308、310の場合と同様に、画像データ等を受信して(ステップ336)、ブランクチェックを行う(ステップ338)。   Each inspection terminal 32 determines whether there is transmission of the next image data or the like after finishing the processing of the first page on which characters or the like are printed (step 334 in FIG. 12). If the determination in step 334 is negative, it is determined whether an inspection job data deletion command has been transmitted from the inspection server 31 (see also step 364 and step 448 in FIG. 13). If the determination is negative, step 334 is determined. Returning to the step, if the determination is affirmative, the inspection job data is deleted (step 368), and the process is terminated. On the other hand, when the determination at step 334 is affirmative, image data or the like is received (step 336) and a blank check is performed (step 338), as in steps 308 and 310.

ブランクチェックの結果、当該頁がブランクであると判断したときは、印刷検査の必要がないので、次の画像データ等の送信があるまで待機する(ステップ334に戻る)。一方、文字等が印刷された頁と判断したときは、画像インデクスに特定の文字が付加されているか否かを判定することにより、画像データについて切り出し基準位置および画像サイズが変更されたか否かを判断する(ステップ340)。ステップ340での判断が否定のときは、ステップ312、316〜321の場合と同様に、第1基準位置認識領域RPF1内のマーク「┏」の位置の位置誤差Δを算出し(ステップ342)、位置誤差ΔのX成分(X−X’)の絶対値、Y成分(Y−Y’)の絶対値がそれぞれ予め定められた所定値以上か否かを判断し(ステップ344)、肯定判断のときは、切り出し基準位置をX方向およびY方向共に補正して各検査領域EFおよびバーコード領域BCを切り出し(ステップ346、348)、否定判断のときは切り出し基準位置の補正をすることなく各検査領域EFおよびバーコード領域BCを切り出して(ステップ348)、バーコード領域BCのバーコードをデコードする(ステップ350)。   As a result of the blank check, when it is determined that the page is blank, there is no need for a print inspection, so the process waits until the next image data is transmitted (return to step 334). On the other hand, when it is determined that the page is a page on which characters or the like are printed, it is determined whether or not the cutout reference position and the image size have been changed for the image data by determining whether or not a specific character is added to the image index. Judgment is made (step 340). When the determination in step 340 is negative, the position error Δ of the position of the mark “┏” in the first reference position recognition region RPF1 is calculated as in steps 312 and 316 to 321 (step 342). It is determined whether or not the absolute value of the X component (XX ′) and the Y component (YY ′) of the position error Δ are equal to or greater than a predetermined value (step 344). When the cutout reference position is corrected in both the X direction and the Y direction to cut out each inspection area EF and the barcode area BC (steps 346 and 348), each negative inspection is performed without correcting the cutout reference position. The area EF and the barcode area BC are cut out (step 348), and the barcode of the barcode area BC is decoded (step 350).

一方、ステップ340での判断が肯定のときには、第1基準位置認識領域RPF1より領域面積の小さい第2基準位置認識領域RPF2内のマーク「┏」を画像認識し(更に、必要に応じて、マーク「┏」を切り出してパターン情報を取得し)、更新登録帳票情報のマーク「┏」のパターン情報と合致する座標を検索して、マーク「┏」の位置、すなわち、切り出し基準位置を基準に検査領域EFおよびバーコード領域BCを切り出して(ステップ349)、ステップ350に進む。次のステップ352〜362では、ステップ322〜332と同様に、各検査領域EFの文字を切り出して検査を行い、1頁分の検査結果を検査サーバ31に送信して、ステップ334に戻る。   On the other hand, when the determination in step 340 is affirmative, the mark “┏” in the second reference position recognition region RPF2 having a smaller area than the first reference position recognition region RPF1 is image-recognized (and, if necessary, the mark Cut out “┏” to obtain pattern information), search for coordinates that match the pattern information of mark “┏” in the update registration form information, and inspect based on the position of mark “┏”, that is, the cut-out reference position The region EF and the barcode region BC are cut out (step 349), and the process proceeds to step 350. In the next steps 352 to 362, as in steps 322 to 332, characters in each inspection area EF are cut out and inspected, the inspection result for one page is transmitted to the inspection server 31, and the process returns to step 334.

ここで、ステップ340で否定判断された場合の処理内容(ステップ342〜348)と肯定判断された場合の処理内容(ステップ349)とを比較すると、(1)前者が第1基準位置認識領域RPF1内のマーク「┏」を対象にするのに対し、後者は第2基準位置認識領域RPF2内のマーク「┏」を対象にする点、および、(2)前者が位置誤差Δによる補正の必要性を判断して必要な場合に位置誤差Δによる補正を行って(切り出し基準位置の補正を行って)各検査領域EFを切り出すのに対し、後者は位置誤差Δによる補正を行うことなく各検査領域EFを切り出す点、で異なっている。これは、検査端末32が位置誤差Δを検査サーバ31に送信し(ステップ314)、検査サーバ31は位置誤差Δの平均値を算出して画像処理部のCPUに送信することで(図13のステップ424、426)、画像処理部のCPUが位置誤差Δの平均値分の位置誤差をオフセット(相殺)するように切り出し基準位置を補正して画像を切り出すため、切り出し位置の精度が高まるためである。   Here, when the processing content when the negative determination is made at step 340 (steps 342 to 348) and the processing content when the positive determination is made (step 349) are compared, (1) the former is the first reference position recognition region RPF1. The latter mark targets the mark “┏” in the second reference position recognition area RPF2, while (2) the former requires correction by the position error Δ. When necessary, the position error Δ is corrected (the cut reference position is corrected) to cut out each inspection area EF, whereas the latter is not corrected by the position error Δ. The difference is that the EF is cut out. This is because the inspection terminal 32 transmits the position error Δ to the inspection server 31 (step 314), and the inspection server 31 calculates the average value of the position error Δ and transmits it to the CPU of the image processing unit (FIG. 13). Steps 424 and 426), because the CPU of the image processing unit corrects the cutout reference position so as to offset (cancel) the position error corresponding to the average value of the position error Δ, and cuts out the image, thereby increasing the accuracy of the cutout position. is there.

検査結果を受信した検査サーバ31(図13のステップ428、430)は、否定判断された文字が存在するか否かを判断し(ステップ432)、肯定判断のときは、適正に印刷されなかったと判断された文字について、順次、属性情報のうちの文字情報をインデクスとして辞書を参照することで抽出した当該文字の画像と、検査領域EFから切り出され検査端末32から送信された当該文字の画像との両者を同時にディスプレイ31Aに表示し(ステップ434)、オペレータの目視によるOKまたはNGいずれかの判断を仰ぐため、操作ボタン31Bのうち所定のボタンが押下されるまで待機する(ステップ436)。操作ボタンが押下されると、検査サーバ31は入力された情報を取り込み、OKを表す情報であるときは、文字情報をインデクスとして、切り出された文字(オペレータにより目視によりOKと判断された文字)の特徴量を追加特徴量として辞書に追加登録すると共に、その画像データとの対応関係を定めた情報を辞書に付加し、更に、検査結果およびオペレータの目視による判断結果(OK)を当該頁の検査ログとして作成し、NGを表す情報であるときは、検査結果およびオペレータの目視による判断結果(NG)を当該頁の検査ログとして作成する(ステップ438、440)。なお、検査サーバ31は、図12のステップ321、348で、各検査端末32から、デコードしたバーコード情報が検査ジョブデータのバーコードのデータと一致しない旨の報知を受けた場合には、ステップ438、440での処理と同様に、一致しない旨を当該頁の検査ログとして作成する。   The inspection server 31 (steps 428 and 430 in FIG. 13) that has received the inspection result determines whether or not there is a negatively determined character (step 432). For the determined character, an image of the character extracted by sequentially referring to the dictionary using the character information of the attribute information as an index, and an image of the character extracted from the inspection area EF and transmitted from the inspection terminal 32 Are simultaneously displayed on the display 31A (step 434), and the operator waits until a predetermined button of the operation buttons 31B is pressed to determine whether the operator visually determines OK or NG (step 436). When the operation button is pressed, the inspection server 31 takes in the input information, and when the information indicates OK, the character information is used as an index, and the character is cut out (character that is visually determined OK by the operator). Are added and registered in the dictionary as additional feature values, and information defining the correspondence with the image data is added to the dictionary. Further, the inspection result and the visual judgment result (OK) of the operator are displayed on the page. If the information is generated as an inspection log and represents NG, the inspection result and the operator's visual judgment result (NG) are generated as the inspection log for the page (steps 438 and 440). If the inspection server 31 receives notification from the inspection terminals 32 that the decoded barcode information does not match the barcode data of the inspection job data in steps 321 and 348 of FIG. Similar to the processing at 438 and 440, the fact that they do not match is created as the inspection log of the page.

一方、検査サーバ31は、検査端末32から受信した検査結果に否定判断された文字が存在しないと判断したときには、検査ジョブデータのうち頁データを参照して全ての頁について検査結果を受信するまで待機して、上記と同様の処理を行って(ステップ442)全頁の検査ログを保存する(ステップ444)と共に、各検査端末32に追加特徴量が登録された文字の文字情報と追加特徴量とを送信し、辞書の情報を更新させ、更に、検査ジョブデータを削除し(ステップ446)、各検査端末32に検査ジョブデータ等の削除指令を送信する(ステップ448)ことで、印刷検査を終了する。各検査端末32は、この指令を受信すると(図12のステップ364)、検査ジョブデータを削除して(ステップ368)、処理を終了する。これにより、処理ユニット30は、次回、システムプリンタ70により連続帳票Fに印刷された文字を検査するときには、辞書に対応付けられている特徴量が複数か否かを判断し、複数の場合には、切り出された文字の特徴量が、辞書に対応づけられている特徴量のいずれかの特徴量に対して判定基準値以上かを判断し、否定判断のときには、いずれか他の特徴量に対して判定基準値以上かを判断する。なお、NGと判断された頁は、検査ログを参照して、システムプリンタ70により再度印刷されるか、手書き等により修正される。   On the other hand, when the inspection server 31 determines that there is no negative character in the inspection result received from the inspection terminal 32, the inspection server 31 refers to the page data in the inspection job data and receives inspection results for all pages. Waiting, the same processing as described above is performed (step 442), the inspection log of all pages is saved (step 444), and the character information and additional feature amount of the character whose additional feature amount is registered in each inspection terminal 32 To update the dictionary information, delete the inspection job data (step 446), and send a deletion command such as inspection job data to each inspection terminal 32 (step 448). finish. Upon receiving this command (step 364 in FIG. 12), each inspection terminal 32 deletes the inspection job data (step 368) and ends the process. As a result, the next time the processing unit 30 examines the characters printed on the continuous form F by the system printer 70, it determines whether or not there are a plurality of feature amounts associated with the dictionary. It is determined whether the feature amount of the extracted character is equal to or greater than the determination reference value with respect to any one of the feature amounts associated with the dictionary. To determine if it is above the criterion value. The page determined as NG is printed again by the system printer 70 with reference to the inspection log, or corrected by handwriting or the like.

(作用等)
次に、本実施形態の印刷検査装置1の作用効果について説明する。
(Action etc.)
Next, the effect of the print inspection apparatus 1 of this embodiment is demonstrated.

本実施形態の印刷検査装置1では、本体ユニット10の画像処理部のCPUは、切り出し基準位置の位置誤差Δを把握する前は、搬送モータFMに出力された搬送パルス数により(搬送量管理により)検査可能領域RFより大きい画像領域IAを切り出し(ステップ208)、各検査端末32は、切り出された画像領域IAの画像から位置誤差Δを算出し(ステップ312)、位置誤差ΔのX成分またはY成分が所定値以上のときに切り出し基準位置を補正し、所定値未満のときに切り出し基準位置の補正を行わず該切り出し基準位置を基準に検査領域EFを切り出している(ステップ316〜320)。上述したように、連続帳票Fの先端は弛みが発生しやすく、この弛み分が搬送モータFMの搬送量との不一致を毎頁発生させる原因となる。このため、画像処理部のCPUは検査可能領域RFより大きい画像領域IAを切り出し、各検査端末32は、切り出し基準位置の位置誤差Δを必要に応じて補正して複数の検査領域EFを切り出すことで、補正処理の必要性が軽減され各検査端末32における処理時間を短縮することができるとともに、切り出し画像に欠落を生じることなく画像を切り出すことができる。   In the print inspection apparatus 1 according to the present embodiment, the CPU of the image processing unit of the main unit 10 determines the position error Δ of the cut-out reference position based on the number of transport pulses output to the transport motor FM (by transport amount management). ) The image area IA larger than the inspectable area RF is cut out (step 208), and each inspection terminal 32 calculates the position error Δ from the image of the cut out image area IA (step 312), and the X component of the position error Δ or When the Y component is greater than or equal to a predetermined value, the cutout reference position is corrected. When the Y component is less than the predetermined value, the cutout reference position is not corrected and the inspection area EF is cut out based on the cutout reference position (steps 316 to 320). . As described above, the leading edge of the continuous form F is likely to be slack, and this slack part causes a mismatch between the transport amount of the transport motor FM and every page. For this reason, the CPU of the image processing unit cuts out an image area IA that is larger than the inspectable area RF, and each inspection terminal 32 corrects the position error Δ of the cut-out reference position as necessary to cut out a plurality of inspection areas EF. Thus, the necessity for the correction process can be reduced, the processing time in each inspection terminal 32 can be shortened, and the image can be cut out without causing any omission in the cut-out image.

一方、上記の処理を継続して行うと(画像処理部が検査端末32による検査に必要な検査可能領域RFより大きい画像領域IAを切り出すと)、切り出し領域が大きくなり、画像処理部から各検査端末32への画像データの送信時間も長くなる。このため、画像処理部のCPUは、切り出し基準位置の位置誤差Δを把握した(ステップ214)後は、切り出し基準位置の位置誤差Δの平均値をオフセット(相殺)するように切り出し基準位置を補正して、該補正した切り出し基準位置を基準に検査可能領域RFの画像を切り出し(ステップ216)、各検査端末32は、切り出し基準位置の位置誤差Δを補正することなく、検査可能領域RFの画像から切り出し基準位置を基準に複数の領域を切り出している(ステップ349)。このような処理を行うことにより、画像処理部から各検査端末32へ画像データの送信時間を短縮することができるとともに、各検査端末32では、切り出し基準位置の位置誤差Δを補正することなく、検査可能領域RFの画像から切り出し基準位置を基準に複数の領域を切り出すため、補正処理に要する時間分処理時間の短縮を図ることができる。   On the other hand, when the above processing is continued (when the image processing unit cuts out an image area IA larger than the inspectable area RF necessary for the inspection by the inspection terminal 32), the cut-out area becomes large, and each inspection is performed from the image processing unit. The transmission time of image data to the terminal 32 also becomes long. Therefore, after the CPU of the image processing unit grasps the position error Δ of the cutout reference position (step 214), the cutout reference position is corrected so as to offset (cancel) the average value of the position error Δ of the cutout reference position. Then, the image of the inspectable region RF is cut out based on the corrected cutout reference position (step 216), and each inspection terminal 32 images the image of the inspectable region RF without correcting the position error Δ of the cutout reference position. A plurality of regions are cut out based on the cutout reference position (step 349). By performing such processing, it is possible to reduce the transmission time of the image data from the image processing unit to each inspection terminal 32, and in each inspection terminal 32, without correcting the position error Δ of the cutout reference position, Since a plurality of regions are cut out from the image of the inspectable region RF based on the cut-out reference position, the processing time can be reduced by the time required for the correction processing.

また、本実施形態の印刷検査装置1では、帳票登録処理において、連続帳票Fの検査可能領域RFの隅部を形成するマーク「┏」およびその位置(切り出し基準位置)を予め設定しておき、帳票検査処理において、画像処理部のCPUは、切り出し基準位置の位置誤差Δを把握する前は、検査ジョブデータの「帳票のデータ」により概略1頁の画像を切り出し、切り出し基準位置の位置誤差Δを把握した後は、切り出し基準位置を基準に検査可能領域RFより若干大きい画像を切り出している。この連続帳票Fには、特許文献1で使用されている帳票のように、頁画像切り出し用のマークがない。従って、本実施形態の印刷検査装置1によれば、連続帳票Fに頁画像切り出し用のマーク(スタートマークやエンドマーク)を追加することなく(連続帳票Fの版を変更することなく)、従来使用していた帳票を用いて適正に画像を切り出すことができる。   In the print inspection apparatus 1 of the present embodiment, in the form registration process, the mark “マ ー ク” that forms the corner of the inspectable area RF of the continuous form F and its position (cutout reference position) are set in advance. In the form inspection process, before the CPU of the image processing unit grasps the position error Δ of the cutout reference position, the image of approximately one page is cut out based on the “form data” of the inspection job data, and the position error Δ of the cutout reference position. After grasping the above, an image slightly larger than the inspectable region RF is cut out based on the cutout reference position. This continuous form F does not have a mark for cutting out a page image like the form used in Patent Document 1. Therefore, according to the print inspection apparatus 1 of the present embodiment, a conventional page image cutout mark (start mark or end mark) is not added to the continuous form F (without changing the version of the continuous form F). An image can be appropriately cut out using the form that has been used.

更に、本実施形態の印刷検査装置1では、帳票登録処理において、第1基準位置認識領域RPF1と、この領域より小さく中心位置が同じ第2基準位置認識領域PRF2とを予め設定しておき、印刷検査処理において、各検査端末32は、切り出し基準位置の位置誤差Δが補正される前は、搬送誤差が大きいため、第1基準位置認識領域RPF1内でマーク「┏」を認識して検査領域EFおよびバーコード領域BCを切り出しており(ステップ312〜320、ステップ342〜348)、切り出し基準位置の位置誤差Δが補正された後は、搬送誤差による大きく固定的な誤差がなくなるため、第2基準位置認識領域RPF2内でマーク「┏」を認識して検査領域EFおよびバーコード領域BCを切り出している(ステップ349)。これにより、各検査端末32による切り出し基準位置の検索時間を短縮することができる。   Further, in the print inspection apparatus 1 according to the present embodiment, in the form registration process, the first reference position recognition area RPF1 and the second reference position recognition area PRF2 smaller than this area and having the same center position are set in advance and printed. In the inspection process, each inspection terminal 32 recognizes the mark “┏” in the first reference position recognition region RPF1 and detects the inspection region EF because the transport error is large before the position error Δ of the cutout reference position is corrected. Since the bar code area BC is cut out (steps 312 to 320, steps 342 to 348) and the position error Δ of the cut reference position is corrected, there is no large fixed error due to the transport error. The mark “┏” is recognized in the position recognition area RPF2, and the inspection area EF and the barcode area BC are cut out (step 349). Thereby, the search time of the cut-out reference position by each inspection terminal 32 can be shortened.

更にまた、本実施形態の印刷検査装置1では、画像処理部のCPUは、切り出し基準位置の位置誤差Δがなくなるように切り出し基準位置を一度だけ補正(算出)して(ステップ212)、以降、算出した切り出し基準位置を基準に検査可能領域RFの画像を切り出している。このため、搬送誤差による大きく固定的な誤差がなくなるとともに、連続帳票Fの各頁の検査可能領域RFを切り出す毎に補正をする必要がないので、画像切り出しに要する処理時間の短縮を図ることができる。   Furthermore, in the print inspection apparatus 1 of the present embodiment, the CPU of the image processing unit corrects (calculates) the cutout reference position only once so that the position error Δ of the cutout reference position is eliminated (step 212). An image of the inspectable region RF is cut out based on the calculated cutout reference position. For this reason, there is no large fixed error due to the conveyance error, and it is not necessary to make correction every time the inspectable region RF of each page of the continuous form F is cut out, so that the processing time required for image cutting can be shortened. it can.

また、本実施形態の印刷検査装置1では、印刷検査処理を行う前に、検査サーバ31は、ハードディスクに保存した登録帳票情報のうちユニーク性特定領域の位置情報により、ハードディスクに保存した検査ジョブデータにおける、対応するフィールド番号を特定し、当該フィールド番号におけるデータに頁単位で一致する(同一の)データがないか否かを判断している。このため、本実施形態の印刷検査装置1によれば、画像データの頁と実際の連続帳票の頁(物理的頁)が対応しなくなり、正解情報を誤って抽出することを防止することができる。   In the print inspection apparatus 1 according to the present embodiment, the inspection server 31 stores the inspection job data stored on the hard disk according to the position information of the uniqueness specific area among the registered form information stored on the hard disk before performing the print inspection process. The corresponding field number is specified, and it is determined whether or not there is data that matches (identical) in page units with the data in the field number. For this reason, according to the print inspection apparatus 1 of the present embodiment, the page of the image data and the actual continuous form page (physical page) do not correspond to each other, and the correct information can be prevented from being erroneously extracted. .

更に、本実施形態の印刷検査装置1では、上述したように、検査サーバ31は、帳票登録処理で設定されたユニーク性特定領域をもとに、自律的にユニーク性特定領域(フィールド番号)の数を増減している(ステップ406)。このため、本実施形態の印刷検査装置1によれば、頁単位のユニーク性確保と処理時間の短縮を図ることができる。   Furthermore, in the print inspection apparatus 1 of the present embodiment, as described above, the inspection server 31 autonomously sets the uniqueness identification area (field number) based on the uniqueness identification area set in the form registration process. The number is increased or decreased (step 406). For this reason, according to the print inspection apparatus 1 of the present embodiment, it is possible to ensure the uniqueness of each page and shorten the processing time.

また、本実施形態の印刷検査装置1では、システムプリンタ70により文字情報に対応して所定形式で辞書作成用連続帳票に印刷された文字が、本体ユニット10で読み取られ、処理ユニット30で全ての文字の特徴量が演算され、演算された全ての文字の特徴量と、予め入力されシステムプリンタ70で連続帳票Fに印刷され得る全ての文字の文字情報との対応関係を定めた辞書が作成される。このため、処理ユニット30は、検査対象となる文字が外字であっても、システムプリンタ70で連続帳票Fに文字が正しく印刷されたかを判断することができる。   Further, in the print inspection apparatus 1 of the present embodiment, the characters printed on the dictionary creation continuous form in a predetermined format corresponding to the character information by the system printer 70 are read by the main body unit 10 and all of the characters are processed by the processing unit 30. Character feature values are calculated, and a dictionary is created that defines the correspondence between the calculated feature values of all characters and the character information of all characters that are input in advance and can be printed on the continuous form F by the system printer 70. The For this reason, the processing unit 30 can determine whether the characters are correctly printed on the continuous form F by the system printer 70 even if the character to be inspected is an external character.

また、本実施形態の印刷検査装置1では、辞書作成処理において、システムプリンタ70により連続帳票Fに印刷され得る全ての文字とその特徴量との対応関係を定めた辞書が予め作成され、印刷検査処理において、連続帳票Fに印字された文字の画像を切り出して文字の特徴量が演算され、照合ジョブデータ(正解情報)をインデクスとして特徴量同士を照合する。処理ユニット30(検査端末32)は特徴量同士を照合するので、認識関数等を用いた複雑な文字認識処理は行われない。このため、文字認識のための複雑な処理が不要となり、文字認識での誤りをなくすことができると共に、特徴量同士を照合するので、文字情報毎に照合時のロジックを作成する必要がない。   In the print inspection apparatus 1 of the present embodiment, in the dictionary creation process, a dictionary that defines the correspondence between all the characters that can be printed on the continuous form F by the system printer 70 and their feature amounts is created in advance, and the print inspection is performed. In the processing, the character image printed on the continuous form F is cut out to calculate the character feature amount, and the feature amounts are collated using the collation job data (correct information) as an index. Since the processing unit 30 (inspection terminal 32) collates the feature quantities, complicated character recognition processing using a recognition function or the like is not performed. For this reason, complicated processing for character recognition is not required, errors in character recognition can be eliminated, and feature quantities are collated with each other, so that it is not necessary to create logic for collation for each character information.

更に、本実施形態の印刷検査装置1では、同一プリンタで印刷された文字の特徴量同士を照合するので、プリンタ間で微妙に異なるフォントの形状に影響されず、プリンタの個体差による影響を排除することができる。また、本実施形態の印刷検査装置1では、処理ユニット30により特徴量同士が判定基準値以上かが判定されるので、判定基準値を適性に設定することで、柔軟かつ精度よく印刷検査を行うことができる。   Furthermore, in the print inspection apparatus 1 according to the present embodiment, since the feature amounts of characters printed by the same printer are collated, the influence of individual differences among printers is eliminated without being affected by a slightly different font shape between printers. can do. Further, in the print inspection apparatus 1 according to the present embodiment, since the processing unit 30 determines whether or not the feature amounts are equal to or larger than the determination reference value, the print inspection is performed flexibly and accurately by setting the determination reference value appropriately. be able to.

更にまた、本実施形態の印刷検査装置1では、処理ユニット30により、一旦判定基準値未満と判定されても、ディスプレイ31Aおよび操作ボタン31Bを介してオペレータの判断結果を入力できるため、システムプリンタ70の経年劣化にも対応することができ、更に、オペレータの判断結果に従って、一旦判定基準値未満と判定された文字の特徴量が追加特徴量として辞書に登録されると共に、辞書は追加特徴量を複数持つことがデータ構造を有しているので、複数の特徴量に対し、順次、印刷検査を行うことができ、印刷検査装置1に学習機能を付与することができる。この場合に、最初に、検査対象となる文字の特徴量が、辞書に最も新しく追加された追加特徴量に対して判定基準値以上かを判断するようにすれば、システムプリンタ70の経年劣化に対する対応性を高めることができる。   Furthermore, in the print inspection apparatus 1 of the present embodiment, even if the processing unit 30 determines that it is once less than the determination reference value, the operator's determination result can be input via the display 31A and the operation button 31B. Furthermore, according to the operator's decision result, the character feature amount once determined to be less than the determination reference value is registered as an additional feature amount in the dictionary, and the dictionary stores the additional feature amount. Since having a plurality has a data structure, print inspection can be sequentially performed on the plurality of feature amounts, and a learning function can be given to the print inspection apparatus 1. In this case, first, if it is determined whether the feature amount of the character to be inspected is equal to or greater than the determination reference value with respect to the newly added additional feature amount in the dictionary, it is possible to prevent the system printer 70 from aging. Correspondence can be improved.

更に、本実施形態の印刷検査装置1では、検査端末32を複数のコンピュータで構成し、検査サーバ31が頁毎に読み取られた画像を処理待ち状態の検査端末32に送信して特徴量演算等の処理を並行して行うと共に、検査端末32は帳票登録処理で設定された検査領域EF内の文字についてのみ連続帳票Fに正しく印刷されたかの判断を行うので、印刷検査を迅速に行うことができる。   Furthermore, in the print inspection apparatus 1 of the present embodiment, the inspection terminal 32 is configured by a plurality of computers, and the inspection server 31 transmits an image read for each page to the inspection terminal 32 waiting for processing to calculate a feature amount or the like. Since the inspection terminal 32 determines whether only the characters in the inspection area EF set in the form registration process have been correctly printed on the continuous form F, the print inspection can be quickly performed. .

また、本実施形態の印刷検査装置1は、オフラインで印刷検査を行うと共に、複数のプリンタ毎に、辞書作成処理、帳票登録処理および印刷検査処理を行うことができるため(特定のプリンタに制約されないため)、高い汎用性を確保することができる。   In addition, the print inspection apparatus 1 according to the present embodiment performs offline print inspection and can perform dictionary creation processing, form registration processing, and print inspection processing for each of a plurality of printers (not limited to a specific printer). Therefore, high versatility can be secured.

更に、本実施形態の印刷検査装置1では、キャプチャーボード10Bの制御回路20は、検査端末のインターフェースボード33で転送されたレスポンスおよびレポートにより、各検査端末32の作動状態を把握して画像データ等の送信先の検査端末32を決定し、決定した検査端末32のインターフェースボードに1頁分の画像データを送信し、各検査端末32のインターフェースボード33の制御回路34は、指定されたユニークナンバーが自己のナンバーと一致するか否かを判断し、一致するときには、1頁分の画像データ等を取り込み、一致しないときは、下流側の検査端末のインターフェースボードに受信した1頁分の画像データ等を転送する。従って、デージーチェーン構成で印刷検査処理を行う場合に、処理待ち状態の検査端末32に順次、1頁分の画像データを送信することができ、検査端末32の稼働率を高めることができる。   Further, in the print inspection apparatus 1 of the present embodiment, the control circuit 20 of the capture board 10B grasps the operating state of each inspection terminal 32 based on the response and report transferred by the interface board 33 of the inspection terminal, and image data and the like. Is transmitted to the interface board of the determined inspection terminal 32, and the control circuit 34 of the interface board 33 of each inspection terminal 32 has the specified unique number. It is determined whether or not it matches with its own number, and when it matches, the image data for one page is taken in, and when it does not match, the image data for one page received on the interface board of the downstream inspection terminal etc. Forward. Accordingly, when the print inspection process is performed in the daisy chain configuration, the image data for one page can be sequentially transmitted to the inspection terminal 32 waiting for processing, and the operation rate of the inspection terminal 32 can be increased.

なお、本実施形態では、説明を簡単にするために、検査可能領域RFの隅部を形成するマーク「┏」を基準に検査領域RFを切り出す例を示したが、本発明はこれに限定されるものではない。例えば、連続帳票Fの検査可能領域RF内に予め印刷されている「グローリーカードご利用代金明細書」の最初の文字「グ」を基準に、検査可能領域RFの切り出し基準位置を設定するようにしても、または、バーコード領域BC内に印刷されたバーコードを基準に、検査可能領域RFの切り出し基準位置を設定するようにしてもよい。また、本実施形態では、検査可能領域RFの隅部を形成する1つのマーク「┏」を基準に検査領域RFを切り出す例を示したが、基準となる文字、記号又はバーコードを複数設けるようにしてもよい。すなわち、例えば、検査可能領域RFの隅部を形成するマーク「┏」と、検査可能領域RFの隅部を形成しマーク「┏」に対向するマーク「┓」との2つのマークを基準に検査領域RFを切り出すようにしてもよい。   In this embodiment, in order to simplify the description, an example in which the inspection region RF is cut out based on the mark “┏” that forms the corner of the inspectable region RF is shown, but the present invention is not limited to this. It is not something. For example, the cutout reference position of the inspectable area RF is set based on the first character “G” of the “Glory card usage fee specification” printed in advance in the inspectable area RF of the continuous form F. Alternatively, the cutout reference position of the inspectable area RF may be set based on the barcode printed in the barcode area BC. In the present embodiment, the example in which the inspection region RF is cut out based on one mark “┏” that forms the corner of the inspectable region RF has been described. However, a plurality of reference characters, symbols, or barcodes are provided. It may be. That is, for example, an inspection is performed based on two marks, a mark “┏” that forms a corner of the inspectable region RF and a mark “┓” that forms a corner of the inspectable region RF and faces the mark “┏”. The region RF may be cut out.

さらに、本実施形態では、画像処理部のCPUは、切り出し基準位置の位置誤差Δを把握した(ステップ214)後は、切り出し基準位置を補正して検査可能領域RFの画像を切り出し、各検査端末32は、切り出し基準位置の位置誤差Δを補正することなく、検査可能領域RFの画像から切り出し基準位置を基準に複数の領域を切り出す(ステップ349)例を示したが、本発明はこれに制限されることなく、各検査端末32は、検査領域EFを切り出すために、切り出し基準位置の位置誤差Δを補正するようにしてもよい。このようにすれば、より高精度に位置誤差Δを補正することができるため、例えば、ポイントの小さい文字の印刷検査での検査品質を向上させることができる。また、本実施形態では、位置誤差Δを単純に(X−X’,Y−Y’)とした例を示したが、本発明はこれに限るものではない。例えば、上述したように、基準となる文字、記号又はバーコードを複数設ける場合には、特許文献1にも開示されているように、スキュー補正を行うことが可能となる。   Furthermore, in this embodiment, after grasping the position error Δ of the cutout reference position (step 214), the CPU of the image processing unit corrects the cutout reference position and cuts out an image of the inspectable region RF, and each inspection terminal. 32 shows an example in which a plurality of regions are cut out from the image of the inspectable region RF on the basis of the cutout reference position without correcting the position error Δ of the cutout reference position (step 349). However, the present invention is not limited to this. Instead, each inspection terminal 32 may correct the position error Δ of the cutout reference position in order to cut out the inspection area EF. In this way, since the position error Δ can be corrected with higher accuracy, for example, it is possible to improve the inspection quality in the print inspection of characters with small points. In the present embodiment, the example in which the position error Δ is simply (X−X ′, Y−Y ′) has been described, but the present invention is not limited to this. For example, as described above, when a plurality of reference characters, symbols, or barcodes are provided, skew correction can be performed as disclosed in Patent Document 1.

また、本実施形態では、帳票登録処理において基準位置認識領域を2つ設定する例を示したが、3つ以上設定し、印刷検査処理において、位置誤差Δを複数回把握して、より小さい基準領域認識領域内に基準となる文字等が収まるかを判断し、肯定判断のときに、より小さい基準領域認識領域内で基準となる文字等を検索するようにしてもよい。   Further, in the present embodiment, an example in which two reference position recognition areas are set in the form registration process has been shown, but three or more are set, and in the print inspection process, the position error Δ is grasped a plurality of times to obtain a smaller reference It may be determined whether or not a reference character or the like fits in the region recognition area, and when an affirmative determination is made, a reference character or the like may be searched for in a smaller reference area recognition area.

更に、本実施形態では、切り出し基準位置の位置誤差Δを、該位置誤差Δがなくなるようにソフトウエアで補正する例を示したが、本発明はこれに制限されることなく、例えば、搬送モータFMに出力される搬送パルス数を該位置誤差Δがなくなるように変更して補正するようにしてもよい。   Furthermore, in the present embodiment, the example in which the position error Δ of the cutout reference position is corrected by software so as to eliminate the position error Δ has been described. However, the present invention is not limited to this, and for example, a conveyance motor The number of carrier pulses output to the FM may be changed and corrected so that the position error Δ is eliminated.

また、本実施形態では、説明を簡単にするために、各検査領域EF内の各文字が判定基準による検査を満たすものとして受信した画像が何頁目に該当するか特定する例を示したが(ステップ328)、例えば、各検査領域内の文字のうち1文字以上の文字が判定基準を満たさない場合に、それまで処理をしたデータをハードディスクに保存しておき、他の頁の画像の処理でその画像が何頁目に該当するかが分かったときに、ハードディスクに保存しておいたデータを読み出して保留しておいた処理を続行し、画像インデクスがシーケンシャルであることを利用して、何頁目に画像するか分かった画像の画像インデクスとハードディスクに保存しておいたデータの画像の画像インデクスとを比較し、ハードディスクに保存しておいたデータの画像が何頁目に該当するかを判断するようにしてもよく、または、辞書作成処理の場合と同様に、検査サーバ31から報知を受けるようにしてもよい。   Further, in the present embodiment, for the sake of simplicity of explanation, an example is shown in which the page in which the received image corresponds to each character in each inspection area EF satisfying the inspection based on the determination criterion is shown. (Step 328) For example, when one or more characters among the characters in each inspection area do not satisfy the determination criteria, the data processed so far is stored in the hard disk, and the image of another page is processed. When you find out what page the image corresponds to, read the data saved on the hard disk and continue the process that has been put on hold, using the fact that the image index is sequential, Compare the image index of the image whose page number is known to the image index of the data image saved on the hard disk, and then the image of the data saved on the hard disk. There may be judged whether corresponds to what-page, or, as in the case of the dictionary creation process, may be received a notification from the inspecting server 31.

更に、本実施形態では、オフラインでシステムプリンタ70により印刷された連続帳票Fの文字を検査する例を説明したが、背景技術欄で説明したように、連続帳票Fへの印刷から封筒の密封まで一連の処理を連続して行う場合等には、オンライン構成を採るようにしてもよい。この場合には、システムプリンタ70から排出された連続帳票Fを、ループ台によりバッファを持たせて本体ユニット10にセットしてもよく、印刷サーバ60と処理ユニット30とを通信回線で接続してもよい。   Furthermore, in the present embodiment, an example in which the characters of the continuous form F printed by the system printer 70 is inspected offline has been described. However, as described in the background art section, from printing on the continuous form F to sealing of the envelope. When performing a series of processes continuously, an online configuration may be adopted. In this case, the continuous form F discharged from the system printer 70 may be set in the main unit 10 with a buffer provided by a loop base, and the print server 60 and the processing unit 30 are connected by a communication line. Also good.

また、本実施形態では、連続帳票の画像を高速ラインセンサで読み取る例を示したが、読み取り速度を高めるために、エリアセンサを用いるようにしてもよい。更に、本実施形態では、連続帳票Fの両面を読み取る例を示したが、片面のみを読み取るようにしてもよいことは論を待たない。   In this embodiment, an example in which an image of a continuous form is read by a high-speed line sensor has been described. However, an area sensor may be used to increase the reading speed. Furthermore, in this embodiment, although the example which reads both surfaces of the continuous form F was shown, it does not wait that it may be made to read only one side.

更に、本実施形態では、図7に示したように、プリンタを識別するためのコードや帳票を識別するためのコードを検査ジョブデータに持たせる例を示したが、検査ジョブデータからこれらの情報を除き、オペレータが操作ボタン31Bから入力するようにしてもよい。   Furthermore, in the present embodiment, as shown in FIG. 7, the example in which the inspection job data has a code for identifying the printer and a code for identifying the form has been shown. The operator may input from the operation button 31B.

また更に、本実施形態では、辞書作成処理において所定形式での文字情報で辞書作成用連続帳票に印刷され文字を特定する例を示したが、印刷検査処理と同様に正解情報を用いるようにしてもよい。また、本実施形態では、連続帳票に印刷された文字を検査する例を示したが、本発明はこれに制約されず、例えば、単票に印刷された文字を連続的ないし間欠的に検査する印刷検査装置に適用可能なことは論を待たない。   Furthermore, in the present embodiment, an example is shown in which the character is printed on the dictionary creation continuous form with character information in a predetermined format in the dictionary creation processing, but the correct information is used as in the print inspection processing. Also good. Moreover, in this embodiment, although the example which inspects the character printed on the continuous form was shown, this invention is not restrict | limited to this, For example, the character printed on the single form is test | inspected continuously or intermittently. There is no doubt that it can be applied to a printing inspection apparatus.

更に、本実施形態では、システムプリンタ70により連続帳票Fに印刷され得る全ての文字とその特徴量との対応関係を定めた辞書が予め作成され、連続帳票Fに印字された文字の画像を切り出して文字の特徴量が演算され、照合ジョブデータをインデクスとして特徴量同士を照合する例を示したが、印刷に使用した画像データと印刷したものから読み取った画像データを照合する画像照合や、印刷したものを読み取ってOCR処理を行い、文字認識をした上で文字データに変換した結果を照合する文字照合のいずれの技術にも適用可能である。   Furthermore, in the present embodiment, a dictionary that defines the correspondence between all the characters that can be printed on the continuous form F by the system printer 70 and their feature amounts is created in advance, and an image of the characters printed on the continuous form F is cut out. In this example, the feature values of the characters are calculated, and the matching job data is used as an index to compare the feature values. However, the image data used for printing and the image data read from the printed image can be compared or printed. It can be applied to any technique of character collation in which the result of the conversion is read and subjected to OCR processing, character recognition is performed and the result converted into character data is collated.

また、本実施形態では、インターフェースボード33が2頁分のページメモリを有する例を示したが、本発明はこれに制約されず、1頁分のページメモリや3頁分以上のページメモリを有するようにしてもよい。例えば、1頁分のページメモリを有する場合には、上述した所定条件としては、上記(1)の条件を満たすようにすればよい。更に、本実施形態では、処理待ち状態のインターフェースボードを上流側から決定する例を示したが、本発明はこれに限らず、処理待ち状態のいずれのインターフェースボードに画像データ等を送信するようにしてもよい。   In the present embodiment, the interface board 33 has an example of having page memory for two pages. However, the present invention is not limited to this, and has page memory for one page or page memory for three pages or more. You may do it. For example, when a page memory for one page is provided, the above-described predetermined condition may satisfy the condition (1). Furthermore, in this embodiment, an example is shown in which an interface board waiting for processing is determined from the upstream side. However, the present invention is not limited to this, and image data or the like is transmitted to any interface board waiting for processing. May be.

本発明は頁画像切り出し用のマークを追加することなく効率よく画像を切り出すことができる画像切り出し装置および該画像切り出し装置を備えた印刷検査装置を提供するものであるため、画像切り出し装置や印刷検査装置の製造、販売に寄与するので、産業上の利用可能性を有する。   The present invention provides an image cutout device and a print inspection apparatus including the image cutout device that can efficiently cut out an image without adding a mark for cutting out a page image. Since it contributes to the manufacture and sale of equipment, it has industrial applicability.

本発明が適用可能な実施形態の印刷検査装置の外観斜視図である。1 is an external perspective view of a printing inspection apparatus according to an embodiment to which the present invention is applicable. 印刷検査装置の本体ユニットの概略断面図である。It is a schematic sectional drawing of the main-body unit of a printing inspection apparatus. 印刷検査装置の処理ユニットの機能を模式的に示すブロック図である。It is a block diagram which shows typically the function of the processing unit of a printing inspection apparatus. 本体ユニットおよび処理ユニット間のデージーチェーン構造を示すブロック図である。It is a block diagram which shows the daisy chain structure between a main body unit and a processing unit. システムプリンタで連続帳票に印刷された印刷例を示す説明図である。It is explanatory drawing which shows the example of printing printed on the continuous form with the system printer. 検査可能領域の隅部を形成するマーク「┏」を認識するための第1基準位置認識領域と第2基準位置認識領域の概念の説明図である。It is explanatory drawing of the concept of the 1st reference position recognition area and the 2nd reference position recognition area for recognizing the mark "┏" which forms the corner part of a testable area. 検査ジョブデータのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of inspection job data. 位置誤差Δの概念を説明するための説明図である。It is explanatory drawing for demonstrating the concept of position error (DELTA). 連続帳票の検査領域のうちユニーク性特定領域の例を示す説明図である。It is explanatory drawing which shows the example of a uniqueness specific area | region among the test | inspection area | regions of a continuous form. 本体ユニットのMCUが印刷検査処理において実行する処理ルーチンのフローチャートである。It is a flowchart of the processing routine which MCU of a main body unit performs in a printing inspection process. 画像処理部のCPUが印刷検査処理において実行する処理ルーチンのフローチャートである。6 is a flowchart of a processing routine executed by the CPU of the image processing unit in the print inspection process. 検査端末が印刷検査処理において実行する処理ルーチンのフローチャートであり。It is a flowchart of the processing routine which an inspection terminal performs in a printing inspection process. 検査サーバが印刷検査処理において実行する処理ルーチンのフローチャートである。It is a flowchart of the processing routine which an inspection server performs in a printing inspection process.

符号の説明Explanation of symbols

1 印刷検査装置
10 本体ユニット(第1の画像切り出し手段)
11 表面ラインスキャンカメラ(画像読取手段)
13 裏面ラインスキャンカメラ(画像読取手段)
17 トラクタベルト(搬送手段の一部)
18、19 搬送排出ローラ(搬送手段の一部)
30 処理ユニット(特徴量演算手段、辞書作成手段、印刷判断手段)
31 検査サーバ(第1の設定手段、第2の設定手段、選択手段、座標設定手段、認識領域設定手段)
32 検査端末(位置誤差算出手段の一部、第2の画像切り出し手段、判断手段)
70 システムプリンタ(プリンタ)
EF 検査領域(複数の領域)
F 連続帳票(帳票)
FM 搬送モータ(搬送手段の一部)
IA 画像領域
RF 検査可能領域
RPF1 第1基準位置認識領域(認識領域)
RPF2 第2基準位置認識領域(認識領域)
DESCRIPTION OF SYMBOLS 1 Print inspection apparatus 10 Main body unit (1st image cutout means)
11 Surface line scan camera (image reading means)
13 Backside line scan camera (image reading means)
17 Tractor belt (part of transport means)
18, 19 Transport discharge roller (part of transport means)
30 processing unit (feature amount calculation means, dictionary creation means, print determination means)
31 Inspection server (first setting means, second setting means, selection means, coordinate setting means, recognition area setting means)
32 Inspection terminal (part of position error calculation means, second image clipping means, determination means)
70 System Printer (Printer)
EF inspection area (multiple areas)
F Continuous form (form)
FM transport motor (part of transport means)
IA image area RF inspectable area RPF1 first reference position recognition area (recognition area)
RPF2 Second reference position recognition area (recognition area)

Claims (11)

プリンタにより帳票に印刷された文字の画像を含む所定領域の画像を切り出す画像切り出し装置において、
前記帳票を一方向に搬送する搬送手段と、
前記搬送手段で搬送される帳票の画像を読み取る画像読取手段と、
前記画像読取手段で読み取られた画像から所定領域の画像を切り出す第1の画像切り出し手段と、
前記第1の画像切り出し手段により切り出される画像の切り出し基準位置を予め設定するための第1の設定手段と、
前記第1の設定手段で設定された切り出し基準位置と、前記第1の画像切り出し手段により切り出された画像の切り出し基準位置との位置誤差を算出する位置誤差算出手段と、
前記第1の画像切り出し手段により切り出された画像から該画像より領域面積の小さい少なくとも1つの領域を切り出す第2の画像切り出し手段と、
前記第2の画像切り出し手段により切り出される少なくとも1つの領域を予め設定するための第2の設定手段と、
を備え、
(1)前記第1の画像切り出し手段は前記搬送手段の搬送量に従い所定領域の画像を切り出し、前記第2の画像切り出し手段は前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に前記少なくとも1つの領域を切り出すことを特徴とする画像切り出し装置。
In an image cutout device that cuts out an image of a predetermined area including an image of characters printed on a form by a printer,
Conveying means for conveying the form in one direction;
Image reading means for reading an image of a form conveyed by the conveying means;
First image cutout means for cutting out an image of a predetermined area from the image read by the image reading means;
First setting means for setting in advance a cutout reference position of an image cut out by the first image cutout means;
Position error calculation means for calculating a position error between the cutout reference position set by the first setting means and the cutout reference position of the image cut out by the first image cutout means;
A second image cutout unit that cuts out at least one region having a smaller area than the image cut out from the image cut out by the first image cutout unit;
Second setting means for presetting at least one region cut out by the second image cutout means;
With
(1) The first image cutout unit cuts out an image of a predetermined area according to the conveyance amount of the conveyance unit, and the second image cutout unit needs a position error of the cutout reference position calculated by the position error calculation unit. And cutting out the at least one region with reference to the cutout reference position.
(1)前記第1の画像切り出し手段は前記搬送手段の搬送量に従い所定領域の画像を切り出し、前記第2の画像切り出し手段は前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を必要に応じて補正して、該切り出し基準位置を基準に前記少なくとも1つの領域を切り出した後、
(2)前記第1の画像切り出し手段は前記位置誤差算出手段により算出された切り出し基準位置の位置誤差がなくなるように前記切り出し基準位置を補正して、該補正した切り出し基準位置を基準に所定領域の画像を切り出し、前記第2の画像切り出し手段は前記第1の画像切り出し手段により切り出された所定領域の画像から前記切り出し基準位置を基準に前記少なくとも1つの領域を切り出す、
ことを特徴とする請求項1に記載の画像切り出し装置。
(1) The first image cutout unit cuts out an image of a predetermined area according to the conveyance amount of the conveyance unit, and the second image cutout unit needs a position error of the cutout reference position calculated by the position error calculation unit. And cutting out the at least one region with reference to the cutout reference position,
(2) The first image cutout unit corrects the cutout reference position so that the position error of the cutout reference position calculated by the position error calculation unit is eliminated, and a predetermined area based on the corrected cutout reference position The second image cutout means cuts out the at least one area based on the cutout reference position from the image of the predetermined area cut out by the first image cutout means.
The image cutting-out device according to claim 1, wherein:
前記第1の画像切り出し手段は、前記(2)において、前記(1)において前記搬送手段の搬送量に従い切り出した処理領域の画像より領域面積の小さい画像を切り出すことを特徴とする請求項2に記載の画像切り出し装置。   The said 1st image cutting-out means cuts out the image whose area area is smaller than the image of the process area cut out according to the conveyance amount of the said conveyance means in said (1) in said (2). The image cutout device described. 前記位置誤差算出手段により算出された切り出し基準位置の位置誤差が予め設定された値より大きいか否かを判断する判断手段を備え、前記第2の画像切り出し手段は、前記(1)において、前記判断手段が肯定判断したときに、前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正し、前記判断手段が否定判断したときに、前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正しないことを特徴とする請求項2または請求項3に記載の画像切り出し装置。   A determination unit configured to determine whether or not the position error of the cut-out reference position calculated by the position error calculation unit is greater than a preset value, wherein the second image cut-out unit includes: When the determination means makes an affirmative determination, the position error of the cutout reference position calculated by the position error calculation means is corrected, and when the determination means makes a negative determination, the cutout reference position calculated by the position error calculation means The image clipping device according to claim 2 or 3, wherein the position error is not corrected. 前記第2の画像切り出し手段は、前記(2)において、前記位置誤差算出手段により算出された切り出し基準位置の位置誤差を補正することなく、前記第1の画像切り出し手段により切り出された画像から前記切り出し基準位置を基準に前記少なくとも1つの領域を切り出すことを特徴とする請求項2ないし請求項4のいずれか1項に記載の画像切り出し装置。   The second image cut-out means, in (2), without correcting the position error of the cut-out reference position calculated by the position error calculation means, from the image cut out by the first image cut-out means. The image cutout device according to any one of claims 2 to 4, wherein the at least one region is cut out based on a cutout reference position. 前記第1の設定手段は、前記帳票の各頁の前記所定領域に予め印刷された特定の文字、記号又はバーコードを選択するための選択手段と、前記選択手段で選択された文字、記号又はバーコードの座標を基準として前記切り出し基準位置を設定するための座標設定手段とで構成され、前記位置誤差算出手段は、前記第1の画像切り出し手段により切り出された画像の前記選択手段で選択された文字、記号又はバーコードを画像認識して該文字、記号又はバーコードの座標を求め、前記座標設定手段で設定された前記文字、記号又はバーコードの座標と、前記求めた座標との位置誤差を算出することを特徴とする請求項1ないし請求項5に記載の画像切り出し装置。   The first setting means includes a selection means for selecting a specific character, symbol, or barcode printed in advance in the predetermined area of each page of the form, and a character, symbol, or symbol selected by the selection means. Coordinate setting means for setting the cutout reference position with reference to the coordinates of the barcode, and the position error calculation means is selected by the selection means of the image cut out by the first image cutout means. The character, symbol or barcode is image-recognized to obtain the coordinates of the character, symbol or barcode, and the position of the character, symbol or barcode coordinates set by the coordinate setting means and the obtained coordinates 6. The image clipping device according to claim 1, wherein an error is calculated. 前記第1の設定手段は、所定の領域を有し前記選択手段で選択された文字、記号又はバーコードを該領域内で認識可能な認識領域を設定するための認識領域設定手段をさらに有して構成され、前記位置誤差算出手段は、前記第1の画像切り出し手段により切り出された画像の前記選択手段で選択された文字、記号又はバーコードを前記認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、前記座標設定手段で設定された前記文字、記号又はバーコードの座標と、前記求めた座標との位置誤差を算出することを特徴とする請求項6に記載の画像切り出し装置。   The first setting means further includes a recognition area setting means for setting a recognition area having a predetermined area and capable of recognizing the character, symbol or barcode selected by the selection means in the area. The position error calculation means is configured to recognize the character, symbol or barcode selected by the selection means of the image cut out by the first image cut-out means within the recognition area, The coordinates of the symbol or barcode are obtained, and the position error between the coordinates of the character, symbol or barcode set by the coordinate setting means and the obtained coordinates is calculated. Image clipping device. 前記認識領域設定手段は中心が同一で大きさの異なる少なくとも2つの認識領域を設定可能であり、前記位置誤差算出手段は、前記(1)において、前記第1の画像切り出し手段により切り出された画像の前記選択手段で選択された文字、記号又はバーコードを前記認識領域のうち大きい認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、前記座標設定手段で設定された前記文字、記号又はバーコードの座標と、前記求めた座標との位置誤差を算出し、前記第2の画像切り出し手段は、前記(2)において、前記選択手段で選択された文字、記号又はバーコードを前記認識領域のうち小さい認識領域内で画像認識して該文字、記号又はバーコードの座標を求め、該求めた座標を基準として前記切り出し基準位置を算出し該算出した切り出し基準位置を基準に前記少なくとも1つの領域を切り出すことを特徴とする請求項7に記載の画像切り出し装置。   The recognition area setting means can set at least two recognition areas having the same center and different sizes, and the position error calculation means is the image cut out by the first image cut-out means in (1). The character, symbol or barcode selected by the selection means is image-recognized within a large recognition area of the recognition area to obtain the coordinates of the character, symbol or barcode, and the coordinates set by the coordinate setting means A position error between the coordinates of characters, symbols or barcodes and the obtained coordinates is calculated, and the second image cutout means is the character, symbol or barcode selected by the selection means in (2). The image is recognized in a small recognition area in the recognition area to obtain the coordinates of the character, symbol, or barcode, and the cutout reference position is calculated based on the obtained coordinates. Image clipping device according to claim 7, characterized in that cutting out at least one region on the basis of the extraction reference positions out. 前記第2の画像切り出し手段は、前記(1)において、前記切り出し基準位置の位置誤差を、該位置誤差分の座標を変更することにより補正し、前記第1の画像切り出し手段は、前記(2)において、前記切り出し基準位置の位置誤差を、該位置誤差分の座標を変更することにより補正するか、または、前記搬送手段の搬送量を変更することによって補正することを特徴とする請求項2に記載の画像切り出し装置。   In the above (1), the second image cutout unit corrects the position error of the cutout reference position by changing the coordinates corresponding to the position error, and the first image cutout unit includes the (2) 3), the position error of the cutout reference position is corrected by changing the coordinates corresponding to the position error, or by correcting the transport amount of the transport means. The image cutting-out device described in 1. 前記帳票は連続帳票であり、前記第1の画像切り出し手段は、前記(2)において、前記位置誤差算出手段により算出された切り出し基準位置の位置誤差がなくなるように前記切り出し基準位置を一度だけ補正して、該補正した切り出し基準位置を基準に前記所定領域の画像を切り出すことを特徴とする請求項2ないし請求項9のいずれか1項に記載の画像切り出し装置。   The form is a continuous form, and the first image cutout unit corrects the cutout reference position only once so that the position error of the cutout reference position calculated by the position error calculation unit in (2) is eliminated. The image clipping device according to any one of claims 2 to 9, wherein an image of the predetermined area is clipped on the basis of the corrected clipping reference position. プリンタにより帳票に印刷された文字の画像を含む所定領域の画像を切り出す画像切り出し装置を備え、前記帳票に印刷された文字を検査する印刷検査装置において、
前記画像切り出し装置で切り出された画像から前記帳票に印刷された文字の画像を切り出し、該切り出した文字の特徴量を演算する特徴量演算手段と、
予め入力され前記プリンタにより前記帳票に印刷され得る全ての文字のコード、フォント及びフォントサイズを含む文字情報と、前記プリンタにより前記文字情報に対応して所定形式で前記帳票に印刷され、画像読取手段で読み取られ前記特徴量演算手段で演算された前記全ての文字の特徴量との対応関係を定めた辞書を作成する辞書作成手段と、
予め入力され前記プリンタにより前記帳票に印刷された文字列に関する正解情報をインデクスとして、検査対象となり前記画像読取手段で前記帳票から読み取られ前記特徴量演算手段で演算された文字の特徴量が、前記辞書作成手段で対応付けられた文字の特徴量に対して予め設定された判定基準値以上かを判定し、前記判定基準値以上と判定したときに前記検査対象となる文字が前記プリンタで前記帳票に正しく印刷されたと判断する印刷判断手段と、
を備え、
前記画像切り出し装置は、請求項1ないし請求項10のいずれか1項に記載の構成を有することを特徴とする印刷検査装置。
In a printing inspection apparatus that includes an image cutout device that cuts out an image of a predetermined area including an image of characters printed on a form by a printer, and inspects characters printed on the form,
A feature amount calculation means for cutting out an image of a character printed on the form from an image cut out by the image cutout device, and calculating a feature amount of the cut out character;
Character information including codes, fonts, and font sizes of all characters that are input in advance and can be printed on the form by the printer, and printed on the form in a predetermined format corresponding to the character information by the printer. A dictionary creating means for creating a dictionary that defines a correspondence relationship with the feature quantities of all the characters read by the feature quantity computing means;
The correct amount of information about the character string that is input in advance and printed on the form by the printer is used as an index, and the feature amount of the character that is to be inspected and read from the form by the image reading unit and calculated by the feature amount calculating unit is It is determined whether or not the character feature amount associated with the dictionary creation means is greater than or equal to a predetermined criterion value, and the character to be inspected is determined to be greater than or equal to the criterion value by the printer. A print determination means for determining that the print has been correctly performed;
With
11. The print inspection apparatus according to claim 1, wherein the image cutout apparatus has the configuration according to any one of claims 1 to 10.
JP2007338475A 2007-12-28 2007-12-28 Image segmentation device and print inspection device Pending JP2009157856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007338475A JP2009157856A (en) 2007-12-28 2007-12-28 Image segmentation device and print inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007338475A JP2009157856A (en) 2007-12-28 2007-12-28 Image segmentation device and print inspection device

Publications (1)

Publication Number Publication Date
JP2009157856A true JP2009157856A (en) 2009-07-16

Family

ID=40961761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007338475A Pending JP2009157856A (en) 2007-12-28 2007-12-28 Image segmentation device and print inspection device

Country Status (1)

Country Link
JP (1) JP2009157856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019235512A1 (en) * 2018-06-08 2019-12-12 マクセルシステムテック株式会社 Printing inspection machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019235512A1 (en) * 2018-06-08 2019-12-12 マクセルシステムテック株式会社 Printing inspection machine
JP2019212210A (en) * 2018-06-08 2019-12-12 マクセルシステムテック株式会社 Printing inspection machine
JP7092563B2 (en) 2018-06-08 2022-06-28 マクセルフロンティア株式会社 Printing inspection machine

Similar Documents

Publication Publication Date Title
US20090202134A1 (en) Print inspecting apparatus
US20070139703A1 (en) Print inspecting apparatus
US8619278B2 (en) Printed matter examination apparatus, printed matter examination method, and printed matter examination system
JP2007173912A (en) Print inspection apparatus
EP2785033B1 (en) Image inspection system and program
CN111089867B (en) Image inspection device and recording medium
US20210067649A1 (en) Image inspection apparatus, image forming apparatus, image inspection method, and program
JP2021515951A (en) Label data processing system
JP2009157858A (en) Print inspection device
US20210274050A1 (en) Verification apparatus, control method therefor, print system, and storage medium
JP2009157869A (en) Print inspection device
JP2009157861A (en) Print inspection device
JP2003305927A (en) Printer inspection system
JP2009157856A (en) Image segmentation device and print inspection device
US10706337B2 (en) Character recognition device, character recognition method, and recording medium
JP2007172027A (en) Print inspection device
JP2007172029A (en) Print inspection device
JP2007172031A (en) Print inspection device
US20230070196A1 (en) Inspection apparatus, control method, and inspection method
US8964192B2 (en) Print verification database mechanism
JP2007172034A (en) Printing inspection device
US20230336668A1 (en) Inspection apparatus, method for controlling same, and storage medium
US20230298160A1 (en) Information processing apparatus, setting method, inspection system, and medium
US11838454B2 (en) Inspection apparatus, control method thereof, and storage medium
JP2001277676A (en) Device, system and method for inspecting printed matter, and storage medium