JP2012185762A - Recording medium processor, control method of recording medium processor, and program - Google Patents

Recording medium processor, control method of recording medium processor, and program Download PDF

Info

Publication number
JP2012185762A
JP2012185762A JP2011049919A JP2011049919A JP2012185762A JP 2012185762 A JP2012185762 A JP 2012185762A JP 2011049919 A JP2011049919 A JP 2011049919A JP 2011049919 A JP2011049919 A JP 2011049919A JP 2012185762 A JP2012185762 A JP 2012185762A
Authority
JP
Japan
Prior art keywords
character
magnetic ink
peak
waveform data
recording medium
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.)
Withdrawn
Application number
JP2011049919A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kinoshita
禄章 木下
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011049919A priority Critical patent/JP2012185762A/en
Publication of JP2012185762A publication Critical patent/JP2012185762A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To enhance a recognition rate when recognizing magnetic ink characters.SOLUTION: A check reading device 1 comprises: a check conveyance mechanism 30; a magnetic head 54; and a controller 71. The check reading device 1 analyzes signal waveform data that are obtained by magnetically reading magnetic ink characters, recorded on a check 4 to be conveyed, by means of the magnetic head 54 and determines a character cutout starting position of one magnetic ink character based on a position of a first peak that is determined to be a first peak P1 in the signal waveform data and detected so as to cut out first character waveform data. Further, the check reading device 1 executes magnetic ink character recognition with respect to the first character waveform data. Furthermore, in a case where character types of the magnetic ink characters are determined to be incapable of being recognized, the check reading device 1 re-determines the position character cutout starting position based on a position of a second peak having been determined to be a peak adjacent to the first peak and cuts out second character waveform data so as to re-executes the magnetic ink character recognition with respect to the second character waveform data.

Description

本発明は、記録媒体処理装置、記録媒体処理装置の制御方法、及びプログラムに関する。   The present invention relates to a recording medium processing apparatus, a control method for the recording medium processing apparatus, and a program.

小切手等の記録媒体に記録された磁気インク文字を読み取る磁気ヘッドを備え、搬送路を搬送される記録媒体の磁気インク文字を読み取って、磁気インク文字を認識する記録媒体処理装置(小切手類読取装置)が知られている(例えば、特許文献1参照)。
このような記録媒体処理装置では、磁気インク文字を読み取って得られる信号波形データから、検出された最初のピークの位置に基づいて1つの磁気インク文字に対応する文字波形データを切り出し、切り出した文字波形データの波形と規格で定められた文字種類の基準波形とを比較して磁気インク文字認識を行い、磁気インク文字の文字種類を判別している。
A recording medium processing device (check device reader) that includes a magnetic head for reading magnetic ink characters recorded on a recording medium such as a check, and that reads magnetic ink characters on a recording medium conveyed on a conveyance path and recognizes the magnetic ink characters ) Is known (see, for example, Patent Document 1).
In such a recording medium processing apparatus, character waveform data corresponding to one magnetic ink character is cut out from the signal waveform data obtained by reading the magnetic ink character, based on the position of the detected first peak, and the cut out character The magnetic ink character recognition is performed by comparing the waveform of the waveform data with the reference waveform of the character type determined by the standard to determine the character type of the magnetic ink character.

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

しかしながら、信号波形データから文字波形データを切り出す際に、文字切り出し開始位置を決定する基準となる最初のピークが精度良く検出されなかった場合、誤った文字切り出し開始位置で文字波形データを切り出してしまい、切り出した文字波形データから磁気インク文字認識ができなくなることがあるという課題があった。   However, when extracting the character waveform data from the signal waveform data, if the first peak that is the reference for determining the character extraction start position is not accurately detected, the character waveform data is extracted at the wrong character extraction start position. There has been a problem that magnetic ink character recognition may not be possible from the extracted character waveform data.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]本適用例に係る記録媒体処理装置は、記録媒体を搬送する搬送部と、前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、前記搬送部と前記読取部とを制御する制御部と、を備え、前記制御部は、前記搬送部を制御して前記記録媒体を搬送させ、搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける最初のピークであると判断した第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行することを特徴とする。   Application Example 1 A recording medium processing apparatus according to this application example includes a conveyance unit that conveys a recording medium, a reading unit that magnetically reads magnetic ink characters recorded on the recording medium, the conveyance unit, and the reading unit A control unit that controls the recording unit, the control unit controlling the transport unit to transport the recording medium, and reading the magnetic ink characters of the transported recording medium by the reading unit. The first peak determined to be the first peak in the signal waveform data is detected, and the character cutout start position of one magnetic ink character is determined based on the position of the first peak. The first character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character, and magnetic ink character recognition is performed on the cut out first character waveform data. , And when it is determined that the character type of the magnetic ink character cannot be recognized, a second peak determined to be adjacent to the first peak is detected, and the character is determined based on the position of the second peak. The cut-out start position is determined again, the second character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character, and the magnetic ink character is extracted from the cut out second character waveform data. The recognition is performed again.

この構成によれば、第1文字波形データに対して磁気インク文字認識を実行して磁気インク文字の文字種類を認識できない場合、第1ピークと隣り合う第2ピークの位置に基づいて文字切り出し開始位置を決定し直して第2文字波形データの切り出しを行う。磁気インク文字認識で文字種類を認識できない場合、磁気インク文字の印刷品質のバラツキ等に起因して信号波形データに乱れが生じたこと等により、文字切り出し開始位置を決定する基準となる最初のピークとして一旦判断した第1ピークが誤って検出したものであり、第1ピークと隣り合う第2ピークが本来の最初のピークであることが考えられる。このような場合、第2ピークの位置に基づいて文字切り出し開始位置を決定し直すことで、より精度良く第2文字波形データの切り出しを行うことができる。そして、第2文字波形データに対して磁気インク文字認識を再度実行することにより、磁気インク文字の文字種類の認識率を向上させることが可能となる。   According to this configuration, when magnetic ink character recognition is performed on the first character waveform data and the character type of the magnetic ink character cannot be recognized, character cutting is started based on the position of the second peak adjacent to the first peak. The position is determined again and the second character waveform data is cut out. If the character type cannot be recognized by magnetic ink character recognition, the first peak that becomes the reference for determining the character extraction start position due to disturbances in the signal waveform data due to variations in the print quality of magnetic ink characters, etc. It is considered that the first peak once determined as is detected in error, and the second peak adjacent to the first peak is the original first peak. In such a case, the second character waveform data can be cut out with higher accuracy by re-determining the character cutting start position based on the position of the second peak. Then, by performing magnetic ink character recognition again on the second character waveform data, it is possible to improve the recognition rate of the character type of the magnetic ink character.

[適用例2]上記適用例に係る記録媒体処理装置であって、前記制御部は、前記信号波形データにおいて、前記第1ピークの位置における波形の高さに対する前記第1ピークの位置から所定の幅だけ離れた位置における波形の高さの比率が所定の比率を超える場合に、前記第1ピーのク位置から前記所定の幅だけ離れた位置を前記第2ピークの位置と判断することが好ましい。   Application Example 2 In the recording medium processing apparatus according to the application example described above, the control unit is configured to perform predetermined processing from the position of the first peak with respect to the height of the waveform at the position of the first peak in the signal waveform data. When the ratio of the height of the waveform at a position separated by a width exceeds a predetermined ratio, it is preferable to determine a position that is separated from the first peak position by the predetermined width as the position of the second peak. .

この構成によれば、第1ピークの位置から所定の幅だけ離れ、波形の高さが第1ピークの位置における波形の高さに対して所定の比率を超える高さとなる場合、その位置を第2ピークの位置とする。最初のピークと次のピークとが所定の幅を隔てて存在する文字波形データにおいては、一旦判断した第1ピークが最初のピークでなかった場合、第1ピークの位置から所定の幅だけ離れ、かつ、波形の高さが第1ピークの位置における波形の高さに対して所定の比率を超える位置に第2ピークがあれば、その第2ピークが本来の最初のピークである確実性が高い。そのため、第2ピークの位置に基づいて文字切り出し開始位置を決定し直すことで、第2文字波形データの切り出しをより確実に行うことが可能となる。   According to this configuration, when the waveform is separated from the first peak position by a predetermined width and the waveform height exceeds a predetermined ratio with respect to the waveform height at the first peak position, the position is The position of 2 peaks. In the character waveform data in which the first peak and the next peak are separated from each other by a predetermined width, if the first peak once determined is not the first peak, it is separated from the position of the first peak by a predetermined width, In addition, if there is a second peak at a position where the height of the waveform exceeds a predetermined ratio with respect to the height of the waveform at the position of the first peak, there is a high degree of certainty that the second peak is the original first peak. . Therefore, the second character waveform data can be more reliably cut out by re-determining the character cutout start position based on the position of the second peak.

[適用例3]上記適用例に係る記録媒体処理装置であって、規格で定められた複数の文字種類の基準波形を記憶する記憶部を備え、前記制御部は、前記磁気インク文字のフォントがE−13Bフォントであって、前記第1文字波形データに対して磁気インク文字認識を実行して前記磁気インク文字の文字種類を認識できないと判別した場合、前記記憶部に記憶された複数の文字種類から前記磁気インク文字の文字種類の候補を選別し、前記候補とされた文字種類が「3」又は「8」である場合に、前記第2文字波形データの切り出しを行い、前記第2文字波形データに対して磁気インク文字認識を再度実行することが好ましい。   Application Example 3 A recording medium processing apparatus according to the application example described above, including a storage unit that stores reference waveforms of a plurality of character types defined by a standard, and the control unit includes a font of the magnetic ink character. A plurality of characters stored in the storage unit when the magnetic ink character recognition is performed on the first character waveform data and it is determined that the character type of the magnetic ink character cannot be recognized. Character type candidates of the magnetic ink characters are selected from the types, and when the candidate character type is “3” or “8”, the second character waveform data is cut out, and the second character waveform data is cut out. Preferably, magnetic ink character recognition is performed again on the waveform data.

この構成によれば、磁気インク文字の文字種類を認識できず、候補とされた文字種類がE−13Bフォントにおける「3」又は「8」である場合に、第2の文字波形データの切り出しを行い磁気インク文字認識を再度実行する。E−13Bフォントにおける文字種類「3」及び「8」は、文字切り出し開始位置の基準となる最初のピークと次のピークとが、他の文字種類に比べて狭い間隔で隣り合うように位置しているため、信号波形データの乱れ等により最初のピークの位置で波形が潰れている場合、誤って次のピークを最初のピークとして検出してしまうおそれがある。そのため、このような場合に第2ピークの位置に基づいて第2文字波形データの切り出しを行うことで、文字波形データを精度良く切り出すことができる。   According to this configuration, when the character type of the magnetic ink character cannot be recognized and the candidate character type is “3” or “8” in the E-13B font, the second character waveform data is cut out. And magnetic ink character recognition is performed again. The character types “3” and “8” in the E-13B font are positioned so that the first peak and the next peak, which are the reference for the character extraction start position, are adjacent to each other at a narrower interval than other character types. Therefore, when the waveform is crushed at the position of the first peak due to disturbance of the signal waveform data, the next peak may be erroneously detected as the first peak. Therefore, in such a case, the character waveform data can be accurately cut out by cutting out the second character waveform data based on the position of the second peak.

[適用例4]上記適用例に係る記録媒体処理装置であって、前記制御部は、前記第2ピークの位置に基づく前記第2文字波形データの切り出しを、1つの前記磁気インク文字に対して1回行うことが好ましい。   Application Example 4 In the recording medium processing apparatus according to the application example described above, the control unit cuts out the second character waveform data based on the position of the second peak for one magnetic ink character. It is preferable to carry out once.

この構成によれば、第2ピークの位置に基づく第2文字波形データの切り出しは、1つの磁気インク文字に対して1回のみ行われる。第1ピーク及び第2ピークが最初のピークでない場合、さらに別のピークを探しても最初のピークが検出できない可能性が高い。そのため、第2ピークの位置に基づく第2文字波形データの切り出しを1回のみとすることで、文字波形データの切り出し及び磁気インク文字認識を無駄に繰り返すことを防止できる。   According to this configuration, the extraction of the second character waveform data based on the position of the second peak is performed only once for one magnetic ink character. When the first peak and the second peak are not the first peak, there is a high possibility that the first peak cannot be detected even if another peak is searched for. Therefore, by cutting out the second character waveform data based on the position of the second peak only once, it is possible to prevent the character waveform data from being cut out and the magnetic ink character recognition from being repeated wastefully.

[適用例5]本適用例に係る記録媒体処理装置の制御方法は、記録媒体を搬送する搬送部と、前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、を備えた記録媒体処理装置の制御方法であって、前記搬送部により前記記録媒体を搬送させ、搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行することを特徴とする。   Application Example 5 A control method for a recording medium processing apparatus according to this application example includes a conveyance unit that conveys the recording medium, and a reading unit that magnetically reads magnetic ink characters recorded on the recording medium. A control method for a recording medium processing apparatus, wherein the recording medium is transported by the transport unit, and signal waveform data obtained by reading the magnetic ink characters of the transported recording medium by the reading unit is analyzed, A range corresponding to the one magnetic ink character from the signal waveform data by detecting a first peak in the signal waveform data, determining a character cutout start position of one magnetic ink character based on the position of the first peak. To cut out the first character waveform data, perform magnetic ink character recognition on the cut out first character waveform data, and recognize the character type of the magnetic ink character. If it is determined that it is not possible, the second peak determined to be a peak adjacent to the first peak is detected, the character cutout start position is determined again based on the position of the second peak, and the signal waveform data To the second character waveform data in a range corresponding to the one magnetic ink character, and magnetic ink character recognition is performed again on the extracted second character waveform data.

この方法によれば、第1文字波形データに対して磁気インク文字認識を実行して磁気インク文字の文字種類を認識できない場合、第1ピークと隣り合う第2ピークの位置に基づいて文字切り出し開始位置を決定し直して第2文字波形データの切り出しを行う。磁気インク文字認識で文字種類を認識できない場合、磁気インク文字の印刷品質のバラツキ等に起因して信号波形データに乱れが生じたこと等により、文字切り出し開始位置を決定する基準となる最初のピークとして一旦判断した第1ピークが誤って検出したものであり、第1ピークと隣り合う第2ピークが本来の最初のピークであることが考えられる。このような場合、第2ピークの位置に基づいて文字切り出し開始位置を決定し直すことで、より精度良く第2文字波形データの切り出しを行うことができる。そして、第2文字波形データに対して磁気インク文字認識を再度実行することにより、磁気インク文字の文字種類の認識率を向上させることが可能となる。   According to this method, when magnetic ink character recognition is performed on the first character waveform data and the character type of the magnetic ink character cannot be recognized, character segmentation is started based on the position of the second peak adjacent to the first peak. The position is determined again and the second character waveform data is cut out. If the character type cannot be recognized by magnetic ink character recognition, the first peak that becomes the reference for determining the character extraction start position due to disturbances in the signal waveform data due to variations in the print quality of magnetic ink characters, etc. It is considered that the first peak once determined as is detected in error, and the second peak adjacent to the first peak is the original first peak. In such a case, the second character waveform data can be cut out with higher accuracy by re-determining the character cutting start position based on the position of the second peak. Then, by performing magnetic ink character recognition again on the second character waveform data, it is possible to improve the recognition rate of the character type of the magnetic ink character.

[適用例6]本適用例に係るプログラムは、記録媒体を搬送する搬送部と、前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、を備えた記録媒体処理装置の各部を制御する制御部により実行されるプログラムであって、前記制御部を、前記搬送部により前記記録媒体を搬送させ、搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行する手段として機能させることを特徴とする。   Application Example 6 A program according to this application example includes a transport unit that transports a recording medium, and each unit of a recording medium processing apparatus that includes a reading unit that magnetically reads magnetic ink characters recorded on the recording medium. Is obtained by reading the magnetic ink characters of the recording medium being conveyed by the reading unit, the control unit being caused to convey the recording medium by the conveying unit. Analyzing the signal waveform data, detecting a first peak in the signal waveform data, determining a character cutout start position of one magnetic ink character based on the position of the first peak, and determining the 1 from the signal waveform data Cut out the first character waveform data in a range corresponding to one magnetic ink character, and perform magnetic ink character recognition on the cut out first character waveform data When it is determined that the character type of the magnetic ink character cannot be recognized, a second peak determined to be a peak adjacent to the first peak is detected, and the character cutout start position is determined based on the position of the second peak. The second character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character, and magnetic ink character recognition is again performed on the cut out second character waveform data. It is made to function as a means to perform.

この構成によれば、第1文字波形データに対して磁気インク文字認識を実行して磁気インク文字の文字種類を認識できない場合、第1ピークと隣り合う第2ピークの位置に基づいて文字切り出し開始位置を決定し直して第2文字波形データの切り出しを行う。磁気インク文字認識で文字種類を認識できない場合、磁気インク文字の印刷品質のバラツキ等に起因して信号波形データに乱れが生じたこと等により、文字切り出し開始位置を決定する基準となる最初のピークとして一旦判断した第1ピークが誤って検出したものであり、第1ピークと隣り合う第2ピークが本来の最初のピークであることが考えられる。このような場合、第2ピークの位置に基づいて文字切り出し開始位置を決定し直すことで、より精度良く第2文字波形データの切り出しを行うことができる。そして、第2文字波形データに対して磁気インク文字認識を再度実行することにより、磁気インク文字の文字種類の認識率を向上させることが可能となる。   According to this configuration, when magnetic ink character recognition is performed on the first character waveform data and the character type of the magnetic ink character cannot be recognized, character cutting is started based on the position of the second peak adjacent to the first peak. The position is determined again and the second character waveform data is cut out. If the character type cannot be recognized by magnetic ink character recognition, the first peak that becomes the reference for determining the character extraction start position due to disturbances in the signal waveform data due to variations in the print quality of magnetic ink characters, etc. It is considered that the first peak once determined as is detected in error, and the second peak adjacent to the first peak is the original first peak. In such a case, the second character waveform data can be cut out with higher accuracy by re-determining the character cutting start position based on the position of the second peak. Then, by performing magnetic ink character recognition again on the second character waveform data, it is possible to improve the recognition rate of the character type of the magnetic ink character.

本実施形態に係る小切手読取装置の外観斜視図である。1 is an external perspective view of a check reading apparatus according to the present embodiment. 小切手読取装置の内部構造を示す図である。It is a figure which shows the internal structure of a check reading apparatus. 小切手読取装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a check reading apparatus. 文字認識部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a character recognition part. 検出信号波形データの一例を示す図である。It is a figure which shows an example of detection signal waveform data. 文字波形データの一例を示す図である。It is a figure which shows an example of character waveform data. 差異量を説明するための図である。It is a figure for demonstrating a difference amount. (A)はE−13Bフォントにおける文字種類「3」に対応する基準波形データの内容を模式的に示し、(B)はE−13Bフォントにおける文字種類「8」に対応する基準波形データの内容を模式的に示す図である。(A) schematically shows the contents of the reference waveform data corresponding to the character type “3” in the E-13B font, and (B) shows the contents of the reference waveform data corresponding to the character type “8” in the E-13B font. FIG. 光学認識処理の実行時における文字認識部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the character recognition part at the time of execution of an optical recognition process.

以下に、本発明の一実施形態である記録媒体処理装置、記録媒体処理装置の制御方法、及び、プログラムについて図面を参照して説明する。なお、参照する各図面において、構成をわかりやすく示すため、各構成要素の寸法の比率、角度等が異なる場合がある。   Hereinafter, a recording medium processing apparatus, a control method for the recording medium processing apparatus, and a program according to an embodiment of the present invention will be described with reference to the drawings. In each drawing referred to, in order to show the configuration in an easy-to-understand manner, the dimensional ratio, angle, and the like of each component may be different.

<記録媒体処理装置>
本実施形態に係る記録媒体処理装置を説明する。本実施形態に係る記録媒体処理装置は、小切手読取装置1とホストコンピューター70とで構成される。
<Recording medium processing apparatus>
A recording medium processing apparatus according to this embodiment will be described. The recording medium processing apparatus according to this embodiment includes a check reading apparatus 1 and a host computer 70.

まず、本実施形態に係る小切手読取装置1の概略構成を説明する。図1は、本実施形態に係る小切手読取装置1の外観斜視図である。
小切手読取装置1は、シート状の記録媒体である小切手4に対し、小切手4に記録された磁気インク文字(MICR文字)の読み取りや、小切手4の両面の画像の読み取り、小切手4に対する裏書きに係る所定の画像の記録等の処理を行う装置である。
First, a schematic configuration of the check reading apparatus 1 according to the present embodiment will be described. FIG. 1 is an external perspective view of a check reading apparatus 1 according to this embodiment.
The check reading device 1 reads a magnetic ink character (MICR character) recorded on the check 4, reads images on both sides of the check 4, and endorses the check 4 with respect to the check 4 that is a sheet-like recording medium. It is an apparatus that performs processing such as recording of a predetermined image.

小切手読取装置1は、本体ケース2と、本体ケース2の上側に被せた蓋ケース3とを備えており、この内部に各部品が組み込まれた構成となっている。
蓋ケース3には、上から見た場合にU形状をした細幅の垂直溝からなる小切手4の搬送路5が形成されており、搬送路5の一方の端は広幅の垂直溝からなる小切手供給部6に連通しており、搬送路5の他方の端は左右に分岐して、それぞれ広幅の垂直溝からなる第1小切手排出部7及び第2小切手排出部8に繋がっている。
The check reading device 1 includes a main body case 2 and a lid case 3 placed on the upper side of the main body case 2, and each component is incorporated therein.
The cover case 3 is formed with a conveyance path 5 of a check 4 consisting of a narrow vertical groove having a U shape when viewed from above, and one end of the conveyance path 5 is a check consisting of a wide vertical groove. The other end of the conveyance path 5 branches right and left and is connected to a first check discharge portion 7 and a second check discharge portion 8 each having a wide vertical groove.

小切手4の表面4aには、所定の模様が形成された背景に、金額、振出人、番号、サインなどが記載されており、その下端部分には、図1に示すように、長辺方向に延びる磁気インク文字列4Aが記録されている。磁気インク文字列4Aは、複数の磁気インク文字が横方向に並んで形成されている。
また、小切手4の裏面4bには、裏書き欄が形成されている。この裏書き欄には、後述する記録装置56によって、裏書きに係る所定の画像が記録される。
On the surface 4a of the check 4, a money amount, a payer, a number, a signature, and the like are written on the background on which a predetermined pattern is formed, and the lower end portion thereof has a long side direction as shown in FIG. An extended magnetic ink character string 4A is recorded. The magnetic ink character string 4A is formed by arranging a plurality of magnetic ink characters in the horizontal direction.
In addition, an endorsement column is formed on the back surface 4 b of the check 4. A predetermined image related to the endorsement is recorded in the endorsement column by a recording device 56 described later.

小切手4は、上端4eが上方に位置し下端4fが下方に位置するように上下方向が揃えられ、かつ、表面4aがU形状の搬送路5の外側を向くように表裏が揃えられた状態(図1に示す状態)で、小切手供給部6に挿入される。小切手供給部6に挿入された小切手4は、後端4dを最初として搬送路5に送り出される。   The check 4 is aligned in the vertical direction so that the upper end 4e is positioned upward and the lower end 4f is positioned downward, and the front and back are aligned so that the surface 4a faces the outside of the U-shaped conveyance path 5 ( In the state shown in FIG. 1, it is inserted into the check supply unit 6. The check 4 inserted into the check supply unit 6 is sent out to the transport path 5 with the rear end 4d as the first.

小切手供給部6から送り出された小切手4は、搬送路5に沿って搬送されながら、表面4aの画像である表面画像、及び、裏面4bの画像である裏面画像が読み取られ、さらに、表面4aに記録されている磁気インク文字列4Aが磁気的に読み取られる。そして、磁気インク文字列4Aの読み取りが成功した小切手4については、裏書きに係る所定の画像の記録が行われた後に、第1小切手排出部7に排出される。   As the check 4 sent out from the check supply unit 6 is conveyed along the conveyance path 5, the front image that is the image of the front surface 4a and the back image that is the image of the back surface 4b are read, and further, the check 4 is transferred to the front surface 4a. The recorded magnetic ink character string 4A is magnetically read. The check 4 for which the magnetic ink character string 4 </ b> A has been successfully read is discharged to the first check discharge unit 7 after a predetermined image related to the endorsement is recorded.

一方、読み取りが失敗した小切手4については、裏書きに係る所定の画像が記録されることなく、第2小切手排出部8に排出される。第2小切手排出部8に排出された小切手4は、読み取りが失敗した原因の究明や、再読み取り等の処理が行われる。   On the other hand, the check 4 that has failed to be read is discharged to the second check discharge unit 8 without recording a predetermined image related to the endorsement. The check 4 discharged to the second check discharge unit 8 is subjected to processing such as investigation of the cause of reading failure and re-reading.

図2は小切手読取装置1の内部構造を示す説明図である。
小切手供給部6には、小切手4を搬送路5に送り出すための小切手送り出し機構10が配置されている。小切手送り出し機構10は、繰り出しローラー11、送り出しローラー12、送り出しローラー12に押し付けられているリタードローラー13、送り出し用モーター14、及び小切手押し付け用のホッパー15を備えている。
FIG. 2 is an explanatory diagram showing the internal structure of the check reading device 1.
The check supply unit 6 is provided with a check delivery mechanism 10 for sending the check 4 to the transport path 5. The check delivery mechanism 10 includes a delivery roller 11, a delivery roller 12, a retard roller 13 pressed against the delivery roller 12, a delivery motor 14, and a check pressing hopper 15.

送り出し用モーター14が駆動すると、小切手供給部6に入れた小切手4がホッパー15によって繰り出しローラー11の側に押し付けられ、この状態で、繰り出しローラー11及び送り出しローラー12が同期回転する。   When the feeding motor 14 is driven, the check 4 placed in the check supply unit 6 is pressed against the feeding roller 11 by the hopper 15, and in this state, the feeding roller 11 and the feeding roller 12 rotate synchronously.

繰り出しローラー11によって小切手4は送り出しローラー12とリタードローラー13の間に送り込まれる。リタードローラー13には所定の回転負荷が与えられており、送り出しローラー12に直接に接触している一枚の小切手4のみが他の小切手4から分離されて搬送路5に送り出される。   The check 4 is fed between the feed roller 12 and the retard roller 13 by the feed roller 11. The retard roller 13 is given a predetermined rotational load, and only one check 4 that is in direct contact with the delivery roller 12 is separated from the other checks 4 and delivered to the transport path 5.

搬送路5は上述したようにU形状をしており、小切手供給部6に繋がっている直線状の上流側搬送路部分21と、第1小切手排出部7、第2小切手排出部8に繋がっており、僅かに折れ曲がった状態で延びている下流側搬送路部分23と、これらの間を繋ぐ湾曲搬送路部分22とを備えている。   The conveyance path 5 has a U shape as described above, and is connected to the linear upstream conveyance path portion 21 connected to the check supply unit 6, the first check discharge unit 7, and the second check discharge unit 8. In addition, a downstream conveyance path portion 23 extending in a slightly bent state and a curved conveyance path portion 22 that connects the downstream conveyance path portion 22 are provided.

小切手供給部6から搬送路5に送り出された小切手4を当該搬送路5に沿って搬送する小切手搬送機構30は、第1搬送ローラー31〜第6搬送ローラー36と、これらに押し付けられて連れ回りする第1押圧ローラー41〜第6押圧ローラー46と、第1搬送ローラー31〜第6搬送ローラー36を回転駆動するための搬送用モーター37とを備えている。第1搬送ローラー31〜第6搬送ローラー36は同期して回転するようになっている。搬送用モーター37として、例えばステッピングモーターが用いられている。このため、ステッピングモーターを駆動するステップ数により、小切手4の搬送量を知ることができる。   A check conveyance mechanism 30 that conveys the check 4 sent from the check supply unit 6 to the conveyance path 5 along the conveyance path 5 is pressed by the first conveyance roller 31 to the sixth conveyance roller 36 and the rotation. The first pressing roller 41 to the sixth pressing roller 46 and a transport motor 37 for rotationally driving the first transport roller 31 to the sixth transport roller 36 are provided. The 1st conveyance roller 31-the 6th conveyance roller 36 rotate in synchronization. For example, a stepping motor is used as the transport motor 37. For this reason, the conveyance amount of the check 4 can be known from the number of steps for driving the stepping motor.

第1搬送ローラー31〜第3搬送ローラー33は、上流側搬送路部分21における上流端、その中程の位置、及び湾曲搬送路部分22との境界位置にそれぞれ配置されている。第4搬送ローラー34は湾曲搬送路部分22における下流側の位置に配置されている。第5搬送ローラー35及び第6搬送ローラー36は、下流側搬送路部分23における中程の位置及び下流端にそれぞれ配置されている。   The first conveyance roller 31 to the third conveyance roller 33 are respectively disposed at the upstream end of the upstream conveyance path portion 21, the middle position thereof, and the boundary position with the curved conveyance path portion 22. The fourth transport roller 34 is disposed at a downstream position in the curved transport path portion 22. The fifth transport roller 35 and the sixth transport roller 36 are respectively disposed at the middle position and the downstream end in the downstream transport path portion 23.

上流側搬送路部分21における第1搬送ローラー31及び第2搬送ローラー32の間には、その上流側から磁気インク文字着磁用の磁石51、表面側コンタクトイメージセンサー52、及び、裏面側コンタクトイメージセンサー53が配置されている。表面側コンタクトイメージセンサー52は、搬送路5を搬送される小切手4の表面4aに対向し、表面4aの画像である表面画像を読み取る。裏面側コンタクトイメージセンサー53は、搬送路5を搬送される小切手4の裏面4bに対向し、裏面4bの画像である裏面画像を読み取る。   Between the first transport roller 31 and the second transport roller 32 in the upstream transport path portion 21, the magnet 51 for magnetizing the magnetic ink characters, the front contact image sensor 52, and the back contact image from the upstream side. A sensor 53 is arranged. The front-side contact image sensor 52 faces the front surface 4a of the check 4 transported on the transport path 5, and reads a front surface image that is an image of the front surface 4a. The back side contact image sensor 53 faces the back side 4b of the check 4 conveyed on the conveyance path 5, and reads a back side image that is an image of the back side 4b.

また、第2搬送ローラー32及び第3搬送ローラー33の間には、磁気インク文字を読み取る読取部としての磁気ヘッド54が配置されており、磁気ヘッド54には、当該ヘッドに小切手4を押し付けるための押圧ローラー55が対峙している。
下流側搬送路部分23における第5搬送ローラー35及び第6搬送ローラー36の間には、裏書きに係る所定の画像の記録用の記録装置56が配置されている。記録装置56は、搬送路5を搬送される小切手4の裏面4bの適切な位置に、適切な方向で所定の画像を記録可能な、印刷ヘッドやスタンプなどを備えている。
Further, a magnetic head 54 as a reading unit for reading magnetic ink characters is disposed between the second transport roller 32 and the third transport roller 33, and the check 4 is pressed against the magnetic head 54. The pressing roller 55 faces each other.
Between the fifth transport roller 35 and the sixth transport roller 36 in the downstream transport path portion 23, a recording device 56 for recording a predetermined image related to the endorsement is disposed. The recording device 56 includes a print head, a stamp, and the like that can record a predetermined image in an appropriate direction at an appropriate position on the back surface 4b of the check 4 conveyed on the conveyance path 5.

搬送路5には、小切手搬送制御のための各種センサーが配置されている。磁石51の手前側の位置には、送り出される小切手4の長さを検出するための用紙長検出器61が配置されている。裏面側コンタクトイメージセンサー53と第2搬送ローラー32との間には、小切手4が重なった状態で搬送されていることを検出するための重送検出器62が配置されている。第4搬送ローラー34の手前側の位置にはジャム検出器63が配置されており、ジャム検出器63によって所定時間以上に亘って継続して小切手4が検出されている場合には、搬送路5に小切手4が詰まった紙詰まり状態になったことが分かる。   Various sensors for check conveyance control are arranged in the conveyance path 5. A paper length detector 61 for detecting the length of the check 4 to be sent out is disposed at a position on the front side of the magnet 51. Between the back side contact image sensor 53 and the second transport roller 32, a double feed detector 62 for detecting that the check 4 is transported in an overlapping state is disposed. A jam detector 63 is disposed at a position on the front side of the fourth transport roller 34. When the check 4 is continuously detected by the jam detector 63 over a predetermined time, the transport path 5 is detected. It can be seen that the check 4 is jammed.

第5搬送ローラー35の手前側の位置には、記録装置56によって裏書きされる小切手4の有無を検出するための印刷検出器64が配置されている。さらに、第6搬送ローラー36の下流側の位置、すなわち、搬送路5から第1小切手排出部7、第2小切手排出部8に分岐している分岐路9の位置には、これらに排出される小切手4を検出するための排出検出器65が配置されている。   A print detector 64 for detecting the presence or absence of the check 4 endorsed by the recording device 56 is disposed at a position on the front side of the fifth transport roller 35. Furthermore, it is discharged into these positions on the downstream side of the sixth transport roller 36, that is, the position of the branch path 9 that branches from the transport path 5 to the first check discharge section 7 and the second check discharge section 8. A discharge detector 65 for detecting the check 4 is arranged.

分岐路9には、駆動モーター67(図3参照)によって切り替え操作される切り替え板66が配置されている。切り替え板66は、第1小切手排出部7、第2小切手排出部8に対して、搬送路5の下流端を選択的に切り替え、小切手4を選択された排出部に導くための部材である。   A switching plate 66 that is switched by a drive motor 67 (see FIG. 3) is disposed in the branch path 9. The switching plate 66 is a member for selectively switching the downstream end of the transport path 5 with respect to the first check discharge unit 7 and the second check discharge unit 8 and guiding the check 4 to the selected discharge unit.

図3は小切手読取装置1の機能的構成を示すブロック図である。
制御部71は、後述するホストコンピューター70のホスト側制御部73の制御の下、小切手読取装置1の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。
FIG. 3 is a block diagram showing a functional configuration of the check reading apparatus 1.
The control unit 71 centrally controls each part of the check reading device 1 under the control of the host-side control unit 73 of the host computer 70 described later, and controls the CPU, ROM, RAM, and other peripheral circuits. I have.

制御部71は、ホスト側制御部73の制御の下、送り出し用モーター14、搬送用モーター37を駆動して小切手4(図1参照)を一枚ずつ搬送路5に送り出させ、送り出された小切手4を搬送路5に沿って搬送させる。制御部71による小切手4の搬送制御は、搬送路5に配置されている用紙長検出器61、重送検出器62、ジャム検出器63、印刷検出器64及び排出検出器65からの検出信号に基づいて行われる。   The control unit 71 drives the delivery motor 14 and the conveyance motor 37 under the control of the host-side control unit 73 to feed the checks 4 (see FIG. 1) one by one to the conveyance path 5, and the sent checks 4 is transported along the transport path 5. The conveyance control of the check 4 by the control unit 71 is based on detection signals from the paper length detector 61, the double feed detector 62, the jam detector 63, the print detector 64 and the discharge detector 65 arranged in the conveyance path 5. Based on.

小切手4の搬送に伴って、表面側コンタクトイメージセンサー52、及び、裏面側コンタクトイメージセンサー53は、搬送路5を搬送される小切手4の表面の画像、裏面の画像をそれぞれ読み取り、読み取った画像を示す画像データを制御部71に出力する。制御部71は、これら画像データを、ホスト側制御部73に出力する。
また、磁気ヘッド54は、制御部71の制御の下、通過する磁気インク文字列4A(図1参照)によって形成される磁界の変化によって発生する起電力を検出し、検出信号として信号処理回路74に出力する。
As the check 4 is transported, the front-side contact image sensor 52 and the back-side contact image sensor 53 respectively read the image on the front surface and the back surface of the check 4 transported on the transport path 5, and read the read images. The image data shown is output to the control unit 71. The control unit 71 outputs these image data to the host side control unit 73.
Further, the magnetic head 54 detects an electromotive force generated by a change in the magnetic field formed by the passing magnetic ink character string 4A (see FIG. 1) under the control of the control unit 71, and the signal processing circuit 74 as a detection signal. Output to.

信号処理回路74は、増幅器や、ノイズ除去用のフィルター回路、A/D変換器等を備え、磁気ヘッド54から入力された検出信号を、増幅し、波形整形し、データとして制御部71に出力する。制御部71は、信号処理回路74から入力された検出信号を示すデータを、ホスト側制御部73に送信する。
操作部75は、本体ケース2(図1参照)に形成された電源スイッチや、操作スイッチ等の各種スイッチを備え、これらスイッチに対するユーザーの操作を検出し、制御部71に出力する。
The signal processing circuit 74 includes an amplifier, a noise removal filter circuit, an A / D converter, and the like, amplifies the detection signal input from the magnetic head 54, shapes the waveform, and outputs the amplified signal to the control unit 71 as data. To do. The control unit 71 transmits data indicating the detection signal input from the signal processing circuit 74 to the host side control unit 73.
The operation unit 75 includes various switches such as a power switch and operation switches formed on the main body case 2 (see FIG. 1), detects user operations on these switches, and outputs them to the control unit 71.

小切手読取装置1には、通信ケーブル72を介してホストコンピューター70が接続されている。
ホストコンピューター70は、CPUや、ROM、RAM、その他の周辺回路等を備えて構成されたホスト側制御部73を備えている。ホスト側制御部73は、後述する文字認識部80を備えている。
A host computer 70 is connected to the check reading device 1 via a communication cable 72.
The host computer 70 includes a host-side control unit 73 that includes a CPU, ROM, RAM, and other peripheral circuits. The host-side control unit 73 includes a character recognition unit 80 described later.

ホスト側制御部73には、各種情報を表示可能な表示器76と、キーボード、マウス等の入力デバイスが接続された操作部77と、EEPROMやハードディスク等の書き換え可能に各種データを記憶する記憶部78と、が接続されている。
記憶部78は、小切手読取装置1から入力された小切手4の表面画像や、裏面画像を示すデータや、検出信号を示すデータを記憶する。
The host-side control unit 73 includes a display 76 that can display various types of information, an operation unit 77 to which input devices such as a keyboard and a mouse are connected, and a storage unit that stores various types of rewritable data such as an EEPROM and a hard disk. 78 is connected.
The storage unit 78 stores the front image of the check 4 input from the check reading device 1, data indicating the back image, and data indicating the detection signal.

本実施形態では、ホストコンピューター70のホスト側制御部73の制御の下、小切手読取装置1の制御部71が小切手読取装置1の各部を制御する。具体的には、ホスト側制御部73は、そのCPUがROMに記憶されたプログラムを実行して、制御部71を制御するための制御データを生成し、生成した制御データを小切手読取装置1の制御部71に対して出力することにより、小切手読取装置1の各部を制御する。すなわち、本実施形態では、ホストコンピューター70と、小切手読取装置1とが協働して、記録媒体たる小切手4に対して各種処理を実行する記録媒体処理装置として機能する。   In the present embodiment, the control unit 71 of the check reading device 1 controls each part of the check reading device 1 under the control of the host side control unit 73 of the host computer 70. Specifically, the host-side control unit 73 executes a program stored in the ROM by the CPU to generate control data for controlling the control unit 71, and uses the generated control data for the check reading device 1. By outputting to the control unit 71, each part of the check reading device 1 is controlled. That is, in this embodiment, the host computer 70 and the check reading device 1 cooperate to function as a recording medium processing device that executes various processes on the check 4 as a recording medium.

<文字認識部>
次いで、ホスト側制御部73が備える文字認識部80について説明する。
文字認識部80は、磁気インク文字列4Aを構成する磁気インク文字のそれぞれについて、文字の認識を行う。磁気インク文字とは、所定のフォント(例えば、E−13Bフォント)に準拠して、小切手4に磁気印刷された文字のことであり、1つの磁気インク文字は、予め定められた複数の文字種類のうちのいずれか1つの文字種類に対応している。そして、磁気インク文字の認識とは、読み取った磁気インク文字のそれぞれについて、各磁気インク文字の文字種類を確定し、又は、当該磁気インク文字の文字種類を確定できないことを検出することである。
<Character recognition part>
Next, the character recognition unit 80 included in the host-side control unit 73 will be described.
The character recognition unit 80 performs character recognition for each of the magnetic ink characters constituting the magnetic ink character string 4A. The magnetic ink character is a character magnetically printed on the check 4 in accordance with a predetermined font (for example, E-13B font), and one magnetic ink character has a plurality of predetermined character types. Corresponds to any one character type. The recognition of the magnetic ink character is to determine the character type of each magnetic ink character for each of the read magnetic ink characters or to detect that the character type of the magnetic ink character cannot be determined.

なお、E−13Bフォントでは、磁気インク文字の形状として、「0」〜「9」、トランジット記号(TRANSIT SYMBOL)、アマウント記号(AMOUNT SYMBOL)、オン−アス記号(ON−US SYMBOL)、及び、ダッシュ記号(DASH SYMBOL)の14個の文字種類に対応する形状が用意されている。規格で定められたこれらの複数の文字種類の基準波形は、記憶部78に記憶されている。   In the E-13B font, the shapes of magnetic ink characters are “0” to “9”, transit symbol (TRANSIT SYMBOL), amount symbol (AMOUNT SYMBOL), on-as symbol (ON-US SYMBOL), and Shapes corresponding to 14 character types of dash symbols (DASH SYMBOL) are prepared. The reference waveforms of the plurality of character types determined by the standard are stored in the storage unit 78.

また、磁気インク文字列4Aの各磁気インク文字は、小切手4にオフセット印刷により印刷される場合と、レーザー印刷により印刷される場合とがある。そして、オフセット印刷によって印刷される磁気インク文字と、レーザー印刷によって印刷される磁気インク文字とは、その形状が相違しているが、本実施形態では、後述するように、そのことに対応した上で磁気インク文字の認識を実行している。   In addition, each magnetic ink character of the magnetic ink character string 4A may be printed on the check 4 by offset printing or may be printed by laser printing. The magnetic ink characters printed by offset printing and the magnetic ink characters printed by laser printing have different shapes. In this embodiment, as described later, The recognition of magnetic ink characters is executed.

本実施形態では、磁気インク文字列4Aに含まれる全ての磁気インク文字について、磁気インク文字の文字種類を確定できれば、磁気インク文字列4Aの読み取りが成功したものと判別され、一方、磁気インク文字の中に、1つでも磁気インク文字の文字種類が確定できないものがあれば、磁気インク文字列4Aの読み取りが失敗したものと判別される。
上述したように、制御部71は、ホスト側制御部73の制御の下、磁気インク文字列4Aの読み取りが成功した小切手4については、当該小切手4を第1小切手排出部7に搬送し、一方、磁気インク文字列4Aの読み取りが失敗した小切手4については、所定の処理を実行した上で、当該小切手4を第2小切手排出部8に搬送する。
In the present embodiment, if the character type of the magnetic ink character can be determined for all the magnetic ink characters included in the magnetic ink character string 4A, it is determined that the magnetic ink character string 4A has been successfully read. If one of the characters cannot determine the character type of the magnetic ink character, it is determined that the reading of the magnetic ink character string 4A has failed.
As described above, under the control of the host-side control unit 73, the control unit 71 conveys the check 4 to the first check discharge unit 7 for the check 4 for which the magnetic ink character string 4A has been successfully read. For the check 4 for which reading of the magnetic ink character string 4A has failed, the check 4 is conveyed to the second check discharge unit 8 after executing a predetermined process.

図4は、文字認識部80の動作を示すフローチャートである。図4のフローチャートは、ある1つの小切手4について、当該小切手4に記録された磁気インク文字列4Aの認識を実行する際の文字認識部80の動作を示しているものとする。そして、当該小切手4に記録された磁気インク文字列4Aについて、磁気ヘッド54による読み取りが行われており、信号処理回路74によって、増幅処理や、フィルター処理、波形整形処理等の各種処理が実行されて検出信号を示すデータ(以下、「検出信号波形データ」という)が生成され、制御部71により、検出信号波形データが、ホスト側制御部73に出力されているものとする。
さらに、表面側コンタクトイメージセンサー52により、当該小切手4の表面の画像が読み取られ、画像データとして制御部71からホスト側制御部73に出力されているものとする。文字認識部80の機能は、ホスト側制御部73のCPUがROMに記憶されたプログラムを実行する等、ハードウェアとソフトウェアとの協働により実現される。
FIG. 4 is a flowchart showing the operation of the character recognition unit 80. The flow chart of FIG. 4 shows the operation of the character recognition unit 80 when executing recognition of a magnetic ink character string 4A recorded on a check 4 for a certain check 4. The magnetic ink character string 4A recorded on the check 4 is read by the magnetic head 54, and the signal processing circuit 74 performs various processing such as amplification processing, filtering processing, and waveform shaping processing. It is assumed that data indicating the detection signal (hereinafter referred to as “detection signal waveform data”) is generated and the detection signal waveform data is output to the host-side control unit 73 by the control unit 71.
Further, it is assumed that an image of the surface of the check 4 is read by the front-side contact image sensor 52 and output from the control unit 71 to the host-side control unit 73 as image data. The function of the character recognition unit 80 is realized by the cooperation of hardware and software, such as the CPU of the host-side control unit 73 executing a program stored in the ROM.

<磁気インク文字の切り出し>
図4に示すように、まず、ホスト側制御部73は、制御部71から入力された検出信号波形データを解析し、磁気インク文字列4Aに含まれる磁気インク文字のうち1つの磁気インク文字について、最初のピークP1(図6参照)とその位置(X軸の値)を検出する(ステップSA21)。
<Cutting out magnetic ink characters>
As shown in FIG. 4, first, the host-side control unit 73 analyzes the detection signal waveform data input from the control unit 71 and selects one magnetic ink character from among the magnetic ink characters included in the magnetic ink character string 4A. First peak P1 (see FIG. 6) and its position (X-axis value) are detected (step SA21).

ステップSA21で最初のピークP1であると判断して検出されたピークを、第1ピークという。そして、磁気インク文字列4Aに含まれる磁気インク文字のうち1つの磁気インク文字について、検出した第1ピークの位置に基づいて、磁気インク文字の文字切り出し開始位置を決定して、検出信号波形データから文字の切り出しを行う(ステップSA1)。文字の切り出しとは、検出信号波形データに基づいて、磁気インク文字列4Aに含まれる磁気インク文字のうち1つの磁気インク文字について、当該磁気インク文字の波形を示す文字波形データを生成することである。   The peak detected by determining that it is the first peak P1 in step SA21 is referred to as a first peak. Then, for one magnetic ink character among the magnetic ink characters included in the magnetic ink character string 4A, the character clipping start position of the magnetic ink character is determined based on the detected position of the first peak, and the detection signal waveform data The character is cut out from (step SA1). Character segmentation refers to generating character waveform data indicating the waveform of a magnetic ink character for one magnetic ink character included in the magnetic ink character string 4A based on the detection signal waveform data. is there.

ステップSA21及びステップSA1の処理は、例えば、以下のようにして実行される。図5は、検出信号波形データ(一部)の内容の一例を模式的に示す図であり、図6は、ステップSA21及びステップSA1における処理により生成された文字波形データの内容の一例を模式的に示す図である。   The processes of step SA21 and step SA1 are executed as follows, for example. FIG. 5 is a diagram schematically showing an example of the contents of the detection signal waveform data (part), and FIG. 6 is a schematic example of the contents of the character waveform data generated by the processing in step SA21 and step SA1. FIG.

上述したように、本実施形態では、搬送路5内で小切手4を搬送しつつ、当該小切手4に記録された磁気インク文字列4Aを磁気ヘッド54により読み取るが、その際、磁気ヘッド54では、搬送される小切手4の磁気インク文字列4Aを、後端4d側から前端4g側へ向かって所定のサンプリング周期で磁束を測定することにより、磁気インク文字列4Aの読み取りを実行する。以下の説明では、サンプリング周期の最小単位の間隔を、1サンプリング単位というものとする。   As described above, in the present embodiment, the magnetic ink character string 4 </ b> A recorded on the check 4 is read by the magnetic head 54 while the check 4 is being conveyed in the conveyance path 5. The magnetic ink character string 4A of the check 4 being conveyed is read at a predetermined sampling period from the rear end 4d side to the front end 4g side, thereby reading the magnetic ink character string 4A. In the following description, the interval of the minimum unit of the sampling period is assumed to be one sampling unit.

図5では、X軸(横軸)は、時間の経過(サンプリング周期の経過)が規定され(原点からX軸右方に向かうに従って、1サンプリング単位が順次経過したことを示す)、Y軸(縦軸)は、時間の経過に伴う磁荷の変化量の相対値が規定されている。そして、図5では、磁気インク文字列4Aにおいて、小切手4の後端4d側から前端4g側に向かって、所定のサンプリング周期毎に磁荷の変化量の相対値がどのように変化したかが示されており、磁気インク文字列4Aに含まれる各磁気インク文字の磁荷の変化量に対応してY軸方向の値が上下すると共に、磁荷の変化量がプラスであるのかマイナスであるのかに応じてY軸方向の値の正負が変化する。   In FIG. 5, the X axis (horizontal axis) defines the passage of time (sampling period) (showing that one sampling unit has passed sequentially from the origin toward the right of the X axis), and the Y axis ( The vertical axis) defines the relative value of the amount of change in magnetic charge with time. In FIG. 5, in the magnetic ink character string 4A, how the relative value of the change amount of the magnetic charge changes every predetermined sampling period from the rear end 4d side of the check 4 to the front end 4g side. The value in the Y-axis direction rises and falls according to the amount of change in magnetic charge of each magnetic ink character included in the magnetic ink character string 4A, and the amount of change in magnetic charge is positive or negative. Depending on whether the value is positive or negative in the Y-axis direction.

ここで、図6の例に示すように、検出信号波形データのX軸方向において1つの磁気インク文字に対応する波形が占める範囲は、所定のサンプリング単位S0と規定されており、この規定に準じるように、各種搬送制御が実行されると共に、1サンプリング単位の長さが規定されている。また、1つの磁気インク文字に対応する波形においては、文字切り出し開始位置から所定のサンプリング単位S1目に、最初のピークP1が位置するように規定されている。本実施形態では、所定のサンプリング単位S0は、例えば70サンプリング単位であり、所定のサンプリング単位S1目は、例えば11サンプリング単位目である。   Here, as shown in the example of FIG. 6, the range occupied by the waveform corresponding to one magnetic ink character in the X-axis direction of the detection signal waveform data is defined as a predetermined sampling unit S0, which conforms to this rule. As described above, various conveyance controls are executed, and the length of one sampling unit is defined. In the waveform corresponding to one magnetic ink character, it is defined that the first peak P1 is located at a predetermined sampling unit S1 from the character cutout start position. In the present embodiment, the predetermined sampling unit S0 is, for example, 70 sampling units, and the predetermined sampling unit S1 is, for example, the 11th sampling unit.

これを踏まえ、ステップSA21では、文字認識部80は、検出信号波形データを解析し、当該波形の各ピークのうち波形の後端側(X軸右方)に向かって1番目に検出された第1ピークが最初のピークP1であると判断する。ここで、ピークとは、検出信号波形データにおける極大値、極小値に対応する部分のことであり、これらピークはX軸方向において所定の周期で現出するよう規定されている。各ピークに対応するX軸の値をピークの位置という。   Based on this, in step SA21, the character recognition unit 80 analyzes the detection signal waveform data, and the first detected from the peaks of the waveform toward the rear end side (right side of the X axis) of the waveform. It is determined that one peak is the first peak P1. Here, the peak is a portion corresponding to the maximum value and the minimum value in the detection signal waveform data, and these peaks are defined to appear in a predetermined cycle in the X-axis direction. The value on the X axis corresponding to each peak is called the peak position.

続いて、ステップSA1では、文字認識部80は、検出した第1ピークの位置に基づいて、磁気インク文字列4Aに含まれる磁気インク文字のそれぞれについて、文字切り出し開始位置を決定する。そして、検出信号波形データが示す波形を、決定した文字切り出し開始位置から、1つの磁気インク文字の幅に対応する範囲である所定のサンプリング単位S0(70サンプリング単位)で切り出す。
その際、図6の例に示すように、文字認識部80は、切り出した波形において最初のピークP1として検出した第1ピークの位置が、X軸における所定のサンプリング単位S1目(11サンプリング単位目)となるように文字切り出し開始位置を決定して、検出信号波形データの波形の切り出しを行う。
Subsequently, in step SA1, the character recognition unit 80 determines a character cutout start position for each of the magnetic ink characters included in the magnetic ink character string 4A based on the detected position of the first peak. Then, the waveform indicated by the detection signal waveform data is cut out from the determined character cutting start position in a predetermined sampling unit S0 (70 sampling units) that is a range corresponding to the width of one magnetic ink character.
At this time, as shown in the example of FIG. 6, the character recognition unit 80 determines that the position of the first peak detected as the first peak P1 in the cut out waveform is the predetermined sampling unit S1 on the X axis (the 11th sampling unit). ) Is determined so that the waveform of the detection signal waveform data is cut out.

ステップSA1における文字の切り出しにより、磁気インク文字列4Aに含まれる1つの磁気インク文字について、当該磁気インク文字の検出信号波形データから、図6に示すような文字波形データが生成される。この第1ピークの位置に基づいて切り出された文字波形データを、第1文字波形データという。   By cutting out characters in step SA1, for one magnetic ink character included in the magnetic ink character string 4A, character waveform data as shown in FIG. 6 is generated from detection signal waveform data of the magnetic ink character. The character waveform data cut out based on the position of the first peak is referred to as first character waveform data.

なお、ステップSA1の文字の切り出しは、磁気インク文字列4Aに含まれる磁気インク文字のそれぞれについて、小切手4の後端4d側に配置された磁気インク文字から前端4g側に配置された磁気インク文字へ向かって、順番に行われ、切り出された磁気インク文字ごとにステップSA2以下の文字の認識に係る処理が実行される。
以下、ステップSA1において、切り出された1の磁気インク文字のことを「処理対象文字」という。
The character cut-out in step SA1 is performed for each magnetic ink character included in the magnetic ink character string 4A from the magnetic ink character arranged on the rear end 4d side of the check 4 to the magnetic ink character arranged on the front end 4g side. Steps SA <b> 2 and subsequent processing relating to character recognition are executed for each magnetic ink character cut out in order.
Hereinafter, one magnetic ink character cut out in step SA1 is referred to as a “processing target character”.

文字の切り出しの実行後、文字認識部80は、生成した処理対象文字の第1文字波形データについて、各データが示す波形のY軸方向における振幅レベルが、パターンマッチング用の基準波形データのY軸方向における振幅レベルと同等となるよう、データの正規化を行う(ステップSA2)。
パターンマッチング用の基準波形データとは、上述した14の文字種類のうち1つの文字種類に対応する磁気インク文字を磁気ヘッド54によって読み取ったときの検出信号の理想的な波形を示すデータであり、いわゆる磁気インク文字認識におけるパターンマッチング処理で供されるテンプレートデータに該当するデータである。
After the character segmentation, the character recognition unit 80 determines that the amplitude level in the Y-axis direction of the waveform indicated by each data is the Y-axis of the reference waveform data for pattern matching for the generated first character waveform data of the processing target character. Data normalization is performed so as to be equivalent to the amplitude level in the direction (step SA2).
The reference waveform data for pattern matching is data indicating an ideal waveform of a detection signal when a magnetic ink character corresponding to one of the 14 character types described above is read by the magnetic head 54. This is data corresponding to template data provided in pattern matching processing in so-called magnetic ink character recognition.

<磁気インク文字認識処理>
ステップSA3以下の所定の処理は、いわゆる磁気インク文字認識に係る処理であり、ステップSA1において切り出された磁気インク文字(処理対象文字)に対して、順次実行され、これにより、磁気インク文字列4Aに含まれる磁気インク文字のそれぞれに対して1回ずつ実行される。
<Magnetic ink character recognition processing>
The predetermined processing after step SA3 is processing related to so-called magnetic ink character recognition, which is sequentially executed on the magnetic ink characters (processing target characters) cut out in step SA1, and thereby the magnetic ink character string 4A. Is executed once for each of the magnetic ink characters included in the.

図4に示すように、ステップSA3以下には、第1認識フェーズ(ステップSA3)〜第4認識フェーズ(ステップSA11)の4つの認識フェーズが含まれている。これら4つの認識フェーズは、それぞれ異なる方法により処理対象文字の磁気インク文字認識を行い、当該処理対象文字の文字種類を確定し、又は、確定できないことを検出するフェーズである。   As shown in FIG. 4, four recognition phases of the first recognition phase (step SA3) to the fourth recognition phase (step SA11) are included after step SA3. These four recognition phases are phases in which magnetic ink character recognition of the character to be processed is performed by different methods, and the character type of the character to be processed is determined or it is detected that it cannot be determined.

第1認識フェーズ〜第3認識フェーズのいずれかのフェーズにおいて、処理対象文字の文字種類を確定できた場合は、次のフェーズを実行することなく、当該処理対象文字の次の磁気インク文字を処理対象文字とした上で、新たな処理対象文字に対して磁気インク文字認識を実行する。
なお、以下の各認識フェーズの説明においては、第1文字波形データと第2文字波形データとを区別せず、単に文字波形データと表記する。
If the character type of the character to be processed is confirmed in any of the first to third recognition phases, the next magnetic ink character of the character to be processed is processed without executing the next phase. After selecting the target character, magnetic ink character recognition is executed for the new processing target character.
In the following description of each recognition phase, the first character waveform data and the second character waveform data are not distinguished from each other and are simply referred to as character waveform data.

第1認識フェーズ(ステップSA3)では、文字認識部80は、処理対象文字の文字波形データのそれぞれと、14の文字種類に対応する基準波形データのそれぞれとの間の差異量を検出する。   In the first recognition phase (step SA3), the character recognition unit 80 detects a difference amount between each of the character waveform data of the character to be processed and each of the reference waveform data corresponding to the 14 character types.

処理対象文字の文字波形データと基準波形データとの間の差異量の検出について説明する。図7は、ステップSA3で検出される差異量を説明する図である。図7において、文字波形データが示す波形は細線で示され、基準波形データが示す波形は太線で示されている。
差異量とは、図7中、斜線で示す領域の大きさのことであり、より具体的には、X軸上に規定された各サンプリング単位における、文字波形データが示す波形のY軸方向の値と、基準波形データが示す波形のY軸方向の値との差の絶対値の総和のことである。1つの文字波形データが示す波形と、1つの基準波形データが示す波形との間の差異量が小さければ小さいほど、当該1つの文字波形データが示す波形と、当該1つの基準波形データが示す波形とが近似しているということであり、当該1つの文字波形データに対応する磁気インク文字の文字種別が、当該1つの基準波形データに対応する文字種類である蓋然性が高いということである。
The detection of the difference between the character waveform data of the character to be processed and the reference waveform data will be described. FIG. 7 is a diagram illustrating the difference amount detected in step SA3. In FIG. 7, the waveform indicated by the character waveform data is indicated by a thin line, and the waveform indicated by the reference waveform data is indicated by a thick line.
The difference amount is the size of the hatched area in FIG. 7, and more specifically, in the Y-axis direction of the waveform indicated by the character waveform data in each sampling unit defined on the X-axis. This is the sum of absolute values of the difference between the value and the value in the Y-axis direction of the waveform indicated by the reference waveform data. The smaller the difference between the waveform indicated by one character waveform data and the waveform indicated by one reference waveform data, the smaller the waveform indicated by the one character waveform data and the waveform indicated by the one reference waveform data. And the character type of the magnetic ink character corresponding to the one character waveform data is highly likely to be the character type corresponding to the one reference waveform data.

第1認識フェーズにおける波形データの差異量の検出は、例えば、処理対象文字の文字波形データが示す波形と比較対象文字種類に対応する基準波形データの波形とを単純に比較した場合と、処理対象文字の文字波形データが示す波形と比較対象文字種類に対応する基準波形データの波形とを所定の範囲内で所定の距離だけスライドさせて比較した場合とで行う。   The detection of the difference amount of the waveform data in the first recognition phase is performed, for example, when the waveform indicated by the character waveform data of the character to be processed is simply compared with the waveform of the reference waveform data corresponding to the type of character to be compared, This is performed when the waveform indicated by the character waveform data of the character and the waveform of the reference waveform data corresponding to the character type to be compared are slid by a predetermined distance within a predetermined range and compared.

差異量の検出結果に基づいて、文字認識部80は、差異量が最も小さかった基準波形データに対応する文字種類を第1候補とし、次に差異量が小さかった基準波形データに対応する文字種類を第2候補とする。
そして、文字認識部80は、第1候補および第2候補とされた文字種類に対応する基準波形データと処理対象文字の文字波形データとの差異量を所定の閾値と比較する。その結果、第1候補に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下となり、かつ、第2候補に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値を上回る場合に、第1候補とされた文字種類を処理対象文字の文字種類として確定する。なお、第1候補との差異量が閾値を上回る場合は、処理対象文字の文字種類を確定することなく、第1認識フェーズを終了する。
Based on the detection result of the difference amount, the character recognition unit 80 sets the character type corresponding to the reference waveform data having the smallest difference amount as the first candidate, and then the character type corresponding to the reference waveform data having the smallest difference amount. Is the second candidate.
Then, the character recognizing unit 80 compares the difference amount between the reference waveform data corresponding to the character types determined as the first candidate and the second candidate and the character waveform data of the character to be processed with a predetermined threshold value. As a result, the amount of difference between the reference waveform data corresponding to the first candidate and the character waveform data of the character to be processed is equal to or less than the threshold, and the reference waveform data corresponding to the second candidate and the character waveform data of the character to be processed are When the difference amount exceeds the threshold value, the character type set as the first candidate is determined as the character type of the processing target character. If the difference from the first candidate exceeds the threshold, the first recognition phase is terminated without determining the character type of the processing target character.

一方、第1候補とされた文字種類に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下であり、かつ、第2候補とされた文字種類に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下である場合は、文字認識部80は、処理対象文字の文字種類を確定しない。   On the other hand, the reference waveform data corresponding to the character type determined as the second candidate and the difference amount between the reference waveform data corresponding to the character type determined as the first candidate and the character waveform data of the character to be processed is equal to or smaller than the threshold. If the difference between the character waveform data of the character to be processed and the character waveform data to be processed is equal to or smaller than the threshold, the character recognition unit 80 does not determine the character type of the character to be processed.

ここで、上述の閾値は、処理対象文字の文字波形データと当該処理対象文字の正しい文字種類に対応する基準波形データとの間の差異量のみが閾値以下となり、かつ、当該文字波形データと他の文字種類に対応する基準波形データとの間の差異量が閾値を上回るように適宜設定される。このように閾値を設定することで、正常に小切手4が搬送され磁気ヘッド54により正常に磁気インク文字列4Aが読み取られれば閾値以下となる差異量に係る文字種類は1つに限定される。   Here, the above threshold value is such that only the amount of difference between the character waveform data of the character to be processed and the reference waveform data corresponding to the correct character type of the character to be processed is equal to or less than the threshold, and The amount of difference from the reference waveform data corresponding to the character type is appropriately set so as to exceed the threshold value. By setting the threshold value in this manner, if the check 4 is conveyed normally and the magnetic head character string 4A is normally read by the magnetic head 54, the number of character types related to the difference amount that is equal to or less than the threshold value is limited to one.

一方、閾値以下となる差異量に係る文字種類が複数存在している状況のときは、磁気ヘッド54による読み取りエラーや、小切手4の搬送エラー、その他の何らかの原因により、当該状況が現出している可能性がある。したがって、このような状況のときに処理対象文字の文字種類を確定すると、誤認識を招くおそれがある。   On the other hand, when there are a plurality of character types related to the difference amount that are less than or equal to the threshold, the situation appears due to a reading error by the magnetic head 54, a conveyance error of the check 4, or some other cause. there is a possibility. Therefore, if the character type of the character to be processed is determined in such a situation, there is a risk of erroneous recognition.

なお、上述したように、オフセット印刷によって印刷される磁気インク文字の形状と、レーザー印刷によって印刷される磁気インク文字の形状とは、その形状が相違していることを踏まえ、本実施形態では、1つの文字種類に対応して、オフセット印刷用の基準波形データと、レーザー印刷用の基準波形データとの2種類のデータが用意されている。そして、第1認識フェーズでは、2種類の基準波形データのうち、オフセット印刷用の基準波形データが利用されて各種処理が実行される。また、第3認識フェーズ(ステップSA9)では、レーザー印刷用の基準波形データが利用されて各種処理が実行される。   As described above, in the present embodiment, the shape of the magnetic ink character printed by offset printing is different from the shape of the magnetic ink character printed by laser printing. Two types of data, reference waveform data for offset printing and reference waveform data for laser printing, are prepared corresponding to one character type. In the first recognition phase, various processes are executed using the reference waveform data for offset printing out of the two types of reference waveform data. In the third recognition phase (step SA9), various processes are executed using the reference waveform data for laser printing.

第1認識フェーズ(ステップSA3)の実行後、文字認識部80は、第1認識フェーズにおいて、処理対象文字の文字種類が確定できたか否かを判別する(ステップSA4)。
処理対象文字の文字種類が確定できた場合(ステップSA4:YES)、文字認識部80は、第2認識フェーズを行うことなく、処理手順をステップSA5へ移行する。
After execution of the first recognition phase (step SA3), the character recognition unit 80 determines whether or not the character type of the processing target character has been confirmed in the first recognition phase (step SA4).
If the character type of the character to be processed can be confirmed (step SA4: YES), the character recognition unit 80 proceeds to step SA5 without performing the second recognition phase.

ステップSA5では、磁気インク文字列4Aに含まれる全ての磁気インク文字が処理対象文字となったか否か、換言すれば、磁気インク文字列4Aに含まれる磁気インク文字の全てについて、ステップSA1について文字の切り出しが行われ、かつ、文字認識に係る処理が実行されたか否かが判別される。   In step SA5, it is determined whether or not all magnetic ink characters included in the magnetic ink character string 4A are characters to be processed. In other words, for all the magnetic ink characters included in the magnetic ink character string 4A, the characters for step SA1. Is cut out, and it is determined whether or not processing relating to character recognition has been executed.

磁気インク文字列4Aに含まれる全ての磁気インク文字が処理対象文字となっていない場合(ステップSA5:NO)、文字認識部80は、処理手順をステップSA21へ戻して、次の磁気インク文字について最初のピークP1の検出及び文字の切り出しを実行し、一方、磁気インク文字列4Aに含まれる全ての磁気インク文字が処理対象文字となった場合(ステップSA5:YES)、処理手順をステップSA6へ移行する。   When all the magnetic ink characters included in the magnetic ink character string 4A are not the characters to be processed (step SA5: NO), the character recognition unit 80 returns the processing procedure to step SA21 to perform the next magnetic ink character. When the first peak P1 is detected and the characters are cut out, on the other hand, when all the magnetic ink characters included in the magnetic ink character string 4A have been processed (step SA5: YES), the processing procedure goes to step SA6. Transition.

次に、ステップSA4において、第1認識フェーズで処理対象文字の文字種類が確定できなかったと判別した場合(ステップSA4:NO)、文字認識部80は、第1認識フェーズで選別された第1候補とされた文字種類がE−13Bフォントの「3」又は「8」であるかを確認する(ステップSA22)。   Next, when it is determined in step SA4 that the character type of the processing target character cannot be determined in the first recognition phase (step SA4: NO), the character recognition unit 80 selects the first candidate selected in the first recognition phase. It is confirmed whether the character type set is “3” or “8” of the E-13B font (step SA22).

第1候補とされた文字種類が「3」及び「8」のいずれでもない場合(ステップSA22:NO)、文字認識部80は、第2認識フェーズを実行する(ステップSA7)。
第1候補とされた文字種類が「3」又は「8」のいずれかであった場合(ステップSA22:YES)、文字認識部80は、最初のピークP1の位置を更新する処理(後述するステップSA25)が既に行われたかを確認する(ステップSA23)。
When the character type set as the first candidate is neither “3” nor “8” (step SA22: NO), the character recognition unit 80 executes the second recognition phase (step SA7).
When the character type set as the first candidate is either “3” or “8” (step SA22: YES), the character recognition unit 80 updates the position of the first peak P1 (step to be described later). It is confirmed whether SA25) has already been performed (step SA23).

最初のピークP1の位置を更新する処理が既に行われている場合(ステップSA23:YES)、文字認識部80は、第2認識フェーズを実行する(ステップSA7)。
一方、最初のピークP1の位置を更新する処理がまだ行われていない場合(ステップSA23:NO)、文字認識部80は、最初のピークP1とされた第1ピークの位置から所定の幅だけ前側(図5に示すX軸左方)に離れた位置における波形の高さ(値)の、第1ピークの位置における波形の高さ(値)に対する比率が所定の比率を超えるか否かを判定する(ステップSA24)。
When the process of updating the position of the first peak P1 has already been performed (step SA23: YES), the character recognition unit 80 executes the second recognition phase (step SA7).
On the other hand, when the process of updating the position of the first peak P1 has not been performed yet (step SA23: NO), the character recognition unit 80 is on the front side by a predetermined width from the position of the first peak that is the first peak P1. It is determined whether the ratio of the height (value) of the waveform at a position away from (to the left of the X axis shown in FIG. 5) to the height (value) of the waveform at the position of the first peak exceeds a predetermined ratio. (Step SA24).

第1ピークの位置から所定の幅だけ前側に離れた位置における波形の高さ(値)の、第1ピークの位置における波形の高さ(値)に対する比率が所定の比率以下であった場合(ステップSA24:NO)、文字認識部80は、第2認識フェーズを実行する(ステップSA7)。   When the ratio of the height (value) of the waveform at a position separated by a predetermined width from the position of the first peak to the height (value) of the waveform at the position of the first peak is equal to or less than a predetermined ratio ( Step SA24: NO), the character recognizing unit 80 executes the second recognition phase (Step SA7).

一方、第1ピークの位置から所定の幅だけ前側に離れた位置における波形の高さ(値)の、第1ピークの位置における波形の高さ(値)に対する比率が所定の比率を超える場合(ステップSA24:YES)、第1ピークの位置から所定の幅だけ前側に離れたその位置に第1ピークと隣り合う第2ピークがあり、その第2ピークが最初のピークP1であるものと判断する(ステップSA25)。すなわち、最初のピークP1の位置は、第1ピークの位置ではなく第2ピークの位置であるものとする。このステップSA25における処理を、最初のピークP1の位置を更新する処理という。   On the other hand, when the ratio of the height (value) of the waveform at a position separated by a predetermined width from the position of the first peak to the height (value) of the waveform at the position of the first peak exceeds a predetermined ratio ( Step SA24: YES), it is determined that there is a second peak adjacent to the first peak at a position that is a predetermined width away from the position of the first peak, and that the second peak is the first peak P1. (Step SA25). That is, the position of the first peak P1 is not the position of the first peak but the position of the second peak. The process in step SA25 is referred to as a process for updating the position of the first peak P1.

次いで、文字認識部80は、この磁気インク文字について処理手順をステップSA1へ戻し、第2ピークの位置に基づいて文字波形データ(以下では、第2文字波形データという)の切り出しを行い、第2文字波形データに対してステップSA3の第1認識フェーズを再度実行する。   Next, the character recognition unit 80 returns the processing procedure for this magnetic ink character to step SA1, cuts out character waveform data (hereinafter referred to as second character waveform data) based on the position of the second peak, The first recognition phase of step SA3 is executed again on the character waveform data.

ここで、ステップSA22〜ステップSA25の処理について、図8(A),(B)を参照して詳述する。図8(A)はE−13Bフォントにおける文字種類「3」に対応する基準波形データの内容を模式的に示し、図8(B)はE−13Bフォントにおける文字種類「8」に対応する基準波形データの内容を模式的に示す図である。   Here, the processing of step SA22 to step SA25 will be described in detail with reference to FIGS. 8 (A) and 8 (B). FIG. 8A schematically shows the content of the reference waveform data corresponding to the character type “3” in the E-13B font, and FIG. 8B shows the reference corresponding to the character type “8” in the E-13B font. It is a figure which shows the content of waveform data typically.

ステップSA4で処理対象文字の文字種類が確定できておらず、ステップSA22で第1候補とされた文字種類が「3」又は「8」のいずれかであった場合、最初のピークP1の検出に誤りがあったことが考えられる。これは、以下の理由による。
すなわち、図8(A),(B)に示すように、E−13Bフォントにおける文字種類「3」及び「8」では、文字切り出し開始位置の基準となる最初のピークP1と、次のピークP2とが、X軸方向において隣り合うように所定の幅(所定のサンプリング単位S2)を隔てて位置しており、他の文字種類に比べて、最初のピークP1の位置と次のピークP2の位置との間隔が狭くなっている。本実施形態では、所定のサンプリング単位S2は7サンプリング単位であり、従って、文字種類「3」及び「8」における最初のピークP1の位置と次のピークP2の位置とは7サンプリング単位離れている。
If the character type of the character to be processed has not been determined in step SA4 and the character type determined as the first candidate in step SA22 is either “3” or “8”, the first peak P1 is detected. It is possible that there was an error. This is due to the following reason.
That is, as shown in FIGS. 8A and 8B, in the character types “3” and “8” in the E-13B font, the first peak P1 and the next peak P2 that serve as the reference for the character extraction start position are used. Are positioned with a predetermined width (predetermined sampling unit S2) so as to be adjacent to each other in the X-axis direction, and compared with other character types, the position of the first peak P1 and the position of the next peak P2 The interval between and is narrower. In the present embodiment, the predetermined sampling unit S2 is 7 sampling units, and therefore the position of the first peak P1 and the position of the next peak P2 in the character types “3” and “8” are separated by 7 sampling units. .

例えば、磁気インク文字の印刷品質のバラツキ等に起因して、信号波形データに乱れが生じたことにより、図8(A)に破線で示すように、最初のピークP1の波形が潰れてしまったとする。このような場合、ステップSA21で最初のピークP1を検出する際に、波形の潰れにより最初のピークP1を検出できず、誤って隣り合う次のピークP2を最初のピークP1として検出してしまうことがあり得る。最初のピークP1を誤って検出し文字の切り出しを行った場合、以降の第1認識フェーズ〜第4認識フェーズの各認識フェーズを実行しても、磁気インク文字の文字種類を認識することは困難となる。   For example, the waveform of the first peak P1 is crushed as shown by the broken line in FIG. 8A due to disturbance in the signal waveform data due to variations in print quality of magnetic ink characters. To do. In such a case, when the first peak P1 is detected in step SA21, the first peak P1 cannot be detected due to the collapse of the waveform, and the next adjacent peak P2 is erroneously detected as the first peak P1. There can be. When the first peak P1 is erroneously detected and the character is cut out, it is difficult to recognize the character type of the magnetic ink character even if the subsequent recognition phases of the first recognition phase to the fourth recognition phase are executed. It becomes.

従って、最初のピークP1として検出した第1ピークの位置に基づいて、磁気インク文字の文字切り出し開始位置を決定し切り出した第1文字波形データに対して、第1認識フェーズを実行した結果、文字種類が確定できず、かつ、第1候補とされた文字種類が「3」又は「8」である場合は、ステップSA21で検出された第1ピークは、本来の最初のピークP1ではなく次のピークP2である可能性がある。この場合、本来の最初のピークP1は、第1ピーク(次のピークP2)から7サンプリング単位だけ前側(X軸左方)に離れた位置にあると考えられる。   Therefore, the character recognition start position of the magnetic ink character is determined based on the position of the first peak detected as the first peak P1, and the first recognition phase is executed on the extracted first character waveform data. If the type cannot be determined and the character type set as the first candidate is “3” or “8”, the first peak detected in step SA21 is not the original first peak P1, but the next peak. It may be peak P2. In this case, the original first peak P1 is considered to be at a position separated from the first peak (next peak P2) to the front side (left side of the X axis) by 7 sampling units.

そこで、ステップSA24において、第1ピークの位置から7サンプリング単位だけ前側に離れた位置における波形の高さ(値)の、第1ピークの位置における波形の高さ(値)に対する比率が所定の比率を超える場合に、この位置に第2ピークがあり、この第2ピークが最初のピークP1である可能性が高い。なお、印刷された磁気インク文字に伸びや縮みがあると、検出信号波形データに伸びや縮みが生じる場合がある。そのような場合には、第1ピークの位置から6サンプリング単位離れた位置、或いは8サンプリング単位離れた位置を第2ピークの位置としてもよい。   Therefore, in step SA24, the ratio of the height (value) of the waveform at a position separated by 7 sampling units from the first peak position to the front side with respect to the height (value) of the waveform at the first peak position is a predetermined ratio. In the case where the second peak is exceeded, there is a second peak at this position, and this second peak is likely to be the first peak P1. If the printed magnetic ink characters are stretched or shrunk, the detection signal waveform data may be stretched or shrunk. In such a case, a position that is 6 sampling units away from the position of the first peak or a position that is 8 sampling units away may be used as the second peak position.

ステップSA25では、最初のピークP1の位置を更新し、第2ピークの位置を最初のピークP1の位置とする。この第2ピークの位置に基づいて、ステップSA1で文字切り出し開始位置を決定し直して第2文字波形データの切り出しを行うことで、文字波形データをより精度良く切り出すことができる。そして、ステップSA3で第2文字波形データに対して磁気インク文字認識を行うことにより、磁気インク文字の文字種類の認識率を向上させることができる。なお、ステップSA25において、最初のピークP1の位置を更新する処理が行われると、最初のピークP1の位置の更新状態を示すフラグが書き替えられる。   In step SA25, the position of the first peak P1 is updated, and the position of the second peak is set as the position of the first peak P1. Based on the position of the second peak, the character waveform data can be extracted more accurately by re-determining the character extraction start position in step SA1 and extracting the second character waveform data. And the recognition rate of the character type of a magnetic ink character can be improved by performing magnetic ink character recognition with respect to 2nd character waveform data by step SA3. In step SA25, when the process of updating the position of the first peak P1 is performed, the flag indicating the updated state of the position of the first peak P1 is rewritten.

本実施形態では、ステップSA24において波形の高さ(値)を比較する差異の所定の比率は、波形の潰れの程度等により適宜設定され、例えば、1/3である。この所定の比率を高く設定すれば、波形の潰れの程度が大きい場合に最初のピークP1を検出できない可能性が高くなり、一方、所定の比率を低く設定すれば、ノイズや波形の乱れがあった場合にこれらを最初のピークP1として誤って検出してしまう可能性が高くなる。したがって、所定の比率は、信号とノイズとを良好に識別できるように設定することが望ましい。   In the present embodiment, the predetermined ratio of the difference for comparing the heights (values) of the waveforms in step SA24 is appropriately set depending on the degree of waveform collapse, and is, for example, 1/3. If the predetermined ratio is set high, there is a high possibility that the first peak P1 cannot be detected when the degree of waveform collapse is large. On the other hand, if the predetermined ratio is set low, there is noise or waveform disturbance. In this case, there is a high possibility that these are erroneously detected as the first peak P1. Therefore, it is desirable to set the predetermined ratio so that the signal and the noise can be distinguished well.

また、本実施形態では、ステップSA23で最初のピークP1の位置の更新状態を示すフラグが書き替えられているかを確認して、最初のピークP1の位置を更新する処理がまだ行われていない場合のみステップSA24に進むことで、第2ピークの位置に基づく第2文字波形データの切り出しが、1つの磁気インク文字に対して1回のみ行われることとし、繰り返し行われないようにしている。
これは、第2文字波形データに対して磁気インク文字認識を実行しても文字種類が確定できない場合、第1ピークだけでなく第2ピークも最初のピークP1ではないことが考えられるためである。この場合、上述の条件でさらに別のピークを探しても最初のピークP1が検出できない可能性が高い。そのため、第2ピークの位置に基づく第2文字波形データの切り出しを1回のみとすることで、文字波形データの切り出し及び磁気インク文字認識の処理を無駄に繰り返すことを防止している。
In the present embodiment, if the flag indicating the updated state of the position of the first peak P1 is rewritten in step SA23 and the process of updating the position of the first peak P1 has not yet been performed. Only by proceeding to step SA24, the second character waveform data based on the position of the second peak is cut out only once for one magnetic ink character, and is not repeatedly performed.
This is because if the character type cannot be determined even if magnetic ink character recognition is performed on the second character waveform data, it is considered that not only the first peak but also the second peak is not the first peak P1. . In this case, there is a high possibility that the first peak P1 cannot be detected even if another peak is searched for under the above-described conditions. Therefore, by cutting out the second character waveform data based on the position of the second peak only once, the processing of cutting out the character waveform data and magnetic ink character recognition is prevented from being wasted.

さて、図4を参照して、ステップSA7以下の処理を説明する。なお、ステップSA25で最初のピークP1の位置を更新し、第2ピークの位置に基づいて第2文字波形データの切り出しを行った場合は、第2認識フェーズ(ステップSA7)〜第4認識フェーズ(ステップSA11)の3つの認識フェーズにおいても、第2文字波形データに対して磁気インク文字認識が行われる。   Now, with reference to FIG. 4, the processing after step SA7 will be described. When the position of the first peak P1 is updated in step SA25 and the second character waveform data is cut out based on the position of the second peak, the second recognition phase (step SA7) to the fourth recognition phase ( Also in the three recognition phases of step SA11), magnetic ink character recognition is performed on the second character waveform data.

第2認識フェーズ(ステップSA7)では、検出信号波形データにおける処理対象文字の文字間隔に基づいて磁気インク文字の伸びや縮みを検出し、検出された伸びや縮みを反映して、比較対象文字種類に対応する基準波形データの波形を、例えば、文字間隔の両側又は片側に伸縮させて補正する。そして、補正された基準波形データ(補正波形データ)のそれぞれと、処理対象文字に対応する文字波形データの波形との間の差異量を検出する。   In the second recognition phase (step SA7), the expansion or contraction of the magnetic ink character is detected based on the character spacing of the processing target character in the detection signal waveform data, and the detected character type is reflected by reflecting the detected expansion or contraction. For example, the waveform of the reference waveform data corresponding to is corrected by expanding and contracting to both sides or one side of the character interval. Then, a difference amount between each of the corrected reference waveform data (corrected waveform data) and the waveform of the character waveform data corresponding to the character to be processed is detected.

ここで、磁気インク文字が印刷規格の中心値からずれて印刷されることに起因して、磁気インク文字が横方向(X軸に対応する方向)に縮んだ状態で、又は、伸びた状態で印刷されることがある。この場合、検出信号波形データに基づいて生成される文字波形データの波形がX軸方向に伸び、又は、縮む場合がある。また、小切手4の搬送の状況によっては、文字波形データの波形がX軸方向に伸び、又は、縮む場合がある。これを踏まえ、基準波形データの波形を所定の位置から所定の範囲でスライドさせた上で、処理対象文字の文字波形データの波形との間で差異量を検出することにより、上述した伸びや縮みを反映して、適切に差異量を算出することができる。   Here, due to the magnetic ink characters being printed out of the center value of the printing standard, the magnetic ink characters are contracted in the horizontal direction (direction corresponding to the X axis) or in the expanded state. May be printed. In this case, the waveform of the character waveform data generated based on the detection signal waveform data may extend or contract in the X-axis direction. In addition, depending on the state of conveyance of the check 4, the waveform of the character waveform data may extend or contract in the X-axis direction. Based on this, by sliding the waveform of the reference waveform data within a predetermined range from a predetermined position, the amount of difference from the waveform of the character waveform data of the character to be processed is detected. Thus, the difference amount can be appropriately calculated.

文字認識部80は、第2認識フェーズにおいて、検出された差異量が最も小さかった補正波形データに対応する文字種類を第1候補とし、次に差異量が小さかった補正波形データに対応する文字種類を第2候補とする。そして、第1候補および第2候補とされた文字種類に対応する補正波形データと処理対象文字の文字波形データとの差異量を所定の閾値と比較し、第1候補に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下となり、かつ、第2候補に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値を上回る場合に、第1候補とされた文字種類を処理対象文字の文字種類として確定する。   In the second recognition phase, the character recognition unit 80 sets the character type corresponding to the corrected waveform data having the smallest detected difference amount as the first candidate, and then the character type corresponding to the corrected waveform data having the smallest difference amount. Is the second candidate. Then, a difference amount between the corrected waveform data corresponding to the character types determined as the first candidate and the second candidate and the character waveform data of the character to be processed is compared with a predetermined threshold, and the reference waveform data corresponding to the first candidate When the amount of difference between the character waveform data of the character to be processed is equal to or less than the threshold and the amount of difference between the reference waveform data corresponding to the second candidate and the character waveform data of the character to be processed exceeds the threshold, The determined character type is determined as the character type of the processing target character.

また、第1候補とされた文字種類に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下であり、かつ、第2候補とされた文字種類に対応する基準波形データと処理対象文字の文字波形データとの差異量が閾値以下であっても、その差異量が上述の第1候補との差異量に所定の係数を乗じたもの以上である場合は、第1候補とされた文字種類を処理対象文字の文字種類として確定する。これら以外の場合は、処理対象文字の文字種類を確定しない。   Further, the reference waveform data corresponding to the character type determined as the second candidate and the difference amount between the reference waveform data corresponding to the character type determined as the first candidate and the character waveform data of the character to be processed is equal to or less than a threshold value. Even if the difference between the character waveform data of the character to be processed and the character to be processed is equal to or less than the threshold, if the difference is greater than or equal to the difference between the first candidate and a predetermined coefficient, the first candidate The selected character type is determined as the character type of the processing target character. In other cases, the character type of the character to be processed is not fixed.

この第2認識フェーズでは、上述のように、文字波形データの波形の伸びや縮みを反映した上で、第1候補、及び、第2候補となる文字種類を選別する。そのため、第2認識フェーズで選別された第1候補及び第2候補は、本実施形態における他の認識フェーズにおいて選別された第1候補や第2候補と比較し、最も信頼性が高いといえる。   In the second recognition phase, as described above, the first candidate and the second candidate character type are selected after reflecting the expansion and contraction of the waveform of the character waveform data. Therefore, it can be said that the first candidate and the second candidate selected in the second recognition phase have the highest reliability compared to the first candidate and the second candidate selected in the other recognition phases in the present embodiment.

第2認識フェーズ(ステップSA7)の実行後、文字認識部80は、第2認識フェーズにおいて処理対象文字の文字種類が確定したか否かを判別し(ステップSA8)、確定できた場合は(ステップSA8:YES)、処理手順をステップSA5へ移行し、確定できなかった場合は(ステップSA8:NO)、第3認識フェーズを実行する(ステップSA9)。
第3認識フェーズ(ステップSA9)では、レーザー印刷用の基準波形データが利用されて、第1認識フェーズと同様の各種処理が実行されるので、説明を省略する。
After execution of the second recognition phase (step SA7), the character recognition unit 80 determines whether or not the character type of the character to be processed has been confirmed in the second recognition phase (step SA8). (SA8: YES), the process proceeds to step SA5, and if it cannot be determined (step SA8: NO), the third recognition phase is executed (step SA9).
In the third recognition phase (step SA9), the reference waveform data for laser printing is used, and various processes similar to those in the first recognition phase are executed.

第3認識フェーズの実行後、文字認識部80は、第3認識フェーズにおいて処理対象文字の文字種類が確定したか否かを判別し(ステップSA10)、確定できた場合は(ステップSA10:YES)、処理手順をステップSA5へ移行し、確定できなかった場合は(ステップSA10:NO)、第4認識フェーズを実行する(ステップSA11)。   After execution of the third recognition phase, the character recognition unit 80 determines whether or not the character type of the processing target character has been confirmed in the third recognition phase (step SA10), and if it can be confirmed (step SA10: YES). Then, the process procedure proceeds to step SA5, and if it cannot be determined (step SA10: NO), the fourth recognition phase is executed (step SA11).

第4認識フェーズ(ステップSA11)では、全てのサンプリング単位ではなく、基準波形データのピークの位置やその前後のサンプリング単位目における基準波形データの波形と処理対象文字の文字波形データの波形とを比較する。これにより、処理対象文字の文字波形データの波形において、乱れがあった場合にその影響を排し、部分的な伸びや、縮み、ずれ、が生じた場合にこれらを反映して、適切に処理対象文字の文字認識を実行する。   In the fourth recognition phase (step SA11), not all sampling units but the peak position of the reference waveform data and the waveform of the reference waveform data in the sampling unit before and after that are compared with the waveform of the character waveform data of the character to be processed. To do. As a result, in the waveform of the character waveform data of the character to be processed, the influence is removed when there is any disturbance, and when partial expansion, shrinkage, or deviation occurs, these are reflected and processed appropriately. Perform character recognition of the target character.

第4認識フェーズでは、処理対象文字の文字種類の最終的な確定を行わず、後述する所定の条件が成立した場合にのみ、処理対象文字の文字種類が確定される。これを踏まえ、第4認識フェーズにおける処理対象文字の文字種類の確定については、「仮確定」と表現し、他の認識フェーズにおける文字種類の確定と区別するものとする。   In the fourth recognition phase, the character type of the processing target character is not finalized, and the character type of the processing target character is determined only when a predetermined condition described later is satisfied. Based on this, the determination of the character type of the character to be processed in the fourth recognition phase is expressed as “provisional determination” and is distinguished from the determination of the character type in the other recognition phases.

第4認識フェーズの終了後、文字認識部80は、第4認識フェーズにおいて処理対象文字の文字種類を仮確定できたか否かを判別する(ステップSA12)。
第4認識フェーズにおいて処理対象文字の文字種類を仮確定できなかった場合(ステップSA12:NO)、換言すれば、第1認識フェーズ〜第4認識フェーズのいずれにおいても処理対象文字の文字種類を確定できなかった場合、文字認識部80は、磁気インク文字認識では処理対象文字の文字種類を確定できないものと判別し(ステップSA13)、処理手順をステップSA5へ移行する。
After the end of the fourth recognition phase, the character recognition unit 80 determines whether or not the character type of the character to be processed has been provisionally determined in the fourth recognition phase (step SA12).
If the character type of the processing target character cannot be temporarily determined in the fourth recognition phase (step SA12: NO), in other words, the character type of the processing target character is determined in any of the first recognition phase to the fourth recognition phase. If not, the character recognition unit 80 determines that the character type of the character to be processed cannot be determined by magnetic ink character recognition (step SA13), and the process proceeds to step SA5.

第4認識フェーズにおいて処理対象文字の文字種類を仮確定できた場合(ステップSA12:YES)、文字認識部80は、第4認識フェーズにおいて仮確定した文字種類と、第2認識フェーズにおいて第1候補とされた文字種類、及び、第2候補とされた文字種類のいずれかと、が一致するか否かを判別する(ステップSA14)。   When the character type of the processing target character can be provisionally confirmed in the fourth recognition phase (step SA12: YES), the character recognition unit 80 determines the character type provisionally confirmed in the fourth recognition phase and the first candidate in the second recognition phase. It is determined whether or not the character type determined and the character type determined as the second candidate match (step SA14).

一致しない場合(ステップSA14:NO)、文字認識部80は、磁気インク文字認識では処理対象文字の文字種類を確定できないものと判別し(ステップSA13)、処理手順をステップSA5へ移行する。
一方、一致する場合(ステップSA14:YES)、文字認識部80は、第4認識フェーズにおいて仮確定した文字を、処理対象文字の文字種類として確定し(ステップSA15)、処理手順をステップSA5へ移行する。
If they do not match (step SA14: NO), the character recognition unit 80 determines that the character type of the character to be processed cannot be determined by magnetic ink character recognition (step SA13), and moves the processing procedure to step SA5.
On the other hand, if they match (step SA14: YES), the character recognition unit 80 determines the character temporarily determined in the fourth recognition phase as the character type of the processing target character (step SA15), and the processing procedure proceeds to step SA5. To do.

このように、本実施形態では、第4認識フェーズにおいて処理対象文字の文字種類として仮確定した文字種類が、第2認識フェーズで第1候補とされた文字種類、及び、第2候補とされた文字種類のいずれかと一致する場合にのみ、当該仮確定した文字種類を、処理対象文字の文字種類として確定する。これは、以下の理由による。
すなわち、第2認識フェーズでは、全てのサンプリング単位における処理対象文字の文字波形データの波形と基準波形データの波形との間の差異量を用いて、磁気インク文字の認識を行う。一方、第4認識フェーズでは、特定のサンプリング単位目における基準波形データの波形と文字波形データの波形とを比較した比較値を用いて、磁気インク文字の認識を行う。
As described above, in the present embodiment, the character type temporarily determined as the character type of the processing target character in the fourth recognition phase is the character type that is the first candidate in the second recognition phase and the second candidate. Only when it matches one of the character types, the temporarily determined character type is determined as the character type of the processing target character. This is due to the following reason.
That is, in the second recognition phase, magnetic ink characters are recognized using a difference amount between the waveform of the character waveform data of the character to be processed and the waveform of the reference waveform data in all sampling units. On the other hand, in the fourth recognition phase, magnetic ink characters are recognized using a comparison value obtained by comparing the waveform of the reference waveform data and the waveform of the character waveform data in a specific sampling unit.

そのため、この比較値を用いる第4認識フェーズでの基準波形データの波形と文字波形データの波形との間の近似度における相関の強さは、波形間の差異量を用いる第2認識フェーズよりも劣る。第4認識フェーズの認識の結果だけに基づいて文字種類を確定した場合、誤認識を招く可能性がある。
そこで、第4認識フェーズにおいて仮確定された文字種類が、他の認識フェーズに比べて信頼性が高い第2認識フェーズで選別された第1候補及び第2候補に係る文字種類のいずれかと一致する場合にのみ、仮確定した文字種類を、処理対象文字の文字種類として確定し、これにより、誤認識を抑制している。
Therefore, the strength of the correlation in the degree of approximation between the waveform of the reference waveform data and the waveform of the character waveform data in the fourth recognition phase using this comparison value is higher than that in the second recognition phase using the difference amount between the waveforms. Inferior. If the character type is determined based only on the result of recognition in the fourth recognition phase, there is a possibility of erroneous recognition.
Therefore, the character type temporarily determined in the fourth recognition phase matches either the character type related to the first candidate or the second candidate selected in the second recognition phase with higher reliability than the other recognition phases. Only in this case, the temporarily determined character type is determined as the character type of the character to be processed, thereby suppressing erroneous recognition.

次いで、ステップSA5において、磁気インク文字列4Aに含まれる全ての磁気インク文字が処理対象文字となったと判別された場合(ステップSA5:YES)、文字認識部80は、磁気インク文字列4Aに含まれる磁気インク文字の文字数を検出する(ステップSA6)。   Next, when it is determined in step SA5 that all magnetic ink characters included in the magnetic ink character string 4A have been processed (step SA5: YES), the character recognition unit 80 is included in the magnetic ink character string 4A. The number of magnetic ink characters to be detected is detected (step SA6).

次いで、文字認識部80は、磁気インク文字列4Aに含まれる全ての磁気インク文字について、文字種類が確定したか否かを判別する(ステップSA16)。   Next, the character recognition unit 80 determines whether or not the character type has been determined for all the magnetic ink characters included in the magnetic ink character string 4A (step SA16).

全ての磁気インク文字について文字種類が確定した場合(ステップSA16:YES)、ホスト側制御部73は、磁気インク文字列4Aの読み取りが成功したものとして、磁気インク文字列4Aの読み取りが成功した場合に行うべき処理を行う(ステップSA17)。磁気インク文字列4Aの読み取りが成功した場合に行うべき処理には、例えば、磁気インク文字列4Aが示す情報を記憶部78に記憶し、また、制御部71に記録装置56を制御させて、小切手4の裏面に裏書きに係る所定の画像を記録し、また、第1小切手排出部7に小切手4を排出する等の処理が含まれる。   When the character type is determined for all the magnetic ink characters (step SA16: YES), the host-side control unit 73 assumes that the magnetic ink character string 4A has been successfully read, and that the magnetic ink character string 4A has been successfully read. The process to be performed is performed (step SA17). The processing to be performed when the reading of the magnetic ink character string 4A is successful includes, for example, storing the information indicated by the magnetic ink character string 4A in the storage unit 78, and causing the control unit 71 to control the recording device 56, A predetermined image related to the endorsement is recorded on the back surface of the check 4, and the first check discharge unit 7 discharges the check 4.

一方、磁気インク文字列4Aに含まれる磁気インク文字について、1つでも文字種類が確定しなかったものが存在した場合(ステップSA16:NO)、文字認識部80は、文字種類が確定しなかった磁気インク文字に対して光学的な文字の認識を行う光学認識処理(ステップSA18)を実行する。   On the other hand, when at least one of the magnetic ink characters included in the magnetic ink character string 4A has not been determined (step SA16: NO), the character recognition unit 80 has not determined the character type. An optical recognition process (step SA18) for performing optical character recognition on the magnetic ink character is executed.

次いで、文字認識部80は、光学認識処理により、文字種類が確定していなかった全ての磁気インク文字について、文字種類が確定したか否かを判別し(ステップSA19)、全ての磁気インク文字について、文字種類が確定した場合は(ステップSA19:YES)、磁気インク文字列4Aの読み取りが成功した場合に行うべき処理を行う(ステップSA17)。   Next, the character recognition unit 80 determines whether or not the character type has been determined for all the magnetic ink characters whose character type has not been determined by the optical recognition process (step SA19), and for all the magnetic ink characters. If the character type is determined (step SA19: YES), processing to be performed when the magnetic ink character string 4A is successfully read is performed (step SA17).

一方、1つでも文字種類が確定しなかった磁気インク文字が存在する場合(ステップSA19:NO)、ホスト側制御部73は、磁気インク文字列4Aの読み取りが失敗した場合に行うべき処理を行う(ステップSA20)。
磁気インク文字列4Aの読み取りが失敗した場合に行うべき処理として、ホスト側制御部73は、制御部71を制御して、裏書きに係る画像の印刷等を行うことなく、第2小切手排出部8に小切手4を搬送する処理を行う。第2小切手排出部8に排出された小切手4は、読み取りが失敗した原因の究明や、再読み取り等の処理が行われる。
On the other hand, if there is at least one magnetic ink character whose character type has not been determined (step SA19: NO), the host-side control unit 73 performs processing to be performed when reading of the magnetic ink character string 4A fails. (Step SA20).
As a process to be performed when reading of the magnetic ink character string 4A fails, the host-side control unit 73 controls the control unit 71 to perform the second check discharge unit without printing an image related to the endorsement. The process of conveying the check 4 to 8 is performed. The check 4 discharged to the second check discharge unit 8 is subjected to processing such as investigation of the cause of reading failure and re-reading.

<光学認識処理>
次に、文字認識部80の光学認識処理の動作について説明する。図9は、ステップSA18の光学認識処理の実行時における文字認識部80の動作を示すフローチャートである。
光学認識処理において、まず、文字認識部80は、表面側コンタクトイメージセンサー52の読み取り結果に基づいて生成された、小切手4の表面の画像を示すデータに基づいて、磁気インク文字列4Aに含まれる磁気インク文字の光学文字認識を実行する(ステップSK1)。
<Optical recognition processing>
Next, the operation of the optical recognition process of the character recognition unit 80 will be described. FIG. 9 is a flowchart showing the operation of the character recognition unit 80 during the execution of the optical recognition process in step SA18.
In the optical recognition process, first, the character recognition unit 80 is included in the magnetic ink character string 4A based on data indicating the image of the surface of the check 4 generated based on the reading result of the front-side contact image sensor 52. Optical character recognition of magnetic ink characters is executed (step SK1).

ステップSK1では、例えば、文字認識部80は、小切手4の表面を示す画像データにおいて、磁気インク文字列4Aの画像に対応するデータの範囲を特定すると共に、特定した範囲のデータについて、磁気インク文字ごとに画像データを切り出す。   In step SK1, for example, the character recognition unit 80 specifies the range of data corresponding to the image of the magnetic ink character string 4A in the image data indicating the surface of the check 4, and uses the magnetic ink character for the specified range of data. The image data is cut out every time.

次いで、文字認識部80は、14種類の文字種類のそれぞれに対応するビットマップパターンと、切り出した磁気インク文字の画像データとを比較することにより、磁気インク文字のそれぞれの文字種類を仮確定する。なお、ステップSK1で確定された文字種類は、最終的な文字種類の確定ではないため、「仮確定」と表現する。   Next, the character recognition unit 80 tentatively determines each character type of the magnetic ink character by comparing the bitmap pattern corresponding to each of the 14 character types with the image data of the cut out magnetic ink character. . Note that the character type determined in step SK1 is not final character type determination, and is therefore expressed as “provisional determination”.

次いで、文字認識部80は、ステップSK1の光学文字認識の結果に基づいて、磁気インク文字列4Aに含まれる磁気インク文字の文字数を検出する(ステップSK2)。   Next, the character recognition unit 80 detects the number of magnetic ink characters included in the magnetic ink character string 4A based on the result of optical character recognition in step SK1 (step SK2).

次いで、文字認識部80は、図4のステップSA6で検出した文字数、すなわち、磁気ヘッド54により読み取られた検出信号波形データに基づいて検出された文字数と、ステップSK2で検出された文字数とが一致するか否かを判別する(ステップSK3)。   Next, the character recognition unit 80 matches the number of characters detected in step SA6 in FIG. 4, that is, the number of characters detected based on the detection signal waveform data read by the magnetic head 54, and the number of characters detected in step SK2. It is determined whether or not to perform (step SK3).

文字数が一致しない場合(ステップSK3:NO)、文字認識部80は、磁気インク文字列4Aの読み取りに失敗したと判別し(ステップSK4)、光学認識処理を終了する。これは、以下の理由による。
すなわち、ステップSK5以下の処理は、ステップSK1における光学文字認識処理の結果を利用して、文字種類が確定していない磁気インク文字について、文字種類の確定を試みる処理であり、上記文字数が異なっている場合は、磁気的な読み取り及び光学的な読み取りのうち少なくとも一方が失敗していることが考えられる。そのため、磁気インク文字認識により検出信号波形データに基づいて切り出した磁気インク文字のそれぞれと、光学文字認識により切り出した磁気インク文字のそれぞれとの対応関係について確実性が担保できず、ステップSK1における光学文字認識処理の結果を利用した文字種類の確定を実行できないからである。
If the number of characters does not match (step SK3: NO), the character recognition unit 80 determines that reading of the magnetic ink character string 4A has failed (step SK4), and ends the optical recognition process. This is due to the following reason.
That is, the processing after step SK5 is processing for trying to determine the character type for magnetic ink characters whose character type has not been determined using the result of the optical character recognition processing in step SK1, and the number of characters is different. If it is, at least one of the magnetic reading and the optical reading may have failed. Therefore, certainty cannot be ensured for the correspondence between each magnetic ink character cut out based on the detection signal waveform data by magnetic ink character recognition and each magnetic ink character cut out by optical character recognition, and the optical in step SK1. This is because the character type cannot be determined using the result of the character recognition process.

文字数が一致する場合(ステップSK3:YES)、文字認識部80は、図4のステップSA13において文字種類を確定できないと判別された磁気インク文字の中から1つの磁気インク文字をステップSK6以下の処理を行う対象として特定する(ステップSK5)。   When the number of characters matches (step SK3: YES), the character recognition unit 80 processes one magnetic ink character from the magnetic ink characters determined in step SA13 in FIG. (Step SK5).

ステップSK5以下の処理は、磁気インク文字認識では文字種類が確定できなかった磁気インク文字のそれぞれについて、順番に、行われる。以下、ステップSK5で特定された磁気インク文字を「処理対象文字」というものとする。
次いで、文字認識部80は、処理対象文字について、ステップSK1で仮確定された文字種類を取得する(ステップSK6)。
The processes after step SK5 are sequentially performed for each magnetic ink character whose character type cannot be determined by magnetic ink character recognition. Hereinafter, the magnetic ink character specified in step SK5 is referred to as a “processing target character”.
Next, the character recognition unit 80 acquires the character type temporarily determined in step SK1 for the processing target character (step SK6).

次いで、文字認識部80は、処理対象文字について、ステップSK1で仮確定された文字種類と、上述した第2認識フェーズにおいて第1候補とされた文字種類、及び、第2候補とされた文字種類のいずれかと、が一致するか否かを判別する(ステップSK7)。
一致する場合(ステップSK7:YES)、文字認識部80は、仮確定した文字を、処理対象文字の文字種類として確定し(ステップSK8)、処理手順をステップSK9へ移行する。
一方、一致しない場合(ステップSK7:NO)、文字認識部80は、処理対象文字について、光学文字認識を利用した文字認識によっても文字種類を確定できないと判別し(ステップSK10)、処理手順をステップSK9へ移行する。
Next, the character recognition unit 80 determines the character type temporarily determined in step SK1, the character type determined as the first candidate in the above-described second recognition phase, and the character type determined as the second candidate for the processing target character. It is determined whether or not any of the above matches (step SK7).
If they match (step SK7: YES), the character recognizing unit 80 determines the temporarily determined character as the character type of the processing target character (step SK8), and shifts the processing procedure to step SK9.
On the other hand, if they do not match (step SK7: NO), the character recognition unit 80 determines that the character type of the processing target character cannot be determined even by character recognition using optical character recognition (step SK10), and the processing procedure is stepped. Move to SK9.

ステップSK9において、文字認識部80は、図4のステップSA13において文字種類を確定できないと判別された磁気インク文字の全てが、処理対象文字となったか否かを判別する。全ての磁気インク文字が処理対象文字となっていない場合(ステップSK9:NO)、文字認識部80は、処理手順をステップSK5へ戻す。   In step SK9, the character recognizing unit 80 determines whether or not all the magnetic ink characters determined to be unable to determine the character type in step SA13 in FIG. 4 have been processed. If not all magnetic ink characters are characters to be processed (step SK9: NO), the character recognition unit 80 returns the processing procedure to step SK5.

一方、全ての磁気インク文字が処理対象文字となった場合(ステップSK9:YES)、文字認識部80は、文字種類を確定できない磁気インク文字が1つでもあるか否か、すなわち、ステップSK10において、文字種類を確定できないと判別された磁気インク文字が1つでも存在するか否かを判別する(ステップSK11)。   On the other hand, when all the magnetic ink characters have been processed (step SK9: YES), the character recognition unit 80 determines whether there is even one magnetic ink character whose character type cannot be determined, that is, in step SK10. Then, it is determined whether or not there is even one magnetic ink character determined that the character type cannot be determined (step SK11).

文字種類を確定できなかったものが1つも存在しない場合(ステップSK11:NO)、文字認識部80は、磁気インク文字列4Aの読み取りに成功したと判別し(ステップSK12)、光学認識処理を終了する。
一方、文字種類を確定できなかったものが1つでも存在する場合(ステップSK11:YES)、文字認識部80は、磁気インク文字列4Aの読み取りに失敗したと判別し(ステップSK4)、光学認識処理を終了する。
If there is no character type that cannot be determined (step SK11: NO), the character recognition unit 80 determines that the magnetic ink character string 4A has been successfully read (step SK12), and ends the optical recognition process. To do.
On the other hand, if there is even one character type that cannot be determined (step SK11: YES), the character recognition unit 80 determines that reading of the magnetic ink character string 4A has failed (step SK4), and optical recognition is performed. The process ends.

このように、本実施形態では、ステップSK1の光学文字認識処理において処理対象文字の文字種類を仮確定し、当該仮確定した文字種類が、第2認識フェーズで第1候補とされた文字種類、及び、第2候補とされた文字種類のいずれかと一致する場合にのみ、当該仮確定した文字種類を、処理対象文字の文字種類として確定する。これは、以下の理由による。
すなわち、ステップSK1の光学文字認識処理は、小切手4の表面を示す画像データに基づいて、光学文字認識により、磁気インク文字の文字種類を仮確定する。ここで、上述のように、小切手4の表面にペン等で記入されたサインや汚れ等が、磁気インク文字列4Aの誤認識の原因となる場合があり得る。これを踏まえ、磁気的な処理による文字種類の確定ができなかった磁気インク文字について、単純に光学文字認識によって文字種類を確定することとしない。本実施形態では、光学文字認識により仮確定した文字種類が、第2認識フェーズにおいて正しい文字種類である蓋然性が最も高いとされた第1候補に係る文字種類、及び、正しい文字種類である蓋然性が2番目に高いとされた第2候補に係る文字種類のいずれかと一致する場合にのみ、仮確定した文字種類を、処理対象文字の文字種類として確定する。これにより、誤認識を効果的に抑制している。
As described above, in the present embodiment, the character type of the processing target character is provisionally determined in the optical character recognition process in step SK1, and the character type that has been provisionally confirmed is the character type that is the first candidate in the second recognition phase. And only when it matches with one of the character types made into the 2nd candidate, the said character type decided temporarily is decided as a character type of a character for processing. This is due to the following reason.
That is, in the optical character recognition process in step SK1, the character type of the magnetic ink character is provisionally determined by optical character recognition based on the image data indicating the surface of the check 4. Here, as described above, a sign or dirt written on the surface of the check 4 with a pen or the like may cause erroneous recognition of the magnetic ink character string 4A. Based on this, for the magnetic ink characters for which the character type cannot be determined by magnetic processing, the character type is not simply determined by optical character recognition. In the present embodiment, the character type temporarily determined by optical character recognition is the character type related to the first candidate that has the highest probability of being the correct character type in the second recognition phase, and the probability that it is the correct character type. Only when it matches one of the character types related to the second candidate that is the second highest, the temporarily determined character type is determined as the character type of the processing target character. As a result, erroneous recognition is effectively suppressed.

以上説明したように、本実施形態に係る記録媒体処理装置、記録媒体処理装置の制御方法、及び、プログラムによれば、以下の効果が得られる。   As described above, according to the recording medium processing apparatus, the control method for the recording medium processing apparatus, and the program according to the present embodiment, the following effects can be obtained.

本実施形態では、第1ピークの位置に基づいて切り出した第1文字波形データに対して磁気インク文字認識を実行して磁気インク文字の文字種類を認識できず、候補とされた文字種類がE−13Bフォントの「3」又は「8」である場合に、第1ピークの位置から所定の幅だけ離れた位置における波形の高さ(値)が、第1ピークの位置における波形の高さ(値)に対して所定の比率を超えていれば、その位置に第2ピークがあるものとする。そして、その第2ピークの位置に基づいて、この磁気インク文字の文字切り出し開始位置を決定し直して第2文字波形データの切り出しを行い、磁気インク文字認識を再度実行する。   In the present embodiment, magnetic ink character recognition is performed on the first character waveform data cut out based on the position of the first peak, and the character type of the magnetic ink character cannot be recognized. In the case of “3” or “8” in the −13B font, the height (value) of the waveform at a position away from the position of the first peak by a predetermined width is the height of the waveform at the position of the first peak ( If a predetermined ratio is exceeded with respect to (value), it is assumed that there is a second peak at that position. Then, based on the position of the second peak, the character cutout start position of the magnetic ink character is determined again, the second character waveform data is cut out, and magnetic ink character recognition is executed again.

これによれば、E−13Bフォントの「3」及び「8」では、波形の乱れ等により、最初のピークP1を検出できず、最初のピークP1とX軸方向において隣り合う次のピークP2を誤って第1ピークとして検出してしまう場合がある。そこで、第1ピークの位置に基づいて切り出した第1文字波形データで文字種類を認識できず、候補とされた文字種類がE−13Bフォントの「3」又は「8」であり、かつ、第1ピークの位置から所定の幅だけ離れた位置に第2ピークがあるのであれば、その第2ピークが最初のピークP1であると考えられる。そこで、第2ピークの位置に基づいて第2文字波形データの切り出しを行うことで、文字切り出し開始位置をより精度良く決定し文字波形データを切り出して、磁気インク文字認識を行うことができる。これにより、磁気インク文字の認識率を向上させることができる。   According to this, in the “13” and “8” of the E-13B font, the first peak P1 cannot be detected due to waveform disturbance or the like, and the next peak P2 adjacent to the first peak P1 in the X-axis direction is detected. It may be detected as the first peak by mistake. Therefore, the character type cannot be recognized by the first character waveform data cut out based on the position of the first peak, the character type set as the candidate is “3” or “8” of the E-13B font, and the first If there is a second peak at a position away from the position of one peak by a predetermined width, the second peak is considered to be the first peak P1. Therefore, by cutting out the second character waveform data based on the position of the second peak, it is possible to determine the character cutting start position with higher accuracy, cut out the character waveform data, and perform magnetic ink character recognition. Thereby, the recognition rate of magnetic ink characters can be improved.

また、第2ピークの位置に基づく第2文字波形データの切り出しを、1つの磁気インク文字に対して1回のみ行うので、第1ピーク及び第2ピークが最初のピークP1でない場合に、文字波形データの切り出し及び磁気インク文字認識を無駄に繰り返すことを防止できる。   Further, since the second character waveform data based on the position of the second peak is cut out only once for one magnetic ink character, the character waveform is obtained when the first peak and the second peak are not the first peak P1. It is possible to prevent data cutout and magnetic ink character recognition from being repeated in vain.

また、本実施形態では、異なる方法によって磁気インク文字認識する複数の認識フェーズにおける磁気インク文字認識の結果に基づいて、多面的に磁気インク文字が示す文字種類の認識を行うことができ、磁気インク文字の誤認識を抑制することが可能となる。さらに、磁気インク文字認識による認識ができなかった場合であっても、光学文字認識による認識が試みられるため、磁気インク文字の認識率が向上するとともに、磁気インク文字認識、及び、光学文字認識の双方の結果を利用できるため、効果的に誤認識を抑制できる。   Further, in the present embodiment, the character type indicated by the magnetic ink character can be recognized in a multifaceted manner based on the results of magnetic ink character recognition in a plurality of recognition phases for recognizing the magnetic ink character by different methods. It becomes possible to suppress erroneous recognition of characters. Furthermore, even if recognition by magnetic ink character recognition is not possible, since recognition by optical character recognition is attempted, the recognition rate of magnetic ink characters is improved, and magnetic ink character recognition and optical character recognition are improved. Since both results can be used, erroneous recognition can be effectively suppressed.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形及び応用が可能である。変形例を以下に述べる。なお、上述した実施形態と同一の構成については、同一の符号を使用し、重複する説明は省略する。   The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention. A modification will be described below. In addition, about the structure same as embodiment mentioned above, the same code | symbol is used and the overlapping description is abbreviate | omitted.

(変形例)
例えば、上述した実施形態では、磁気インク文字認識により磁気インク文字の文字種類を認識できない場合に、磁気インク文字認識により検出された文字数と光学文字認識により検出された文字数とが一致すれば光学文字認識を実行する構成であったが、このような構成に限定されない。
磁気インク文字列4Aに含まれる磁気インク文字のそれぞれについて、磁気インク文字認識による文字種類の確定、及び、光学文字認識による文字種類の確定を行い、磁気インク文字認識及び光学文字認識によって確定した文字種類が一致する場合に、磁気インク文字の文字種類の最終的な確定を行う構成としてもよい。このようにすれば、磁気インク文字の認識の確実性をより高めることができる。
(Modification)
For example, in the above-described embodiment, when the character type of the magnetic ink character cannot be recognized by the magnetic ink character recognition, the optical character is detected if the number of characters detected by the magnetic ink character recognition matches the number of characters detected by the optical character recognition. Although it is the structure which performs recognition, it is not limited to such a structure.
For each of the magnetic ink characters included in the magnetic ink character string 4A, the character type is determined by magnetic ink character recognition and the character type is determined by optical character recognition, and the character is determined by magnetic ink character recognition and optical character recognition. When the types match, the final character type of the magnetic ink character may be determined. In this way, the certainty of magnetic ink character recognition can be further increased.

また、上述した実施形態では、ホストコンピューター70が文字認識部80を備え、磁気インク文字の認識を実行する構成であったが、この文字認識部80の機能を、小切手読取装置1に持たせるようにし、小切手読取装置1が単独で、磁気インク文字の認識に係る各種処理を実行する構成としてもよい。この場合、小切手読取装置1が、記録媒体処理装置として機能する。   In the above-described embodiment, the host computer 70 includes the character recognition unit 80 and recognizes magnetic ink characters. However, the check reader 1 has the function of the character recognition unit 80. In addition, the check reading device 1 may be configured to execute various processes related to the recognition of the magnetic ink characters alone. In this case, the check reading device 1 functions as a recording medium processing device.

1…小切手読取装置(記録媒体処理装置)、4…小切手(記録媒体)、4A…磁気インク文字列、30…小切手搬送機構(搬送部)、54…磁気ヘッド(読取部)、70…ホストコンピューター(記録媒体処理装置)、71…制御部、73…ホスト側制御部。   DESCRIPTION OF SYMBOLS 1 ... Check reading apparatus (recording medium processing apparatus), 4 ... Check (recording medium), 4A ... Magnetic ink character string, 30 ... Check conveyance mechanism (conveyance part), 54 ... Magnetic head (reading part), 70 ... Host computer (Recording medium processing device) 71... Control unit 73.

Claims (6)

記録媒体を搬送する搬送部と、
前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、
前記搬送部と前記読取部とを制御する制御部と、を備え、
前記制御部は、
前記搬送部を制御して前記記録媒体を搬送させ、
搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける最初のピークであると判断した第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、
切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行することを特徴とする記録媒体処理装置。
A transport unit for transporting the recording medium;
A reading unit that magnetically reads magnetic ink characters recorded on the recording medium;
A controller that controls the transport unit and the reading unit;
The controller is
Controlling the transport unit to transport the recording medium,
Signal waveform data obtained by reading the magnetic ink characters of the recording medium being conveyed by the reading unit is analyzed, a first peak determined to be the first peak in the signal waveform data is detected, and the first peak is detected. A character cutout start position of one magnetic ink character is determined based on a peak position, and first character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character,
When magnetic ink character recognition is performed on the cut out first character waveform data and it is determined that the character type of the magnetic ink character cannot be recognized, it is determined that the second peak is adjacent to the first peak. A peak is detected, the character cutout start position is determined again based on the position of the second peak, and the second character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character. A recording medium processing apparatus for performing magnetic ink character recognition again on the cut-out second character waveform data.
前記制御部は、
前記信号波形データにおいて、前記第1ピークの位置における波形の高さに対する前記第1ピークの位置から所定の幅だけ離れた位置における波形の高さの比率が所定の比率を超える場合に、前記第1ピークの位置から前記所定の幅だけ離れた位置を前記第2ピークの位置と判断することを特徴とする請求項1に記載の記録媒体処理装置。
The controller is
In the signal waveform data, when the ratio of the height of the waveform at a position separated by a predetermined width from the position of the first peak to the height of the waveform at the position of the first peak exceeds a predetermined ratio, 2. The recording medium processing apparatus according to claim 1, wherein a position separated from the position of one peak by the predetermined width is determined as the position of the second peak.
規格で定められた複数の文字種類の基準波形を記憶する記憶部を備え、
前記制御部は、
前記磁気インク文字のフォントがE−13Bフォントであって、
前記第1文字波形データに対して磁気インク文字認識を実行して前記磁気インク文字の文字種類を認識できないと判別した場合、前記記憶部に記憶された前記複数の文字種類から前記磁気インク文字の文字種類の候補を選別し、
前記候補とされた文字種類が「3」又は「8」である場合に、前記第2文字波形データの切り出しを行い、前記第2文字波形データに対して磁気インク文字認識を再度実行することを特徴とする請求項2に記載の記録媒体処理装置。
A storage unit that stores a reference waveform of a plurality of character types defined in the standard,
The controller is
The magnetic ink character font is an E-13B font,
When magnetic ink character recognition is performed on the first character waveform data and it is determined that the character type of the magnetic ink character cannot be recognized, the magnetic ink character of the magnetic ink character is determined from the plurality of character types stored in the storage unit. Select character type candidates,
When the candidate character type is “3” or “8”, the second character waveform data is cut out and magnetic ink character recognition is performed again on the second character waveform data. The recording medium processing apparatus according to claim 2, wherein the recording medium processing apparatus is a recording medium processing apparatus.
前記制御部は、
前記第2ピークの位置に基づく前記第2文字波形データの切り出しを、1つの前記磁気インク文字に対して1回行うことを特徴とする請求項3に記載の記録媒体処理装置。
The controller is
The recording medium processing apparatus according to claim 3, wherein the second character waveform data is cut out once for each of the magnetic ink characters based on the position of the second peak.
記録媒体を搬送する搬送部と、前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、を備えた記録媒体処理装置の制御方法であって、
前記搬送部により前記記録媒体を搬送させ、搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、
切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行することを特徴とする記録媒体処理装置の制御方法。
A control method for a recording medium processing apparatus comprising: a conveying unit that conveys a recording medium; and a reading unit that magnetically reads magnetic ink characters recorded on the recording medium,
Analyzing the signal waveform data obtained by transporting the recording medium by the transport unit, reading the magnetic ink characters of the transported recording medium by the reading unit, and detecting a first peak in the signal waveform data; Determining a character cutout start position of one magnetic ink character based on the position of the first peak, and cutting out the first character waveform data in a range corresponding to the one magnetic ink character from the signal waveform data;
When magnetic ink character recognition is performed on the cut out first character waveform data and it is determined that the character type of the magnetic ink character cannot be recognized, it is determined that the second peak is adjacent to the first peak. A peak is detected, the character cutout start position is determined again based on the position of the second peak, and the second character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character. A method of controlling a recording medium processing apparatus, wherein magnetic ink character recognition is performed again on the cut-out second character waveform data.
記録媒体を搬送する搬送部と、前記記録媒体に記録された磁気インク文字を磁気的に読み取る読取部と、を備えた記録媒体処理装置の各部を制御する制御部により実行されるプログラムであって、
前記制御部を、
前記搬送部により前記記録媒体を搬送させ、搬送される前記記録媒体の前記磁気インク文字を前記読取部により読み取って得られる信号波形データを解析し、前記信号波形データにおける第1ピークを検出し、前記第1ピークの位置に基づいて1つの磁気インク文字の文字切り出し開始位置を決定して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第1文字波形データの切り出しを行い、
切り出された前記第1文字波形データに対して磁気インク文字認識を実行し、前記磁気インク文字の文字種類を認識できないと判別した場合、前記第1ピークと隣り合うピークであると判断した第2ピークを検出し、前記第2ピークの位置に基づいて前記文字切り出し開始位置を決定し直して、前記信号波形データから前記1つの磁気インク文字に対応する範囲で第2文字波形データの切り出しを行い、切り出された前記第2文字波形データに対して磁気インク文字認識を再度実行する手段として機能させることを特徴とするプログラム。
A program that is executed by a control unit that controls each unit of a recording medium processing apparatus that includes a conveyance unit that conveys a recording medium, and a reading unit that magnetically reads magnetic ink characters recorded on the recording medium. ,
The control unit
Analyzing the signal waveform data obtained by transporting the recording medium by the transport unit, reading the magnetic ink characters of the transported recording medium by the reading unit, and detecting a first peak in the signal waveform data; Determining a character cutout start position of one magnetic ink character based on the position of the first peak, and cutting out the first character waveform data in a range corresponding to the one magnetic ink character from the signal waveform data;
When magnetic ink character recognition is performed on the cut out first character waveform data and it is determined that the character type of the magnetic ink character cannot be recognized, it is determined that the second peak is adjacent to the first peak. A peak is detected, the character cutout start position is determined again based on the position of the second peak, and the second character waveform data is cut out from the signal waveform data in a range corresponding to the one magnetic ink character. A program for causing magnetic ink character recognition to be performed again on the cut-out second character waveform data.
JP2011049919A 2011-03-08 2011-03-08 Recording medium processor, control method of recording medium processor, and program Withdrawn JP2012185762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011049919A JP2012185762A (en) 2011-03-08 2011-03-08 Recording medium processor, control method of recording medium processor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011049919A JP2012185762A (en) 2011-03-08 2011-03-08 Recording medium processor, control method of recording medium processor, and program

Publications (1)

Publication Number Publication Date
JP2012185762A true JP2012185762A (en) 2012-09-27

Family

ID=47015784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011049919A Withdrawn JP2012185762A (en) 2011-03-08 2011-03-08 Recording medium processor, control method of recording medium processor, and program

Country Status (1)

Country Link
JP (1) JP2012185762A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042633B2 (en) 2012-07-18 2015-05-26 Seiko Epson Corporation Recording media processing device, control method of a recording media processing device, and non-transitory storage medium
US9047530B2 (en) 2012-07-18 2015-06-02 Seiko Epson Corporation Recording media processing device, control method of a recording media processing device, and computer-readable recording medium storing a program
US9576211B2 (en) 2012-07-09 2017-02-21 Seiko Epson Corporation Device, method, and storage medium for magnetic ink character peak detection and recognition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9576211B2 (en) 2012-07-09 2017-02-21 Seiko Epson Corporation Device, method, and storage medium for magnetic ink character peak detection and recognition
US9042633B2 (en) 2012-07-18 2015-05-26 Seiko Epson Corporation Recording media processing device, control method of a recording media processing device, and non-transitory storage medium
US9047530B2 (en) 2012-07-18 2015-06-02 Seiko Epson Corporation Recording media processing device, control method of a recording media processing device, and computer-readable recording medium storing a program

Similar Documents

Publication Publication Date Title
JP4438387B2 (en) Magnetic ink character reader
US7796817B2 (en) Character recognition method, character recognition device, and computer product
JP2006012027A (en) Optical reader, recognition processor, character reading method and program, magnetic ink character reader, and pos terminal device
WO2011112573A2 (en) Paragraph recognition in an optical character recognition (ocr) process
JP2012221337A (en) Recording medium processor, control method of the same and program
JP2012226633A (en) Recording medium processing device, control method of recording medium processing device, and program
JP2012185763A (en) Recording medium processor, control method of recording medium processor, and program
JP2012185762A (en) Recording medium processor, control method of recording medium processor, and program
JP2012168837A (en) Recording medium processor, control method of recording medium processor, and program
JP2012198852A (en) Recording medium processor, control method thereof and program
JP2012243063A (en) Recording medium processor, control method for recording medium processor and program
JP2012252560A (en) Recording medium processor, control method of the same and program
JP4887516B2 (en) Magnetic ink character recognition method and magnetic character recognition device
JP2012221276A (en) Recording medium processor, control method of the same and program
US9576211B2 (en) Device, method, and storage medium for magnetic ink character peak detection and recognition
JP2012174093A (en) Recording medium processing apparatus, and method and program for controlling recording medium processing apparatus
US9031309B2 (en) Recording media processing device, control method of a recording media processing device, and storage medium
US9129175B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium
US7680331B2 (en) Document processing device and document processing method
JP2013020414A (en) Recording medium processor, control method of the same and program
US9047530B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium storing a program
JP2019105877A (en) Magnetic ink character recognition apparatus and program
JP2017199326A (en) Character reading device
JP2013025350A (en) Recording medium processing device, control method of the same, and program
JP2012159912A (en) Image processing device and control method of image processing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513