JP2021163231A - Paper sheet identification device and paper sheet identification method - Google Patents
Paper sheet identification device and paper sheet identification method Download PDFInfo
- Publication number
- JP2021163231A JP2021163231A JP2020064559A JP2020064559A JP2021163231A JP 2021163231 A JP2021163231 A JP 2021163231A JP 2020064559 A JP2020064559 A JP 2020064559A JP 2020064559 A JP2020064559 A JP 2020064559A JP 2021163231 A JP2021163231 A JP 2021163231A
- Authority
- JP
- Japan
- Prior art keywords
- font pattern
- serial number
- banknote
- region
- paper leaf
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 39
- 238000001514 detection method Methods 0.000 claims abstract description 19
- 238000003384 imaging method Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 35
- 230000004048 modification Effects 0.000 description 27
- 238000012986 modification Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 22
- 230000007423 decrease Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
Description
本発明は、紙葉類識別装置および紙葉類識別方法に関する。 The present invention relates to a paper leaf identification device and a paper leaf species identification method.
紙幣や有価証券、商品券等の紙葉類に印字された固有番号(記番号とも称する)を読み取って、紙葉類の真偽を判定する紙葉類処理装置が、特許文献1に開示されている。
特許文献1のような従来の紙葉類処理装置は、同一の種類の紙葉類は、同一のフォントパターンで、固有番号が印字されていることを前提としている。そのため、異なるフォントパターンで固有番号が印字される場合には、それらの固有番号を正しく読み取ることができないおそれがある。
A conventional paper leaf processing apparatus such as
本発明のいくつかの態様は、異なるフォントパターンを用いて固有番号が印字される紙葉類であっても、それらの固有番号を正しく識別することができる紙葉類識別装置および紙葉類識別方法を提供する。 Some aspects of the present invention are a paper leaf identification device and a paper leaf identification device capable of correctly identifying the unique numbers even if the unique numbers are printed using different font patterns. Provide a method.
本発明の一態様に係る紙葉類識別装置は、紙葉類の固有番号が紙葉類にどのように印字されているかを示す少なくとも1つのフォントパターンと、少なくとも1つのフォントパターンにおいて固有番号に含まれる複数の文字が記載される位置を示すテンプレートとを関連付けて、紙葉類の種類ごとに予め記憶する記憶部と、紙葉類の種類を識別する識別部と、紙葉類を撮像した画像において、固有番号の少なくとも一部を含む第1領域の外部に設定される第2領域に基づいて、記憶部が記憶している少なくとも1つのフォントパターンの中から、識別部が種類を識別した紙葉類のフォントパターンを判定する判定部と、判定部が判定したフォントパターンに対応付けられたテンプレートを、記憶部から読み出して、固有番号に含まれる複数の文字を検出する文字検出部と、を備える。 The paper leaf identification device according to one aspect of the present invention has at least one font pattern indicating how the unique number of the paper leaf is printed on the paper leaf, and the unique number in at least one font pattern. A storage unit that stores in advance for each type of paper leaf, an identification unit that identifies the type of paper leaf, and an image of the paper leaf are imaged in association with a template that indicates the position where a plurality of contained characters are described. In the image, the identification unit identifies the type from at least one font pattern stored by the storage unit based on the second area set outside the first area including at least a part of the unique number. A determination unit that determines the font pattern of paper sheets, a character detection unit that reads a template associated with the font pattern determined by the determination unit from the storage unit, and detects a plurality of characters included in the unique number. To be equipped.
本発明の一態様によれば、異なるフォントパターンを用いて固有番号が印字される紙葉類であっても、それらの固有番号を正しく識別することができる。 According to one aspect of the present invention, even paper sheets on which unique numbers are printed using different font patterns can be correctly identified.
以下、第1〜第4実施形態等を、図面を用いて詳細に説明する。
[第1実施形態]
図1は、第1実施形態に係る紙葉類識別装置1の構成を示すブロック図である。紙葉類識別装置1は、紙幣や有価証券、商品券等の紙葉類を撮像した画像から、紙葉類の種類を識別し、紙葉類の所定領域に印字される固有番号を読み取る。ここでは、紙葉類識別装置1が、紙幣の所定領域(例えば、紙幣の右上の領域)に印字される固有番号である記番号を読み取る場合について説明する。なお、ここでは、紙葉類が、紙幣である場合について説明するが、これに限定されるものではなく、同一の種類の紙葉類(例えば、同じ大きさの紙葉類)であって、異なるフォントパターンで固有番号が印字される紙葉類であれば、本願の開示内容を適用することができる。
Hereinafter, the first to fourth embodiments and the like will be described in detail with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a paper
紙葉類識別装置1は、制御部10、画像取得部11、金種識別部12、記番号識別部13および記憶部14を備える。制御部10は、CPU(Central Processing Unit)などであり、紙葉類識別装置1を構成する画像取得部11、金種識別部12、記番号識別部13、記憶部14を制御する。画像取得部11は、カメラやイメージセンサなどであり、識別しようとしている紙幣全体の画像を撮像する。金種識別部12は、記番号を識別しようとしている紙幣の金種を識別する。
The paper
図2(a)〜(c)は、紙葉類識別装置1が取り扱う紙幣の一例を示す図である。図2(a)は、紙幣価値が100通貨単位の紙幣B11を示している。紙幣B11の中央の領域には、紙幣B11が100通貨単位の価値を有することを示す“100”という数字B12が印字されている。紙幣B11の右上および左下の2箇所の領域には、紙幣B11を固有のものとするための記番号B14が印字されている。記番号B14は、英数字の組み合わせからなり、ここでは、紙幣B11の記番号B14は、“1AB234567”の9文字を含む場合を示している。紙幣B11では、記番号B14に含まれる複数の文字のそれぞれの大きさが、紙幣B11の短手方向に変化せず、一定である。
2 (a) to 2 (c) are diagrams showing an example of banknotes handled by the paper
図2(b)は、紙幣価値が500通貨単位の紙幣B21を示している。紙幣B21の中央の領域には、紙幣B21が500通貨単位の価値を有することを示す“500”という数字B22が印字されている。紙幣B21の右上および左下に印字された記番号B24は、英数字の組み合わせからなり、ここでは、紙幣B21の記番号B24は、“1AB234567”の9文字を含む場合を示している。紙幣B21では、記番号B24に含まれる複数の文字のそれぞれの大きさが、紙幣B21の短手方向に変化せず、一定である。なお、図2(a)に示す紙幣B11と、図2(b)に示す紙幣B21は、紙幣価値が異なるため、異なる金種である。 FIG. 2B shows a banknote B21 having a banknote value of 500 currency units. In the central area of the bill B21, the number B22 indicating that the bill B21 has a value of 500 currency units is printed. The serial number B24 printed on the upper right and lower left of the bill B21 is composed of a combination of alphanumeric characters, and here, the serial number B24 of the bill B21 includes a case where nine characters of "1AB234567" are included. In the bill B21, the size of each of the plurality of characters included in the serial number B24 does not change in the lateral direction of the bill B21 and is constant. Note that the banknote B11 shown in FIG. 2A and the banknote B21 shown in FIG. 2B are different denominations because the banknote values are different.
図2(c)は、紙幣価値が100通貨単位の紙幣B31を示している。紙幣B31の中央の領域には、紙幣B31が100通貨単位の価値を有することを示す“100”という数字B32が印字されている。ここでは、紙幣B31の記番号B34は、“1AB234567”の9文字を含む。紙幣B31では、記番号B34に含まれる複数の文字の下端を結んだ線は、紙幣B31の長辺と平行になっているが、記番号B34に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて、大きくなっている。なお、図2(a)に示す紙幣B11と、図2(c)に示す紙幣B31は、紙幣価値が同じであるため、同じ金種である。 FIG. 2C shows a banknote B31 having a banknote value of 100 currency units. In the central area of the bill B31, the number B32 "100" indicating that the bill B31 has a value of 100 currency units is printed. Here, the serial number B34 of the bill B31 includes nine characters of "1AB234567". In the bill B31, the line connecting the lower ends of the plurality of characters included in the serial number B34 is parallel to the long side of the bill B31, but the size of each of the plurality of characters included in the serial number B34 is It increases from the left end (that is, "1") to the right end (that is, "7"). Note that the banknote B11 shown in FIG. 2A and the banknote B31 shown in FIG. 2C have the same banknote value and therefore have the same denomination.
図1に戻り、金種識別部12は、例えば、画像取得部11が撮像した紙幣の全体の画像のうち、中央の領域の画像に基づき、画像取得部11が撮像した紙幣の金種を識別する。例えば、金種識別部12は、画像取得部11が撮像した紙幣の全体の画像のうち、中央部分に“100”という文字が印字されていることを検出した場合には、金種識別部12は、その紙幣が100通貨単位の価値を有する紙幣B11(図2(a)参照)または紙幣B31(図2(c)参照)であると判定する。一方、金種識別部12は、画像取得部11が撮像した紙幣の全体の画像の中央部分に“500”という文字が印字されていることを検出した場合には、金種識別部12は、その紙幣が500通貨単位の価値を有する紙幣B21(図2(b)参照)であると判定する。
Returning to FIG. 1, the
図1の記番号識別部13は、判定部131と、文字検出部132とを備える。判定部131は、画像取得部11が撮像した紙幣の記番号が、複数のフォントパターンを有する紙幣である場合には、紙幣の記番号が複数のフォントパターンのうち、いずれのフォントパターンであるかを判定する。文字検出部132は、判定部131で判定されたフォントパターンに対応するテンプレートを用いて、画像取得部11が撮像した紙幣の記番号に含まれる各文字を検出する。
The serial
図1の記憶部14は、メモリなどであり、紙葉類識別装置1の処理で用いられる各種データを記憶する。例えば、記憶部14は、フォントパターンデータD11、テンプレートデータD12および文字認識用データD13などを記憶する。
The
図3は、第1実施形態に係る記憶部14が記憶するフォントパターンデータD11の一例を示す図である。フォントパターンデータD11では、金種とフォントパターンとが関連付けられて、予め記憶される。図3では、金種C11とフォントパターンF11とが関連付けられている場合を示している。また、図3では、金種C12とフォントパターンF11およびF12とが関連付けられている場合を示している。
FIG. 3 is a diagram showing an example of font pattern data D11 stored in the
ここで、金種C11は、500通貨単位の価値を有する紙幣B21の金種である(図2(b)参照)。金種C12は、100通貨単位の価値を有する紙幣B11およびB31の金種である(図2(a)、図2(c)参照)。フォントパターンF11では、記番号B14に含まれる複数の文字のそれぞれの大きさが、紙幣B11の短手方向に変化せず、一定である。フォントパターンF12では、記番号B34に含まれる複数の文字の下端を結んだ線は、紙幣B31の長辺と平行であるが、記番号B34に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて大きくなるものとする。 Here, the denomination C11 is the denomination of the banknote B21 having a value of 500 currency units (see FIG. 2B). The denomination C12 is a denomination of banknotes B11 and B31 having a value of 100 currency units (see FIGS. 2 (a) and 2 (c)). In the font pattern F11, the size of each of the plurality of characters included in the serial number B14 does not change in the lateral direction of the bill B11 and is constant. In the font pattern F12, the line connecting the lower ends of the plurality of characters included in the serial number B34 is parallel to the long side of the bill B31, but the size of each of the plurality of characters included in the serial number B34 is the left end. It is assumed that the size increases from (that is, "1") to the right end (that is, "7").
図4は、第1実施形態に係る記憶部14が記憶するテンプレートデータD12の一例を示す図である。テンプレートデータD12では、フォントパターンとテンプレートとが関連付けられて記憶されている。図4では、フォントパターンF11とテンプレートT11とが関連付けられている場合を示している。また、図4では、フォントパターンF12とテンプレートT12とが関連付けられている場合を示している。
FIG. 4 is a diagram showing an example of template data D12 stored in the
図5(a)および(b)は、第1実施形態に係る記番号と、テンプレートとの関係の一例を示す図である。図5(a)では、図2(a)の紙幣B11の右上の領域に印字される記番号B14を示している。記番号B14には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれているが、それらの複数の文字のそれぞれが内部に含まれる枠t11、t12、t13、t14、t15、t16、t17、t18、t19が予め設定される。テンプレートT11は、この枠t11〜t19により構成される。なお、フォントパターンF11は、例えば、テンプレートT11の外周を囲むように設定した領域を標準の記番号領域とした場合に、この標準の記番号領域の外部の領域で、記番号が検出されない場合には、フォントパターンF11であると判定される。 5 (a) and 5 (b) are diagrams showing an example of the relationship between the serial number according to the first embodiment and the template. FIG. 5A shows a serial number B14 printed in the upper right area of the banknote B11 of FIG. 2A. The serial number B14 contains a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7), and a frame in which each of the plurality of characters is included internally. t11, t12, t13, t14, t15, t16, t17, t18, t19 are preset. The template T11 is configured by the frames t11 to t19. In the font pattern F11, for example, when the area set to surround the outer circumference of the template T11 is set as the standard serial number area, the serial number is not detected in the area outside the standard serial number area. Is determined to be the font pattern F11.
図5(b)では、図2(c)の紙幣B31の右上の領域に印字される記番号B34を示している。記番号B34には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれているが、それらの複数の文字のそれぞれが内部に含まれる枠t21、t22、t23、t24、t25、t26、t27、t28、t29が予め設定される。テンプレートT12は、この枠t21〜t29により構成される。なお、フォントパターンF12は、例えば、標準の記番号領域の外部の右上の領域で、記番号が検出された場合には、フォントパターンF12であると判定される。 FIG. 5B shows the serial number B34 printed in the upper right area of the banknote B31 of FIG. 2C. The serial number B34 contains a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7), and a frame in which each of the plurality of characters is included internally. t21, t22, t23, t24, t25, t26, t27, t28, t29 are preset. The template T12 is composed of the frames t21 to t29. The font pattern F12 is determined to be the font pattern F12, for example, when a serial number is detected in the upper right area outside the standard serial number area.
図1の記憶部14が記憶する文字認識用データD13(図示省略)は、紙幣B11、B21、B31(図2(a)〜図2(c)参照)の記番号B14、B24、B34に含まれる複数の文字のそれぞれを認識するために用いられるデータである。例えば、図1の文字検出部132は、図5(a)や図5(b)の枠t11〜t19、t21〜t29のそれぞれに、どの文字が含まれるかを、文字認識用データD13が記憶する各文字の字体の画像データと照合することにより、記番号B14、B24、B34に含まれる各文字を識別する。
The character recognition data D13 (not shown) stored in the
図6は、第1実施形態に係る紙葉類識別装置1の処理を示すフローチャートである。始めに、画像取得部11は、識別しようとしている紙幣を撮像することにより、紙幣の画像を取得する(ステップS11)。
FIG. 6 is a flowchart showing the processing of the paper
次に、金種識別部12は、ステップS11で取得した画像に基づき、紙幣の金種を識別する(ステップS12)。例えば、金種識別部12は、取得した画像の中央に印字されている数字を識別することにより、金種を特定する。例えば、紙幣の中央部分に100という数字が印字されている場合には、金種識別部12は、画像を撮像した紙幣の金種が、通貨価値が100通貨単位の紙幣(つまり、図2(a)の紙幣B11、または、図2(c)の紙幣B31)の金種C12であると判定する。一方、紙幣の中央部分に500という数字が印字されている場合には、金種識別部12は、画像を撮像した紙幣の金種が、通貨価値が500通貨単位の紙幣(つまり、図2(b)の紙幣B21)の金種C11であると判定する。
Next, the
次に、判定部131は、記憶部14が記憶しているフォントパターンデータD11(図3参照)に基づいて、ステップS12で金種を識別した紙幣には、複数のフォントパターンが存在するか否かを判定する(ステップS13)。例えば、ステップS11で画像を撮像した紙幣の金種が、金種C11である場合には、判定部131は、フォントパターンデータD11を参照することにより、金種C11には複数のフォントパターンは存在せず、1つのフォントパターンF11のみが存在すると判定する。つまり、画像を撮像した紙幣の金種が、金種C11である場合には、判定部131は、フォントパターンは、フォントパターンF11であると判定する。一方、画像を撮像した紙幣の金種が、金種C12である場合には、判定部131は、フォントパターンデータD11を参照することにより、金種C12には複数のフォントパターンF11およびF12が存在すると判定する。
Next, the
ステップS13で、金種を識別した紙幣に、複数のフォントパターンが存在しないと、判定部131が判定した場合には(ステップS13でNO)、後述するステップS15の処理を行う。一方、ステップS13で、金種を識別した紙幣に、複数のフォントパターンが存在すると、判定部131が判定した場合には(ステップS13でYES)、判定部131は、ステップS11で画像を撮像した紙幣の記番号のフォントパターンを判定する(ステップS14)。このステップS14の処理については、図7を参照して後述する。
If the
次に、文字検出部132は、判定されたフォントパターンに対応するテンプレートを、記憶部14が記憶しているテンプレートデータD12(図4参照)から読み出す(ステップS15)。例えば、ステップS13でNOと判定された場合(つまり、金種C11のフォントパターンが、フォントパターンF11であると判定された場合)、または、ステップS14で、金種C12のフォントパターンが、フォントパターンF11であると判定された場合には、文字検出部132は、テンプレートデータD12(図4参照)を参照することにより、テンプレートT11(図5(a)参照)を読み出す。一方、ステップS14で、金種C12のフォントパターンが、フォントパターンF12であると判定された場合には、文字検出部132は、テンプレートデータD12(図4参照)を参照することにより、テンプレートT12(図5(b)参照)を読み出す。
Next, the
その後、文字検出部132は、ステップS15で読み出したテンプレートを用いて、ステップS11で画像を取得した紙幣の記番号に含まれる複数の文字のそれぞれを認識し(ステップS16)、図6のフローチャートの処理を終了する。例えば、ステップS11で画像を取得した紙幣の記番号B14は、フォントパターンF11であるため、その記番号B14に含まれる複数の文字の位置を、テンプレートT11(図5(a)参照)で特定し、文字認識用データD13と照合することにより、記番号B14に含まれる複数の文字のそれぞれを識別する。一方、ステップS11で画像を取得した紙幣の記番号B34は、フォントパターンF12であるため、その記番号B34に含まれる複数の文字の位置を、テンプレートT12(図5(b)参照)で特定し、文字認識用データD13と照合することにより、記番号B34に含まれる複数の文字のそれぞれを識別する。
After that, the
図7は、図6のステップS14のフォントパターン判定処理であって、第1実施形態に係るフォントパターン判定処理の詳細を示すフローチャートである。始めに、判定部131は、図6のステップS11で画像取得部11が取得した紙幣の全体画像のうち、記番号が印字されている所定領域の画像を取得する(ステップS21)。例えば、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B11(図2(a)参照)である場合には、図7のステップS21では、図8(a)に示すような、記番号B14を含む画像G11が取得される。一方、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B31(図2(c)参照)である場合には、図7のステップS21では、図9(a)に示すような、記番号B34を含む画像G21が取得される。
FIG. 7 is a flowchart showing the font pattern determination process of step S14 of FIG. 6 and showing the details of the font pattern determination process according to the first embodiment. First, the
なお、ここでは、ステップS21で、画像取得部11が取得した紙幣の全体画像の右上領域の画像だけが取得される場合について説明したが、これに限定されるものではなく、紙幣の全体画像の右上領域および左下領域の画像が取得されるようにしてもよいし、紙幣の全体画像の左下領域の画像だけが取得されるようにしてもよい。また、記番号の読み取りを誤ったり、フォントパターンの判定を誤ったりする可能性を低くするために、記番号が印字されている領域に印刷されている模様等の背景を、画像処理により除去するようにしてもよい。
Here, the case where only the image of the upper right region of the entire image of the banknote acquired by the
次に、判定部131は、ステップS21で取得した画像を短手方向に走査し、記番号に対応する画素分布から記番号の中央位置を探索する(ステップS22)。例えば、図7のステップS21で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図7のステップS22では、図8(b)に示すように、画像G11における中央位置L11が探索される。一方、図7のステップS21で取得した画像が、紙幣B31(図2(c)参照)のものである場合には、図7のステップS22では、図9(b)に示すように、画像G21における中央位置L11が探索される。
Next, the
次に、判定部131は、ステップS22で探索した記番号の中央位置L11をもとに標準の記番号領域となる第1領域を設定する(ステップS24)。例えば、図7のステップS21で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図7のステップS24では、図8(c)に示すような、矩形状の第1領域R11が設定される。一方、図7のステップS21で取得した紙幣が、紙幣B31(図2(c)参照)のものである場合には、図7のステップS24では、図9(c)に示すような、矩形状の第1領域R11が設定される。
Next, the
次に、判定部131は、ステップS24で設定した第1領域の右上の外部に、フォントパターンを判定するための第2領域を設定する(ステップS25)。例えば、図7のステップS21で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図7のステップS25では、図8(d)に示すように、第1領域R11の右上の外部に、第2領域R12が設定される。一方、図7のステップS21で取得した紙幣が、紙幣B31(図2(c)参照)のものである場合には、図7のステップS25では、図9(d)に示すように、第1領域R11の右上の外部に、第2領域R12が設定される。
Next, the
次に、判定部131は、ステップS25で設定した第2領域R12で、記番号に対応する画素分布に基づいて、記番号が検出されたか否かについて判定する(ステップS26)。例えば、判定部131は、第2領域R12内において、記番号に対応する画素の面積が、所定の面積(例えば、第2領域R12の面積の1%)以上存在する場合には、記番号が検出されたと判定することができる。
Next, the
図7のステップS21で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図8(d)に示すように、第2領域R12に記番号に対応する画素が所定値以上存在しないため、判定部131は、第2領域R12では、記番号が検出されないと判定する(図7のステップS26でNO)。そして、判定部131は、図7のステップS21で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF11であると判定する(ステップS27)。その後、図6のステップS15の処理が行われる。
When the banknote acquired in step S21 of FIG. 7 is that of banknote B11 (see FIG. 2A), as shown in FIG. 8D, the pixels corresponding to the serial numbers in the second region R12. Does not exist in excess of a predetermined value, so the
一方、図7のステップS21で取得した画像が、紙幣B31(図2(c)参照)のものである場合には、図9(d)に示すように、第2領域R12に記番号に対応する画素が所定値以上存在するため、判定部131は、第2領域R12で、記番号が検出されたと判定する(図7のステップS26でYES)。そして、図7のステップS21で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF12であると判定する(ステップS28)。その後、図6のステップS15の処理が行われる。
On the other hand, when the image acquired in step S21 of FIG. 7 is that of banknote B31 (see FIG. 2C), as shown in FIG. 9D, the second region R12 corresponds to the serial number. Since the number of pixels to be used is equal to or greater than a predetermined value, the
上述した第1実施形態によれば、同一の金種の紙幣の記番号が、第1フォントパターンF11(つまり、図5(a)に示すように、記番号B14に含まれる複数の文字の高さが全て同じのもの)と、第2フォントパターンF12(つまり、図5(b)に示すように、記番号B34に含まれる複数の文字の高さが末尾に向かって大きくなるもの)であっても、紙幣の記番号が、第1フォントパターンF11と第2フォントパターンF12とのいずれであるかを正しく判定することができる。 According to the first embodiment described above, the serial numbers of banknotes of the same denomination are the heights of a plurality of characters included in the first font pattern F11 (that is, as shown in FIG. 5A). The second font pattern F12 (that is, as shown in FIG. 5B, the heights of the plurality of characters included in the serial number B34 increase toward the end). However, it is possible to correctly determine whether the serial number of the banknote is the first font pattern F11 or the second font pattern F12.
[第2実施形態]
次に、第2実施形態について説明する。第2実施形態における紙葉類識別装置の構成や処理が、第1実施形態に係る紙葉類識別装置1の構成や処理と同様である部分については、それらの説明を省略する。
[Second Embodiment]
Next, the second embodiment will be described. The description of the portion where the configuration and processing of the paper
図10は、第2実施形態に係る紙葉類識別装置が取り扱う紙幣の一例を示す図である。なお、第1実施形態では、紙幣B11(図2(a)参照)と、紙幣B31(図2(c)参照)を識別する場合について説明した。しかし、第2実施形態では、紙幣B11(図2(a)参照)および紙幣B41(図10参照)の記番号を読み取る場合について説明する。 FIG. 10 is a diagram showing an example of banknotes handled by the paper leaf identification device according to the second embodiment. In the first embodiment, a case where the banknote B11 (see FIG. 2A) and the banknote B31 (see FIG. 2C) are distinguished has been described. However, in the second embodiment, a case where the serial numbers of the banknote B11 (see FIG. 2A) and the banknote B41 (see FIG. 10) are read will be described.
図10は、紙幣価値が100通貨単位の紙幣B41を示している。紙幣B41の中央の領域には、紙幣B41が、100通貨単位の価値を有することを示す“100”という数字B42が印字されている。ここでは、紙幣B31の記番号B44は、“1AB234567”の9文字を含む。紙幣B41では、記番号B44に含まれる複数の文字の上端を結んだ線は、紙幣B41の長辺と平行になっているが、記番号B44に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて、大きくなっている。なお、図2(a)に示す紙幣B11と、図10に示す紙幣B41は、紙幣価値が同じであるため、同じ金種である。 FIG. 10 shows a banknote B41 having a banknote value of 100 currency units. In the central area of the bill B41, the number B42 of "100" indicating that the bill B41 has a value of 100 currency units is printed. Here, the serial number B44 of the bill B31 includes nine characters of "1AB234567". In the bill B41, the line connecting the upper ends of the plurality of characters included in the serial number B44 is parallel to the long side of the bill B41, but the size of each of the plurality of characters included in the serial number B44 is It increases from the left end (that is, "1") to the right end (that is, "7"). Note that the banknote B11 shown in FIG. 2A and the banknote B41 shown in FIG. 10 have the same banknote value and therefore have the same denomination.
図11は、第2実施形態に係る記憶部14が記憶するフォントパターンデータD21の一例を示す図である。図11では、金種C11とフォントパターンF11とが関連付けられ、また、金種C12とフォントパターンF11およびF13とが関連付けられている場合を示している。フォントパターンF13では、記番号B44に含まれる複数の文字の上端を結んだ線は、紙幣B41の長辺と平行であるが、記番号B34に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて大きくなる。
FIG. 11 is a diagram showing an example of font pattern data D21 stored in the
図12は、第2実施形態に係る記憶部14が記憶するテンプレートデータD22の一例を示す図である。図12では、フォントパターンF11とテンプレートT11とが関連付けられ、また、フォントパターンF13とテンプレートT13とが関連付けられている場合を示している。
FIG. 12 is a diagram showing an example of template data D22 stored in the
図13は、第2実施形態に係る記番号と、テンプレートとの関係の一例を示す図である。図13では、図10の紙幣B41の右上および左下の領域に印字される記番号B44を示している。記番号B44には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれているが、それらの複数の文字のそれぞれが内部に含まれる枠t31、t32、t33、t34、t35、t36、t37、t38、t39が予め設定される。テンプレートT13は、この枠t31〜t39により構成される。なお、フォントパターンF13は、例えば、テンプレートT11の外周を囲むように設定した領域を標準の記番号領域とした場合に、標準の記番号領域の外部の右下の領域で、記番号が検出された場合には、フォントパターンF13であると判定される。 FIG. 13 is a diagram showing an example of the relationship between the serial number according to the second embodiment and the template. FIG. 13 shows the serial number B44 printed in the upper right and lower left areas of the banknote B41 of FIG. The serial number B44 contains a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7), and a frame in which each of the plurality of characters is included internally. t31, t32, t33, t34, t35, t36, t37, t38, t39 are preset. The template T13 is composed of the frames t31 to t39. In the font pattern F13, for example, when the area set to surround the outer circumference of the template T11 is set as the standard serial number area, the serial number is detected in the lower right area outside the standard serial number area. If so, it is determined that the font pattern is F13.
図14は、図6のステップS14のフォントパターン判定処理であって、第2実施形態に係るフォントパターン判定処理の詳細を示すフローチャートである。始めに、判定部131は、図6のステップS11で画像取得部11が取得した紙幣の全体画像のうち、記番号が印字されている所定領域の画像を取得する(ステップS31)。例えば、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B11(図2(a)参照)である場合には、図14のステップS31では、図15(a)に示すような、記番号B14を含む画像G31が取得される。一方、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B41(図10参照)である場合には、図14のステップS31では、図16(a)に示すような、記番号B44を含む画像G41が取得される。
FIG. 14 is a flowchart showing the font pattern determination process of step S14 of FIG. 6 and showing the details of the font pattern determination process according to the second embodiment. First, the
次に、判定部131は、ステップS31で取得した画像を短手方向に走査し、記番号に対応する画素分布から記番号の中央位置を探索する(ステップS32)。例えば、図14のステップS31で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図14のステップS32では、図15(b)に示すように、画像G31における中央位置L21が探索される。一方、図14のステップS31で取得した画像が、紙幣B41(図10参照)のものである場合には、図14のステップS32では、図16(b)に示すように、画像G41における中央位置L21が探索される。
Next, the
次に、判定部131は、ステップS32で探索した記番号の中央位置L21をもとに標準の記番号領域となる第1領域を設定する(ステップS34)。例えば、図14のステップS31で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図14のステップS34では、図15(c)に示すような、矩形状の第1領域R21が設定される。一方、図14のステップS31で取得した紙幣が、紙幣B41(図10参照)のものである場合には、図14のステップS34では、図16(c)に示すような、矩形状の第1領域R21が設定される。
Next, the
次に、判定部131は、ステップS34で設定した第1領域の右下の外部に、フォントパターンを判定するための第2領域を設定する(ステップS35)。例えば、図14のステップS31で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図14のステップS35では、図15(d)に示すように、第1領域R21の右下の外部に、第2領域R22が設定される。一方、図14のステップS31で取得した紙幣が、紙幣B41(図10参照)のものである場合には、図14のステップS35では、図16(d)に示すように、第1領域R21の右下の外部に、第2領域R22が設定される。
Next, the
次に、判定部131は、ステップS35で設定した第2領域R22で、記番号に対応する画素分布に基づいて、記番号が検出されたか否かについて判定する(ステップS36)。例えば、判定部131は、第2領域R22内において、記番号に対応する画素の面積が、所定の面積(例えば、第2領域R22の面積の1%)以上存在する場合には、記番号が検出されたと判定することができる。
Next, the
図14のステップS31で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図15(d)に示すように、第2領域R22に記番号に対応する画素が所定値以上存在しないため、判定部131は、第2領域R22では、記番号が検出されないと判定する(図14のステップS36でNO)。そして、判定部131は、図14のステップS31で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF11であると判定する(ステップS37)。その後、図6のステップS15の処理が行われる。
When the banknote acquired in step S31 of FIG. 14 is that of banknote B11 (see FIG. 2A), as shown in FIG. 15D, the pixels corresponding to the serial numbers in the second region R22. Does not exist in excess of a predetermined value, so the
一方、図14のステップS31で取得した画像が、紙幣B41(図10参照)のものである場合には、図16(d)に示すように、第2領域R22に記番号に対応する画素が所定値以上存在するため、判定部131は、第2領域R22で、記番号が検出されたと判定する(図14のステップS36でYES)。そして、図14のステップS31で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF13であると判定する(ステップS38)。その後、図6のステップS15の処理が行われる。
On the other hand, when the image acquired in step S31 of FIG. 14 is that of the bill B41 (see FIG. 10), as shown in FIG. 16 (d), the pixels corresponding to the serial numbers are provided in the second region R22. Since there are more than a predetermined value, the
上述した第2実施形態によれば、同一の金種の紙幣の記番号が、第1フォントパターンF11(つまり、図5(a)に示すように、記番号B14に含まれる複数の文字の高さが全て同じもの)と、第2フォントパターンF13(つまり、図13に示すように、記番号B44に含まれる複数の文字の高さが末尾に向かって大きくなるもの)であっても、紙幣の記番号が、第1フォントパターンF11と第2フォントパターンF13とのいずれであるかを正しく判定することができる。 According to the second embodiment described above, the serial numbers of banknotes of the same denomination are the heights of a plurality of characters included in the first font pattern F11 (that is, as shown in FIG. 5A). Even if it is the second font pattern F13 (that is, as shown in FIG. 13, the heights of a plurality of characters included in the serial number B44 increase toward the end), the banknotes It is possible to correctly determine which of the first font pattern F11 and the second font pattern F13 is the serial number of.
[第3実施形態]
次に、第3実施形態について説明する。第3実施形態における紙葉類識別装置の構成や処理が、第1実施形態に係る紙葉類識別装置1の構成や処理と同様である部分については、それらの説明を省略する。
[Third Embodiment]
Next, the third embodiment will be described. The description of the portion where the configuration and processing of the paper
図17は、第3実施形態に係る紙葉類識別装置が取り扱う紙幣の一例を示す図である。なお、第1実施形態では、紙幣B11(図2(a)参照)と、紙幣B31(図2(c)参照)を識別する場合について説明した。しかし、第3実施形態では、紙幣B11(図2(a)参照)および紙幣B51(図17参照)の記番号を読み取る場合について説明する。 FIG. 17 is a diagram showing an example of banknotes handled by the paper leaf identification device according to the third embodiment. In the first embodiment, a case where the banknote B11 (see FIG. 2A) and the banknote B31 (see FIG. 2C) are distinguished has been described. However, in the third embodiment, a case where the serial numbers of the banknote B11 (see FIG. 2A) and the banknote B51 (see FIG. 17) are read will be described.
図17は、紙幣価値が100通貨単位の紙幣B51を示している。紙幣B51の中央の領域には、紙幣B51が、100通貨単位の価値を有することを示す“100”という数字B52が印字されている。ここでは、紙幣B51の記番号B54は、“1AB234567”の9文字を含む。紙幣B51では、記番号B54に含まれる複数の文字の上端を結んだ線は、紙幣B51の長辺と平行になっているが、記番号B54に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて、小さくなっている。なお、図2(a)に示す紙幣B11と、図17に示す紙幣B51は、紙幣価値が同じであるため、同じ金種である。 FIG. 17 shows a banknote B51 having a banknote value of 100 currency units. In the central area of the bill B51, the number B52 "100" indicating that the bill B51 has a value of 100 currency units is printed. Here, the serial number B54 of the bill B51 includes nine characters of "1AB234567". In the bill B51, the line connecting the upper ends of the plurality of characters included in the serial number B54 is parallel to the long side of the bill B51, but the size of each of the plurality of characters included in the serial number B54 is It becomes smaller from the left end (that is, "1") to the right end (that is, "7"). Note that the banknote B11 shown in FIG. 2A and the banknote B51 shown in FIG. 17 have the same banknote value and therefore have the same denomination.
図18は、第3実施形態に係る記憶部14が記憶するフォントパターンデータD31の一例を示す図である。図18では、金種C11とフォントパターンF11とが関連付けられ、また、金種C12とフォントパターンF11およびF14とが関連付けられている場合を示している。フォントパターンF14では、記番号B54に含まれる複数の文字の上端を結んだ線は、紙幣B51の長辺と平行であるが、記番号B54に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて小さくなる。
FIG. 18 is a diagram showing an example of font pattern data D31 stored in the
図19は、第3実施形態に係る記憶部14が記憶するテンプレートデータD32の一例を示す図である。図19では、フォントパターンF11とテンプレートT11とが関連付けられ、また、フォントパターンF14とテンプレートT14とが関連付けられている場合を示している。
FIG. 19 is a diagram showing an example of template data D32 stored in the
図20は、第3実施形態に係る記番号と、テンプレートとの関係の一例を示す図である。図20では、図17の紙幣B51の右上および左下の領域に印字される記番号B54を示している。記番号B54には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれているが、それらの複数の文字のそれぞれが内部に含まれる枠t41、t42、t43、t44、t45、t46、t47、t48、t49が予め設定される。テンプレートT14は、この枠t41〜t49により構成される。なお、フォントパターンF14は、例えば、テンプレートT11の外周を囲むように設定した領域を標準の記番号領域とした場合に、標準の記番号領域の外部の左下の領域で、記番号が検出された場合には、フォントパターンF14であると判定される。 FIG. 20 is a diagram showing an example of the relationship between the serial number according to the third embodiment and the template. In FIG. 20, the serial number B54 printed in the upper right and lower left areas of the bill B51 of FIG. 17 is shown. The serial number B54 contains a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7), and a frame in which each of the plurality of characters is included internally. t41, t42, t43, t44, t45, t46, t47, t48, t49 are preset. The template T14 is composed of the frames t41 to t49. In the font pattern F14, for example, when the area set to surround the outer circumference of the template T11 is set as the standard serial number area, the serial number is detected in the lower left area outside the standard serial number area. In this case, it is determined that the font pattern is F14.
図21は、図6のステップS14のフォントパターン判定処理であって、第3実施形態に係るフォントパターン判定処理の詳細を示すフローチャートである。始めに、判定部131は、図6のステップS11で画像取得部11が取得した紙幣の全体画像のうち、記番号が印字されている所定領域の画像を取得する(ステップS41)。例えば、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B11(図2(a)参照)である場合には、図21のステップS41では、図22(a)に示すような、記番号B14を含む画像G51が取得される。一方、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B51(図17参照)である場合には、図21のステップS41では、図23(a)に示すような、記番号B54を含む画像G61が取得される。
FIG. 21 is a flowchart showing the font pattern determination process of step S14 of FIG. 6 and showing the details of the font pattern determination process according to the third embodiment. First, the
次に、判定部131は、ステップS41で取得した画像を短手方向に走査し、記番号に対応する画素分布から記番号の中央位置を探索する(ステップS42)。例えば、図21のステップS41で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図21のステップS42では、図22(b)に示すように、画像G51における中央位置L31が探索される。一方、図21のステップS41で取得した画像が、紙幣B51(図17参照)のものである場合には、図21のステップS42では、図23(b)に示すように、画像G61における中央位置L31が探索される。
Next, the
次に、判定部131は、ステップS42で探索した記番号の中央位置L31をもとに標準の記番号領域となる第1領域を設定する(ステップS44)。例えば、図21のステップS41で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図21のステップS44では、図22(c)に示すような、矩形状の第1領域R31が設定される。一方、図21のステップS41で取得した紙幣が、紙幣B51(図17参照)のものである場合には、図21のステップS44では、図23(c)に示すような、矩形状の第1領域R31が設定される。
Next, the
次に、判定部131は、ステップS44で設定した第1領域の左下の外部に、フォントパターンを判定するための第2領域を設定する(ステップS45)。例えば、図21のステップS41で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図21のステップS45では、図22(d)に示すように、第1領域R31の左下の外部に、第2領域R32が設定される。一方、図21のステップS41で取得した紙幣が、紙幣B51(図17参照)のものである場合には、図21のステップS45では、図23(d)に示すように、第1領域R31の左下の外部に、第2領域R32が設定される。
Next, the
次に、判定部131は、ステップS45で設定した第2領域R32で、記番号に対応する画素分布に基づいて、記番号が検出されたか否かについて判定する(ステップS46)。例えば、判定部131は、第2領域R32内において、記番号に対応する画素の面積が、所定の面積(例えば、第2領域R32の面積の1%)以上存在する場合には、記番号が検出されたと判定することができる。
Next, the
図21のステップS41で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図22(d)に示すように、第2領域R32に記番号に対応する画素が所定値以上存在しないため、判定部131は、第2領域R32では、記番号が検出されないと判定する(図21のステップS46でNO)。そして、判定部131は、図21のステップS41で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF11であると判定する(ステップS47)。その後、図6のステップS15の処理が行われる。
When the banknote acquired in step S41 of FIG. 21 is that of banknote B11 (see FIG. 2A), as shown in FIG. 22D, the pixels corresponding to the serial numbers in the second region R32. Does not exist in excess of a predetermined value, so that the
一方、図21のステップS41で取得した画像が、紙幣B51(図17参照)のものである場合には、図23(d)に示すように、第2領域R32に記番号に対応する画素が所定値以上存在するため、判定部131は、第2領域R32で、記番号が検出されたと判定する(図21のステップS46でYES)。そして、図21のステップS41で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF14であると判定する(ステップS48)。その後、図6のステップS15の処理が行われる。
On the other hand, when the image acquired in step S41 of FIG. 21 is that of the bill B51 (see FIG. 17), as shown in FIG. 23 (d), the pixels corresponding to the serial numbers are provided in the second region R32. Since there are more than a predetermined value, the
上述した第3実施形態によれば、同一の金種の紙幣の記番号が、第1フォントパターンF11(つまり、図5(a)に示すように、記番号B14に含まれる複数の文字の高さが全て同じもの)と、第2フォントパターンF14(つまり、図20に示すように、記番号B54に含まれる複数の文字の高さが末尾に向かって小さくなるもの)であっても、紙幣の記番号が、第1フォントパターンF11と第2フォントパターンF14とのいずれであるかを正しく判定することができる。 According to the third embodiment described above, the serial numbers of banknotes of the same denomination are the heights of a plurality of characters included in the first font pattern F11 (that is, as shown in FIG. 5A). Even if it is the second font pattern F14 (that is, as shown in FIG. 20, the heights of a plurality of characters included in the serial number B54 become smaller toward the end), the banknotes It is possible to correctly determine which of the first font pattern F11 and the second font pattern F14 is the serial number of.
[第4実施形態]
次に、第4実施形態について説明する。第4実施形態における紙葉類識別装置の構成や処理が、第1実施形態に係る紙葉類識別装置1の構成や処理と同様である部分については、それらの説明を省略する。
[Fourth Embodiment]
Next, the fourth embodiment will be described. The description of the portion where the configuration and processing of the paper
図24は、第4実施形態に係る紙葉類識別装置が取り扱う紙幣の一例を示す図である。なお、第1実施形態では、紙幣B11(図2(a)参照)と、紙幣B31(図2(c)参照)を識別する場合について説明した。しかし、第4実施形態では、紙幣B11(図2(a)参照)および紙幣B61(図24参照)の記番号を読み取る場合について説明する。 FIG. 24 is a diagram showing an example of banknotes handled by the paper leaf identification device according to the fourth embodiment. In the first embodiment, a case where the banknote B11 (see FIG. 2A) and the banknote B31 (see FIG. 2C) are distinguished has been described. However, in the fourth embodiment, a case where the serial numbers of the banknote B11 (see FIG. 2A) and the banknote B61 (see FIG. 24) are read will be described.
図24は、紙幣価値が100通貨単位の紙幣B61を示している。紙幣B61の中央の領域には、紙幣B61が、100通貨単位の価値を有することを示す“100”という数字B62が印字されている。ここでは、紙幣B61の記番号B64は、“1AB234567”の9文字を含む。紙幣B61では、記番号B64に含まれる複数の文字のそれぞれの縦方向の中心を結んだ線は、紙幣B61の長辺と平行になっているが、記番号B64に含まれる複数の文字の大きさは、左端(つまり、“1”)から中央(つまり、“3”)に向かうにつれて、大きくなるとともに、中央(つまり、“3”)から右端(つまり、“7”)に向かうにつれて小さくなる。なお、図2(a)に示す紙幣B11と、図24に示す紙幣B61は、紙幣価値が同じであるため、同じ金種である。 FIG. 24 shows a banknote B61 having a banknote value of 100 currency units. In the central area of the banknote B61, the number B62 "100" is printed to indicate that the banknote B61 has a value of 100 currency units. Here, the serial number B64 of the bill B61 includes nine characters of "1AB234567". In the bill B61, the line connecting the vertical centers of the plurality of characters included in the serial number B64 is parallel to the long side of the bill B61, but the size of the plurality of characters included in the serial number B64. S, increases from the left edge (ie, "1") to the center (ie, "3") and decreases from the center (ie, "3") to the right edge (ie, "7"). .. Since the bill B11 shown in FIG. 2A and the bill B61 shown in FIG. 24 have the same bill value, they have the same denomination.
図25は、第4実施形態に係る記憶部14が記憶するフォントパターンデータD41の一例を示す図である。図25では、金種C11とフォントパターンF11とが関連付けられ、また、金種C12とフォントパターンF11およびF15とが関連付けられている場合を示している。フォントパターンF15では、記番号B64に含まれる複数の文字のそれぞれの縦方向中央を結んだ線は、紙幣B61の長辺と平行であるが、記番号B64に含まれる複数の文字のそれぞれの大きさは、左端(つまり、“1”)から中央(つまり、“3”)に向かうにつれて大きくなり、中央(つまり、“3”)から右端(つまり、“7”)に向かうにつれて小さくなる。
FIG. 25 is a diagram showing an example of font pattern data D41 stored in the
図26は、第4実施形態に係る記憶部14が記憶するテンプレートデータD42の一例を示す図である。図26では、フォントパターンF11とテンプレートT11とが関連付けられ、また、フォントパターンF15とテンプレートT15とが関連付けられている場合を示している。
FIG. 26 is a diagram showing an example of template data D42 stored in the
図27は、第4実施形態に係る記番号と、テンプレートとの関係の一例を示す図である。図27では、図24の紙幣B61の右上および左下の領域に印字される記番号B64を示している。記番号B64には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれているが、それらの複数の文字のそれぞれが内部に含まれる枠t51、t52、t53、t54、t55、t56、t57、t58、t59が予め設定される。テンプレートT15は、この枠t51〜t59により構成される。なお、フォントパターンF15は、例えば、テンプレートT11の外周を囲むように設定した領域を標準の記番号領域とした場合に、標準の記番号領域の外部の左右方向中央の上下の領域で、記番号が検出された場合には、フォントパターンF15であると判定される。 FIG. 27 is a diagram showing an example of the relationship between the serial number according to the fourth embodiment and the template. FIG. 27 shows the serial number B64 printed in the upper right and lower left areas of the banknote B61 of FIG. 24. The serial number B64 contains a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7), and a frame in which each of the plurality of characters is included internally. t51, t52, t53, t54, t55, t56, t57, t58, t59 are preset. The template T15 is configured by the frames t51 to t59. The font pattern F15 is, for example, an area above and below the center in the left-right direction outside the standard numbering area when the area set to surround the outer circumference of the template T11 is used as the standard numbering area. Is detected, it is determined that the font pattern is F15.
図28は、図6のステップS14のフォントパターン判定処理であって、第4実施形態に係るフォントパターン判定処理の詳細を示すフローチャートである。始めに、判定部131は、図6のステップS11で画像取得部11が取得した紙幣の全体画像のうち、記番号が印字されている所定領域の画像を取得する(ステップS51)。例えば、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B11(図2(a)参照)である場合には、図28のステップS51では、図29(a)に示すような、記番号B14を含む画像G71が取得される。一方、図6のステップS11で画像取得部11が取得した紙幣が、紙幣B61(図24参照)である場合には、図28のステップS51では、図30(a)に示すような、記番号B64を含む画像G81が取得される。
FIG. 28 is a flowchart showing the font pattern determination process of step S14 of FIG. 6 and showing the details of the font pattern determination process according to the fourth embodiment. First, the
次に、判定部131は、ステップS51で取得した画像を短手方向に走査し、記番号に対応する画素分布から記番号の中央位置を探索する(ステップS52)。例えば、図28のステップS51で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図28のステップS52では、図29(b)に示すように、画像G71における中央位置L41が探索される。一方、図28のステップS51で取得した画像が、紙幣B61(図24参照)のものである場合には、図28のステップS52では、図30(b)に示すように、画像G81における中央位置L41が探索される。
Next, the
次に、判定部131は、ステップS52で探索した記番号の中央位置L41をもとに標準の記番号領域となる第1領域を設定する(ステップS54)。例えば、図28のステップS51で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図28のステップS54では、図29(c)に示すような、矩形状の第1領域R41が設定される。一方、図28のステップS51で取得した紙幣が、紙幣B61(図24参照)のものである場合には、図28のステップS54では、図30(c)に示すような、矩形状の第1領域R41が設定される。
Next, the
次に、判定部131は、ステップS54で設定した第1領域の横方向中央の上下の外部に、フォントパターンを判定するための第2領域および第3領域を設定する(ステップS55)。例えば、図28のステップS51で取得した画像が、紙幣B11(図2(a)参照)のものである場合には、図28のステップS55では、図29(d)に示すように、第1領域R41の横方向中央の上側かつ外部に、第2領域R42が設定されるとともに、第1領域R41の横方向中央の下側かつ外部に、第3領域R43が設定される。一方、図28のステップS51で取得した紙幣が、紙幣B61(図24参照)のものである場合には、図28のステップS55では、図30(d)に示すように、第1領域R41の横方向中央の上側かつ外部に、第2領域R42が設定されるとともに、第1領域R41の横方向中央の下側かつ外部に、第3領域R43が設定される。
Next, the
次に、判定部131は、ステップS55で設定した第2領域R42および第3領域R43で、記番号に対応する画素分布に基づいて、記番号が検出されたか否かについて判定する(ステップS56)。例えば、判定部131は、第2領域R42内において、記番号に対応する画素の面積が、所定の面積(例えば、第2領域R42の面積の1%)以上存在するとともに、第3領域R43内において、記番号の印字に用いられるインクの色で印字された領域の面積が、所定の面積(例えば、第3領域R43の面積の1%)以上存在する場合には、記番号が検出されたと判定することができる。
Next, the
図28のステップS51で取得した紙幣が、紙幣B11(図2(a)参照)のものである場合には、図29(d)に示すように、第2領域R42および第3領域R43に記番号に対応する画素が所定値以上存在しないため、判定部131は、第2領域R42および第3領域R43では、記番号が検出されないと判定する(図28のステップS56でNO)。そして、判定部131は、図28のステップS51で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF11であると判定する(ステップS57)。その後、図6のステップS15の処理が行われる。
When the banknote acquired in step S51 of FIG. 28 is that of banknote B11 (see FIG. 2 (a)), it is described in the second region R42 and the third region R43 as shown in FIG. 29 (d). Since the pixel corresponding to the number does not exist in the predetermined value or more, the
一方、図28のステップS51で取得した画像が、紙幣B61(図24参照)のものである場合には、図30(d)に示すように、第2領域R42および第3領域R43に記番号に対応する画素が所定値以上存在するため、判定部131は、第2領域R42および第3領域R43で、記番号が検出されたと判定する(図28のステップS56でYES)。そして、図28のステップS51で画像を取得した紙幣(つまり、図6のステップS11で画像を取得した紙幣)の記番号のフォントパターンは、フォントパターンF15であると判定する(ステップS58)。その後、図6のステップS15の処理が行われる。
On the other hand, when the image acquired in step S51 of FIG. 28 is that of the bill B61 (see FIG. 24), the serial numbers are in the second region R42 and the third region R43 as shown in FIG. 30 (d). Since there are more than a predetermined value of pixels corresponding to the above, the
上述した第4実施形態によれば、同一の金種の紙幣の記番号が、第1フォントパターンF11(つまり、図5(a)に示すように、記番号B14に含まれる複数の文字のそれぞれの高さが全て同じもの)と、第2フォントパターンF15(つまり、図27に示すように、記番号B54に含まれる複数の文字の高さが中央に向かって大きくなり、末尾に向かって小さくなるもの)であっても、紙幣の記番号が、第1フォントパターンF11と第2フォントパターンF15とのいずれであるかを正しく判定することができる。また、第4実施形態によれば、図28のステップS56で、第2領域R42内に記番号が含まれているかを判定するだけでなく、第3領域R43内に記番号が含まれているかを判定するため、フォントパターンの判定処理の精度を高めることができる。 According to the fourth embodiment described above, the serial numbers of the banknotes of the same denomination are the first font pattern F11 (that is, as shown in FIG. 5A, each of the plurality of characters included in the serial number B14. And the second font pattern F15 (that is, as shown in FIG. 27, the heights of the plurality of characters included in the serial number B54 increase toward the center and decrease toward the end). However, it can be correctly determined whether the serial number of the banknote is the first font pattern F11 or the second font pattern F15. Further, according to the fourth embodiment, in step S56 of FIG. 28, not only is it determined whether the serial number is included in the second region R42, but also whether the serial number is included in the third region R43. Therefore, the accuracy of the font pattern determination process can be improved.
[第1変形例]
次に、第1変形例について説明する。図31は、第1変形例に係る記番号とフォントパターン判定処理の一例を示す図である。第1変形例では、図31(a)および(b)に示される記番号のフォントパターンF21と、図31(c)および(d)に示される記番号のフォントパターンF22とを判定できるようにする。
[First modification]
Next, a first modification will be described. FIG. 31 is a diagram showing an example of serial number and font pattern determination processing according to the first modification. In the first modification, the font pattern F21 having the serial numbers shown in FIGS. 31 (a) and 31 (b) and the font pattern F22 having the serial numbers shown in FIGS. 31 (c) and 31 (d) can be determined. do.
図31(b)に示すように、第1変形例で識別する紙幣の記番号B71には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B71に含まれる複数の文字の縦方向中央を結んだ線L51は、紙幣の長辺と平行である。記番号B71に含まれる複数の文字は、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて、文字の大きさが小さくなっている。フォントパターンF21は、例えば、記番号を含む所定の矩形状領域R50の外部の左端部の上下の領域R51、R52で記番号が検出され、この矩形状領域R50の外部の右端部の上下の領域R53、R54で記番号が検出されなかった場合には、フォントパターンF21であると判定される。この判定により、文字検出部132は、フォントパターンF21に対応するテンプレートを用いて、記番号B71に含まれる複数の文字のそれぞれの位置を特定する。なお、図31(b)において、文字“1”を囲う枠の左上の角を、上記矩形状領域R50の左上の頂点とした場合は、矩形状領域R50の外部の左端部の下の領域R52で記番号が検出され、この矩形状領域R50の外部の右端部の下の領域R54で記番号が検出されなかった場合に、フォントパターンF21であると判定してもよい。また、図31(b)において、文字“1”を囲う枠の左下の角を、上記矩形状領域R50の左下の頂点とした場合は、矩形状領域R50の外部の右端部の上の領域R51で記番号が検出され、この矩形状領域R50の外部の右端部の上の領域R53で記番号が検出されなかった場合に、フォントパターンF21であると判定してもよい。このようにすると、さらに判定処理の負荷を小さくすることができる。
As shown in FIG. 31B, the serial number B71 of the banknote identified in the first modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). include. The line L51 connecting the vertical centers of the plurality of characters included in the serial number B71 is parallel to the long side of the bill. The size of the plurality of characters included in the serial number B71 decreases from the left end (that is, "1") to the right end (that is, "7"). In the font pattern F21, for example, serial numbers are detected in the upper and lower regions R51 and R52 of the outer left end portion of the predetermined rectangular region R50 including the serial number, and the upper and lower regions of the outer right end portion of the rectangular region R50 are detected. If the serial number is not detected in R53 and R54, it is determined that the font pattern is F21. Based on this determination, the
また、図31(d)に示すように、第1変形例で識別する紙幣の記番号B72には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B72に含まれる複数の文字の縦方向中央を結んだ線L51は、紙幣の長辺と平行である。記番号B72に含まれる複数の文字は、左端(つまり、“1”)から右端(つまり、“7”)に向かうにつれて、文字の大きさが大きくなっている。フォントパターンF22は、例えば、記番号を含む所定の矩形状領域R50の外部の左端部の上下の領域R51、R52で記番号が検出されず、この矩形状領域R50の外部の右端部の上下の領域R53、R54で記番号が検出された場合には、フォントパターンF22であると判定される。この判定により、文字検出部132は、フォントパターンF22に対応するテンプレートを用いて、記番号B72に含まれる複数の文字のそれぞれの位置を特定する。
Further, as shown in FIG. 31 (d), the serial number B72 of the banknote identified in the first modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). )It is included. The line L51 connecting the vertical centers of the plurality of characters included in the serial number B72 is parallel to the long side of the bill. The size of the plurality of characters included in the serial number B72 increases from the left end (that is, "1") to the right end (that is, "7"). In the font pattern F22, for example, the serial number is not detected in the upper and lower regions R51 and R52 of the outer left end portion of the predetermined rectangular region R50 including the serial number, and the serial number is not detected in the upper and lower regions of the outer right end portion of the rectangular region R50. When the serial number is detected in the areas R53 and R54, it is determined that the font pattern is F22. Based on this determination, the
第1変形例では、フォントパターンF21とフォントパターンF22とを判定するために、紙葉類識別装置1は、図7のフローチャートのステップS25において、第2領域R12の代わりに、領域R51、R52、R53、R54を設定する。そして、紙葉類識別装置1は、図7のフローチャートのステップS26において、領域R51、R52、R53、R54で、記番号が検出されたか否かについて判定する。領域R51およびR52で記番号が検出され、領域R53およびR54で記番号が検出されなかった場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図31(a)に示すフォントパターンF21であると判定する。また、領域R51およびR52で記番号が検出されず、領域R53およびR54で記番号が検出された場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図31(c)に示すフォントパターンF22であると判定する。
In the first modification, in order to determine the font pattern F21 and the font pattern F22, the paper
第1変形例によれば、紙幣の記番号が、フォントパターンF21およびフォントパターンF22のいずれであっても、両者を正しく識別することができる。第1変形例によれば、紙幣の記番号に含まれる複数の文字の大きさが、所定方向(例えば、紙幣の長手方向)に、徐々に変化する場合であっても、そのフォントパターンを正しく識別することができる。 According to the first modification, regardless of whether the serial number of the banknote is the font pattern F21 or the font pattern F22, both can be correctly identified. According to the first modification, even when the size of a plurality of characters included in the serial number of a banknote gradually changes in a predetermined direction (for example, the longitudinal direction of the banknote), the font pattern is correctly adjusted. Can be identified.
[第2変形例]
次に、第2変形例について説明する。図32は、第2変形例に係る記番号とフォントパターン判定処理の一例を示す図である。第2変形例では、図32(a)および(b)に示される記番号のフォントパターンF31と、図32(c)および(d)に示される記番号のフォントパターンF32とを判定できるようにする。
[Second modification]
Next, a second modification will be described. FIG. 32 is a diagram showing an example of serial number and font pattern determination processing according to the second modification. In the second modification, the font pattern F31 having the serial numbers shown in FIGS. 32 (a) and 32 (b) and the font pattern F32 having the serial numbers shown in FIGS. 32 (c) and 32 (d) can be determined. do.
図32(b)に示すように、第2変形例で識別する紙幣の記番号B81には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B81に含まれる文字6、7の大きさは、他の文字1、A、B、2、3、4、5の大きさよりも小さくなっている。フォントパターンF31は、例えば、記番号を含む所定の矩形状領域R60の外部の左右方向の所定位置(ここでは、左から3番目と4番目の文字位置)の上下の領域R61、R62で記番号が検出され、この矩形状領域R60の外部の右端部の上下の領域R63、R64で記番号が検出されなかった場合には、フォントパターンF31であると判定される。この判定により、文字検出部132は、フォントパターンF31に対応するテンプレートを用いて、記番号B81に含まれる複数の文字のそれぞれの位置を特定する。
As shown in FIG. 32 (b), the serial number B81 of the banknote identified in the second modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). include. The size of the
また、図32(d)に示すように、第2変形例で識別する紙幣の記番号B82には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B82に含まれる文字B、2の大きさは、他の文字1、A、3、4、5、6、7の大きさよりも小さくなっている。フォントパターンF32は、例えば、記番号を含む所定の矩形状領域R50の外部の領域R61、R62で記番号が検出されず、この矩形状領域R60の外部の領域R63、R64で記番号が検出された場合には、フォントパターンF32であると判定される。この判定により、文字検出部132は、フォントパターンF32に対応するテンプレートを用いて、記番号B82に含まれる複数の文字のそれぞれの位置を特定する。
Further, as shown in FIG. 32 (d), the serial number B82 of the banknote identified in the second modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). )It is included. The size of the letters B and 2 included in the serial number B82 is smaller than the size of the
第2変形例では、フォントパターンF31とフォントパターンF32とを判定するために、紙葉類識別装置1は、図7のフローチャートのステップS25において、第2領域R12の代わりに、領域R61、R62、R63、R64を設定する。そして、紙葉類識別装置1は、図7のフローチャートのステップS26において、領域R61、R62、R63、R64で、記番号が検出されたか否かについて判定する。領域R61およびR62で記番号が検出され、領域R63およびR64で記番号が検出されなかった場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図32(a)に示すフォントパターンF31であると判定する。また、領域R61およびR62で記番号が検出されず、領域R63およびR64で記番号が検出された場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図32(c)に示すフォントパターンF32であると判定する。
In the second modification, in order to determine the font pattern F31 and the font pattern F32, the paper
第2変形例によれば、紙幣の記番号に含まれる複数の文字の一部が、他の文字よりも小さい場合であっても、そのフォントパターンを正しく識別することができる。 According to the second modification, even when a part of the plurality of characters included in the serial number of the banknote is smaller than the other characters, the font pattern can be correctly identified.
[第3変形例]
次に、第3変形例について説明する。図33は、第3変形例に係る記番号とフォントパターン判定処理の一例を示す図である。第3変形例では、図33(a)および(b)に示される記番号のフォントパターンF41と、図33(c)および(d)に示される記番号のフォントパターンF42とを判定できるようにする。
[Third variant]
Next, a third modification will be described. FIG. 33 is a diagram showing an example of serial number and font pattern determination processing according to the third modification. In the third modification, the font pattern F41 having the serial numbers shown in FIGS. 33 (a) and 33 (b) and the font pattern F42 having the serial numbers shown in FIGS. 33 (c) and 33 (d) can be determined. do.
図33(b)に示すように、第3変形例で識別する紙幣の記番号B91には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B91に含まれる文字1、Aの大きさは、他の文字B、2、3、4、5、6、7の大きさよりも大きくなっている。フォントパターンF41は、例えば、記番号を含む所定の矩形状領域R70の外部の左端部の上下の領域R71、R72で記番号が検出され、この矩形状領域R70の外部の左右方向の所定位置(図33(a)では、“4”、“5”の文字位置)の上下の領域R73、R74で記番号が検出されなかった場合には、フォントパターンF41であると判定される。この判定により、文字検出部132は、フォントパターンF41に対応するテンプレートを用いて、記番号B91に含まれる複数の文字のそれぞれの位置を特定する。
As shown in FIG. 33 (b), the serial number B91 of the banknote identified in the third modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). include. The size of the
また、図33(d)に示すように、第3変形例で識別する紙幣の記番号B92には、複数の文字(つまり、1、A、B、2、3、4、5、6、7)が含まれている。記番号B92に含まれる文字4、5の大きさは、他の文字1、A、B、3、6、7の大きさよりも大きくなっている。フォントパターンF42は、例えば、記番号を含む所定の矩形状領域R70の外部の領域R71、R72で記番号が検出されず、この矩形状領域R70の外部の領域R73、R74で記番号が検出された場合には、フォントパターンF42であると判定される。この判定により、文字検出部132は、フォントパターンF42に対応するテンプレートを用いて、記番号B92に含まれる複数の文字のそれぞれの位置を特定する。
Further, as shown in FIG. 33 (d), the serial number B92 of the banknote identified in the third modification has a plurality of characters (that is, 1, A, B, 2, 3, 4, 5, 6, 7). )It is included. The size of the
第3変形例では、フォントパターンF41とフォントパターンF42とを判定するために、紙葉類識別装置1は、図7のフローチャートのステップS25において、第2領域R12の代わりに、領域R71、R72、R73、R74を設定する。そして、紙葉類識別装置1は、図7のフローチャートのステップS26において、領域R71、R72、R73、R74で、記番号が検出されたか否かについて判定する。領域R71およびR72で記番号が検出され、領域R73およびR74で記番号が検出されなかった場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図33(a)に示すフォントパターンF41であると判定する。また、領域R71およびR72で記番号が検出されず、領域R73およびR74で記番号が検出された場合には、紙葉類識別装置1は、処理対象の紙幣の記番号は、図33(c)に示すフォントパターンF33であると判定する。
In the third modification, in order to determine the font pattern F41 and the font pattern F42, the paper
第3変形例によれば、紙幣の記番号に含まれる複数の文字の一部が、他の文字よりも大きい場合であっても、そのフォントパターンを正しく識別することができる。 According to the third modification, even when a part of the plurality of characters included in the serial number of the banknote is larger than the other characters, the font pattern can be correctly identified.
以上の通り、本願では、
(1) 例えば、第1〜第4実施形態では、紙葉類識別装置1は、紙葉類(例えば、紙幣)の固有番号(例えば、記番号)が紙葉類にどのように印字されているかを示す少なくとも1つのフォントパターンF11、F22と、少なくとも1つのフォントパターンF11、F12において固有番号に含まれる複数の文字が記載される位置を示すテンプレートT11、T12とを関連付けて、紙葉類の種類(金種C11、C12)ごとに予め記憶する記憶部14と、紙葉類の種類を識別する識別部12(金種識別部12とも称する)と、紙葉類を撮像した画像において、固有番号の少なくとも一部を含む第1領域R11の外部に設定される第2領域R12に基づいて、記憶部14が記憶している少なくとも1つのフォントパターンF11、F12の中から、識別部12が種類を識別した紙葉類のフォントパターンを判定する判定部131と、判定部131が判定したフォントパターンに対応付けられたテンプレートを、記憶部14から読み出して、固有番号に含まれる複数の文字を検出する文字検出部132と、を備える。これにより、同一の種類の紙葉類に、異なるフォントパターンで固有番号が印字される場合であっても、フォントパターンを正しく識別することができる。
As described above, in the present application,
(1) For example, in the first to fourth embodiments, in the paper
(2) 例えば、第1〜第4実施形態では、判定部131は、第2領域R12に、固有番号の少なくとも一部が含まれるか否かを判定することにより、識別部12が種類を識別した紙葉類のフォントパターンを判定する。これにより、第2領域R12に、固有番号の少なくとも一部が含まれるか否かに基づいてフォントパターンを判定するため、記番号領域全体を対象にしてフォントパターンを判定する場合と比較して、判定処理の負荷を小さくすることができる。
(2) For example, in the first to fourth embodiments, the
(3) 例えば、第1〜第4実施形態では、判定部131は、第1領域R11及び第2領域R12の背景を除去した後で、フォントパターンを判定する。これにより、固有番号に含まれる複数の文字と、背景とが同じ領域に印刷されている場合であっても、フォントパターンを正しく判定することができ、複数の文字を正しく認識することができる。
(3) For example, in the first to fourth embodiments, the
(4) 例えば、第4実施形態では、判定部131は、紙葉類を撮像した画像において、第1領域の外部に設定される第3領域に更に基づいて、記憶部14が記憶している少なくとも1つのフォントパターンの中から、識別部12が種類を識別した紙葉類のフォントパターンを判定する。これにより、紙幣の複数の領域(例えば、図30(d)の第2領域R42および第3領域R43)に基づいて、フォントパターンを判定することができるため、フォントパターンの判定が誤る可能性を低くすることができる。
(4) For example, in the fourth embodiment, the
なお、第1実施形態などでは、紙幣の記番号が、紙幣の右上及び左下の領域に印字される場合について説明したが(図2(a)〜(c)、図10、図17、図24参照)、これに限定されるものではない。例えば、紙幣の記番号は、紙幣の特定の領域(例えば、紙幣の左上、右下などの領域)に印字されてもよい。 In the first embodiment and the like, the case where the serial number of the banknote is printed in the upper right and lower left areas of the banknote has been described (FIGS. 2 (a) to 2 (c), FIGS. 10, 17, and 24. (See), but is not limited to this. For example, the serial number of a banknote may be printed in a specific area of the banknote (for example, an area such as upper left or lower right of the banknote).
また、第1実施形態では、図7のステップS26で、処理対象の紙幣に用いられているフォントパターンが、2つのフォントパターンF11、F12のいずれであるかについて判定する場合について説明したが、これに限定されるものではない。例えば、第1実施形態では、図7のステップS25において、第2実施形態に関する図14のステップS35の処理も同時に行うことにより、つまり、図8(d)に示す第2領域R12とともに、図16(d)に示す第2領域R22を設定して、それらの第2領域R12、R22で記番号が検出されたか否かに基づいて、処理対象のフォントパターンが、フォントパターンF11、F12、F13のいずれであるかを判定するようにしてもよい。 Further, in the first embodiment, a case where it is determined in step S26 of FIG. 7 whether the font pattern used for the banknote to be processed is one of the two font patterns F11 and F12 has been described. It is not limited to. For example, in the first embodiment, in step S25 of FIG. 7, the process of step S35 of FIG. 14 relating to the second embodiment is also performed at the same time, that is, together with the second region R12 shown in FIG. 8 (d), FIG. The second region R22 shown in (d) is set, and the font pattern to be processed is the font pattern F11, F12, F13 based on whether or not the serial number is detected in the second regions R12 and R22. It may be decided which is.
なお、上述した例では、紙幣の全体画像の右上領域の画像だけを取得して、その画像に基づいて、紙幣の印字に用いられているフォントパターンを判定するようにしたが、これに限定されるものではない。例えば、紙幣の全体画像の右上領域の画像と左下領域の画像を取得して、それらの2つの画像に基づいて、紙幣の印字に用いられているフォントパターンを判定するようにしてもよい。また、紙幣の全体画像の左下領域の画像を取得して、その画像に基づいて、紙幣の印字に用いられているフォントパターンを判定するようにしてもよい。 In the above-mentioned example, only the image in the upper right region of the entire image of the banknote is acquired, and the font pattern used for printing the banknote is determined based on the image, but the present invention is limited to this. It's not something. For example, an image in the upper right region and an image in the lower left region of the entire image of the banknote may be acquired, and the font pattern used for printing the banknote may be determined based on those two images. Alternatively, an image of the lower left region of the entire image of the banknote may be acquired, and the font pattern used for printing the banknote may be determined based on the image.
なお、図1のブロック図で示す紙葉類識別装置1の各部の機能や、図6、図7、図14、図21、図28のフローチャートで示す紙葉類識別装置1による各処理を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、それらの処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM(Read Only Memory)、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含む。
It should be noted that the functions of each part of the paper
本発明は、上述した実施形態に限定されるものではなく、その技術的思想の範囲内でなしうる様々な変更、改良が含まれる。 The present invention is not limited to the above-described embodiment, and includes various changes and improvements that can be made within the scope of the technical idea thereof.
1 紙葉類識別装置
10 制御部
11 画像取得部
12 金種識別部
13 記番号識別部
14 記憶部
131 判定部
132 文字検出部
1 Paper
Claims (5)
前記紙葉類の種類を識別する識別部と、
前記紙葉類を撮像した画像において、前記固有番号の少なくとも一部を含む第1領域の外部に設定される第2領域に基づいて、前記記憶部が記憶している前記少なくとも1つのフォントパターンの中から、前記識別部が種類を識別した紙葉類のフォントパターンを判定する判定部と、
前記判定部が判定したフォントパターンに対応付けられたテンプレートを、前記記憶部から読み出して、前記固有番号に含まれる複数の文字を検出する文字検出部と、
を備える紙葉類識別装置。 At least one font pattern indicating how the unique number of the paper leaf is printed on the paper leaf, and the position where a plurality of characters included in the unique number are described in the at least one font pattern. A storage unit that stores in advance for each type of paper leaf in association with the indicated template,
An identification unit that identifies the type of paper leaves and
In the image obtained by capturing the paper sheets, the at least one font pattern stored in the storage unit is based on the second region set outside the first region including at least a part of the unique number. From the inside, a determination unit that determines the font pattern of the paper leaf whose type is identified by the identification unit, and
A character detection unit that reads a template associated with the font pattern determined by the determination unit from the storage unit and detects a plurality of characters included in the unique number, and a character detection unit.
Paper leaf identification device equipped with.
請求項1に記載の紙葉類識別装置。 In the image obtained by capturing the paper sheets, the determination unit further selects the font pattern stored in the storage unit from among the at least one font pattern stored in the storage unit based on the third region set outside the first region. The paper leaf identification device according to claim 1, wherein the identification unit determines a font pattern of the paper leaf whose type has been identified.
前記紙葉類の種類を識別し、
前記紙葉類を撮像した画像において、前記固有番号の少なくとも一部を含む第1領域の外部に設定される第2領域に基づいて、予め記憶している前記少なくとも1つのフォントパターンの中から、種類を識別した紙葉類のフォントパターンを判定し、
判定したフォントパターンに対応付けられたテンプレートを読み出して、前記固有番号に含まれる複数の文字を検出する
紙葉類識別方法。 At least one font pattern indicating how the unique number of the paper leaf is printed on the paper leaf, and the position where a plurality of characters included in the unique number are described in the at least one font pattern. By associating with the template shown, it is stored in advance for each type of paper leaf.
Identify the type of paper leaf and
In the image obtained by capturing the paper sheets, from among the at least one font pattern stored in advance based on the second region set outside the first region including at least a part of the unique number. Judge the font pattern of the paper leaf that identified the type,
A paper leaf identification method for reading a template associated with a determined font pattern and detecting a plurality of characters included in the unique number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020064559A JP7372633B2 (en) | 2020-03-31 | 2020-03-31 | Paper sheet identification device and paper sheet identification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020064559A JP7372633B2 (en) | 2020-03-31 | 2020-03-31 | Paper sheet identification device and paper sheet identification method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021163231A true JP2021163231A (en) | 2021-10-11 |
JP7372633B2 JP7372633B2 (en) | 2023-11-01 |
Family
ID=78003545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020064559A Active JP7372633B2 (en) | 2020-03-31 | 2020-03-31 | Paper sheet identification device and paper sheet identification method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7372633B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117710987A (en) * | 2024-02-06 | 2024-03-15 | 武汉卓目科技有限公司 | Crown word size segmentation method, device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001307022A (en) * | 2000-04-21 | 2001-11-02 | Oki Electric Ind Co Ltd | Character recognizing device and character recognizing method |
JP2005352705A (en) * | 2004-06-09 | 2005-12-22 | Omron Corp | Device and method for pattern recognition, and character recognizing method |
JP2008234291A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Character recognition device and character recognition method |
JP2010225013A (en) * | 2009-03-25 | 2010-10-07 | Hitachi Omron Terminal Solutions Corp | Serial number recognition device, paper sheet processor, automatic transaction processor, and serial number recognition method |
WO2013140563A1 (en) * | 2012-03-22 | 2013-09-26 | グローリー株式会社 | System for reading paper sheet serial number, and method for reading paper sheet serial number |
JP2017097785A (en) * | 2015-11-27 | 2017-06-01 | グローリー株式会社 | Bill processing device and bill processing method |
-
2020
- 2020-03-31 JP JP2020064559A patent/JP7372633B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001307022A (en) * | 2000-04-21 | 2001-11-02 | Oki Electric Ind Co Ltd | Character recognizing device and character recognizing method |
JP2005352705A (en) * | 2004-06-09 | 2005-12-22 | Omron Corp | Device and method for pattern recognition, and character recognizing method |
JP2008234291A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Character recognition device and character recognition method |
JP2010225013A (en) * | 2009-03-25 | 2010-10-07 | Hitachi Omron Terminal Solutions Corp | Serial number recognition device, paper sheet processor, automatic transaction processor, and serial number recognition method |
WO2013140563A1 (en) * | 2012-03-22 | 2013-09-26 | グローリー株式会社 | System for reading paper sheet serial number, and method for reading paper sheet serial number |
JP2017097785A (en) * | 2015-11-27 | 2017-06-01 | グローリー株式会社 | Bill processing device and bill processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117710987A (en) * | 2024-02-06 | 2024-03-15 | 武汉卓目科技有限公司 | Crown word size segmentation method, device, electronic equipment and storage medium |
CN117710987B (en) * | 2024-02-06 | 2024-06-11 | 武汉卓目科技有限公司 | Crown word size segmentation method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP7372633B2 (en) | 2023-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10430681B2 (en) | Character segmentation and recognition method | |
JP4479756B2 (en) | Image processing apparatus, image processing method, and computer program | |
US7920725B2 (en) | Apparatus, method, and program for discriminating subjects | |
CN112686812B (en) | Bank card inclination correction detection method and device, readable storage medium and terminal | |
EP2682901A1 (en) | Text string cut-out method and text string cut-out device | |
CN107862663A (en) | Image processing method, device, readable storage medium storing program for executing and computer equipment | |
CN107944452A (en) | A kind of circular stamp character recognition method | |
JP5640621B2 (en) | Method for classifying red-eye object candidates, computer-readable medium, and image processing apparatus | |
CN107016363A (en) | Bill images managing device, bill images management system and method | |
US20100284611A1 (en) | Image sensor and image sensing method for character recognition | |
CN112036500A (en) | Garbage classification method and device based on depth image and multispectral image fusion | |
JP6555751B2 (en) | Banknote processing apparatus and banknote processing method | |
JP2021163231A (en) | Paper sheet identification device and paper sheet identification method | |
US8306335B2 (en) | Method of analyzing digital document images | |
CN105654609A (en) | Paper money processing method and paper money processing system | |
US10348932B2 (en) | Image processing apparatus, method of controlling the same, and non-transitory computer-readable storage medium that decrease the lightness of pixels, except for a highlight region, based on a generated lightness histogram | |
CN108764230A (en) | A kind of bank's card number automatic identifying method based on convolutional neural networks | |
CN108460775A (en) | A kind of forge or true or paper money recognition methods and device | |
CN108399597A (en) | Key message treating method and apparatus | |
CN111445402A (en) | Image denoising method and device | |
JP2002092683A (en) | Device for discriminating between true and false medium | |
CN112634298B (en) | Image processing method and device, storage medium and terminal | |
JP2009070284A (en) | Setting method, identification method, and program | |
JP4298283B2 (en) | Pattern recognition apparatus, pattern recognition method, and program | |
CN110415424B (en) | Anti-counterfeiting identification method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220614 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230317 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230322 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230516 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230711 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230907 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230926 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231012 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7372633 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |