JP7746071B2 - Inspection method and device - Google Patents
Inspection method and deviceInfo
- Publication number
- JP7746071B2 JP7746071B2 JP2021140732A JP2021140732A JP7746071B2 JP 7746071 B2 JP7746071 B2 JP 7746071B2 JP 2021140732 A JP2021140732 A JP 2021140732A JP 2021140732 A JP2021140732 A JP 2021140732A JP 7746071 B2 JP7746071 B2 JP 7746071B2
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- character recognition
- image
- recognition processing
- font
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Character Input (AREA)
- Image Processing (AREA)
- Character Discrimination (AREA)
Description
本発明は、印刷物の印刷品質を検査するための方法および装置に関する。 The present invention relates to a method and apparatus for inspecting the print quality of printed materials.
近年、印刷装置により印刷されたシートを搬送中に、検査装置によってその印刷されたシートの検査を行う印刷システムが知られている。この検査では、搬送されたシートの画像を検査装置が読み取り、当該読み取った画像を画像解析することにより、シートへの印刷が正常になされたか否かを判定する。このような検査装置は、印刷物に印字された文字列やバーコードの欠け、画像抜け、印刷不良、ページ抜け、色ずれなどを検出することが可能である。こうして印刷シートが欠陥シートであると判定された場合には、当該欠陥シートは正常シートとは別の排紙先に排紙される。これにより欠陥シートが正常シートに混入することが防がれ、オペレータが欠陥シートを廃棄することが可能となる。 Recently, printing systems have become known in which an inspection device inspects printed sheets printed by a printing device while the sheets are being transported. In this inspection, the inspection device reads an image of the transported sheet and analyzes the read image to determine whether printing on the sheet was performed correctly. Such inspection devices can detect missing characters or barcodes printed on the printout, missing images, printing defects, missing pages, color misalignment, and more. If a printed sheet is determined to be defective, the defective sheet is ejected to a different destination from normal sheets. This prevents defective sheets from being mixed in with normal sheets and allows the operator to discard the defective sheets.
このようなシステムにおいて、文字列部分の印刷が正常に為されたかの検査を行う際、当該文字列が印字された領域に対して文字認識処理を行い、認識結果と正解データを照合する照合検査を行う検査装置が知られている。上述したようなシステムにおいては、排紙先を切り替えるにあたり、印刷されたシートを読み取ってから排紙先を切り替えるまでの間のシート搬送中に、文字認識処理と照合処理とを完了する必要があり、文字認識処理の速度と精度の両立が必要である。特許文献1では、文書に対してレイアウト解析を行い、誤認識を回避したい領域には認識精度を優先した文字認識処理を行い、ある程度の誤認識が許容されるような領域に対しては処理速度を優先した文字認識処理を行うことが記載されている。 In such systems, when checking whether a character string has been printed correctly, an inspection device is known that performs character recognition processing on the area where the character string is printed and compares the recognition results with correct data. In systems like the one described above, when switching the paper output destination, the character recognition and comparison processes must be completed during sheet transport between reading the printed sheet and switching the output destination, making it necessary to achieve both speed and accuracy in the character recognition process. Patent Document 1 describes performing a layout analysis on a document, and performing character recognition processing that prioritizes recognition accuracy in areas where misrecognition must be avoided, and character recognition processing that prioritizes processing speed in areas where a certain degree of misrecognition is acceptable.
しかしながら、文字認識処理の手法を決定するためのレイアウト解析等の画像解析自体にも処理時間のオーバーヘッドが発生し、目的の検査速度を達成できない場合がある。 However, image analysis itself, such as layout analysis to determine the character recognition processing method, also incurs processing time overhead, and in some cases the desired inspection speed cannot be achieved.
上記課題を解決するために、本発明の検査装置は、記録材に画像を印刷した印刷装置から前記画像が印刷された記録材を受け取って搬送する搬送手段から搬送されてきた前記記録材上の前記画像を読取部が読み取って得られた読取画像を検査する検査手段を有する検査装置であって、前記検査手段による前記検査を実行する前に、フォントと文字認識処理の手法とを関連づけて登録する登録手段と、文字列の検査を行う検査領域と前記検査領域で使用されるフォントとを設定する設定手段と、を有し、前記検査手段は、前記設定手段で設定された前記検査領域で使用されるフォントと、前記登録手段で当該フォントに関連付けられた文字認識処理の手法とに基づいて、前記検査領域に対して適用すべき文字認識処理の手法を判定し、当該判定した文字認識処理の手法を用いて、前記読取画像内の前記検査領域に対応する画像の文字認識処理を行うことを特徴とする。 In order to solve the above problem, the inspection device of the present invention is an inspection device having an inspection means that inspects a read image obtained by a reading unit reading the image on a recording material that has been transported from a transport means that receives and transports a recording material on which an image has been printed from a printing device that has printed the image on the recording material, and is characterized in that it has a registration means that registers a font and a character recognition processing method in association with each other before performing the inspection by the inspection means, and a setting means that sets an inspection area in which a character string is to be inspected and a font to be used in the inspection area, and the inspection means determines the character recognition processing method to be applied to the inspection area based on the font to be used in the inspection area that has been set by the setting means and the character recognition processing method associated with that font by the registration means, and performs character recognition processing of an image in the read image that corresponds to the inspection area.
文字認識処理の手法の決定を検査に先立って行うことで、検査速度を向上することができる。 By determining the character recognition processing method prior to inspection, inspection speed can be improved.
以下、本発明を実施するための形態について図面を用いて説明するが、以下の実施の形態は特許請求の範囲に係る発明を限定するものではなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。 The following describes embodiments of the present invention with reference to the accompanying drawings. However, the following embodiments do not limit the scope of the invention as claimed, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
〔第1の実施形態〕
図1は、本実施例における情報処理装置と検査装置と画像形成装置の構成を表す模式図である。なお、本実施例の画像形成装置は電子写真方式の画像形成装置を用いて説明するが、本実施例における画像形成装置は、インクジェット方式、オフセット方式など、異なる画像形成方式の画像形成装置であっても良い。
First Embodiment
1 is a schematic diagram showing the configuration of an information processing apparatus, an inspection apparatus, and an image forming apparatus in this embodiment. Note that, although the image forming apparatus in this embodiment will be described using an electrophotographic image forming apparatus, the image forming apparatus in this embodiment may be an image forming apparatus of a different image forming method, such as an inkjet method or an offset method.
画像形成装置0101は、通信ケーブル0112を介して情報処理装置0109と接続されている。情報処理装置0109は、ネットワーク0113を介してクライアントコンピュータ0110、検査装置0108と接続されている。画像形成装置0101は、UIパネル0102、給紙デッキ0103および給紙デッキ0104を備える。さらに、3段の給紙デッキからなるオプションデッキ0105が接続される。画像形成装置0101は、例えば電子写真方式の画像形成装置である。また、UIパネル0102は、例えば静電容量方式のタッチパネルを備えたユーザインターフェースである。 The image forming apparatus 0101 is connected to an information processing apparatus 0109 via a communication cable 0112. The information processing apparatus 0109 is connected to a client computer 0110 and an inspection apparatus 0108 via a network 0113. The image forming apparatus 0101 is equipped with a UI panel 0102, a paper feed deck 0103, and a paper feed deck 0104. In addition, an optional deck 0105 consisting of three paper feed decks is connected. The image forming apparatus 0101 is, for example, an electrophotographic image forming apparatus. The UI panel 0102 is, for example, a user interface equipped with a capacitive touch panel.
さらに画像形成装置0101は、検査ユニット0106、大容量スタッカ0107を備える。検査ユニットは、通信ケーブル0114を介して検査装置0108と接続されている。大容量スタッカ0107はメイントレイとトップトレイを備え、メイントレイには一度に数千枚の用紙を積載することができる。 The image forming apparatus 0101 also includes an inspection unit 0106 and a large-capacity stacker 0107. The inspection unit is connected to the inspection device 0108 via a communication cable 0114. The large-capacity stacker 0107 includes a main tray and a top tray, and the main tray can hold several thousand sheets of paper at a time.
印刷ジョブは、クライアントコンピュータ0110で生成され、ネットワーク0113を介して情報処理装置0109に送信され、情報処理装置0109で管理される。そして、当該印刷ジョブは、情報処理装置0109から通信ケーブル0112を通じて画像形成装置0101に送信されて、画像形成装置0101は受信した印刷ジョブに基づいて用紙に印字する処理を行う。なお、印刷ジョブは、情報処理装置0109において生成・管理され、ネットワーク0112を介して画像形成装置0101に送信され、画像形成装置0101で管理される形態をとっても良い。 A print job is generated by the client computer 0110, sent to the information processing device 0109 via the network 0113, and managed by the information processing device 0109. The print job is then sent from the information processing device 0109 to the image forming device 0101 via the communication cable 0112, and the image forming device 0101 performs printing on paper based on the received print job. Note that the print job may also be generated and managed by the information processing device 0109, sent to the image forming device 0101 via the network 0112, and managed by the image forming device 0101.
なお、クライアントコンピュータ0110、情報処理装置0109、検査装置0108はケーブル0112に接続されて画像形成装置0101と通信できる形態をとっても良い。即ち、本実施例に示す画像形成装置0101、情報処理装置0109、クライアントコンピュータ0110の接続形態は一例であり、本実施例で示した他にも様々な接続形態があることは言うまでもない。 The client computer 0110, information processing device 0109, and inspection device 0108 may also be connected to a cable 0112 to communicate with the image forming device 0101. In other words, the connection configuration of the image forming device 0101, information processing device 0109, and client computer 0110 shown in this embodiment is just one example, and it goes without saying that there are various other connection configurations besides those shown in this embodiment.
図2は、本実施例の画像形成装置0101と検査装置0108と大容量スタッカ0107と情報処理装置0109とクライアントコンピュータ0110の制御構成を示すブロック図である。 Figure 2 is a block diagram showing the control configuration of the image forming apparatus 0101, inspection apparatus 0108, large-capacity stacker 0107, information processing apparatus 0109, and client computer 0110 in this embodiment.
CPU(Central Processing Unit/中央演算装置)0201は、システムバス0212を介して画像形成装置0101内の各部の制御や演算を行う。CPU0201は、コンピュータ読取可能な記憶部0205に格納され、RAM(Ramdom Access Memory)0202にロードされるプログラムを実行することにより、後述する各処理を実行する処理部として機能する。RAM0202は、CPU0201から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0201のワークエリアまたはその他一時的なデータ記憶領域として使用される。記憶部0205は、さらに、画像形成装置動作時の一時記憶領域およびワークメモリとして機能する。エンジンI/F0209は、プリンタエンジン0210との通信を行う。給紙デッキI/F0204は、給紙デッキ0211との通信を行う。給紙デッキ0211は、給紙デッキ0103、0104、オプションデッキ0105をハード構成として総称するものすることにより、後述する各処理を実行する処理部として機能するである。UIパネル0203は、UIパネル0102のハード構成であり、画像形成装置0101の操作全般を行うためのユーザインターフェースである。本実施形態では、UIパネル0203は静電容量方式のタッチパネルを備えたものとする。 The CPU (Central Processing Unit) 0201 controls and performs calculations for each component within the image forming device 0101 via the system bus 0212. The CPU 0201 functions as a processing unit that executes each process described below by executing programs stored in the computer-readable storage unit 0205 and loaded into the RAM (Random Access Memory) 0202. The RAM 0202 is a type of general volatile storage device that can be accessed directly by the CPU 0201 and is used as a work area for the CPU 0201 or other temporary data storage area. The storage unit 0205 also functions as a temporary storage area and work memory when the image forming device is operating. The engine I/F 0209 communicates with the printer engine 0210. The paper feed deck I/F 0204 communicates with the paper feed deck 0211. The paper feed deck 0211 collectively refers to the paper feed decks 0103, 0104, and optional deck 0105 as hardware components, and functions as a processing unit that executes the processes described below. The UI panel 0203 is the hardware component of the UI panel 0102, and is a user interface for performing general operations on the image forming apparatus 0101. In this embodiment, the UI panel 0203 is equipped with a capacitive touch panel.
ネットワークインターフェース(以下、NW I/F)0207は、通信ケーブル0213を介して情報処理装置0109のNW I/F0238と接続され、情報処理装置0109と画像形成装置0101との間で通信する際に利用される。なお、この例ではシステムバス(0212、0239)に接続されたインターフェース(0207、0238)同士が直接接続されている形式であるが、これに限定するものではない。例えば、情報処理装置0109と画像形成装置0101とがLAN等のネットワークを介して接続されている形式でもよく、その接続形式を限定しない。ビデオI/F0206は、ビデオケーブル0241を介してビデオI/F0233と接続され、情報処理装置0109と画像形成装置0101の間の画像データの通信に利用される。なお、情報処理装置0109における画像形成装置0101との接続インターフェースは、NW I/F0238とビデオI/F0233の機能を統合した形式をとっても良い。また、画像形成装置0101における情報処理装置0109との接続インターフェースは、NW I/F0207とビデオI/F0206の機能を統合した形式をとっても良い。 The network interface (hereinafter referred to as NW I/F) 0207 is connected to the NW I/F 0238 of the information processing device 0109 via communication cable 0213 and is used for communication between the information processing device 0109 and the image forming device 0101. In this example, the interfaces (0207, 0238) connected to the system bus (0212, 0239) are directly connected to each other, but this is not limited to this. For example, the information processing device 0109 and the image forming device 0101 may also be connected via a network such as a LAN; the connection type is not limited to this. The video I/F 0206 is connected to the video I/F 0233 via video cable 0241 and is used for communication of image data between the information processing device 0109 and the image forming device 0101. The connection interface between the information processing device 0109 and the image forming device 0101 may also be a combination of the functions of the NW I/F 0238 and the video I/F 0233. Furthermore, the connection interface between the image forming apparatus 0101 and the information processing apparatus 0109 may be a form that integrates the functions of the NW I/F 0207 and video I/F 0206.
アクセサリI/F0208は、通信ケーブル0225を介して、アクセサリI/F0214とアクセサリI/F0220とに接続する。即ち、画像形成装置0101は、アクセサリI/F0208、0214、0220を介して、検査ユニット0106および大容量スタッカ0107と互いに通信を行うことができる。 The accessory I/F 0208 is connected to the accessory I/F 0214 and the accessory I/F 0220 via the communication cable 0225. That is, the image forming apparatus 0101 can communicate with the inspection unit 0106 and the large-capacity stacker 0107 via the accessory I/Fs 0208, 0214, and 0220.
CPU0216は、システムバス0219を介して検査ユニット0106内の各部の制御や演算を行う。CPU0216は、コンピュータ読取可能な記憶部0247に格納され、RAM0217にロードされるプログラムを実行することにより、後述する各処理を実行する処理部として機能する。RAM0217は、CPU0216から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0216のワークエリアまたはその他一時的なデータ記憶領域として使用される。記憶部0247は、検査装置動作時の一時記憶領域およびワークメモリとして機能する。検査装置I/F0215は、通信ケーブル0248を介して検査装置ユニットI/F0231と接続する。即ち、検査ユニット0106は、検査装置I/F0215および検査装置ユニットI/F0231を介して、検査装置0108との間での通信に利用される。撮影部0218は、例えばコンタクトイメージセンサ(以下、CIS)を搭載した撮影機能(スキャン機能)を備え、検査ユニット内を通過する用紙の撮影(読み取りスキャン)を行うことで生成される画像を、検査装置I/F0215を介して検査装置0108に送信する。なお、撮影部0218が備えるCISはセンサの一例であり、CCDイメージセンサなど他の種類のセンサであっても良く、その撮影方式(スキャン方式)を限定するものではない。 The CPU 0216 controls and performs calculations for each component within the inspection unit 0106 via the system bus 0219. The CPU 0216 functions as a processing unit that executes each process described below by executing programs stored in the computer-readable memory unit 0247 and loaded into the RAM 0217. The RAM 0217 is a type of general volatile memory device that can be accessed directly by the CPU 0216 and is used as the CPU 0216's work area or other temporary data storage area. The memory unit 0247 functions as a temporary storage area and work memory when the inspection device is operating. The inspection device I/F 0215 is connected to the inspection device unit I/F 0231 via the communication cable 0248. That is, the inspection unit 0106 is used to communicate with the inspection device 0108 via the inspection device I/F 0215 and the inspection device unit I/F 0231. The photographing unit 0218 has a photographing function (scanning function) equipped with, for example, a contact image sensor (hereinafter referred to as CIS), and transmits images generated by photographing (reading and scanning) paper passing through the inspection unit to the inspection device 0108 via the inspection device I/F 0215. Note that the CIS equipped in the photographing unit 0218 is an example of a sensor, and other types of sensors such as a CCD image sensor may also be used, and the photographing method (scanning method) is not limited thereto.
CPU0220は、システムバス0224を介して大容量スタッカ0107内の各部の制御や演算を行う。CPU0220は、コンピュータ読取可能な記憶部0248に格納され、RAM0222にロードされるプログラムの実行することにより、後述する各処理を実行する処理部として機能する。RAM0222は、CPU0221から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0221のワークエリアまたはその他一時的なデータ記憶領域として使用される。排紙部0223は、メイントレイとトップトレイへの排紙動作や、メイントレイとトップトレイ各々の積載状況の監視や制御を行う。 The CPU 0220 controls and performs calculations for each unit within the large-capacity stacker 0107 via the system bus 0224. The CPU 0220 functions as a processing unit that executes each process described below by executing programs stored in the computer-readable memory unit 0248 and loaded into the RAM 0222. The RAM 0222 is a type of general volatile memory device that can be accessed directly by the CPU 0221, and is used as a work area for the CPU 0221 or as other temporary data storage areas. The paper discharge unit 0223 monitors and controls the paper discharge operation to the main tray and top tray, and the loading status of each of the main tray and top tray.
検査装置0108のCPU0226は、システムバス0230を介して、検査装置0108内の各部の制御や演算を行う。CPU0226は、コンピュータ読取可能な記憶部0228に格納され、RAM0227にロードされるプログラムを実行することにより、後述する各処理を実行する処理部として機能する。RAM0227は、CPU0226から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0226のワークエリアまたはその他一時的なデータ記憶領域として使用される。記憶部0228は、検査装置動作時の一時記憶領域およびワークメモリとして機能する。PDL解析部0229は、クライアントコンピュータ0110や情報処理装置0109から受信した例えばPDF、PostScript、PCLなどのPDLデータを読み込み、解釈処理を実行する。表示部0245は例えば検査装置に接続される液晶ディスプレイであり、検査装置へのユーザの入力を受け付けたり、検査装置の状態を表示したりする。 The CPU 0226 of the inspection device 0108 controls and performs calculations for each component within the inspection device 0108 via the system bus 0230. The CPU 0226 functions as a processing unit that executes the various processes described below by executing programs stored in the computer-readable storage unit 0228 and loaded into the RAM 0227. The RAM 0227 is a type of general-purpose volatile storage device that can be accessed directly by the CPU 0226 and is used as a work area or other temporary data storage area for the CPU 0226. The storage unit 0228 functions as a temporary storage area and work memory when the inspection device is operating. The PDL analysis unit 0229 reads PDL data such as PDF, PostScript, and PCL received from the client computer 0110 or the information processing device 0109 and performs interpretation processing. The display unit 0245 is, for example, an LCD display connected to the inspection device, and accepts user input to the inspection device and displays the status of the inspection device.
情報処理装置0109のCPU0234は、システムバス0239を介して情報処理装置0109内の各部の制御や演算を行う。CPU0234は、コンピュータ読取可能な記憶部0236に格納され、RAM0235にロードされるプログラムを実行することにより、後述する各処理を実行する処理部として機能する。RAM0235は、CPU0234から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0234のワークエリアまたはその他一時的なデータ記憶領域として使用される。記憶部0236は、情報処理装置動作時の一時記憶領域およびワークメモリとして機能する。ネットワークインターフェース(以下、NW I/F)0237は、ネットワークを介してNW I/F0232、0240と接続される。情報処理装置0109は、NW I/F0237とNW I/F0232とを介して、検査装置0108と通信を行う。また、情報処理装置0109は、NW I/F0237とNW I/F0240とを介して、クライアントコンピュータ0110と通信を行う。 The CPU 0234 of the information processing device 0109 controls and performs calculations for each component within the information processing device 0109 via the system bus 0239. The CPU 0234 functions as a processing unit that executes each process described below by executing programs stored in the computer-readable memory unit 0236 and loaded into the RAM 0235. The RAM 0235 is a type of general volatile memory device that can be accessed directly by the CPU 0234 and is used as a work area for the CPU 0234 or other temporary data storage area. The memory unit 0236 functions as a temporary storage area and work memory when the information processing device is operating. The network interface (hereinafter referred to as NW I/F) 0237 is connected to the NW I/Fs 0232 and 0240 via a network. The information processing device 0109 communicates with the inspection device 0108 via the NW I/Fs 0237 and 0232. In addition, the information processing device 0109 communicates with the client computer 0110 via the NW I/F 0237 and NW I/F 0240.
クライアントコンピュータ0110のCPU0243は、システムバス0246を介してクライアントコンピュータ0110内の各部の制御や演算を行う。CPU0243は、コンピュータ読取可能な記憶部0245に格納され、RAM0242にロードされるプログラムを実行することにより、後述する各処理を実行する処理部として機能する。RAM0242は、CPU0243から直接アクセスできる一般的な揮発性記憶装置の一種で、CPU0243のワークエリアまたはその他一時的なデータ記憶領域として使用される。記憶部0244は、クライアントコンピュータ動作時の一時記憶領域およびワークメモリとして機能する。 The CPU 0243 of the client computer 0110 controls and performs calculations on each component within the client computer 0110 via the system bus 0246. The CPU 0243 functions as a processing unit that executes each process described below by executing programs stored in the computer-readable storage unit 0245 and loaded into the RAM 0242. The RAM 0242 is a type of general volatile storage device that can be accessed directly by the CPU 0243, and is used as a work area for the CPU 0243 or other temporary data storage area. The storage unit 0244 functions as a temporary storage area and work memory when the client computer is operating.
図3は、印刷装置0101と検査ユニット0106と大容量スタッカ0107の内部構成を示す図である。印刷装置0101は、UIパネル0102を介してユーザの入力を受け付けたり、印刷や機器の状態を表示したりする。給紙デッキ0103及び0104には、各種用紙を収容しておくことが可能である。各給紙デッキでは、収容された用紙の最上位の用紙一枚のみを分離し、用紙搬送パス0305へ搬送することが可能である。0301~0304は現像ステーションであり、カラー画像を形成するために、それぞれY、M、C、Kの有色トナーを用いてトナー像を形成する。ここで形成されたトナー像は中間転写ベルト0306に一次転写される。中間転写ベルト0306は図を時計回りに回転し、0307の二次転写位置で用紙搬送パス0305から搬送されてきた用紙へとトナー像が転写される。定着ユニット0308は加圧ローラーと加熱ローラーを備え、各ローラーの間を用紙が通過することにより、トナーを溶融・圧着することで用紙にトナー像を定着させる。定着ユニット0308を抜けた用紙は用紙搬送パス0309を通って0312へと搬送される。用紙の種類によって定着のためにさらに溶融・圧着が必要な場合は、定着ユニット0308を通過した後、上の用紙搬送パスを使って第二定着ユニット0310へと搬送され、追加の溶融・圧着が施された後、用紙搬送パス0311を通って0312へと搬送される。画像形成モードが両面の場合は、0313の用紙反転パスへと用紙を搬送し、0313で反転した後、両面搬送パス0314へと用紙が搬送され、二次転写位置0307で二面目の画像転写が行われる。 Figure 3 shows the internal configuration of the printing device 0101, inspection unit 0106, and large-capacity stacker 0107. The printing device 0101 accepts user input via the UI panel 0102 and displays printing and device status. The paper feed decks 0103 and 0104 can store various types of paper. Each paper feed deck can separate only the topmost sheet of paper stored and transport it to the paper transport path 0305. 0301 to 0304 are development stations where toner images are formed using Y, M, C, and K color toners, respectively, to form color images. The toner images formed here are primarily transferred to the intermediate transfer belt 0306. The intermediate transfer belt 0306 rotates clockwise in the figure, and the toner image is transferred to the paper transported from the paper transport path 0305 at the secondary transfer position 0307. The fixing unit 0308 is equipped with a pressure roller and a heating roller, and as the paper passes between these rollers, the toner is melted and pressed, fixing the toner image to the paper. After passing through the fixing unit 0308, the paper is transported to 0312 via paper transport path 0309. If further melting and pressing are required for fixing depending on the type of paper, after passing through the fixing unit 0308, the paper is transported to the second fixing unit 0310 using the upper paper transport path, where additional melting and pressing is performed, and then transported to 0312 via paper transport path 0311. If the image formation mode is double-sided, the paper is transported to the paper reversal path 0313, inverted at 0313, and then transported to the double-sided transport path 0314, where the image on the second side is transferred at the secondary transfer position 0307.
検査ユニット0106内にはCIS0315、0316が対向する形で配置される。CIS0315は用紙の上面を、CIS0316は用紙の下面を読み取るためのセンサである。検査ユニット0106は、用紙搬送パス0317に搬送された用紙が所定の位置に到達したタイミングで、CIS0315、0316を用いて用紙をスキャンする。スキャンにより生成された画像は、検査装置I/F0215および検査ユニットI/F0231を介して検査装置0108に送信される。検査装置0108のCPU0226は、当該受信した画像に欠陥があるかどうか判定し、判定した結果を検査ユニットI/F0231および検査装置I/F0215を介して検査ユニット0106に通知する。検査ユニットのCPU0216は、当該受信した判定結果を、アクセサリI/F0214および0220を介して大容量スタッカ0107に通知する。 CISs 0315 and 0316 are arranged facing each other within the inspection unit 0106. CIS 0315 is a sensor for reading the top surface of the paper, and CIS 0316 is a sensor for reading the bottom surface of the paper. The inspection unit 0106 scans the paper using CISs 0315 and 0316 when the paper transported along the paper transport path 0317 reaches a predetermined position. The image generated by the scan is sent to the inspection device 0108 via the inspection device I/F 0215 and inspection unit I/F 0231. The CPU 0226 of the inspection device 0108 determines whether the received image contains defects and notifies the inspection unit 0106 of the determination result via the inspection unit I/F 0231 and inspection device I/F 0215. The inspection unit CPU 0216 notifies the large-capacity stacker 0107 of the received determination result via the accessory I/Fs 0214 and 0220.
大容量スタッカ0107は大容量の用紙を積載することが可能である。大容量スタッカ0107は、用紙を積載するトレイとしてメイントレイ0324を有する。検査ユニット0106を通過した用紙は用紙搬送パス0319を通して大容量スタッカ0107に入る。検査装置0108により正常に印刷されていると判定された用紙は、用紙搬送パス0319から用紙搬送パス0322を経由して、メイントレイ0324に積載されていく。さらに大容量スタッカ0107は、排紙トレイとしてトップトレイ0320を有する。CPU0221は、検査装置0108によって欠陥が検出された用紙をトップトレイ0320に排出するように制御する。トップトレイ0320に出力する場合は、用紙搬送パス0319から用紙搬送パス0321を経由してトップトレイ0320へと用紙が搬送される。0323は用紙を反転するための反転部である。この反転部0323は、用紙をメイントレイ0324に積載する場合に使用される。入ってきた用紙の向きと積載時の用紙の向きが同一となるように、メイントレイ0324に積載する場合には反転部0323で一度用紙を反転させる。トップトレイ0320へ搬送する場合は、積載時にフリップせずにそのまま用紙を排出するため、反転部0323での反転動作は行わない。 The large-capacity stacker 0107 is capable of loading a large volume of paper. It has a main tray 0324 as a tray for loading paper. Paper that has passed through the inspection unit 0106 enters the large-capacity stacker 0107 via paper transport path 0319. Paper that is determined to have been printed correctly by the inspection device 0108 is transported from paper transport path 0319 to paper transport path 0322 and then stacked on the main tray 0324. The large-capacity stacker 0107 also has a top tray 0320 as a paper output tray. The CPU 0221 controls the ejection of paper that has been detected as defective by the inspection device 0108 to the top tray 0320. When outputting to the top tray 0320, the paper is transported from paper transport path 0319 to the top tray 0320 via paper transport path 0321. 0323 is an inversion unit for inverting the paper. This inversion unit 0323 is used when loading paper onto the main tray 0324. When loading paper onto the main tray 0324, the inversion unit 0323 inverts the paper once so that the orientation of the incoming paper is the same as the orientation of the paper when loaded. When transporting paper to the top tray 0320, the paper is discharged as is without being flipped when loaded, so the inversion unit 0323 does not perform an inversion operation.
以下フローチャートと画面の例を用いて、本発明の特徴となる処理について説明する。なお、本フローに係る画像形成装置のプログラムは、画像形成装置0101の記憶部0205に記憶されており、RAM0202に読み出され、CPU0201によって実行される。また、本フローに係る検査装置のプログラムは、検査装置0108の記憶部0228に記憶されており、RAM0227に読み出され、CPU0226によって実行される。また、本フローに係る情報処理装置のプログラムは、情報処理装置0109の記憶部0236に記憶されており、RAM0235に読み出され、CPU0234によって実行される。また、本フローに係るクライアントコンピュータのプログラムは、クライアントコンピュータ0110の記憶部0245に記憶されており、RAM0242に読み出され、CPU0243によって実行される。 The following describes the processing that characterizes this invention using flowcharts and example screens. The image forming apparatus program related to this flow is stored in the memory unit 0205 of the image forming apparatus 0101, read into RAM 0202, and executed by the CPU 0201. The inspection apparatus program related to this flow is stored in the memory unit 0228 of the inspection apparatus 0108, read into RAM 0227, and executed by the CPU 0226. The information processing apparatus program related to this flow is stored in the memory unit 0236 of the information processing apparatus 0109, read into RAM 0235, and executed by the CPU 0234. The client computer program related to this flow is stored in the memory unit 0245 of the client computer 0110, read into RAM 0242, and executed by the CPU 0243.
検査開始前に行うフォント登録作業から、検査対象画像に対する検査までの全体の流れを図4のフローチャートを用いて説明する。 The overall process from font registration before the start of inspection to inspection of the target image is explained using the flowchart in Figure 4.
まず、ステップS401のフォント登録にて、ユーザは登録対象のフォントデータを作成して登録する。登録するフォントデータは、データ検査時に実施する文字認識(OCR)で必要となる文字の字形画像と文字コードとを対応づけたデータである。ここでは、検査装置0108にてフォント登録画像の読み込みを開始しておき、クライアントコンピュータ0110にてフォント登録用の印刷ジョブを実行する。本実施例では、フォント登録用の印刷ジョブとは、検査対象の印刷物で使用されるフォントと同じ字形・サイズのフォントが印刷されるジョブであり、検査対象の印刷物と同じ用紙を用いて印刷するものとする。そして、検査ユニットで当該印刷物を読み取って生成された画像を検査装置に送信する。検査装置は、当該受信した画像内の各文字画像とそれに対応する文字コードとを対応付けたデータを作成することができる。このフォント登録時に、適用すべき文字認識手法の決定も行っておく。詳細については後述する。 First, in font registration in step S401, the user creates and registers font data to be registered. The font data to be registered is data that associates character shape images with character codes, which are required for character recognition (OCR) performed during data inspection. Here, the inspection device 0108 begins reading the font registration image, and the client computer 0110 executes a print job for font registration. In this embodiment, the print job for font registration is a job that prints a font with the same character shape and size as the font used in the printed material to be inspected, and is printed on the same paper as the printed material to be inspected. The inspection unit then reads the printed material and sends the generated image to the inspection device. The inspection device can create data that associates each character image in the received image with its corresponding character code. When registering the font, the character recognition method to be applied is also determined. Details will be described later.
次に、ステップS402にて、ユーザは検査の基準となるリファレンス画像を登録する作業を行う。まず、クライアントコンピュータ0110にてリファレンス画像登録用の印刷ジョブを実行して、印刷された用紙を読み込むことによりリファレンス画像を生成する。そして、検査装置0108は、当該生成されたリファレンス画像を読み込んで登録しておく。なお、印刷ジョブをラスタライズすることにより生成されるRIP画像を、情報処理装置0109やクライアントコンピュータ0110から受け取り、リファレンス画像として用いるようにしてもよい。 Next, in step S402, the user registers a reference image that will serve as the basis for inspection. First, the client computer 0110 executes a print job for registering the reference image and generates a reference image by reading the printed paper. The inspection device 0108 then reads and registers the generated reference image. Note that an RIP image generated by rasterizing the print job may be received from the information processing device 0109 or client computer 0110 and used as the reference image.
次に、ステップS403にて、ユーザは検査設定を行い、各種検査パラメータ、検査領域、検査レベルの設定を行う。詳細は後述する。 Next, in step S403, the user configures the inspection settings, including various inspection parameters, inspection areas, and inspection levels. Details will be described later.
次に、ステップS404にて、画像形成装置0101で印刷された印刷物について、検査装置0108にて検査を行う。すなわち、クライアントコンピュータ0110にて検査対象となる印刷物を生成するための印刷ジョブが生成されて情報処理装置0109に送信されて管理されている。さらに、画像形成装置101がこの印刷ジョブを実行して印刷用紙を出力すると、検査ユニット0106は、当該印刷された用紙の搬送を検知してCIS0315と0316で当該用紙をスキャンし、そのスキャン画像を検査装置0108のRAM303に保存する。検査装置は、当該保存されたスキャン画像をリファレンス画像と比較することにより、正常に印刷されているか否か検査して、検査結果を出力する。なお、検査は検査設定にてユーザに指定された設定値に基づいて実行される。大容量スタッカ0107は、この検査結果に基づいて、欠陥があると判定された印刷用紙を別トレイに排出する。 Next, in step S404, the printout printed by the image forming apparatus 0101 is inspected by the inspection device 0108. That is, a print job for producing the printout to be inspected is generated by the client computer 0110 and sent to the information processing device 0109 for management. Furthermore, when the image forming apparatus 101 executes this print job and outputs printed paper, the inspection unit 0106 detects the transport of the printed paper and scans the paper using the CIS 0315 and 0316, saving the scanned image in the RAM 303 of the inspection device 0108. The inspection device compares the saved scanned image with a reference image to inspect whether the printing was successful and outputs the inspection results. The inspection is performed based on the settings specified by the user in the inspection settings. Based on the inspection results, the large-capacity stacker 0107 ejects printed paper determined to be defective to a separate tray.
次に、S401のフォント登録の詳細について、図5、図6のUIを示す図、および図7のフローチャートを用いて説明する。 Next, details of font registration in S401 will be explained using the UI diagrams in Figures 5 and 6, and the flowchart in Figure 7.
図5は、UIパネル0102に表示され、ユーザからのフォント登録の実行操作を受け付けるフォント登録画面の例である。501は、スキャン画像の読み込み開始ボタンである。502は、文字領域選択ボタンである。ユーザが文字領域選択ボタン502を押下した後に、スキャン画像上に表示されている文字領域を示す枠505をマウスクリックすることで文字領域の選択操作を受け付ける。503は、文字領域配置ボタンである。ユーザが文字領域配置ボタン503を押下した後、プレビュー表示上をマウスドラッグにより選択することで、文字領域の配置操作を受け付ける。ユーザは、フォント登録を行いたい文字が含まれる文字列を含むように文字領域を選択する。504は、スキャン画像がプレビュー表示されるプレビュー表示領域である。505は、プレビュー表示されたスキャン画像上に配置された文字領域を示す枠である。506は、選択中の文字領域中の文字列の方向の設定欄である。507は、文字の切り出しを開始するボタンであり、ユーザによりボタン507が押下されると、配置された文字領域505内から個々の文字の切り出し処理を行って、図6の文字の切り出し画面へ遷移する。508は、フォント登録処理を完了するための完了ボタンである。 Figure 5 is an example of a font registration screen displayed on the UI panel 0102 and accepting a user's operation to register a font. 501 is a button to start reading the scanned image. 502 is a character area selection button. After the user presses the character area selection button 502, the character area selection operation is accepted by clicking with the mouse on the frame 505 indicating the character area displayed on the scanned image. 503 is a character area placement button. After the user presses the character area placement button 503, the character area placement operation is accepted by selecting by dragging the mouse on the preview display. The user selects a character area to include a character string containing the characters for which font registration is desired. 504 is a preview display area in which the scanned image is previewed. 505 is a frame indicating the character area placed on the previewed scanned image. 506 is a setting field for setting the direction of the character string in the selected character area. Button 507 starts character extraction. When the user presses button 507, individual characters are extracted from the arranged character area 505, and the screen transitions to the character extraction screen of Figure 6. Button 508 is a completion button for completing the font registration process.
図6は、UIパネル0102に表示される、文字の切り出し画面である。601は、文字領域の画像と各文字の切り出し位置とをプレビュー表示する画面である。フォント登録画面にてユーザが設定された文字領域のプレビューが表示され、プレビュー上に各文字の切り出し処理結果の座標を示す枠が表示される。602は、登録フォントのフォント名の入力欄である。603は、登録フォントのフォントサイズの入力欄である。604は、文字領域から文字単位で切り出した文字切り画像および、文字切り画像に対応付ける文字(文字コード)を入力するテキストボックスである。605は、登録ボタンである。ユーザにより登録ボタンが押下されると、604の各文字画像と文字コードの対応付け、ならびに、602のフォント名と603のサイズとを保存して、図6の切り出し画面を閉じ、図5のフォント登録画面へ遷移する。 Figure 6 shows the character segmentation screen displayed on the UI panel 0102. Reference numeral 601 denotes a screen that previews an image of the character area and the segmentation position of each character. A preview of the character area set by the user on the font registration screen is displayed, and a frame indicating the coordinates of the segmentation process results for each character is displayed on the preview. Reference numeral 602 denotes an input field for the font name of the registered font. Reference numeral 603 denotes an input field for the font size of the registered font. Reference numeral 604 denotes a text box for inputting character segmentation images segmented character by character from the character area and characters (character codes) to be associated with the character segmentation images. Reference numeral 605 denotes a registration button. When the user presses the registration button, the association between each character image and character code in 604, as well as the font name in 602 and the size in 603, are saved, the segmentation screen in Figure 6 closes, and the screen transitions to the font registration screen in Figure 5.
図7は、検査装置0108に対してフォント登録操作が行われたときの、検査装置0108において実行される処理を示すフローチャートである。UIパネル0102に表示されたフォント登録画面および文字の切り出し画面から操作を受け、CPU0226が検査設定を行うための各種処理を実行する。 Figure 7 is a flowchart showing the processing executed by the inspection device 0108 when a font registration operation is performed on the inspection device 0108. In response to operations on the font registration screen and character extraction screen displayed on the UI panel 0102, the CPU 0226 executes various processes to set up the inspection.
S701にて、CPU0226は、フォント登録画面から、スキャン画像の読み込み開始操作を受け付ける。本実施例では、スキャン画像の読み込み開始操作とは、ユーザによるスキャン画像の読み込み開始ボタン501の押下である。CPU0226は、スキャン画像の読み込み開始ボタン501の押下を受け付けると、印刷物のスキャン画像の受信待ち状態に移行する。以降、印刷ジョブを実行すると、検査ユニット0106でスキャンした画像がフォント登録画面に読み込まれることになる。 At S701, the CPU 0226 accepts an operation to start reading a scanned image from the font registration screen. In this embodiment, the operation to start reading a scanned image is the user pressing the scan image reading start button 501. When the CPU 0226 accepts the pressing of the scan image reading start button 501, it transitions to a state in which it waits to receive a scanned image of the printed material. Thereafter, when a print job is executed, the image scanned by the inspection unit 0106 is read into the font registration screen.
S702にて、ユーザは、クライアントコンピュータ0110にてフォント登録用の印刷ジョブを実行させる。検査装置0108のCPU0226は、検査ユニット0106でスキャンした印刷物の画像を、検査装置I/F0215と検査ユニットI/F0231とを介して検査ユニット0106から受信する。その後、CPU0226は、フォント登録画面のプレビュー表示画面504にスキャン画像を表示する。 In S702, the user executes a print job for font registration on the client computer 0110. The CPU 0226 of the inspection device 0108 receives an image of the printout scanned by the inspection unit 0106 from the inspection unit 0106 via the inspection device I/F 0215 and the inspection unit I/F 0231. The CPU 0226 then displays the scanned image on the preview display screen 504 of the font registration screen.
S703にて、CPU0226は、印刷物のスキャン画像の受信待ち状態を終了する。 At S703, the CPU 0226 ends the wait state for receiving the scanned image of the printed material.
S704にて、CPU0226は、フォント登録画面から、文字領域の設定操作を受け付ける。ユーザは、読み込んだ画像のプレビュー上で、文字領域選択ボタン502と文字領域配置ボタン503と文字列の方向の設定欄506とを用いて、文字領域を設定する。 At S704, the CPU 0226 accepts a character area setting operation from the font registration screen. The user sets the character area on the preview of the loaded image using the character area selection button 502, character area placement button 503, and character string direction setting field 506.
S705にて、CPU0226は、フォント登録画面から、文字の切り出し操作を受け付ける。本実施例では、文字の切り出し操作とは、文字の切り出しを開始するボタン507のユーザによる押下である。文字の切り出しを開始するボタン507の押下を受け付けると、CPU0226は、前記設定された文字領域内から個々の文字の切り出し処理を実行し、文字の切り出し画面へ遷移する。文字の切り出し処理とは、例えば、文字領域の画像に対して画素値のヒストグラムを算出し、この画素値のヒストグラムが突出した領域を文字切り画像として切り出す処理である。この文字の切り出し方法は一例であり、他の手法を用いて、各文字画像を抽出するようにしてもよい。 At S705, the CPU 0226 accepts a character segmentation operation from the font registration screen. In this embodiment, the character segmentation operation is the user pressing button 507, which starts character segmentation. Upon accepting the pressing of button 507, which starts character segmentation, the CPU 0226 executes segmentation of individual characters from within the set character area and transitions to the character segmentation screen. The character segmentation process is, for example, a process of calculating a pixel value histogram for the image of the character area and segmenting the area where this pixel value histogram stands out as a character segmentation image. This character segmentation method is one example, and other methods may be used to extract each character image.
S706にて、CPU0226は、文字の切り出し画面において、S705で切り出された各文字切り画像について、対応付ける文字(文字コード)の入力操作を受け付ける。本実施例では、ユーザはテキストボックス604にて文字(文字コード)の入力を行う。 In S706, the CPU 0226 accepts, on the character extraction screen, an input operation for the character (character code) to be associated with each character extraction image extracted in S705. In this embodiment, the user inputs the character (character code) in the text box 604.
S707にて、CPU0226は、文字の切り出し画面において、フォント名とフォントサイズの入力操作を受け付ける。フォント名とフォントサイズの入力操作とは、ユーザによる登録フォントのフォント名の入力欄602およびフォントサイズの入力欄603の入力操作である。 At S707, the CPU 0226 accepts input of the font name and font size on the character extraction screen. The input of the font name and font size is input by the user into the input field 602 for the font name of the registered font and the input field 603 for the font size.
S708にて、CPU0226は、現在登録中のフォントを用いて文字認識を実行する時に、精度重視の文字認識処理を実行するか、速度重視の文字認識処理を実行するかを決定する。本実施例では、S707にて受信したフォントサイズが規定値より小さい場合は精度重視の文字認識処理を実行すると決定し、大きい場合は速度重視の文字認識処理を実行すると決定する。フォントサイズが大きい文字は、速度重視の文字認識処理であっても認識精度がよい傾向があるためである。なお、実行する文字認識処理の手法の決定方法は一例であり、本実施例で示した他にも様々な形態がある。例えば、文字の切り出し画像の解像度、登録文字数、文字色、フォント名などを用いて決定しても良い。この決定を、検査処理中ではなくフォント登録処理中に行うことで、検査処理中のオーバーヘッドを軽減することができる。また、このタイミングで、決定した文字認識処理に応じた初期化処理も実行しておけば、検査処理中のオーバーヘッドをさらに軽減できる。文字認識処理に応じた初期化処理とは例えば、インスタンス生成処理である。 At S708, the CPU 0226 determines whether to perform character recognition processing that prioritizes accuracy or that prioritizes speed when performing character recognition using the currently registered font. In this embodiment, if the font size received at S707 is smaller than a specified value, it determines to perform character recognition processing that prioritizes accuracy; if it is larger, it determines to perform character recognition processing that prioritizes speed. This is because characters with larger font sizes tend to have better recognition accuracy even when using character recognition processing that prioritizes speed. Note that the method of determining the character recognition processing method to be performed is just one example, and there are various other methods besides the one shown in this embodiment. For example, the determination may be made using the resolution of the extracted character image, the number of registered characters, the character color, the font name, etc. Making this determination during the font registration process rather than during the inspection process can reduce overhead during the inspection process. Furthermore, if initialization processing corresponding to the determined character recognition process is also performed at this time, overhead during the inspection process can be further reduced. An example of initialization processing corresponding to the character recognition process is instance generation processing.
S709にて、CPU0226は、現在登録中のフォントを用いて文字認識を実行する前の前処理で使用するパラメータを算出する。前処理で使用するパラメータとは、例えば、スキャン画像を二値化するときに用いる二値化閾値である。このパラメータの算出を、検査処理中ではなくフォント登録処理中に行うことで、検査処理中のオーバーヘッドを軽減することができる。 In S709, the CPU 0226 calculates parameters to be used in pre-processing before performing character recognition using the currently registered font. Parameters to be used in pre-processing are, for example, binarization thresholds used when binarizing a scanned image. By calculating these parameters during the font registration process rather than during the inspection process, overhead during the inspection process can be reduced.
S710にて、CPU0226は、文字の切り出し画面から、登録操作を受け付ける。本実施例では、登録操作とは、ユーザによる登録ボタン605の押下である。その後CPU0226は、フォント名、フォントサイズ、文字の切り出し画像、対応付けられた文字コード、使用する文字認識処理の手法、前処理パラメータを、登録フォントデータとして記憶部0228に保存し、フォント登録処理を終了する。すなわち、フォントデータに対して、適用すべき文字認識処理の手法や前処理パラメータを関連付けて登録する。 At S710, the CPU 0226 accepts a registration operation from the character extraction screen. In this embodiment, the registration operation is the user pressing the registration button 605. The CPU 0226 then saves the font name, font size, character extraction image, associated character code, character recognition processing method to be used, and pre-processing parameters as registration font data in the memory unit 0228, and terminates the font registration process. In other words, the font data is registered in association with the character recognition processing method and pre-processing parameters to be applied.
次に、検査設定の詳細について、図8、図9のUIを示す図、および図10のフローチャートを用いて説明する。検査設定は、リファレンス登録にて登録したリファレンス画像(基準となる画像)を選択して開始する。 Next, the details of the inspection settings will be explained using the UI diagrams in Figures 8 and 9, and the flowchart in Figure 10. Inspection settings begin by selecting a reference image (a standard image) registered during reference registration.
図8、図9は、UIパネル0102に表示され、ユーザからの検査設定の実行操作を受け付ける検査設定画面の例である。検査設定画面では、ユーザはプレビュー表示されたリファレンス画像の上で検査領域の位置を指定し、さらに、各検査領域に対して個別に設定を行う。 Figures 8 and 9 show examples of the inspection setting screen displayed on the UI panel 0102, which accepts the user's operation to execute the inspection settings. On the inspection setting screen, the user specifies the position of the inspection area on the preview-displayed reference image, and then makes individual settings for each inspection area.
801は、リファレンス画像がプレビュー表示されるプレビュー表示画面である。当該リファレンス画像が複数ページの印刷ジョブに基づいて生成されていた場合は、プレビュー表示されるリファレンス画像を切り替える操作に応じて、各ページのリファレンス画像を順次表示させることもできる。 Reference numeral 801 denotes a preview display screen on which a reference image is displayed as a preview. If the reference image was generated based on a multi-page print job, the reference image for each page can be displayed sequentially by switching the reference image displayed as a preview.
802、803は、プレビュー上に配置された検査領域を示す枠である。検査領域は検査領域配置ボタン805によって配置され、ユーザによるマウスドラッグ操作により大きさと位置を変更することができる。802は、絵柄検査領域を配置した例を示している。803は、文字列検査領域を配置した例を示している。 Reference numerals 802 and 803 indicate frames that indicate inspection areas placed on the preview. Inspection areas are placed using the inspection area placement button 805, and the user can change their size and position by dragging the mouse. Reference numeral 802 shows an example of a pattern inspection area. Reference numeral 803 shows an example of a character string inspection area.
804は、検査領域選択ボタンである。ユーザが検査領域選択ボタン804を押下した後に検査領域を示す枠802、803をマウスクリックすることで検査領域の選択操作を受け付ける。 804 is an inspection area selection button. After the user presses the inspection area selection button 804, the user can select the inspection area by clicking the frames 802 and 803 that indicate the inspection area with the mouse.
805は、検査領域配置ボタンである。ユーザが検査領域配置ボタン805を押下した後、表示されるプルダウンメニューから検査領域のタイプを選択し、その後プレビュー表示上の検査領域に指定したい領域をマウスドラッグにより選択することで、検査領域の配置操作を受け付ける。 805 is the inspection area placement button. After the user presses the inspection area placement button 805, they select the type of inspection area from the pull-down menu that appears, and then drag the mouse to select the area they want to specify as the inspection area on the preview display, thereby accepting the placement operation for the inspection area.
806は、照合検査のデータをファイル選択方式によって選択する設定項目である。照合検査のデータとはデータ検査を行う際に照合するデータ検査用のリファレンスCSVファイルである。リファレンスCSVファイルはユーザ側があらかじめ用意しておくべきファイルであり、文字列検査用の正解文字列、およびバーコード検査用のデコード時の正解文字列を列挙したファイルである。すなわち、読み取った文字列の内容や、コード画像(バーコード及び2次元コード)のデコード内容を検査するためのデータ検査実行時に、文字列検査領域内の文字列画像のOCR結果、およびコード画像をデコードした結果の文字列を、リファレンスCSVファイルに列挙した正解文字列と照合する。 806 is a setting item for selecting data for comparison testing using a file selection method. Comparison testing data is a reference CSV file for data testing that is compared when performing a data test. The reference CSV file is a file that the user must prepare in advance, and is a file that lists the correct strings for string testing and the correct strings when decoded for barcode testing. In other words, when performing a data test to check the contents of a scanned string or the decoded contents of a code image (barcode or 2D code), the OCR results of the string image in the string testing area and the string resulting from decoding the code image are compared with the correct strings listed in the reference CSV file.
807は、選択中の領域の設定項目であり、検査領域選択ボタン505を押下した後に選択した検査領域についての個別の設定値が表示される。 807 is the setting item for the selected area, and individual setting values for the inspection area selected after pressing the inspection area selection button 505 are displayed.
808は、ページの範囲の設定項目である。ユーザが各ボタンを押下することで、選択中の検査領域によって検査が実行されるページの範囲の指定操作を受け付ける。何も選択されていない場合は、プレビュー表示画面に現在表示されているページにのみ選択中の検査領域が配置される。「現在のページと同じ面」が選択されている場合、選択中の検査領域がシートの表面又は裏面のどちらに配置されているかに応じて、同じ面(表面または裏面)の他のページにも選択中の検査領域を配置する。「全てのページ」が選択されている場合、表面・裏面のいずれにも関わらず、すべてのページに選択中の検査領域を配置する。 808 is the page range setting item. By pressing each button, the user can specify the range of pages on which inspection will be performed using the selected inspection area. If nothing is selected, the selected inspection area will be placed only on the page currently displayed on the preview display screen. If "Same side as current page" is selected, the selected inspection area will also be placed on other pages on the same side (front or back) depending on whether the selected inspection area is placed on the front or back of the sheet. If "All pages" is selected, the selected inspection area will be placed on all pages, regardless of whether they are on the front or back.
図8の809および図9の901は、検査領域のタイプごとの設定項目であり、検査領域選択ボタン804によって選択された検査領域のタイプに応じた設定項目が表示される。 809 in Figure 8 and 901 in Figure 9 are setting items for each type of inspection area, and setting items corresponding to the type of inspection area selected using the inspection area selection button 804 are displayed.
図8の809は、絵柄検査領域802が選択された時に表示される絵柄検査の設定項目である。絵柄検査の設定項目とは、印刷物を検査する際に、どのような欠陥を検査するかの項目や、どれくらいの微細な欠陥を検出するかのレベル等である。絵柄検査の設定項目とは、印刷物を検査する際に、どのような欠陥を検査するかの項目や、どれくらいの微細な欠陥を検出するかのレベル等である。検査項目とは、例えば、丸い形状の欠陥(以下ではポチと呼ぶ)や、線状の欠陥(以下ではスジと呼ぶ)のことである。検査レベルとは、例えば、レベル1からレベル5の5段階があり、レベル1よりレベル5の方が、より薄く小さいサイズの欠陥まで検出することができる。また、ポチは検査レベル5で、スジは検査レベル4のように、検査項目それぞれにレベルを設定することができる。 In Figure 8, 809 indicates the pattern inspection setting items that are displayed when the pattern inspection area 802 is selected. The pattern inspection setting items include items such as what type of defects are inspected when inspecting printed matter and the level at which minute defects can be detected. The pattern inspection setting items include items such as what type of defects are inspected when inspecting printed matter and the level at which minute defects can be detected. Inspection items include, for example, round defects (hereinafter referred to as "dots") and linear defects (hereinafter referred to as "streaks"). There are five inspection levels, for example, from level 1 to level 5, with level 5 being able to detect thinner and smaller defects than level 1. In addition, a level can be set for each inspection item, such as inspection level 5 for dots and level 4 for streaks.
図9の901は、文字列検査領域803が選択された時に表示される文字列検査の設定項目である。検査領域ごとに、検査領域の角度、文字列のフォント、照合検査を実行するかどうか、照合検査を実行する場合にリファレンスCSVのどの列と照合を行うかを設定する。当該検査領域で使用される文字列のフォントを選択する項目を表示し、ユーザからのフォントの選択を受け付ける。S401で登録済みのフォントを選択して、所望の検査領域に当該選択されたフォントの情報を関連づけて保存することができる。 901 in Figure 9 is the setting item for the string inspection that is displayed when the string inspection area 803 is selected. For each inspection area, you can set the angle of the inspection area, the font of the string, whether to perform a comparison inspection, and which column in the reference CSV to compare with if a comparison inspection is performed. An item for selecting the font of the string to be used in the inspection area is displayed, and the font selection from the user is accepted. A font that was registered in S401 can be selected and the information of the selected font can be associated with the desired inspection area and saved.
810は、検査設定の完了ボタンである。ユーザが完了ボタンを押下することで、検査設定を完了し、設定を記憶部0228に保存して検査設定処理を終了する。設定に不整合がある場合は、検査設定の完了ボタン810を無効化して押下できないようにしても良い。設定の不整合とは例えば、照合検査を実行する検査領域が存在するが、照合検査のデータの設定項目806が設定されていないことが挙げられる。811は、検査設定のキャンセルボタンである。ユーザが押下することで、設定を破棄して検査設定処理を終了する。 810 is the test setting completion button. When the user presses the completion button, the test setting is completed, the settings are saved in the memory unit 0228, and the test setting process ends. If there is an inconsistency in the settings, the test setting completion button 810 may be disabled so that it cannot be pressed. An example of a setting inconsistency is when an inspection area exists for performing a comparison test, but the setting item 806 for the comparison test data has not been set. 811 is the test setting cancellation button. When the user presses it, the settings are discarded and the test setting process ends.
図10は、検査装置0108に対して検査設定開始操作が行われたときの、検査装置0108における処理を示す図である。UIパネル0102に表示された検査設定画面から操作を受け、検査装置0108のCPU0226が検査設定を行うための各種処理を実行する。 Figure 10 shows the processing in the inspection device 0108 when an inspection setting start operation is performed on the inspection device 0108. In response to an operation on the inspection setting screen displayed on the UI panel 0102, the CPU 0226 of the inspection device 0108 executes various processes to set up the inspection.
S1001にて、CPU0226は、検査設定画面から、照合検査のデータの設定操作を受け付ける。本実施例では、照合検査のデータの設定操作とは、ユーザによる照合検査のデータの設定項目507の操作である。 In S1001, the CPU 0226 accepts a setting operation for the verification test data from the test setting screen. In this embodiment, the setting operation for the verification test data is an operation by the user on the setting item 507 for the verification test data.
S1002にて、CPU0226は、検査設定画面から、検査領域の配置操作を受け付ける。本実施例では、検査領域の配置操作とは、ユーザによる検査領域配置ボタン805の操作である。 In S1002, the CPU 0226 accepts an inspection area placement operation from the inspection setting screen. In this embodiment, the inspection area placement operation is the user's operation of the inspection area placement button 805.
S1003にて、CPU0226は、検査設定画面から、検査領域の選択操作を受け付ける。本実施例では、検査領域の選択操作とは、ユーザにより検査領域選択ボタン804が押下され、プレビュー表示領域内に配置されている検査領域のいずれかを選択する操作である。 In S1003, the CPU 0226 accepts an inspection area selection operation from the inspection setting screen. In this embodiment, the inspection area selection operation is an operation in which the user presses the inspection area selection button 804 and selects one of the inspection areas arranged in the preview display area.
S1004にて、CPU0226は、検査設定画面から、検査領域のタイプごとの設定操作を受け付ける。本実施例では、検査領域ごとの設定操作とは、ユーザによる検査領域のタイプごとの設定項目の操作(図8の809、図9の901の各設定項目の設定操作)である。 In S1004, the CPU 0226 accepts setting operations for each type of inspection area from the inspection setting screen. In this embodiment, setting operations for each inspection area refer to the user's operation of the setting items for each type of inspection area (setting operations for each setting item 809 in Figure 8 and 901 in Figure 9).
S1005にて、CPU0226は、検査設定の完了を指示する完了ボタン810をユーザが押下したか判断し、完了ボタンが押下された場合はS1006に進む。検査設定が完了していない場合、S1003に戻ってユーザは検査設定を続行する。 In S1005, the CPU 0226 determines whether the user has pressed the Complete button 810, which indicates completion of the test settings, and if the Complete button has been pressed, proceeds to S1006. If the test settings are not complete, the process returns to S1003 and the user continues setting up the test.
S1006にて、CPU0226は、設定を記憶部0228に保存し、検査設定処理を終了する。 At S1006, the CPU 0226 saves the settings in the memory unit 0228 and ends the test setting process.
次に、検査の詳細について、図11のフローチャートを用いて説明する。検査装置0108のCPU0226が検査を行うための各種処理を実行する。 Next, the details of the inspection will be explained using the flowchart in Figure 11. The CPU 0226 of the inspection device 0108 executes various processes to perform the inspection.
S1101にて、CPU0226は、記憶部0228からRAM0227に検査設定を読み込み、検査対象の印刷物のスキャン画像の受信待ち状態に移行する。以降、印刷ジョブを実行すると、検査ユニット0106から送信されたスキャン画像を検査対象として処理可能になる。 At S1101, the CPU 0226 loads the inspection settings from the memory unit 0228 into the RAM 0227 and transitions to a state where it waits to receive a scanned image of the printout to be inspected. After this, when a print job is executed, the scanned image sent from the inspection unit 0106 can be processed as the inspection target.
S1102にて、ユーザはクライアントコンピュータ0110にて検査対象の印刷ジョブの実行を指示し、画像形成装置は当該印刷ジョブに基づいて印刷を実行する。CPU0226は、検査ユニット0106で検査対象となる印刷物をスキャンして生成した画像を、検査装置I/F0215および検査ユニットI/F0231を介して受信する。 In S1102, the user instructs the client computer 0110 to execute the print job to be inspected, and the image forming device executes printing based on the print job. The CPU 0226 receives the image generated by scanning the printout to be inspected by the inspection unit 0106 via the inspection device I/F 0215 and the inspection unit I/F 0231.
S1103にて、CPU0226は、S1102で検査ユニット0106から受信したスキャン画像内から、S1101で読み込んだ検査設定により指定されている検査領域の画像を切り出して取得する。 In S1103, the CPU 0226 cuts out and acquires an image of the inspection area specified by the inspection settings read in S1101 from the scanned image received from the inspection unit 0106 in S1102.
S1104にて、CPU0226は、S1103で取得した検査領域について、S1101で読み込んだ検査設定において絵柄検査に設定された領域か、文字列検査に設定された領域か判定する。絵柄検査領域の場合はS1105に進み、文字列検査領域の場合はS1106に進む。 In S1104, the CPU 0226 determines whether the inspection area acquired in S1103 is an area set for pattern inspection or for character string inspection in the inspection settings loaded in S1101. If it is a pattern inspection area, the process proceeds to S1105; if it is a character string inspection area, the process proceeds to S1106.
S1105にて、CPU0226は、S1103で取得した検査領域の画像と、当該領域に印刷されるべき絵柄のリファレンス画像とを比較することにより、印刷された絵柄に欠陥がないかどうかの検査を行う。差分が検出された場合は印刷物に欠陥が存在すると判断して該検査領域の検査結果をNGとし、差分が検出されなかった(もしくは差分が許容範囲内である)場合は検査結果をOKとする。 In S1105, the CPU 0226 compares the image of the inspection area acquired in S1103 with a reference image of the image to be printed in that area to inspect whether there are any defects in the printed image. If a difference is detected, it is determined that a defect exists in the printed matter and the inspection result for that inspection area is NG; if no difference is detected (or the difference is within the allowable range), the inspection result is OK.
S1106にて、CPU0226は、文字列検査を行う検査領域に対して下地飛ばしや二値化といった前処理を実行する。文字列検査の検査領域に対しては、図9で説明したように、フォントの情報が設定されている。そこで、この前処理では、当該検査領域に設定されているフォントの情報と、事前に図7のS709で登録フォントデータに関連付けて保存されている前処理パラメータとに基づいて、使用する前処理パラメータを決定することができる。これにより、検査を実行する際に、画像を解析して前処理パラメータを算出する必要がなくなり、検査処理中のオーバーヘッドを軽減することができる。 At S1106, the CPU 0226 performs preprocessing such as background removal and binarization on the inspection area where the string inspection will be performed. Font information is set for the inspection area for the string inspection, as described in Figure 9. Therefore, in this preprocessing, the preprocessing parameters to be used can be determined based on the font information set for the inspection area and the preprocessing parameters that were previously saved in association with the registered font data in S709 of Figure 7. This eliminates the need to analyze the image and calculate the preprocessing parameters when performing the inspection, reducing overhead during the inspection process.
S1107にて、CPU0226は、事前に登録フォントデータに関連付けて保存されている文字認識処理の手法が、速度重視か精度重視かを判定する。ここでは、事前に検査領域に対して図9で設定したフォントの情報と、事前に登録フォントデータに対して図7のS708で関連づけた文字認識処理の手法の情報とに基づいて、速度重視の文字認識処理を適用するか、精度重視の文字認識処理を適用するかを判定する。したがって、検査領域の画像を解析することによって文字認識処理手法を決める必要が無いため、検査処理中のオーバーヘッドを軽減することができる。速度重視の場合はS1108に進み、精度重視の場合はS1109に進む。 In S1107, the CPU 0226 determines whether the character recognition processing method previously stored in association with the registered font data prioritizes speed or accuracy. Here, the CPU 0226 determines whether to apply speed-oriented character recognition processing or accuracy-oriented character recognition processing based on the font information previously set for the inspection area in FIG. 9 and the character recognition processing method information previously associated with the registered font data in S708 of FIG. 7. Therefore, since there is no need to analyze the image of the inspection area to determine the character recognition processing method, overhead during inspection processing can be reduced. If speed is prioritized, proceed to S1108; if accuracy is prioritized, proceed to S1109.
S1108にて、CPU0226は、当該検査領域に対して設定されている登録フォントデータを用いて、速度重視の文字認識処理を当該検査領域の画像に実行する。 At S1108, the CPU 0226 performs speed-focused character recognition processing on the image of the inspection area using the registered font data set for the inspection area.
S1109にて、CPU0226は、当該検査領域に対して設定されている登録フォントデータを用いて、精度重視の文字認識処理を当該検査領域の画像に実行する。 At S1109, the CPU 0226 performs precision-focused character recognition processing on the image of the inspection area using the registered font data set for the inspection area.
S1110にて、CPU0226は、リファレンスCSVファイルに記載されている文字列と、S1108またはS1109で得た文字認識結果との照合を行う。照合の結果、不一致であった場合は、当該検査領域の検査結果をNGとし、一致していた場合は当該検査領域の検査結果をOKとする。 In S1110, the CPU 0226 compares the character string written in the reference CSV file with the character recognition results obtained in S1108 or S1109. If the comparison results in a mismatch, the inspection result for that inspection area is deemed NG; if the comparison results in a match, the inspection result for that inspection area is deemed OK.
S1111にて、CPU0226は、検査設定に指定されている検査領域に対する検査が完了したかを判断する。完了した場合はS1112に進み、完了していない場合はS1103に進む。 In S1111, the CPU 0226 determines whether inspection of the inspection area specified in the inspection settings has been completed. If it has been completed, proceed to S1112; if it has not been completed, proceed to S1103.
S1112にて、CPU0226は、検査の結果を判断する。スキャン画像中の全検査領域の検査OKであればS1113に進み、1つでも検査NGがあればS1114に進む。 In S1112, the CPU 0226 determines the results of the inspection. If the inspection of all inspection areas in the scanned image is successful, proceed to S1113; if the inspection of even one area is unsuccessful, proceed to S1114.
S1113にて、CPU0226は、大容量スタッカ0107に対して検査OKの印刷物を大容量スタッカ0107の排紙部0223のメイントレイに出力するように指示する。 At S1113, the CPU 0226 instructs the large-capacity stacker 0107 to output printed materials that passed inspection to the main tray of the paper output unit 0223 of the large-capacity stacker 0107.
S1114にて、CPU0226は、大容量スタッカ0107に対して検査NGの印刷物を大容量スタッカ0107の排紙部0223のトップトレイに出力するように指示する。 At S1114, the CPU 0226 instructs the large-capacity stacker 0107 to output the printouts that failed inspection to the top tray of the paper output unit 0223 of the large-capacity stacker 0107.
S1115にて、CPU0226は、検査対象の印刷物すべての検査が完了したかどうかを判断する。完了していない場合はS1102に進み、完了した場合はS1116に進む。 In S1115, the CPU 0226 determines whether inspection of all printed materials to be inspected has been completed. If not, proceed to S1102; if completed, proceed to S1116.
S1116にて、CPU0226は、印刷物のスキャン画像の受信待ち状態を終了する。その後、CPU0226は検査処理を終了する。 At S1116, the CPU 0226 ends the wait state for receiving the scanned image of the printed material. The CPU 0226 then ends the inspection process.
以上説明したように、本実施例によると、フォントデータを登録する際に、登録対象のフォントサイズの文字画像に対して適用すべき文字認識処理の情報と前処理の情報とを当該フォントデータに関連付けて登録しておく(図7のS708~S710)。また、文字列の検査領域を設定する際には、当該検査領域に印字されるフォントの情報を設定しておく(図9の901)。これにより、印刷物をスキャンして印刷品質を検査するために文字列検査を行う場合に、適用すべき前処理や文字認識処理手法を簡単に決定できる(図11のS1106~S1109)ので、検査速度および精度を向上することができる。また、検査に先立って文字認識方法やパラメータの組み合わせに応じてインスタンスを個別に生成、初期化しておけば、さらにオーバーヘッドを改善できる。 As described above, according to this embodiment, when font data is registered, information on the character recognition process and preprocessing to be applied to the character image of the font size to be registered are associated with the font data and registered (S708-S710 in FIG. 7). Furthermore, when a character string inspection area is set, information on the font to be printed in the inspection area is set (901 in FIG. 9). This makes it easy to determine the preprocessing and character recognition processing method to be applied when scanning a printed material to inspect the print quality, thereby improving inspection speed and accuracy. Furthermore, overhead can be further reduced by individually generating and initializing instances according to the character recognition method and parameter combination prior to inspection.
〔第2の実施形態〕
第2の実施形態では図12を用いて、検査領域の設定を行う際に、適用する文字認識処理も決定して保存しておく例について説明する。なお、実施形態1の図10との共通の部分は省略して説明をする。
Second Embodiment
In the second embodiment, an example in which the character recognition processing to be applied is also determined and saved when the inspection area is set will be described with reference to Fig. 12. Note that the description will omit parts common to Fig. 10 of the first embodiment.
図12は、検査装置0108に対して検査設定開始操作が行われたときの、検査装置0108における第2の実施形態の処理を示す図である。UIパネル0102に表示された検査設定画面から操作を受け、CPU0226が検査設定を行うための各種処理を実行する。 Figure 12 shows the processing of the second embodiment in the inspection device 0108 when an inspection setting start operation is performed on the inspection device 0108. In response to an operation on the inspection setting screen displayed on the UI panel 0102, the CPU 0226 executes various processes for setting up the inspection.
S1001~S1004の処理は、前述した図10の説明と同様であるので、詳細な説明を省略する。 The processing of steps S1001 to S1004 is the same as that described above in Figure 10, so detailed description will be omitted.
S1201にて、CPU0226は、S1003で選択された検査領域のタイプが文字列検査領域であるか判定し、文字列検査領域である場合はS1202に進み、文字列検査領域以外である場合は、S1005に進む。 In S1201, the CPU 0226 determines whether the type of inspection area selected in S1003 is a string inspection area, and if it is a string inspection area, proceeds to S1202; if it is not a string inspection area, proceeds to S1005.
S1202にて、CPU0226は、現在設定中の文字列検査領域に対して適用すべき文字認識処理が、精度重視の文字認識処理であるか、速度重視の文字認識処理であるかを決定する。本実施例では、リファレンス画像上に設定した文字列検査領域内に印刷されている文字のサイズ(または文字の画素数)が規定値より小さい場合は精度重視の文字認識処理を実行すると決定し、規定値以上である場合は速度重視の文字認識処理を実行すると決定する。実行する文字認識の決定方法は一例であり、本実施例で示した他にも様々な形態がある。この文字認識処理の決定を、検査領域の設定中に行うことで、その後の検査処理中のオーバーヘッドを軽減することができる。決定した文字認識方法は、S1006にて検査設定として記憶部0228に保存する。 In S1202, the CPU 0226 determines whether the character recognition process to be applied to the currently set character string inspection area is character recognition process that emphasizes accuracy or character recognition process that emphasizes speed. In this embodiment, if the size of the characters (or the number of pixels of the characters) printed in the character string inspection area set on the reference image is smaller than a specified value, it determines to perform character recognition process that emphasizes accuracy, and if it is equal to or greater than the specified value, it determines to perform character recognition process that emphasizes speed. The method of determining the character recognition to be performed is just one example, and there are various other forms in addition to the one shown in this embodiment. By determining this character recognition process while setting the inspection area, it is possible to reduce overhead during subsequent inspection processing. The determined character recognition method is saved in the memory unit 0228 as an inspection setting in S1006.
S1203にて、CPU0226は、現在設定中の文字列検査領域に対して文字認識を実行する時に前処理で使用するパラメータを算出する。前処理で使用するパラメータとは例えば、スキャン画像における下地部分の輝度や、二値化閾値である。この算出を、検査処理中ではなく検査領域の設定中に行うことで、その後の検査処理中のオーバーヘッドを軽減することができる。また、このタイミングで、決定した文字認識処理に応じた初期化処理を実行しておくことで、検査処理中のオーバーヘッドを軽減できる。算出した前処理に使用するパラメータは、S1006にて検査設定として記憶部0228に保存する。 In S1203, the CPU 0226 calculates parameters to be used in preprocessing when performing character recognition on the currently set character string inspection area. Parameters to be used in preprocessing include, for example, the brightness of the background part in the scanned image and the binarization threshold. By performing this calculation while the inspection area is being set rather than during the inspection process, it is possible to reduce overhead during subsequent inspection processes. Furthermore, by performing initialization processing according to the determined character recognition processing at this time, it is possible to reduce overhead during inspection processes. The calculated parameters to be used in preprocessing are saved in the memory unit 0228 as inspection settings in S1006.
以上の手順により、本実施例によると、文字認識処理の決定および文字認識処理に応じた初期化処理を検査に先立って行うことにより、検査中のオーバーヘッドを改善し、検査速度および精度を向上することができる。 By following the above steps, in this embodiment, the character recognition process is determined and initialization processing corresponding to the character recognition process is performed prior to testing, thereby reducing overhead during testing and improving testing speed and accuracy.
〔その他の実施例〕
また、本発明は、以下の処理を実行することによっても実現される。その処理は、上述した実施例の機能を実現させるソフトウェア(プログラム)を、ネットワーク又はコンピュータ読取可能な記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを実行する、というものである。
Other Examples
The present invention can also be realized by executing the following process: software (program) that realizes the functions of the above-described embodiments is supplied to a system or device via a network or a computer-readable storage medium, and the computer (or CPU, MPU, etc.) of the system or device executes the program.
Claims (17)
前記検査手段による前記検査を実行する前に、フォントと文字認識処理の手法とを関連づけて登録する登録手段と、
文字列の検査を行う検査領域と前記検査領域で使用されるフォントとを設定する設定手段と、を有し、
前記検査手段は、前記設定手段で設定された前記検査領域で使用されるフォントと、前記登録手段で当該フォントに関連付けられた文字認識処理の手法とに基づいて、前記検査領域に対して適用すべき文字認識処理の手法を判定し、当該判定した文字認識処理の手法を用いて、前記読取画像内の前記検査領域に対応する画像の文字認識処理を行う
ことを特徴とする検査装置。 An inspection device having an inspection means for inspecting a read image obtained by reading an image on a recording material conveyed from a conveying means that receives the recording material on which an image has been printed from a printing device that has printed the image on the recording material, the read image being read by a reading unit, the read image being conveyed from the recording material,
a registration means for registering a font and a character recognition processing method in association with each other before the inspection is performed by the inspection means ;
a setting means for setting an inspection area in which a character string is inspected and a font to be used in the inspection area ;
The inspection device is characterized in that the inspection means determines a character recognition processing method to be applied to the inspection area based on the font used in the inspection area set by the setting means and the character recognition processing method associated with the font by the registration means, and performs character recognition processing on an image in the read image corresponding to the inspection area using the determined character recognition processing method.
前記検査手段は、前記設定手段で設定された前記検査領域で使用されるフォントと、前記登録手段で当該フォントに関連付けられた文字認識処理の手法と前記前処理の情報とに基づいて、前記読取画像内の前記検査領域に対応する画像に対し前記フォントに関連付けられた前処理を実行し、前記判定した文字認識処理の手法を用いて、前記前処理を実行した後の前記読取画像内の前記検査領域に対応する画像の文字認識処理を行う、ことを特徴とする請求項1に記載の検査装置。 the registration means registers the font, the character recognition processing method, and information on pre-processing executed before the character recognition processing in association with each other;
The inspection device described in claim 1, characterized in that the inspection means performs pre-processing associated with the font on an image corresponding to the inspection area in the read image based on the font used in the inspection area set by the setting means, the character recognition processing method associated with the font by the registration means, and the pre-processing information, and uses the determined character recognition processing method to perform character recognition processing on the image corresponding to the inspection area in the read image after the pre-processing has been performed.
表示されたリファレンス画像において、ユーザの指示に基づき、文字列の検査を行う検査領域を設定し、当該設定された検査領域内の文字サイズに基づいて当該検査領域に対して適用されるべき文字認識処理の手法を、前記検査手段による前記検査を実行する前に設定する設定手段と、を有し、
前記検査手段は、前記読取画像内の前記検査領域に対応する画像に対して、前記設定手段により設定された文字認識処理の手法を用いて文字認識処理を行うことを特徴とする検査装置。 An inspection device having an inspection means for inspecting a read image obtained by reading an image on a recording material conveyed from a conveying means that receives the recording material on which an image has been printed from a printing device that has printed the image on the recording material, the read image being read by a reading unit, the read image being conveyed from the recording material,
a setting means for setting an inspection area in which a character string is to be inspected in the displayed reference image based on a user's instruction, and for setting a character recognition processing method to be applied to the inspection area based on the character size within the set inspection area before the inspection is performed by the inspection means;
The inspection device is characterized in that the inspection means performs character recognition processing on an image corresponding to the inspection area in the read image using the character recognition processing method set by the setting means.
前記検査手段は、前記設定手段で設定された前記検査領域で使用される文字サイズと、前記検査領域で使用される文字サイズに関連付けられた文字認識処理の手法と前記前処理の情報とに基づいて、前記読取画像内の前記検査領域に対応する画像に対し前記文字サイズに関連付けられた前処理を実行し、前記設定した文字認識処理の手法を用いて、前記前処理を実行した後の前記読取画像内の前記検査領域に対応する画像の文字認識処理を行う、ことを特徴とする請求項7に記載の検査装置。The inspection device described in claim 7, characterized in that the inspection means performs preprocessing associated with the character size on an image corresponding to the inspection area in the read image based on the character size used in the inspection area set by the setting means, the character recognition processing method associated with the character size used in the inspection area, and the preprocessing information, and uses the set character recognition processing method to perform character recognition processing on the image corresponding to the inspection area in the read image after the preprocessing has been performed.
前記検査の実行前に、フォントと文字認識処理の手法とを関連づけて登録する登録ステップと、
文字列の検査を行う検査領域と、前記検査領域で使用されるフォントとを設定する設定ステップと、
前記設定ステップで設定された前記検査領域で使用されるフォントと、前記登録ステップで当該フォントに関連付けられた文字認識処理の手法とに基づいて、前記検査領域に対して適用すべき文字認識処理の手法を判定し、当該判定した文字認識処理の手法を用いて、前記読取画像内の前記検査領域に対応する画像の文字認識処理を行う検査ステップと、
を備えることを特徴とする検査装置の制御方法。 A control method for an inspection device having an inspection means for inspecting a read image obtained by reading an image on a recording material conveyed from a conveying means that receives a recording material on which an image has been printed from a printing device that has printed an image on the recording material, the read image being read by a reading unit, the read image being conveyed from the recording material, the control method comprising:
a registration step of registering a font and a character recognition processing method in association with each other before the execution of the inspection ;
a setting step of setting an inspection area in which a character string is inspected and a font to be used in the inspection area;
an inspection step of determining a character recognition processing method to be applied to the inspection area based on the font used in the inspection area set in the setting step and the character recognition processing method associated with the font in the registration step, and performing character recognition processing on an image in the read image corresponding to the inspection area using the determined character recognition processing method;
A control method for an inspection apparatus, comprising:
前記検査を実行する前に表示されたリファレンス画像において、ユーザの指示に基づき、文字列の検査を行う検査領域を設定し、当該設定された検査領域内の文字のサイズに基づいて当該検査領域に対して適用されるべき文字認識処理の手法を設定するステップと、
前記読取画像内の前記検査領域に対応する画像に対して、前記設定された文字認識処理の手法を用いて文字認識処理を行うステップと、
を備えることを特徴とする検査装置の制御方法。 1. A control method for an inspection device that inspects a read image obtained by a reading unit reading an image on a recording material that has been conveyed from a conveying means that receives and conveys a recording material on which an image has been printed from a printing device that has printed the image on the recording material, the method comprising:
a step of setting an inspection area for inspecting a character string based on a user's instruction in a reference image displayed before the inspection is performed , and setting a character recognition processing method to be applied to the inspection area based on the size of the characters in the set inspection area;
performing character recognition processing on an image corresponding to the inspection area in the read image using the set character recognition processing method;
A control method for an inspection apparatus, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021140732A JP7746071B2 (en) | 2021-08-31 | 2021-08-31 | Inspection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021140732A JP7746071B2 (en) | 2021-08-31 | 2021-08-31 | Inspection method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023034477A JP2023034477A (en) | 2023-03-13 |
| JP7746071B2 true JP7746071B2 (en) | 2025-09-30 |
Family
ID=85504301
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021140732A Active JP7746071B2 (en) | 2021-08-31 | 2021-08-31 | Inspection method and device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7746071B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7830387B2 (en) * | 2023-06-28 | 2026-03-16 | キヤノン株式会社 | Inspection device, control method for inspection device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001043316A (en) | 1999-07-29 | 2001-02-16 | Ricoh Co Ltd | Document image processing method, document image processing apparatus, and recording medium |
| JP2017084299A (en) | 2015-10-30 | 2017-05-18 | 株式会社シーイーシー | Image processing device and image processing method |
-
2021
- 2021-08-31 JP JP2021140732A patent/JP7746071B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001043316A (en) | 1999-07-29 | 2001-02-16 | Ricoh Co Ltd | Document image processing method, document image processing apparatus, and recording medium |
| JP2017084299A (en) | 2015-10-30 | 2017-05-18 | 株式会社シーイーシー | Image processing device and image processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023034477A (en) | 2023-03-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7799747B2 (en) | Printed matter inspection device and method | |
| US11822840B2 (en) | Inspection apparatus capable of preventing unnecessary abnormality determination on printed matter, method of controlling the same, and storage medium | |
| KR102945482B1 (en) | Verification apparatus, control method therefor, print system, and program | |
| US20230281796A1 (en) | Inspection apparatus, inspection method, and non-transitory computer-readable storage medium | |
| US20240037730A1 (en) | Inspection system and method for controlling inspection system | |
| JP2023060721A (en) | Inspection device, its control method, inspection system, and program | |
| JP2021107788A (en) | Inspection device, insection method and program | |
| US20260082003A1 (en) | Inspection system including an inspection unit to inspect an inspection region of a read image and related image forming apparatus | |
| JP7746072B2 (en) | Inspection device and inspection method | |
| JP2025083579A (en) | Inspection device and inspection system | |
| JP7746071B2 (en) | Inspection method and device | |
| JP2024137098A (en) | Image processing device, image processing method, and program | |
| JP2024040935A (en) | Information processing device, inspection device, inspection system, information processing method, inspection method and program | |
| JP2023158554A (en) | Character image quality adjustment system, character image quality adjustment device, its control method and program | |
| JP2023039114A (en) | Print image inspection system | |
| US12164815B2 (en) | Image forming apparatus, inspection apparatus, inspection system, and inspection method | |
| JP7752999B2 (en) | Inspection device, inspection device, inspection method, printing system, inspection system | |
| JP2025051155A (en) | Information processing device, control method for information processing device, inspection device, and control method for inspection device | |
| JP2024040882A (en) | Image forming apparatus, image forming apparatus control method, and program | |
| JP2023117196A (en) | Inspection device, its control method, and program | |
| JP7805211B2 (en) | Information processing device, setting method, inspection system, and program | |
| US20240378717A1 (en) | Inspection apparatus, method of controlling inspection apparatus, and storage medium | |
| US12423543B2 (en) | Inspection system, inspection apparatus, and method of controlling these | |
| JP2023035055A (en) | Information processing device, inspection setting method and program | |
| JP2025108047A (en) | Information processing device, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20231213 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240801 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250421 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250430 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250625 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250819 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250917 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7746071 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |