JP2010244386A - Image reading device, method for controlling image reading device, control program and storage medium - Google Patents

Image reading device, method for controlling image reading device, control program and storage medium Download PDF

Info

Publication number
JP2010244386A
JP2010244386A JP2009093725A JP2009093725A JP2010244386A JP 2010244386 A JP2010244386 A JP 2010244386A JP 2009093725 A JP2009093725 A JP 2009093725A JP 2009093725 A JP2009093725 A JP 2009093725A JP 2010244386 A JP2010244386 A JP 2010244386A
Authority
JP
Japan
Prior art keywords
magnetic
character
magnetic ink
image reading
micr
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
JP2009093725A
Other languages
Japanese (ja)
Inventor
Haruhiko Shirota
晴彦 城田
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.)
Canon Electronics Inc
Original Assignee
Canon Electronics Inc
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 Canon Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2009093725A priority Critical patent/JP2010244386A/en
Publication of JP2010244386A publication Critical patent/JP2010244386A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reading device for preventing the erroneous recognition of a magnetic ink character when the magnetic ink character passes through a magnetic head in an inclined state. <P>SOLUTION: An image reading device includes: a magnetic reading means (S101) for reading magnetic recognition data from a magnetic ink character printed on an original; a magnetic character recognition means (S105, S106) for recognizing the magnetic ink character printed on an original based on magnetic similarity to be obtained by comparing the read magnetic recognition data with MICR dictionary information; an image reading means (S102) for optically reading the magnetic ink character printed on the original as image data; and a calculation means (S103) for calculating the angle of inclination of the character based on the image data of the read magnetic ink character. The magnetic character recognition means changes the MICRO dictionary information to be used for recognizing the magnetic ink character based on the angle of inclination of the magnetic ink character to be calculated by the calculation means (S104). <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、例えば、小切手や手形等の原稿に印刷されている磁気インク文字の読み取り処理を行う画像読取装置、画像読取装置の制御方法、制御プログラム、及び記憶媒体に関する。   The present invention relates to an image reading apparatus that reads magnetic ink characters printed on an original such as a check or bill, a control method for the image reading apparatus, a control program, and a storage medium.

小切手による精算処理では、小切手の下欄に印刷された口座番号、金額等の磁気インク文字を読み取り、読み取ったデータを所定の機関に照会し、小切手の有効性を確認する。   In the check settlement process, magnetic ink characters such as an account number and money amount printed in the lower column of the check are read, and the read data is referred to a predetermined organization to confirm the validity of the check.

磁気インク文字を読み取るための装置として、MICR(Magnetic Ink Character Recognition)装置がある。MICR装置は、磁気インク文字に含まれる磁気情報を磁気ヘッドで読み取り、読み取った磁気情報を基に文字を認識する(特許文献1)。   There is a MICR (Magnetic Ink Character Recognition) device as a device for reading magnetic ink characters. The MICR device reads magnetic information contained in magnetic ink characters with a magnetic head and recognizes the characters based on the read magnetic information (Patent Document 1).

また、MICR装置の他にOCR(Optical Character Recognition)装置を備え、MICR装置での磁気インク文字の認識結果が信頼できなかった場合に、OCR装置で磁気インク文字を再度認識する画像読取装置が提案されている(特許文献2)。   In addition to the MICR device, an OCR (Optical Character Recognition) device is provided, and when the recognition result of the magnetic ink characters in the MICR device is unreliable, an image reading device that recognizes the magnetic ink characters again in the OCR device is proposed. (Patent Document 2).

特開昭49−49545号公報JP 49-49545 A 特開平2004−259254号公報JP-A-2004-259254

しかし、上記特許文献2の装置では、MICR装置での磁気インク文字を認識するための辞書データとの類似の度合いが十分に信頼できる水準でありながら、実際の磁気インク文字と一致しない場合がある。   However, in the device of Patent Document 2, the degree of similarity with dictionary data for recognizing magnetic ink characters in the MICR device is sufficiently reliable, but may not match the actual magnetic ink characters. .

図16〜図19を参照して具体的に説明する。図16は画像読取装置の斜視図、図17は図16に示す画像読取装置の内部構成を示すブロック図である。   This will be specifically described with reference to FIGS. 16 is a perspective view of the image reading apparatus, and FIG. 17 is a block diagram showing an internal configuration of the image reading apparatus shown in FIG.

図16及び図17に示すように、この画像読取装置1は、載置部2、搬送路3、MICR装置7、及び排紙部4を備える。   As shown in FIGS. 16 and 17, the image reading apparatus 1 includes a placement unit 2, a conveyance path 3, an MICR device 7, and a paper discharge unit 4.

載置部2に載置された小切手は、図17に示すように、搬送路3を矢印D方向に搬送されて、MICR装置7の磁気ヘッド5によって磁気インク文字が磁気情報として読み取られ、その後、排紙部4に排紙される。   As shown in FIG. 17, the check placed on the placement unit 2 is conveyed along the conveyance path 3 in the direction of arrow D, and the magnetic ink characters are read as magnetic information by the magnetic head 5 of the MICR device 7. The paper is discharged to the paper discharge unit 4.

小切手に印刷された磁気インク文字には磁性材料が混合されているため、小切手が磁気ヘッド5を通過すると、磁気インク文字の形に応じて磁束が変化し、文字の形に応じた波形が磁気ヘッド5から処理部7aに出力される。そして、処理部7aは、磁気ヘッド5から出力された波形を解析する。   The magnetic ink characters printed on the check are mixed with a magnetic material, so when the check passes the magnetic head 5, the magnetic flux changes according to the shape of the magnetic ink character, and the waveform corresponding to the shape of the character is magnetic. The data is output from the head 5 to the processing unit 7a. Then, the processing unit 7a analyzes the waveform output from the magnetic head 5.

図18(a)は、E13Bフォントの一部である「2」の外観図、図18(b)は、E13Bフォントの一部である「5」の外観図である。図18(c)は、図18(a)の「2」及び図18(b)の「5」に対し、磁気ヘッド5にて磁気データを読み取った際の波形を示すグラフ図である。   18A is an external view of “2” that is a part of the E13B font, and FIG. 18B is an external view of “5” that is a part of the E13B font. FIG. 18C is a graph showing waveforms when magnetic data is read by the magnetic head 5 with respect to “2” in FIG. 18A and “5” in FIG.

図18(c)において、実線で示された波形が「2」の波形、点線で示された波形が「5」の波形であり、縦軸は出力電圧値、横軸は時間の経過を表す。MICR装置7の処理部7aは、図18(c)に示す波形を解析することにより、磁気インク文字を認識する。   In FIG. 18C, the waveform indicated by the solid line is the waveform “2”, the waveform indicated by the dotted line is the waveform “5”, the vertical axis represents the output voltage value, and the horizontal axis represents the passage of time. . The processing unit 7a of the MICR device 7 recognizes the magnetic ink character by analyzing the waveform shown in FIG.

図18(a)及び図18(b)に示す「2」と「5」は、E13Bフォントにて非常に似た波形を持つ文字として知られており、図18(c)に示す「2」と「5」の2つの波形において、異なるのはピーク位置(尾根、谷の部分)の時間軸の差のみである。MICR装置7の処理部7aは、この時間軸の差を比較し、磁気インク文字を正しく認識することが可能になる。   “2” and “5” shown in FIGS. 18A and 18B are known as characters having very similar waveforms in the E13B font, and “2” shown in FIG. 18C. In the two waveforms “5” and “5”, the only difference is the difference in the time axis between the peak positions (ridges and valleys). The processing unit 7a of the MICR device 7 can compare the time axis differences and correctly recognize the magnetic ink characters.

図18(c)に示す「2」と「5」の波形は、磁気インク文字が磁気ヘッド5に対して傾かない状態で通過した場合の例であるが、搬送路3や小切手の状態によっては、磁気インク文字が磁気ヘッド5に対して傾いた状態で通過することがある。   The waveforms of “2” and “5” shown in FIG. 18C are examples when the magnetic ink characters pass without being inclined with respect to the magnetic head 5, but depending on the state of the conveyance path 3 and the check. In some cases, the magnetic ink characters pass while being tilted with respect to the magnetic head 5.

図19(a)は、図18(a)の「2」が傾いて磁気ヘッド5を通過した際の外観図、図19(b)は、図18(b)と同様のE13Bフォントの一部である「5」の外観図である。   FIG. 19A is an external view when “2” in FIG. 18A is inclined and passes through the magnetic head 5, and FIG. 19B is a part of the E13B font similar to FIG. 18B. It is an external view of "5" which is.

図19(c)は、図19(a)の「2」及び図19(b)の「5」に対し、磁気ヘッド5にて磁気データを読み取った際の波形を示すグラフ図であり、実線で示された波形が「2」の波形、点線で示された波形が「5」の波形である。   FIG. 19C is a graph showing a waveform when magnetic data is read by the magnetic head 5 with respect to “2” in FIG. 19A and “5” in FIG. The waveform indicated by “2” is the waveform “2”, and the waveform indicated by the dotted line is the waveform “5”.

図19(c)に示すように、「2」が傾いた状態で磁気ヘッド5を通過した場合、「2」が傾かない状態で磁気ヘッド5を通過したときとは異なる波形が磁気ヘッド5から出力される。   As shown in FIG. 19C, when passing through the magnetic head 5 with “2” tilted, a different waveform from that when passing through the magnetic head 5 without tilting “2” is generated from the magnetic head 5. Is output.

図19(c)の例では、「2」が傾いた状態で磁気ヘッド5を通過した場合の波形が、「5」が傾かない状態で磁気ヘッド5を通過した場合の波形に非常に似た波形となる。   In the example of FIG. 19C, the waveform when “2” passes through the magnetic head 5 in a tilted state is very similar to the waveform when “5” passes through the magnetic head 5 without tilting. It becomes a waveform.

磁気ヘッド5により読み取られる波形は、「信号レベル」及び「時間経過」の2次元の値で構成されている。したがって、図19(c)に示す状況が発生してしまうと、MICR装置7の処理部7aは、傾いた「2」の波形なのか、傾かない「5」の波形なのかを判別することができなくなる。   The waveform read by the magnetic head 5 is composed of two-dimensional values of “signal level” and “time lapse”. Accordingly, when the situation shown in FIG. 19C occurs, the processing unit 7a of the MICR device 7 can determine whether the waveform is a tilted “2” waveform or a “5” waveform that does not tilt. become unable.

この結果、磁気インク文字をMICR装置7で認識するための辞書データとの類似の度合いが十分に信頼できる水準でありながら、実際には小切手に印字された磁気インク文字と一致しない文字を誤認識する場合が発生してしまう。図19(c)の例では、傾いた「2」の波形を傾かない「5」の波形として誤認識してしまう。   As a result, while the degree of similarity with dictionary data for recognizing magnetic ink characters by the MICR device 7 is sufficiently reliable, characters that do not actually match the magnetic ink characters printed on the check are erroneously recognized. If you do. In the example of FIG. 19C, the inclined waveform “2” is erroneously recognized as the non-inclined waveform “5”.

そこで、本発明は、磁気インク文字が傾いた状態で磁気ヘッドを通過した場合における磁気インク文字の誤認識を防止することができる画像読取装置、画像読取装置の制御方法、制御プログラム、及び記憶媒体を提供することを目的とする。   Accordingly, the present invention provides an image reading apparatus, a control method for the image reading apparatus, a control program, and a storage medium that can prevent erroneous recognition of the magnetic ink characters when the magnetic ink characters pass through the magnetic head in a tilted state. The purpose is to provide.

上記目的を達成するために、本発明の画像読取装置は、原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読取手段と、該磁気読取手段により読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識手段と、原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段と、該画像読取手段により読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出手段と、を備え、前記磁気文字認識手段は、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出手段により算出された磁気インク文字の傾き角に基づいて変更する、ことを特徴とする。   In order to achieve the above object, an image reading apparatus of the present invention includes a magnetic reading means for reading magnetic recognition data from magnetic ink characters printed on a document, magnetic recognition data read by the magnetic reading means, and MICR dictionary information. And a magnetic character recognition means for recognizing magnetic ink characters printed on a document based on the magnetic similarity obtained by comparing the two, and an image for optically reading the magnetic ink characters printed on the document as image data Reading means; and calculating means for calculating an inclination angle of the magnetic ink character based on image data of the magnetic ink character read by the image reading means, wherein the magnetic character recognition means is printed on a document. The MICR dictionary information used when recognizing a magnetic ink character is changed based on the inclination angle of the magnetic ink character calculated by the calculating means. It is characterized in.

本発明の画像読取装置の制御方法は、原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読手段と、原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段を備える画像読取装置の制御方法であって、前記磁気読取手段を用いて読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識ステップと、前記画像読取手段を用いて読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出ステップと、を備え、前記磁気文字認識ステップは、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出ステップで算出された磁気インク文字の傾き角に基づいて変更する、ことを特徴とする。   An image reading apparatus control method according to the present invention includes a magnetic reading unit that reads magnetic recognition data from magnetic ink characters printed on a document, and an image reading unit that optically reads magnetic ink characters printed on a document as image data. A method for controlling an image reading apparatus, comprising: a magnet printed on an original based on a magnetic similarity obtained by comparing magnetic recognition data read using the magnetic reading means and MICR dictionary information; A magnetic character recognizing step for recognizing an ink character, and a calculating step for calculating an inclination angle of the magnetic ink character based on image data of the magnetic ink character read using the image reading means, In the character recognition step, the MICR dictionary information used in recognizing the magnetic ink characters printed on the document is calculated by the magnetic step calculated in the calculation step. Changes based on the inclination angle of the ink characters, and wherein the.

本発明の画像読取装置の制御プログラムは、原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読手段と、原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段を備える画像読取装置の制御プログラムであって、前記磁気読取手段を用いて読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識ステップと、前記画像読取手段を用いて読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出ステップと、をコンピュータに実行させ、前記磁気文字認識ステップは、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出ステップで算出された磁気インク文字の傾き角に基づいて変更する、ことを特徴とする。   A control program for an image reading apparatus according to the present invention includes a magnetic reading unit that reads magnetic recognition data from magnetic ink characters printed on a document, and an image reading unit that optically reads magnetic ink characters printed on a document as image data. A control program for an image reading device provided with a magnetic program printed on a document based on a magnetic similarity obtained by comparing magnetic recognition data read using the magnetic reading means with MICR dictionary information Causing a computer to execute a magnetic character recognition step for recognizing an ink character, and a calculation step for calculating an inclination angle of the magnetic ink character based on image data of the magnetic ink character read using the image reading unit. In the magnetic character recognition step, the MICR dictionary information used for recognizing the magnetic ink characters printed on the original is used. Changes based on the inclination angle of the magnetic ink character calculated in serial calculation step, characterized in that.

本発明のコンピュータで読み取り可能な記憶媒体は、前記制御プログラムを格納した、ことを特徴とする。   The computer-readable storage medium of the present invention stores the control program.

本発明によれば、磁気インク文字が傾いた状態で磁気ヘッドを通過した場合における磁気インク文字の誤認識を防止することができる。   According to the present invention, it is possible to prevent erroneous recognition of magnetic ink characters when the magnetic ink characters pass through the magnetic head in an inclined state.

本発明の実施形態の一例である画像読取装置を説明するためのブロック図である。1 is a block diagram for explaining an image reading apparatus which is an example of an embodiment of the present invention. 画像読取装置における、小切手に印刷された磁気インク文字の認識処理について説明するためのフローチャート図である。FIG. 6 is a flowchart for explaining a process for recognizing magnetic ink characters printed on a check in the image reading apparatus. 読み取り画像の一例を示す図である。It is a figure which shows an example of a reading image. E13Bフォントの文字の一覧を示す図である。It is a figure which shows the list of the character of E13B font. 図2のステップS103における文字の傾き角算出処理について説明するためのフローチャート図である。It is a flowchart for demonstrating the inclination angle calculation process of the character in step S103 of FIG. (a)は、テンプレートの一例を示す図であり、(b)は、文字「1」のテンプレートの拡大図である。(A) is a figure which shows an example of a template, (b) is an enlarged view of the template of character "1". 図3に示す読み取り画像に対して光学文字認識処理を行った結果を示す図である。It is a figure which shows the result of having performed the optical character recognition process with respect to the read image shown in FIG. MICR辞書テーブルの辞書データの一例を示す図である。It is a figure which shows an example of the dictionary data of a MICR dictionary table. MICR辞書テーブルが備える各文字の辞書データのうちの1つについて、「文字が傾いている場合に用いる辞書データ」と、「文字が傾いていない場合に用いる辞書データ」とを比較した結果を示すグラフ図である。The result of comparing “dictionary data used when the character is tilted” and “dictionary data used when the character is not tilted” with respect to one of the dictionary data of each character included in the MICR dictionary table is shown. FIG. 図2のステップS105での磁気文字認識処理について説明するためのフローチャート図である。It is a flowchart figure for demonstrating the magnetic character recognition process in FIG.2 S105. 図10のステップS301での文字位置の切り出し処理について説明するためのフローチャート図である。It is a flowchart figure for demonstrating the cutting-out process of the character position in step S301 of FIG. デジタル信号からピーク位置信号を検出した結果の一例を示すグラフ図である。It is a graph which shows an example of the result of having detected the peak position signal from the digital signal. サンプルテーブルの一例を示す図である。It is a figure which shows an example of a sample table. MICR辞書テーブルの波形データとサンプルテーブルの波形データとを重ねて表示したグラフ図である。It is the graph which displayed the waveform data of the MICR dictionary table, and the waveform data of the sample table in an overlapping manner. 図2のステップS106における認識結果の出力処理について説明するためのフローチャート図である。It is a flowchart for demonstrating the output process of the recognition result in step S106 of FIG. 従来の画像読取装置を説明するための斜視図である。It is a perspective view for demonstrating the conventional image reading apparatus. 図16に示す画像読取装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the image reading apparatus shown in FIG. (a)は、E13Bフォントの一部である「2」の外観図、(b)は、E13Bフォントの一部である「5」の外観図である。(c)は、(a)の「2」及び(b)の「5」ついて、磁気ヘッドにて磁気データを読み取った際の波形を示すグラフ図である。(A) is an external view of “2” that is a part of the E13B font, and (b) is an external view of “5” that is a part of the E13B font. (C) is a graph showing the waveforms when magnetic data is read by a magnetic head for “2” in (a) and “5” in (b). (a)は、図18(a)の「2」が傾いて磁気ヘッドを通過した際の外観図、(b)は、図18(b)と同様のE13Bフォントの一部である「5」の外観図である。(c)は、(a)の「2」及び(b)の「5」ついて、磁気ヘッドにて磁気データを読み取った際の波形を示すグラフ図である。18A is an external view when “2” in FIG. 18A is tilted and passes through the magnetic head, and FIG. 18B is “5” which is a part of the E13B font similar to FIG. 18B. FIG. (C) is a graph showing the waveforms when magnetic data is read by a magnetic head for “2” in (a) and “5” in (b).

以下、本発明の実施形態の一例を図面を参照して説明する。   Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態の一例である画像読取装置を説明するためのブロック図である。   FIG. 1 is a block diagram for explaining an image reading apparatus which is an example of an embodiment of the present invention.

図1に示すように、本実施形態の画像読取装置1Aは、不図示の載置部に原稿の一例としての複数の小切手が載置され、載置部に載置された複数の小切手は、不図示の分離給送手段によって一枚ずつ分離されて搬送路3に給送される。   As shown in FIG. 1, in the image reading apparatus 1A of the present embodiment, a plurality of checks as an example of a document are placed on a placement unit (not shown), and the plurality of checks placed on the placement unit are The sheets are separated one by one by unshown separation feeding means and fed to the transport path 3.

搬送路3には、MICR(磁気文字認識)装置10及びOCR(光学文字認識)装置20が配置されており、MICR装置10及びOCR装置20は、データ/アドレスバス33を介して接続された主制御部31により制御される。また、データ/アドレスバス33には、各種データ等を記憶するメモリ34及び外部インターフェイス32が接続され、外部インターフェイス32には、ホスト装置40が接続される。   An MICR (magnetic character recognition) device 10 and an OCR (optical character recognition) device 20 are arranged in the transport path 3, and the MICR device 10 and the OCR device 20 are connected via a data / address bus 33. It is controlled by the control unit 31. The data / address bus 33 is connected to a memory 34 for storing various data and the external interface 32, and the external interface 32 is connected to a host device 40.

MICR装置10は、磁気ヘッド(磁気読取手段)1000、磁気データ処理部11、MICR辞書テーブル(MICR辞書情報)記憶部12、及びMICR処理部13を備える。   The MICR device 10 includes a magnetic head (magnetic reading means) 1000, a magnetic data processing unit 11, a MICR dictionary table (MICR dictionary information) storage unit 12, and a MICR processing unit 13.

磁気ヘッド1000は、搬送路3を矢印D方向に搬送される小切手に印刷された磁気インク文字の磁気情報を電気信号に変換する。磁気データ処理部11は、磁気ヘッド1000からの電気信号に対してA/D変換や平滑化等の処理を施し、MICR処理部13に磁気データを出力する。   The magnetic head 1000 converts magnetic information of magnetic ink characters printed on a check conveyed in the direction of arrow D through the conveyance path 3 into an electric signal. The magnetic data processing unit 11 performs processing such as A / D conversion and smoothing on the electric signal from the magnetic head 1000 and outputs magnetic data to the MICR processing unit 13.

MICR処理部13は、磁気データ処理部11から出力された磁気データに対して、MICR辞書テーブル記憶部12に記憶されたMICR辞書テーブルを参照して磁気文字認識処理を行う。   The MICR processing unit 13 performs magnetic character recognition processing on the magnetic data output from the magnetic data processing unit 11 with reference to the MICR dictionary table stored in the MICR dictionary table storage unit 12.

OCR装置20は、読取センサ2000、画像データ処理部21、OCR辞書テーブル記憶部23、及びOCR処理部22を備える。   The OCR device 20 includes a reading sensor 2000, an image data processing unit 21, an OCR dictionary table storage unit 23, and an OCR processing unit 22.

読取センサ2000は、搬送路3を矢印D方向に搬送される小切手に印刷された磁気インク文字を光学的に読み取る。画像データ処理部21は、読取センサ2000によって読み取られた画像データに対して各種処理を施し、OCR処理部22に出力する。   The reading sensor 2000 optically reads magnetic ink characters printed on a check conveyed in the direction of arrow D along the conveyance path 3. The image data processing unit 21 performs various processes on the image data read by the reading sensor 2000 and outputs the processed data to the OCR processing unit 22.

OCR処理部22は、画像データ処理部21から出力された画像データに対して、OCR辞書テーブル記憶部23に記憶されたOCR辞書テーブルを参照して光学文字認識処理を行う。   The OCR processing unit 22 performs optical character recognition processing on the image data output from the image data processing unit 21 with reference to the OCR dictionary table stored in the OCR dictionary table storage unit 23.

次に、図2を参照して、本実施形態の画像読取装置1Aにおける、小切手に印刷された磁気インク文字の認識処理について説明する。図2での各処理は、不図示のROM等の記憶部に記憶された制御プログラムが不図示のRAMにロードされて、主制御部31のCPU等により実行される。   Next, a magnetic ink character recognition process printed on a check in the image reading apparatus 1A of the present embodiment will be described with reference to FIG. Each process in FIG. 2 is executed by a CPU or the like of the main control unit 31 by loading a control program stored in a storage unit such as a ROM (not shown) into a RAM (not shown).

なお、以下の説明では、磁気インク文字が印刷された小切手が、磁気センサ1000及び読取センサ2000に対して傾いた状態で搬送路3を搬送される場合を例に採る。   In the following description, a case where a check on which magnetic ink characters are printed is conveyed along the conveyance path 3 while being inclined with respect to the magnetic sensor 1000 and the reading sensor 2000 is taken as an example.

また、磁気ヘッド1000及び読取センサ2000で読み取られる磁気インク文字は、例えば、図3に示すように、E13Bフォント文字「2」「5」「8」とし、図中の画像下端の黒部分は背景部分であることを表す。図4に、E13Bフォントの文字の一覧を示すが、認識対象とするフォントは、特に限定されない。   The magnetic ink characters read by the magnetic head 1000 and the reading sensor 2000 are, for example, E13B font characters “2”, “5”, and “8” as shown in FIG. Represents a part. FIG. 4 shows a list of characters of the E13B font, but the font to be recognized is not particularly limited.

図2において、ステップS101では、主制御部31は、MICR装置10の磁気ヘッド1000により搬送路3を搬送される小切手に印刷された磁気インク文字から磁気認識データを読み取る。   In FIG. 2, in step S <b> 101, the main control unit 31 reads magnetic recognition data from magnetic ink characters printed on a check conveyed on the conveyance path 3 by the magnetic head 1000 of the MICR device 10.

そして、主制御部31は、磁気データ処理部11を制御して、磁気ヘッド1000で読み取った磁気認識データに対してA/D変換や平滑化等の処理を施し、MICR処理部13に出力して、ステップS102に進む。   The main control unit 31 controls the magnetic data processing unit 11 to perform processing such as A / D conversion and smoothing on the magnetic recognition data read by the magnetic head 1000 and outputs the processed data to the MICR processing unit 13. Then, the process proceeds to step S102.

ステップS102では、主制御部31は、OCR装置20の読取センサ2000により搬送路3を搬送される小切手に印刷された磁気インク文字を光学的に読み取る。   In step S <b> 102, the main control unit 31 optically reads the magnetic ink characters printed on the check conveyed on the conveyance path 3 by the reading sensor 2000 of the OCR device 20.

そして、主制御部31は、画像データ処理部21を制御して、読取センサ2000で読み取った画像データに対してシェーディング処理、ガンマ補正等の各種処理を施し、OCR処理部22に出力して、ステップS103に進む。   The main control unit 31 controls the image data processing unit 21 to perform various processes such as shading processing and gamma correction on the image data read by the reading sensor 2000, and outputs the processed data to the OCR processing unit 22. Proceed to step S103.

ステップS103では、主制御部31は、OCR処理部22を制御して、ステップS102で画像データ処理部21から出力された磁気インク文字の画像データに対して、OCR辞書テーブルを参照して光学文字認識処理を行う。   In step S103, the main control unit 31 controls the OCR processing unit 22 to refer to the OCR dictionary table for the optical ink character image data output from the image data processing unit 21 in step S102, and to read the optical character. Perform recognition processing.

そして、主制御部31は、光学文字認識処理結果に基づいて、磁気インク文字の傾き角を算出する。   The main control unit 31 calculates the tilt angle of the magnetic ink character based on the optical character recognition processing result.

図5は、図2のステップS103における文字の傾き角算出処理について説明するためのフローチャート図である。   FIG. 5 is a flowchart for explaining the character inclination angle calculation processing in step S103 of FIG.

ステップS201では、主制御部31は、OCR処理部22を制御して、図2のステップS102で画像データ処理部21から出力された磁気インク文字の画像データに対して、OCR辞書テーブルを参照して光学文字認識処理を行い、ステップS202に進む。   In step S201, the main control unit 31 controls the OCR processing unit 22 to refer to the OCR dictionary table for the magnetic ink character image data output from the image data processing unit 21 in step S102 of FIG. Then, optical character recognition processing is performed, and the process proceeds to step S202.

ここで、OCR辞書テーブル記憶部23に記憶されたOCR辞書テーブルは、E13Bフォント文字全文字分、すなわち14文字分の辞書データを有する。   Here, the OCR dictionary table stored in the OCR dictionary table storage unit 23 has dictionary data for all E13B font characters, that is, 14 characters.

OCR辞書テーブルが有する辞書データは、各文字の画像データのテンプレートとなっており、以下、OCR辞書テーブルが有する各文字の辞書データをテンプレートと呼ぶ。   The dictionary data included in the OCR dictionary table is a template for image data of each character. Hereinafter, the dictionary data for each character included in the OCR dictionary table is referred to as a template.

図6(a)は、テンプレートの一例を示す図であり、図6(b)は、文字「1」のテンプレートの拡大図である。図6(a)において、一例として文字の高さ方向をx方向とし、x方向と直交する方向をy方向とする。   FIG. 6A is a diagram illustrating an example of a template, and FIG. 6B is an enlarged view of the template of the character “1”. In FIG. 6A, as an example, the height direction of the character is set as the x direction, and the direction orthogonal to the x direction is set as the y direction.

ステップS201の処理では、ステップS102で画像データ処理部21から出力された磁気インク文字の画像データに対して、このテンプレートを参照して光学文字認識処理を行う。   In the process of step S201, optical character recognition processing is performed with reference to this template for the magnetic ink character image data output from the image data processing unit 21 in step S102.

具体的には、取得した画像データの左上の座標を起点とし、OCR辞書テーブルのテンプレートの幅、高さ分の画像を、OCR辞書テーブルのすべてのテンプレートと比較し、画素の不一致率をカウントする。   Specifically, starting from the upper left coordinates of the acquired image data, the image for the width and height of the template in the OCR dictionary table is compared with all the templates in the OCR dictionary table, and the pixel mismatch rate is counted. .

テンプレートとOCR辞書テーブルとの比較は、その後、縦方向、横方向に1ピクセルずつずらして繰り返し行われ、画像データのすべての画素に対して行われる。   The comparison between the template and the OCR dictionary table is then repeatedly performed by shifting one pixel at a time in the vertical and horizontal directions, and is performed for all the pixels of the image data.

そして、不一致率のカウントが所定の数よりも小さいテンプレートが存在した場合に、その位置を文字の位置と認め、認識結果を出力する。   If a template having a mismatch rate count smaller than a predetermined number exists, the position is recognized as a character position, and a recognition result is output.

例えば、図3に示す読み取り画像に対して上記の光学文字認識処理を行った結果は、図7に示すようになる。   For example, the result of performing the above optical character recognition process on the read image shown in FIG. 3 is as shown in FIG.

図7(a)の矩形Rで囲まれた範囲が、実際に文字として認識された範囲である。また、図7(b)は、OCR処理部22が最終的に出力した認識結果である。図7(b)に示すように、OCR処理部22による光学文字認識結果は、認識結果文字、テンプレートとの不一致率、認識された位置(左上座標、右下座標)で構成され、ここで取得した認識結果は、メモリ34に保存される。   A range surrounded by a rectangle R in FIG. 7A is a range actually recognized as a character. FIG. 7B shows a recognition result finally output by the OCR processing unit 22. As shown in FIG. 7B, the optical character recognition result by the OCR processing unit 22 is composed of the recognition result character, the mismatch rate with the template, and the recognized position (upper left coordinate, lower right coordinate), and is acquired here. The recognized result is stored in the memory 34.

ステップS202では、主制御部31は、ステップS201で算出した認識結果に基づいて磁気インク文字の傾き角を算出する。   In step S202, the main control unit 31 calculates the inclination angle of the magnetic ink character based on the recognition result calculated in step S201.

一般に、磁気インク文字列は、原稿の水平方向に同じ高さで並んでいるため、磁気インク文字の傾き角をSとすると、Sは、例えば、1文字目の左上の座標情報と2文字目の左上の座標情報とを用いて次式(1)で算出することができる。   In general, since magnetic ink character strings are arranged at the same height in the horizontal direction of the document, if the inclination angle of the magnetic ink characters is S, S is, for example, the upper left coordinate information and the second character. Can be calculated by the following equation (1) using the upper left coordinate information.

磁気インク文字の傾き角S(絶対値)=|(1文字目のy座標−2文字目のy座標)÷(1文字目のx座標−2文字目のx座標)| …(1)
そして、主制御部31は、上式(1)で算出された磁気インク文字の傾き角Sをメモリ34に書き込み、図2のステップS104へ進む。
Inclination angle S (absolute value) of magnetic ink character = | (first character y coordinate-2 character y coordinate) / (first character x coordinate-2 character x coordinate) | (1)
Then, the main control unit 31 writes the inclination angle S of the magnetic ink character calculated by the above equation (1) in the memory 34, and proceeds to step S104 in FIG.

図2に戻って、ステップS104では、主制御部31は、MICR処理部13を制御して、MICR辞書テーブル記憶部12からステップS103にて算出された文字の傾き角に応じたMICR辞書テーブルを選択する。   Returning to FIG. 2, in step S104, the main control unit 31 controls the MICR processing unit 13 to create an MICR dictionary table corresponding to the character inclination angle calculated in step S103 from the MICR dictionary table storage unit 12. select.

前述したように、磁気インク文字列が傾いた状態で磁気ヘッド1000を通過した際の波形は、磁気インク文字列が傾いていない状態で磁気ヘッド1000を通過した際の波形とは異なる。   As described above, the waveform when the magnetic ink character string passes through the magnetic head 1000 with the magnetic ink character string tilted is different from the waveform when the magnetic ink character string passes through the magnetic head 1000 without being tilted.

従って、MICR辞書テーブル記憶部12には、E13Bフォントの全文字分の基準データについて、「文字が傾いている場合に用いる基準データ」と「文字が傾いていない場合に用いる基準データ」の2種類のMICR辞書テーブルが記憶されている。なお、本実施形態では、便宜上、2種類のMICR辞書テーブルを用いる場合を例示するが、3種類以上のMICR辞書テーブルを用いてもよい。   Accordingly, the MICR dictionary table storage unit 12 has two types of reference data for all characters of the E13B font: “reference data used when characters are tilted” and “reference data used when characters are not tilted”. The MICR dictionary table is stored. In the present embodiment, the case where two types of MICR dictionary tables are used is illustrated for convenience, but three or more types of MICR dictionary tables may be used.

ここで、基準データとは、「ピーク位置の時間」、「振幅レベル」の2つの要素を持つ辞書データのことであり、図8に、辞書データの一例を示す。   Here, the reference data is dictionary data having two elements of “peak position time” and “amplitude level”, and FIG. 8 shows an example of the dictionary data.

さらに、図9に、MICR辞書テーブルが備える各文字の辞書データのうちの1つについて、「文字が傾いている場合に用いる辞書データ」と、「文字が傾いていない場合に用いる辞書データ」とを比較した結果を示す。   Further, FIG. 9 shows “dictionary data used when the character is tilted” and “dictionary data used when the character is not tilted” for one of the dictionary data of each character included in the MICR dictionary table. The result of having compared is shown.

図9は、辞書データが持つピーク位置の時間と振幅レベルとを模式的に波形にて示したグラフ図であり、横軸は時間の経過、縦軸は振幅レベルを表している。実線で示したデータが「文字が傾いていない場合に用いる辞書データ」であり、点線で示したデータが「文字が傾いている場合に用いる辞書データ」である。   FIG. 9 is a graph schematically showing the time and amplitude level of the peak position possessed by the dictionary data as waveforms. The horizontal axis represents the passage of time and the vertical axis represents the amplitude level. Data indicated by solid lines is “dictionary data used when characters are not tilted”, and data indicated by dotted lines is “dictionary data used when characters are tilted”.

MICR処理部13は、メモリ34からステップS103にて算出された文字の傾き角を読み出す。そして、MICR処理部13は、読み出した文字の傾き角が所定の閾値以下であれば、MICR辞書テーブル記憶部12から「文字が傾いていない場合に用いる辞書データ」を備えるMICR辞書テーブルを選択する。   The MICR processing unit 13 reads the character inclination angle calculated in step S103 from the memory 34. Then, if the inclination angle of the read character is equal to or smaller than a predetermined threshold, the MICR processing unit 13 selects the MICR dictionary table including “dictionary data used when the character is not inclined” from the MICR dictionary table storage unit 12. .

また、MICR処理部13は、読み出した文字の傾き角が所定の閾値を超えていれば、MICR辞書テーブル記憶部12から「文字が傾いている場合に用いる辞書データ」を備えるMICR辞書テーブルを選択し、図2のステップS105に進む。   Further, if the inclination angle of the read character exceeds a predetermined threshold, the MICR processing unit 13 selects the MICR dictionary table including “dictionary data used when the character is inclined” from the MICR dictionary table storage unit 12. Then, the process proceeds to step S105 in FIG.

なお、図8及び図9に示す辞書データは、ピーク数を4として作成しているが、これに限定されず、辞書データは、MICR処理部13が認識可能な文字毎に、適切なピーク数にて作成可能である。   The dictionary data shown in FIGS. 8 and 9 are created with a peak number of 4. However, the dictionary data is not limited to this, and the dictionary data includes an appropriate peak number for each character that the MICR processing unit 13 can recognize. Can be created.

図2に戻って、ステップS105では、主制御部31は、MICR処理部13を制御して、ステップS101で磁気データ処理部11から出力された磁気データに対して、ステップS104で選択されたMICR辞書テーブルを参照して磁気文字認識処理を行う。   Returning to FIG. 2, in step S105, the main control unit 31 controls the MICR processing unit 13, and for the magnetic data output from the magnetic data processing unit 11 in step S101, the MICR selected in step S104. Magnetic character recognition processing is performed with reference to the dictionary table.

図10は、図2のステップS105での磁気文字認識処理について説明するためのフローチャート図である。   FIG. 10 is a flowchart for explaining the magnetic character recognition processing in step S105 of FIG.

図10において、ステップS301では、主制御部31は、MICR処理部13を制御して、図2のステップS101で磁気データ処理部11から出力された磁気データから磁気文字位置を切り出す。   10, in step S301, the main control unit 31 controls the MICR processing unit 13 to cut out the magnetic character position from the magnetic data output from the magnetic data processing unit 11 in step S101 of FIG.

文字位置の切り出しは、文字開始位置を検出することにより確定する。文字開始位置を検出するためには、まず、磁気データからサンプリング波形のピークを検出する。次に、最初に検出したピーク位置を基にして文字開始位置を求め、予め定められた所定の範囲を1文字分のデータとして切り出す。   The character position is cut out by detecting the character start position. In order to detect the character start position, first, the peak of the sampling waveform is detected from the magnetic data. Next, the character start position is obtained based on the peak position detected first, and a predetermined range is cut out as data for one character.

図11を参照して、図10のステップS301での文字位置の切り出し処理について説明する。なお、図11において、Dは、サンプリングデータである。D(X)は、Xの位置のサンプリングデータである。R, Kは、文字フォントやサンプリングレートにより一意に決定される定数である。Nは、現在何文字目かを示す文字数カウントである。Lengthは、サンプリングデータの長さである。また、小切手の右端部分に相当する位置を0とする。   With reference to FIG. 11, the character position clipping process in step S301 in FIG. 10 will be described. In FIG. 11, D is sampling data. D (X) is sampling data at the position of X. R and K are constants uniquely determined by the character font and sampling rate. N is a character count indicating the number of characters currently. Length is the length of the sampling data. Also, the position corresponding to the right end portion of the check is set to 0.

ステップS401では、主制御部31は、小切手の右端から磁気データを走査していくために、MICR処理部13を制御して、X,Nをそれぞれ0にリセットし、ステップS402に進む。   In step S401, the main control unit 31 controls the MICR processing unit 13 to reset X and N to 0 in order to scan magnetic data from the right end of the check, and proceeds to step S402.

ステップS402では、主制御部31は、MICR処理部13を制御して、D(X)とKとを比較し、D(X)がKを超えていれば、ステップS404に進み、D(X)がK以下であれば、ステップS403に進む。   In step S402, the main control unit 31 controls the MICR processing unit 13 to compare D (X) and K. If D (X) exceeds K, the main control unit 31 proceeds to step S404, and D (X ) Is K or less, the process proceeds to step S403.

ステップS404では、主制御部31は、MICR処理部13を制御して、D(X)とD(X+1)とを比較し、D(X)がD(X+1)を超えていれば、ステップS405に進み、D(X)がD(X+1)以下であれば、ステップS403に進む。   In step S404, the main control unit 31 controls the MICR processing unit 13 to compare D (X) and D (X + 1). If D (X) exceeds D (X + 1), step S405 is performed. If D (X) is equal to or less than D (X + 1), the process proceeds to step S403.

ステップS405では、主制御部31は、D(X)は磁気データの波形における最初の頂点位置であると判断し、MICR処理部13を制御して、XからX+RまでのデータがN番目の文字として、位置情報をメモリ34に保存し、ステップS406に進む。   In step S405, the main control unit 31 determines that D (X) is the first vertex position in the waveform of the magnetic data, and controls the MICR processing unit 13 so that the data from X to X + R is the Nth character. The position information is stored in the memory 34, and the process proceeds to step S406.

ステップS406では、主制御部31は、MICR処理部13を制御して、XをRだけ進め(X=X+R)、Nを1つカウントし(N=N+1)、ステップS407に進む。   In step S406, the main control unit 31 controls the MICR processing unit 13, advances X by R (X = X + R), counts N by 1 (N = N + 1), and proceeds to step S407.

一方、ステップS403では、主制御部31は、MICR処理部13を制御して、Xを1つカウントし(X=X+1)、ステップS407に進む。   On the other hand, in step S403, the main control unit 31 controls the MICR processing unit 13 to count one X (X = X + 1), and proceeds to step S407.

ステップS407では、主制御部31は、MICR処理部13を制御して、XがLength未満か否かを判断し、XがLength未満であれば、ステップS402に戻り、XがLength以上であれば、文字切り出し処理を終了し、図10のステップS302へ進む。   In step S407, the main control unit 31 controls the MICR processing unit 13 to determine whether X is less than Length. If X is less than Length, the process returns to step S402, and if X is greater than or equal to Length, Then, the character cutout process is terminated, and the process proceeds to step S302 in FIG.

図10に戻って、ステップS302では、主制御部31は、MICR処理部13を制御して、文字数カウントNを0にリセットし、ステップS303に進む。   Returning to FIG. 10, in step S302, the main control unit 31 controls the MICR processing unit 13 to reset the character count N to 0, and proceeds to step S303.

ステップS303では、主制御部31は、MICR処理部13を制御して、N文字目の磁気データを取得し、ステップS304に進む。ここでは、MICR処理部13は、メモリ34に保存された位置情報データを参照し、磁気データ中の位置情報データに該当する部分の波形を切り出す。   In step S303, the main control unit 31 controls the MICR processing unit 13 to acquire the Nth character magnetic data, and proceeds to step S304. Here, the MICR processing unit 13 refers to the position information data stored in the memory 34 and cuts out the waveform of the portion corresponding to the position information data in the magnetic data.

ステップS304では、主制御部31は、MICR処理部13を制御して、N文字目の磁気データについて、ピーク位置信号を検出してピーク位置データを作成し、ステップS305に進む。   In step S304, the main control unit 31 controls the MICR processing unit 13 to detect a peak position signal for the N-th magnetic data and create peak position data, and the process proceeds to step S305.

本実施形態での磁気インク文字のフォントであるE13Bフォントは、1文字分の幅を時間軸に対して8等分に分割すると、磁気ヘッド1000で文字を読み取った際に得られる読取信号のピークは、それぞれ異なるブロックに存在するよう構成されている。   The E13B font, which is a font for magnetic ink characters in the present embodiment, has a peak read signal obtained when characters are read by the magnetic head 1000 when the width of one character is divided into eight equal parts with respect to the time axis. Are configured to exist in different blocks.

そこで、MICR処理部13は、1文字毎に8等分すると共に、磁気信号のピーク位置を検出し、検出したピーク位置をピーク位置信号として算出する。さらに、MICR処理部13は、ピーク位置毎の振幅レベルを検出し、ピーク位置における時間と振幅レベルを示すピーク値データを算出する。   Therefore, the MICR processing unit 13 divides the character into eight equal parts, detects the peak position of the magnetic signal, and calculates the detected peak position as the peak position signal. Furthermore, the MICR processing unit 13 detects the amplitude level for each peak position, and calculates peak value data indicating the time and amplitude level at the peak position.

ピーク位置の検出方法としては、例えば、サンプリング波形の振幅レベルが増加から減少に転じた点、およびサンプリング波形の振幅レベルが減少から増加に転じた点をピーク位置として検出する方法がある。   As a method of detecting the peak position, for example, there is a method of detecting, as the peak position, a point where the amplitude level of the sampling waveform has changed from increase to decrease and a point where the amplitude level of the sampling waveform has changed from decrease to increase.

なお、ピーク位置の検出方法は、その他の態様であっても構わない。例えば、図12(a)に示す磁気データ波形について、上記の方法でピーク位置を検出した結果の信号は、図12(b)に示すようになり、ピーク値データは、図12(c)に示すようになる。   Note that the peak position detection method may be in other forms. For example, for the magnetic data waveform shown in FIG. 12 (a), the signal resulting from detecting the peak position by the above method is as shown in FIG. 12 (b), and the peak value data is shown in FIG. 12 (c). As shown.

ステップS305では、主制御部31は、MICR処理部13を制御して、ステップS304で得られたピーク値データに基づいてピーク位置の時間と振幅レベル(極性)との関係をテーブルで表したサンプルテーブルを作成し、ステップS306に進む。   In step S305, the main control unit 31 controls the MICR processing unit 13, and based on the peak value data obtained in step S304, a sample representing the relationship between the peak position time and the amplitude level (polarity) in a table A table is created and the process proceeds to step S306.

図13に、サンプルテーブルの一例を示す。なお、図13では、便宜上、N文字目の磁気データのピーク位置は、4つ検出されたものとしているが、これに限定されない。   FIG. 13 shows an example of the sample table. In FIG. 13, for convenience, it is assumed that four peak positions of the N-th magnetic data are detected, but the present invention is not limited to this.

ステップS306では、主制御部31は、MICR処理部13を制御して、ステップS104で選択されたMICR辞書テーブルの辞書データと、ステップS305にて作成されたサンプルテーブルのデータとを比較する。ここでの比較処理は、サンプルテーブルの文字のピークとすべてのMICR辞書テーブルとの二次元上の距離を各々算出することで行われる。   In step S306, the main control unit 31 controls the MICR processing unit 13 to compare the dictionary data in the MICR dictionary table selected in step S104 with the data in the sample table created in step S305. The comparison processing here is performed by calculating two-dimensional distances between the character peaks of the sample table and all the MICR dictionary tables.

図14は、MICR辞書テーブルの波形データとサンプルテーブルの波形データとを重ねて表示した図である。   FIG. 14 is a diagram in which the waveform data of the MICR dictionary table and the waveform data of the sample table are displayed in an overlapping manner.

図14において、縦軸は振幅、横軸は時間であり、実線にて表された波形がサンプルテーブルの波形データ、点線にて表された波形がMICR辞書テーブルの波形データである。   In FIG. 14, the vertical axis represents amplitude, the horizontal axis represents time, the waveform represented by a solid line represents the waveform data of the sample table, and the waveform represented by a dotted line represents the waveform data of the MICR dictionary table.

ここで、図13に示すサンプルテーブルと図8に示すMICR辞書テーブルとの比較処理について説明する。   Here, a comparison process between the sample table shown in FIG. 13 and the MICR dictionary table shown in FIG. 8 will be described.

MICR処理部13は、図13に示すサンプルテーブルの1つ目の項(St_0、Sl_0)に対して、MICR辞書テーブルにある4つの項の二次元上の距離L0〜L3を算出する。   The MICR processing unit 13 calculates the two-dimensional distances L0 to L3 of the four terms in the MICR dictionary table with respect to the first term (St_0, Sl_0) of the sample table shown in FIG.

図14に示すように、距離L0は、サンプルテーブル波形の最初のピークS_peak0からMICR辞書テーブル波形の最初のピークD_peak0までの距離である。距離L1は、サンプルテーブル波形の最初のピークS_peak0からMICR辞書テーブル波形の2番目のピークD_peak1までの距離である。   As shown in FIG. 14, the distance L0 is a distance from the first peak S_peak0 of the sample table waveform to the first peak D_peak0 of the MICR dictionary table waveform. The distance L1 is a distance from the first peak S_peak0 of the sample table waveform to the second peak D_peak1 of the MICR dictionary table waveform.

距離L2は、サンプルテーブル波形の最初のピークS_peak0からMICR辞書テーブル波形の3番目のピークD_peak2までの距離である。距離L3は、サンプルテーブル波形の最初のピークS_peak0からMICR辞書テーブル波形の4番目のピークD_peak3までの距離である。   The distance L2 is a distance from the first peak S_peak0 of the sample table waveform to the third peak D_peak2 of the MICR dictionary table waveform. The distance L3 is a distance from the first peak S_peak0 of the sample table waveform to the fourth peak D_peak3 of the MICR dictionary table waveform.

これらの距離L0〜L3は、次式で算出される。
L0={A×(St_0−Dt_0)2+B×(Sl_0−Dl_0)21/2
L1={A×(St_0−Dt_1)2+B×(Sl_0−Dl_1)21/2
L2={A×(St_0−Dt_2)2+B×(Sl_0−Dl_2)21/2
L3={A×(St_0−Dt_3)2+B×(Sl_0−Dl_3)21/2
(A、Bは所定の定数)
なお、上式で距離を求める際に、波形データの縦横比が極端に縦長や横長にならないように適宜波形データを調整しておくことが好適である。
These distances L0 to L3 are calculated by the following equations.
L0 = {A × (St — 0−Dt — 0) 2 + B × (S1 — 0—D1 — 0) 2 } 1/2
L1 = {A × (St — 0−Dt — 1) 2 + B × (Sl — 0—Dl — 1) 2 } 1/2
L2 = {A × (St — 0−Dt — 2 ) 2 + B × (Sl — 0—Dl — 2 ) 2 } 1/2
L3 = {A × (St — 0−Dt — 3) 2 + B × (Sl — 0—Dl — 3) 2 } 1/2
(A and B are predetermined constants)
When obtaining the distance using the above equation, it is preferable to appropriately adjust the waveform data so that the aspect ratio of the waveform data does not become extremely long or long.

次に、MICR処理部13は、算出した距離に基づいて、サンプルテーブルの1つ目の項は、MICR辞書テーブルにある4つの項の中でどれに最も近いかを総当りで判定し、最も近いピークの距離を記憶する。   Next, the MICR processing unit 13 determines, based on the calculated distance, the brute force which is closest to the first term in the sample table among the four terms in the MICR dictionary table. Memorize near peak distance.

1つ目のサンプルデータに最も近いと判定した辞書テーブルの中の項は、以降省かれる。そして、サンプルテーブルの2つ目の項(St_1、Sl_1)、3つ目の項(St_2、Sl_2)…に対して、同様にMICR辞書テーブルの項の二次元上の距離を演算し、どの項に近いかを判定する。   The term in the dictionary table determined to be closest to the first sample data is omitted thereafter. Then, for the second term (St_1, Sl_1), the third term (St_2, Sl_2),... In the sample table, the two-dimensional distance of the terms in the MICR dictionary table is calculated in the same way, It is judged whether it is near.

そして、それぞれ最も近いピークの間の距離を総当りで4つ目の項(St_3、Sl_3)まで判定し、それぞれのサンプルデータに最も近いと判定した項までの距離を加算して、その総和値をメモリ34に記憶する。   Then, the distance between the nearest peaks is determined up to the fourth term (St_3, S1_3), and the distance to the term determined to be closest to each sample data is added, and the total value is obtained. Is stored in the memory 34.

同様にして、図13のサンプルテーブルに対してMICR辞書テーブルの次の文字、その次の文字というように最も近いと判定した距離の総和を算出し、メモリ34に記憶し、ステップS307に進む。   Similarly, the sum of the distances determined to be closest such as the next character in the MICR dictionary table and the next character in the sample table of FIG. 13 is calculated, stored in the memory 34, and the process proceeds to step S307.

ステップS307では、主制御部31は、MICR処理部13を制御して、ステップS306にて算出された距離の総和から認識結果文字の決定を行う。ここでは、主制御部31は、認識結果文字として、ステップS306にて算出した距離の総和が最小となる辞書テーブルの文字を磁気的類似度が大きい文字として選択する。   In step S307, the main control unit 31 controls the MICR processing unit 13 to determine a recognition result character from the sum of the distances calculated in step S306. Here, the main control unit 31 selects a character in the dictionary table that minimizes the sum of the distances calculated in step S306 as a character having a high magnetic similarity as a recognition result character.

そして、主制御部31は、選択した文字と、該文字を認識した際の距離の総和(以下、「スコア」と呼ぶ)とを関連づけて、メモリ34に保存し、ステップS308に進む。   Then, the main control unit 31 associates the selected character with the total distance (hereinafter referred to as “score”) when the character is recognized, stores it in the memory 34, and proceeds to step S308.

ステップS308では、主制御部31は、MICR処理部13を制御して、文字数カウントNが切り出されたすべての文字数未満が否かを判断する。そして、Nが文字数未満の場合は、辞書データに類似していると判断して、ステップS309に進み、Nが文字数以上の場合は、図2のステップS106に進む。   In step S308, the main control unit 31 controls the MICR processing unit 13 to determine whether the character count N is less than all the extracted characters. If N is less than the number of characters, it is determined that the data is similar to the dictionary data, and the process proceeds to step S309. If N is greater than or equal to the number of characters, the process proceeds to step S106 in FIG.

ステップS309では、主制御部31は、MICR処理部13を制御して、Nを1カウントし(N=N+1)、ステップS303に戻る。   In step S309, the main control unit 31 controls the MICR processing unit 13, counts N by 1 (N = N + 1), and returns to step S303.

図2に戻って、ステップS106では、主制御部31は、磁気インク文字認識処理における認識結果をホスト装置40へと出力する。   Returning to FIG. 2, in step S <b> 106, the main control unit 31 outputs the recognition result in the magnetic ink character recognition process to the host device 40.

図15は、図2のステップS106における認識結果の出力処理について説明するためのフローチャート図である。図15において、Cは所定の閾値、Nは文字数カウント、Lengthは文字列の長さである。   FIG. 15 is a flowchart for explaining the recognition result output process in step S106 of FIG. In FIG. 15, C is a predetermined threshold, N is a character count, and Length is the length of a character string.

ステップS501では、主制御部31は、文字数カウントNを0にリセットし、ステップS502に進む。   In step S501, the main control unit 31 resets the character count N to 0, and proceeds to step S502.

ステップS502では、主制御部31は、メモリ34からN番目の文字認識結果における「スコア(距離の総和)」を取得し、ステップS503に進む。ここで、「スコア(距離の総和)」は、サンプリングデータとMICR辞書データとの差異の度合いを表している。   In step S502, the main control unit 31 obtains “score (sum of distances)” in the Nth character recognition result from the memory 34, and proceeds to step S503. Here, the “score (total distance)” represents the degree of difference between the sampling data and the MICR dictionary data.

ステップS503では、主制御部31は、N番目の文字の「スコア(距離の総和)」が閾値Cを超えているか否かを判断する。   In step S <b> 503, the main control unit 31 determines whether or not the “score (total distance)” of the Nth character exceeds the threshold value C.

そして、主制御部31は、N番目の文字の「スコア(距離の総和)」が閾値C以下の場合は、MICR処理部13における磁気インク文字の認識結果が信頼できると判断し、ステップS505に進む。   When the “score (total distance)” of the Nth character is equal to or less than the threshold C, the main control unit 31 determines that the magnetic ink character recognition result in the MICR processing unit 13 is reliable, and the process proceeds to step S505. move on.

一方、主制御部31は、N番目の文字の「スコア(距離の総和)」が閾値Cを超える場合は、MICR処理部13における磁気インク文字の認識結果が信頼できないものと判断し、ステップS504に進む。   On the other hand, if the “score (total distance)” of the Nth character exceeds the threshold value C, the main control unit 31 determines that the magnetic ink character recognition result in the MICR processing unit 13 is unreliable, and step S504. Proceed to

ステップS504では、主制御部31は、磁気インク文字認識結果を認識不可能な文字であったことを示す「未読」に変更し、ステップS505に進む。   In step S504, the main control unit 31 changes the magnetic ink character recognition result to “unread” indicating that the character is an unrecognizable character, and proceeds to step S505.

ステップS505では、主制御部31は、文字数カウントNが文字列の長さLengthに達したか否かを判断する。   In step S505, the main control unit 31 determines whether or not the character count N has reached the length Length of the character string.

そして、主制御部31は、文字数カウントNが文字列の長さLengthに達した場合は、外部インターフェイス32を介して磁気インク文字の認識結果をホスト装置40に送信し、処理を終了する。一方、主制御部31は、文字数カウントNが文字列の長さLengthに達していない場合は、ステップS506に進む。   When the character count N reaches the length of the character string, the main control unit 31 transmits the magnetic ink character recognition result to the host device 40 via the external interface 32, and ends the process. On the other hand, if the character count N has not reached the length Length of the character string, the main control unit 31 proceeds to step S506.

ステップS506では、 主制御部31は、文字数カウントNを1カウント増やし(N=N+1)て、ステップS502に戻り、処理を繰り返す。   In step S506, the main control unit 31 increments the character count N by 1 (N = N + 1), returns to step S502, and repeats the processing.

以上で説明したように、本実施例では、読取センサ2000で読み取られた画像データに基づき磁気インク文字の傾き角を算出する。そして、算出した磁気インク文字の傾き角に適した辞書データを備えるMICR辞書テーブルをMICR辞書テーブル記憶部12から選択し、選択した辞書データを備えるMICR辞書テーブルを用いて磁気インク文字の認識処理を行う。これにより、磁気インク文字が傾いた状態で磁気ヘッド1000を通過した場合における磁気インク文字の誤認識を防止することができる。   As described above, in this embodiment, the tilt angle of the magnetic ink character is calculated based on the image data read by the reading sensor 2000. Then, the MICR dictionary table having dictionary data suitable for the calculated inclination angle of the magnetic ink character is selected from the MICR dictionary table storage unit 12, and the magnetic ink character recognition process is performed using the MICR dictionary table having the selected dictionary data. Do. Thereby, it is possible to prevent erroneous recognition of the magnetic ink characters when the magnetic ink characters pass through the magnetic head 1000 in a tilted state.

なお、本実施形態では、光学文字認識処理による認識結果の文字の位置情報を磁気インク文字の傾きを算出するためにのみ用いたが、光学文字認識処理により認識された文字を磁気インク文字の認識結果として出力することも可能である。   In this embodiment, the character position information obtained by the optical character recognition process is used only for calculating the inclination of the magnetic ink character. However, the character recognized by the optical character recognition process is recognized by the magnetic ink character. It is also possible to output as a result.

例えば、MICR処理部13によって認識された磁気インク文字のうち、ステップS503で「スコア」が閾値Cを超える文字の場合は、ステップS504で認識結果を「未読」に変更するのではなく、認識結果を光学文字認識処理よる認識文字に変更してもよい。   For example, if the “score” exceeds the threshold value C in step S503 among the magnetic ink characters recognized by the MICR processing unit 13, the recognition result is not changed to “unread” in step S504. May be changed to a recognized character by optical character recognition processing.

また、本実施形態では、傾き角の算出に光学文字認識処理にて認識した各文字の位置情報を使用したが、これに限定されず、例えば、画像データに含まれる原稿の端部の情報から画像の傾き角度を算出してもよい。   In this embodiment, the position information of each character recognized by the optical character recognition process is used for calculating the tilt angle. However, the present invention is not limited to this. For example, the information on the edge of the document included in the image data is used. The tilt angle of the image may be calculated.

更に、原稿の画像の下端から垂直方向に画像を走査し、初めて黒画素(磁気インク文字を構成する画素)が現れた点を水平方向の異なる複数の位置で検出し、検出された複数の点と上式(1)を用いて文字の傾き角を算出してもよい。   Further, the image is scanned in the vertical direction from the lower end of the image of the document, and the point where the black pixel (the pixel constituting the magnetic ink character) appears for the first time is detected at a plurality of positions in the horizontal direction. And the above equation (1) may be used to calculate the tilt angle of the character.

更に、本実施形態では、磁気インク文字が傾いている場合と、傾いていない場合とで、別々のMICR辞書テーブルを用いる構成としたが、これに限定されない。   Furthermore, in the present embodiment, separate MICR dictionary tables are used for the case where the magnetic ink characters are inclined and the case where they are not inclined, but the present invention is not limited to this.

例えば、単一のMICR辞書テーブルを備える構成とし、文字の傾き角に応じて、MICR辞書テーブルの辞書データのピーク位置を変更して調整するようにしてもよい。このようにすると、メモリ使用量を削減することができる。   For example, a single MICR dictionary table may be provided, and the peak position of dictionary data in the MICR dictionary table may be changed and adjusted in accordance with the inclination angle of characters. In this way, memory usage can be reduced.

更に、本実施形態では、磁気インク文字の傾き角の算出を小切手のすべての文字に対して1つの値として行っているが、小切手の隣り合う文字毎に別々に傾き角を算出し、それぞれの文字毎に傾いているか否かを判断するようにしてもよい。このようにすると、磁気インク文字の認識処理における認識率のさらなる向上が期待できる。また、光学文字認識を傾きの検出だけにしておき、MICRの認識結果のスコアが悪い文字について光学文字認識による文字判定を改めて行うようにしてもよい。   Further, in this embodiment, the inclination angle of the magnetic ink character is calculated as one value for all the characters of the check. However, the inclination angle is calculated separately for each adjacent character of the check, It may be determined whether or not each character is inclined. If it does in this way, the further improvement of the recognition rate in recognition processing of a magnetic ink character can be expected. Alternatively, optical character recognition may be performed only by detecting inclination, and character determination by optical character recognition may be performed again for a character having a poor MICR recognition result score.

なお、本発明は、上記実施形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。   In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.

例えば、本発明の磁気文字認識や光学文字認識の処理の一部又は全てをホスト装置等の外部装置で行ってもよい。この場合、画像読取装置とホスト装置等の外部装置とを含むシステムが本発明の画像読取装置に相当する。また、本発明の処理の一部又は全てをハードウェアによる処理に変更してもよい。   For example, part or all of the magnetic character recognition and optical character recognition processing of the present invention may be performed by an external device such as a host device. In this case, a system including an image reading device and an external device such as a host device corresponds to the image reading device of the present invention. Also, part or all of the processing of the present invention may be changed to processing by hardware.

また、本発明の目的は、以下の処理を実行することによっても達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。   The object of the present invention can also be achieved by executing the following processing. That is, a storage medium in which a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. This is the process of reading the code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.

更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。   Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

1A 画像読取装置
3 搬送路
10 MICR装置
11 磁気データ処理部
12 MICR辞書テーブル記憶部
13 MICR処理部
20 OCR装置
21 画像データ処理部
22 OCR処理部
23 OCR辞書テーブル記憶部
31 主制御部
32 外部インターフェイス
33 アドレスバス
34 メモリ
40 ホスト装置
1000 磁気ヘッド
2000 読取センサ
1A Image reader 3 Transport path 10 MICR device 11 Magnetic data processing unit 12 MICR dictionary table storage unit 13 MICR processing unit 20 OCR device 21 Image data processing unit 22 OCR processing unit 23 OCR dictionary table storage unit 31 Main control unit 32 External interface 33 Address bus 34 Memory 40 Host device 1000 Magnetic head 2000 Read sensor

Claims (10)

原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読取手段と、
該磁気読取手段により読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識手段と、
原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段と、
該画像読取手段により読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出手段と、を備え、
前記磁気文字認識手段は、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出手段により算出された磁気インク文字の傾き角に基づいて変更する、
ことを特徴とする画像読取装置。
Magnetic reading means for reading magnetic recognition data from magnetic ink characters printed on a document;
Magnetic character recognition means for recognizing magnetic ink characters printed on a document based on magnetic similarity obtained by comparing magnetic recognition data read by the magnetic reading means and MICR dictionary information;
Image reading means for optically reading magnetic ink characters printed on a document as image data;
Calculating means for calculating an inclination angle of the magnetic ink character based on image data of the magnetic ink character read by the image reading means;
The magnetic character recognizing unit changes the MICR dictionary information used when recognizing the magnetic ink character printed on the document based on the inclination angle of the magnetic ink character calculated by the calculating unit;
An image reading apparatus.
前記磁気インク文字の傾き角に応じた複数の種類のMICR辞書情報を記憶する記憶部を備え、
前記磁気文字認識手段は、前記算出手段により算出された磁気インク文字の傾き角に基づいて、前記記憶部に記憶された複数の種類のMICR辞書情報から原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を選択する、
ことを特徴とする請求項1に記載の画像読取装置。
A storage unit for storing a plurality of types of MICR dictionary information corresponding to the inclination angle of the magnetic ink characters;
The magnetic character recognizing unit recognizes a magnetic ink character printed on a document from a plurality of types of MICR dictionary information stored in the storage unit, based on the inclination angle of the magnetic ink character calculated by the calculating unit. Selecting the MICR dictionary information to be used when
The image reading apparatus according to claim 1.
前記磁気的類似度の大きさに基づいて、前記磁気文字認識手段による前記磁気インク文字の認識結果を未読に差し替えるか否かを判断する判断手段を備える、
ことを特徴とする請求項1又は2に記載の画像読取装置。
Based on the magnitude of the magnetic similarity, the magnetic character recognition unit includes a determination unit that determines whether to replace the magnetic ink character recognition result with unread.
The image reading apparatus according to claim 1, wherein
前記算出手段は、前記画像読取手段により読み取られた磁気インク文字の画像データに含まれる原稿の端部の情報から前記画像の傾き角を算出する、
ことを特徴とする請求項1〜3のいずれか一項に記載の画像読取装置。
The calculating unit calculates an inclination angle of the image from information on an edge of the document included in the image data of the magnetic ink characters read by the image reading unit;
The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
前記画像読取手段により読み取られた画像データに含まれる磁気インク文字を光学的に認識する光学文字認識手段を備える、
ことを特徴とする請求項1又は2に記載の画像読取装置。
Optical character recognition means for optically recognizing magnetic ink characters contained in the image data read by the image reading means;
The image reading apparatus according to claim 1, wherein
前記磁気的類似度の大きさに基づいて、前記磁気文字認識手段による前記磁気インク文字の認識結果を前記光学文字認識手段による磁気インク文字の認識結果に差し替えるか否かを判断する判断手段を備える、
ことを特徴とする請求項5に記載の画像読取装置。
Based on the magnitude of the magnetic similarity, there is provided a judging means for judging whether or not to replace the magnetic ink character recognition result by the magnetic character recognition means with the magnetic ink character recognition result by the optical character recognition means. ,
The image reading apparatus according to claim 5.
前記算出手段は、前記光学文字認識手段により認識された文字の位置情報に基づいて原稿に印刷された磁気インク文字の傾きを算出する、
ことを特徴とする請求項5又は6に記載の画像読取装置。
The calculating unit calculates the inclination of the magnetic ink character printed on the document based on the position information of the character recognized by the optical character recognizing unit;
The image reading apparatus according to claim 5, wherein the image reading apparatus is an image reading apparatus.
原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読取手段と、原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段とを備える画像読取装置の制御方法であって、
前記磁気読取手段を用いて読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識ステップと、
前記画像読取手段を用いて読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出ステップと、を備え、
前記磁気文字認識ステップは、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出ステップで算出された磁気インク文字の傾き角に基づいて変更する、
ことを特徴とする画像読取装置の制御方法。
A control method for an image reading apparatus, comprising: a magnetic reading unit that reads magnetic recognition data from magnetic ink characters printed on a document; and an image reading unit that optically reads magnetic ink characters printed on a document as image data. ,
A magnetic character recognition step for recognizing magnetic ink characters printed on a document based on magnetic similarity obtained by comparing magnetic recognition data read using the magnetic reading means and MICR dictionary information;
A calculation step of calculating an inclination angle of the magnetic ink character based on image data of the magnetic ink character read using the image reading unit,
In the magnetic character recognition step, the MICR dictionary information used when recognizing the magnetic ink characters printed on the original is changed based on the inclination angle of the magnetic ink characters calculated in the calculation step.
A control method for an image reading apparatus.
原稿に印刷された磁気インク文字から磁気認識データを読み取る磁気読取手段と、原稿に印刷された磁気インク文字を画像データとして光学的に読み取る画像読取手段とを備える画像読取装置の制御プログラムであって、
前記磁気読取手段を用いて読み取られた磁気認識データとMICR辞書情報とを比較することで得られる磁気的類似度に基づいて、原稿に印刷された磁気インク文字を認識する磁気文字認識ステップと、
前記画像読取手段を用いて読み取られた磁気インク文字の画像データに基づいて、該磁気インク文字の傾き角を算出する算出ステップと、をコンピュータに実行させ、
前記磁気文字認識ステップは、原稿に印刷された磁気インク文字を認識する際に用いる前記MICR辞書情報を前記算出ステップで算出された磁気インク文字の傾き角に基づいて変更する、
ことを特徴とする画像読取装置の制御プログラム。
A control program for an image reading apparatus comprising magnetic reading means for reading magnetic recognition data from magnetic ink characters printed on a document, and image reading means for optically reading magnetic ink characters printed on a document as image data. ,
A magnetic character recognition step for recognizing magnetic ink characters printed on a document based on magnetic similarity obtained by comparing magnetic recognition data read using the magnetic reading means and MICR dictionary information;
Calculating a tilt angle of the magnetic ink character based on the image data of the magnetic ink character read using the image reading unit;
In the magnetic character recognition step, the MICR dictionary information used when recognizing the magnetic ink characters printed on the original is changed based on the inclination angle of the magnetic ink characters calculated in the calculation step.
A control program for an image reading apparatus.
請求項9に記載の制御プログラムを格納した、
ことを特徴とするコンピュータで読み取り可能な記憶媒体。
The control program according to claim 9 is stored.
A computer-readable storage medium characterized by the above.
JP2009093725A 2009-04-08 2009-04-08 Image reading device, method for controlling image reading device, control program and storage medium Pending JP2010244386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009093725A JP2010244386A (en) 2009-04-08 2009-04-08 Image reading device, method for controlling image reading device, control program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009093725A JP2010244386A (en) 2009-04-08 2009-04-08 Image reading device, method for controlling image reading device, control program and storage medium

Publications (1)

Publication Number Publication Date
JP2010244386A true JP2010244386A (en) 2010-10-28

Family

ID=43097325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009093725A Pending JP2010244386A (en) 2009-04-08 2009-04-08 Image reading device, method for controlling image reading device, control program and storage medium

Country Status (1)

Country Link
JP (1) JP2010244386A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01269190A (en) * 1988-04-21 1989-10-26 Canon Inc Character recognizing device
JPH05233874A (en) * 1992-02-18 1993-09-10 Fujitsu Ltd Optical character reader
JP2004110612A (en) * 2002-09-20 2004-04-08 Pfu Ltd Image reader with magnetic ink character data reading mechanism, and its control method
JP2004259254A (en) * 2003-02-03 2004-09-16 Seiko Epson Corp Magnetic ink character reading device and its reading processing method
JP2008129868A (en) * 2006-11-21 2008-06-05 Nidec Sankyo Corp Magnetic ink character recognition method and magnetic character recognition device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01269190A (en) * 1988-04-21 1989-10-26 Canon Inc Character recognizing device
JPH05233874A (en) * 1992-02-18 1993-09-10 Fujitsu Ltd Optical character reader
JP2004110612A (en) * 2002-09-20 2004-04-08 Pfu Ltd Image reader with magnetic ink character data reading mechanism, and its control method
JP2004259254A (en) * 2003-02-03 2004-09-16 Seiko Epson Corp Magnetic ink character reading device and its reading processing method
JP2008129868A (en) * 2006-11-21 2008-06-05 Nidec Sankyo Corp Magnetic ink character recognition method and magnetic character recognition device

Similar Documents

Publication Publication Date Title
JP5698396B1 (en) Image reading apparatus, image reading method, and program
US9848104B1 (en) Image-processing apparatus, method, and computer program product for correcting skew in scanned images
JP5132438B2 (en) Image processing apparatus and image processing method
JP4694613B2 (en) Document orientation determination apparatus, document orientation determination method, program, and recording medium therefor
JP4533327B2 (en) Image processing apparatus and method, computer program, and storage medium
KR20190033451A (en) Image processing apparatus, image processing method, and storage medium
JPH1139428A (en) Direction correcting method for document video
US6771842B1 (en) Document image skew detection method
JP2021043775A (en) Information processing device and program
JP4869841B2 (en) Image processing apparatus, image direction determination method, and image direction determination program
US9710945B2 (en) Method for cutting out character, character recognition apparatus using this method, and program
US20110188057A1 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
JP4386275B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
US9110926B1 (en) Skew detection for vertical text
JP2010244386A (en) Image reading device, method for controlling image reading device, control program and storage medium
US20180174324A1 (en) Image processing apparatus for clipping and sorting images from read image according to cards and control method therefor
JP2010186231A (en) Image reader, method of controlling the same, control program, and storage medium
JP2007011529A (en) Method for determining character recognition position in ocr processing
JP2017199328A (en) Information reading device
JP3709991B2 (en) Score recognition device
JP2017108249A (en) Image reader and image forming apparatus
US20220335738A1 (en) Image processing system, image processing method, and storage medium
JP6497138B2 (en) Document reading apparatus, display control method, and display control program
JP5248074B2 (en) Music score recognition apparatus, music score recognition method, and computer program
US20230027065A1 (en) Image processing apparatus, image processing method, and non-transitory recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130903

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140225