JP2018180611A - Information processing apparatus, collation apparatus, and card issuing machine - Google Patents

Information processing apparatus, collation apparatus, and card issuing machine Download PDF

Info

Publication number
JP2018180611A
JP2018180611A JP2017074169A JP2017074169A JP2018180611A JP 2018180611 A JP2018180611 A JP 2018180611A JP 2017074169 A JP2017074169 A JP 2017074169A JP 2017074169 A JP2017074169 A JP 2017074169A JP 2018180611 A JP2018180611 A JP 2018180611A
Authority
JP
Japan
Prior art keywords
code
card
misreading
collation
information processing
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
Application number
JP2017074169A
Other languages
Japanese (ja)
Other versions
JP6880947B2 (en
Inventor
華奈 山口
Kana Yamaguchi
華奈 山口
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2017074169A priority Critical patent/JP6880947B2/en
Publication of JP2018180611A publication Critical patent/JP2018180611A/en
Application granted granted Critical
Publication of JP6880947B2 publication Critical patent/JP6880947B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)
  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing apparatus that generates data for preventing trouble due to misreading of code during collation check, a collation apparatus that performs the collation check using the data, and a card issuing machine including the collation apparatus.SOLUTION: An information processing apparatus generates data used for collation check of a card type code of a card. The information processing apparatus generates a misreading code in which characters of the card type code is replaced by a combination of characters set in advance as possibility of misreading, and determines whether or not a code matching the misreading code exists in a code group which is a list of codes used as the card type code. In the collation check of the card type code of the card, an alarm is outputted when there is a code matching the misreading code of the true card type code in the code group, and when there is no match with the misreading code of the true card type code in the code group and a reading result of the card type code matches the misreading code of the true card type code, a collation result is determined as passing.SELECTED DRAWING: Figure 12

Description

本発明は、カード等の照合検査に用いるデータを作成する情報処理装置、およびそのデータを用いて照合検査を行う照合装置と、その照合装置を有するカード発行機に関する。   The present invention relates to an information processing apparatus for creating data to be used for verification inspection of a card or the like, a verification apparatus for performing verification inspection using the data, and a card issuing machine having the verification apparatus.

ICカードや磁気カードなどにカード情報を書込むカード発行の分野では、ある券種のカードに別の券種のカードのカード情報を誤って書込むことを防ぐため、カードに印刷された券種固有の券種コードをカメラにより撮影し、文字認識により読取った券種コードが正の券種コードに一致しているか否かを照合検査する(例えば、特許文献1参照)。   In the field of card issuance, in which card information is written to an IC card or a magnetic card, a ticket type printed on a card is provided to prevent the card information of another ticket type from being erroneously written on a card of a certain ticket type. A unique ticket type code is photographed by a camera, and a check is performed to check whether the ticket type code read by character recognition matches a positive ticket type code (see, for example, Patent Document 1).

文字認識では、テンプレートマッチング方式によるOCR(Optical Character
Recognition)が一般的に用いられる。この際、あらかじめ文字ごとの良品画像(テンプレート)を登録し、券種コードの文字部分の画像と良品画像の一致度を所定の式に基づいて算出し、最も一致度が高い文字を認識文字として取得する。この方法は、印刷された券種コードの品質のばらつきや券種コードの背景の状態のばらつきが少ない理想的な状況においては、高い精度で文字を認識することができる。
In character recognition, OCR (Optical Character) by template matching method
Recognition) is generally used. At this time, a non-defective image (template) for each character is registered in advance, the matching degree between the image of the character part of the ticket type code and the non-defective image is calculated based on a predetermined formula, get. This method can recognize characters with high accuracy in an ideal situation where the variation in the quality of the printed ticket type code and the variation in the background status of the ticket type code are small.

特許第4202681号Patent No. 4202681

しかしながら、文字認識技術を用いた照合検査では、印刷された券種コードの品質のばらつき等の影響によって、文字の読み誤り(以下、誤読と呼ぶ)が生じる問題があった。誤読が発生すると、カードに印刷された券種コードが正の券種コードと本来一致しているのに一致していないと判定する問題(以下、誤検出と呼ぶ)や、カードに印刷された券種コードが正の券種コードと本来一致していないのに一致していると判定する問題(以下、見逃しと呼ぶ)が発生する。   However, in the collation inspection using the character recognition technology, there has been a problem that a character reading error (hereinafter referred to as misreading) occurs due to the influence of variations in the quality of the printed ticket type code and the like. If misreading occurs, the problem type code printed on the card is judged to be identical to the correct one, but it is judged that it does not match (hereinafter referred to as false detection) or printed on the card There arises a problem (hereinafter referred to as missed) in which it is determined that the ticket type code is identical to the correct ticket type code but not identical.

誤検出については、カード発行を一旦停止して目視による再検査をすることが多く、カードに正しく券種コードが印刷されているにも関わらず、カード発行の停止時間が増加して生産性が低下する問題がある。   As for false detection, card issuance is often stopped and visual re-inspection is often performed, and although the card type code is correctly printed on the card, the card issuance stop time increases and productivity is increased. There is a problem that falls.

一方、上記の見逃しは、あるカードの正の券種コードを誤読したコードが別のカードに実際に使用されている場合に生じる可能性があり、不良品が流出するリスクがあり致命的な問題となる。   On the other hand, the above-mentioned omission may occur when a code obtained by misreading the correct card type code of one card is actually used for another card, and there is a risk of defective products being leaked, which is a fatal problem. It becomes.

本発明は上記の問題に鑑みてなされたものであり、照合検査時のコードの誤読によるトラブルを防ぐためのデータを作成する情報処理装置、およびそのデータを用いて照合検査を行う照合装置と、その照合装置を有するカード発行機等を提供することを目的とする。   The present invention has been made in view of the above problems, and an information processing apparatus for creating data for preventing a problem due to misreading of a code at the time of verification inspection, and a verification apparatus for performing verification inspection using the data. It aims at providing a card issuing machine etc. which have the collation device.

前述した課題を解決するための第1の発明は、対象物の照合検査に用いる照合用のコードの文字を、コンピュータによる読取りを行う際に誤読する可能性があるとして設定された文字の組合せによって置き換えた誤読コードを作成する誤読コード作成部と、照合用のコードとして使用されているコードの一覧であるコード群の中に、前記誤読コードと一致するものが有るか否かを判定する判定部と、を有することを特徴とする情報処理装置である。   According to a first aspect of the present invention for solving the above-mentioned problems, a character of a code for collation used for collation inspection of an object is set by a combination of characters which may be misread when reading by a computer. A misreading code creating unit that creates a misread code that has been replaced, and a determining unit that determines whether or not there is a code group that is a list of codes used as a code for matching that matches the misreading code And an information processing apparatus characterized by comprising:

本発明では、誤読する可能性のある文字の組合せをあらかじめ設定し、照合用のコードの文字を当該組合せによって置き換えたコードを誤読コードとして作成する。そして、実際に使用されているコードの一覧を示すコード群の中に誤読コードと一致するものが有るか否かを判定し、一致するものが有れば見逃しリスクが有るとし、一致するものが無ければ見逃しリスクが無いとすることができる。こうして作成した誤読コードや上記の判定結果に応じた運用を行うことで、照合検査において誤読によるトラブルを回避することができる。   In the present invention, a combination of characters which may be misread is set in advance, and a code in which characters of a code for collation are replaced by the combination is created as a misread code. Then, it is determined whether or not there is a code group indicating a list of codes actually used that matches the misreading code, and if there is a match, it is determined that there is a risk of missing, and those that match Without it, it can be said that there is no risk of missing. By performing the operation according to the misreading code thus created and the above determination result, it is possible to avoid the trouble due to misreading in the collation inspection.

前記対象物は例えばカードであり、前記コードは例えば前記カードの仕様を識別するための券種コードである。
本発明の情報処理装置は、前記したカードの券種コード等の照合検査のために用いることで、カード発行の分野において誤読によるトラブルを防ぐことができる。
The object is, for example, a card, and the code is, for example, a denomination code for identifying the specification of the card.
The information processing apparatus according to the present invention can prevent a problem due to misreading in the field of card issuance by using it for the collation inspection of the above-mentioned card type code and the like of the card.

前記誤読コードについて誤読の危険度の作成を行うことも望ましい。
これにより、誤読コードについての誤読の危険度に応じた照合検査の運用が可能になる。
It is also desirable to create a risk of misreading for the misreading code.
As a result, it becomes possible to operate the verification inspection according to the risk of misreading of the misreading code.

第2の発明は、第1の発明の情報処理装置により作成した誤読コード、および前記情報処理装置により前記コード群の中に前記誤読コードと一致するものが有るか否かを判定した判定結果を用いて、対象物の照合検査を行う照合装置であって、コードが形成された対象物を撮影する撮影部と、前記撮影部によって前記対象物を撮影した撮影画像から前記コードを読取り、読取った前記コードを正のコードと比較して照合検査を行うコンピュータと、を有し、前記コンピュータは、前記コード群の中に前記正のコードの前記誤読コードと一致するものが有る場合、前記対象物に形成された前記正のコードでないコードを前記正のコードと一致しているとする可能性があると判定し、前記コード群の中に前記正のコードの前記誤読コードと一致するものが無く、且つ、前記対象物のコードの読取結果が前記誤読コードに一致する場合、照合検査の結果を合格と判定することを特徴とする照合装置である。
前記コンピュータは、前記コード群の中に前記正のコードの前記誤読コードと一致するものが有る場合、例えば警報を出力する。
According to a second aspect of the present invention, there is provided a misreading code generated by the information processing apparatus according to the first aspect of the present invention, and a determination result obtained by determining whether the code group matches the misreading code by the information processing apparatus. It is a collation device which carries out collation inspection of a subject, and it reads the code from the photography picture which picturized the subject with the photography part which photographs the subject with which the code was formed, and the photography part. And a computer that compares the code with a positive code to perform a verification check, and the computer detects the object if the code group includes one that matches the misread code of the positive code. And determining that the non-positive code formed in the code is likely to match the positive code, and matches the misreading code of the positive code in the code group Those without, and, if the code reading result of the object is equal to the misreading code, a verification apparatus characterized by determining a pass result of the verification test.
The computer outputs, for example, an alarm when there is a code group that matches the misread code of the positive code.

このように、本発明では、コード群の中に正のコードの誤読コードと一致するものが有る場合に見逃しリスクが有ると判定し、見逃しリスクを回避する運用を行うことができる。例えば警報を出力し、目視検査などを行うように促すことができる。一方、見逃しリスクが無い場合には、コードの読取結果が誤読コードと一致する場合に誤読を許容して誤検出によるトラブルを抑制し、生産性を向上させることができる。   As described above, according to the present invention, when there is a code group that matches the misreading code of the positive code, it is determined that there is a risk of missing, and an operation of avoiding the risk of missing can be performed. For example, an alarm can be output to prompt visual inspection or the like. On the other hand, when there is no missing risk, when the code reading result matches the misreading code, misreading is permitted, the trouble by misdetection can be suppressed, and productivity can be improved.

第3の発明は、カードを対象物としてその照合検査を行う第2の発明の照合装置と、カード情報を前記カードに書込むカード情報記録装置と、を有することを特徴とするカード発行機である。   A third invention is a card issuing machine characterized by comprising the checking device of the second invention for checking a card as an object, and a card information recording device for writing card information in the card. is there.

本発明により、照合検査時のコードの誤読によるトラブルを防ぐためのデータを作成する情報処理装置、およびそのデータを用いて照合検査を行う照合装置と、その照合装置を有するカード発行機等を提供することができる。   The present invention provides an information processing apparatus for creating data for preventing problems due to misreading of a code at the time of verification inspection, a verification apparatus for performing verification inspection using the data, and a card issuing machine etc. having the verification apparatus. can do.

カード発行システム5を示す図。The figure which shows the card issuing system 5. FIG. 情報処理装置3のハードウェア構成と機能構成を示す図。FIG. 2 is a diagram showing a hardware configuration and a functional configuration of the information processing device 3. カード4の例を示す図。The figure which shows the example of the card | curd 4. FIG. カード発行機1の概略を示す図。The figure which shows the outline of the card issuing machine 1. FIG. 制御装置50のハードウェア構成を示す図。FIG. 2 shows a hardware configuration of a control device 50. 照合装置20の概略を示す図。The figure which shows the outline of the collation apparatus 20. FIG. コンピュータ23のハードウェア構成を示す図。FIG. 2 is a diagram showing a hardware configuration of a computer 23. 発行データ200と照合データ300を示す図。The figure which shows the issue data 200 and the collation data 300. FIG. コード領域情報302について説明する図。FIG. 6 is a diagram for explaining code area information 302. 判別式データ400について説明する図。FIG. 6 is a diagram for explaining discriminant data 400. 券種コードの誤検出と見逃しの発生について説明する図。A figure explaining generating of false detection of a ticket kind code, and omission. 誤読コード303の作成と見逃しリスクコードの有無の判定について示すフローチャート。6 is a flowchart showing generation of a misreading code 303 and determination of presence / absence of a missed risk code. 誤読コード303と見逃しリスクコード、およびコード群100について説明する図。FIG. 7 is a diagram for explaining misreading code 303, missed risk code, and code group 100. 照合検査の流れについて示すフローチャート。6 is a flowchart showing the flow of verification inspection. 券種コード41の読取について説明する図。FIG. 8 is a diagram for explaining reading of a ticket type code 41. 誤読コード303の作成方法について説明する図。The figure explaining the preparation method of the misreading code 303. FIG.

以下、図面に基づいて本発明の好適な実施形態について詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail based on the drawings.

(1.カード発行システム5)
図1は本発明の実施形態に係るカード発行システム5を示す図である。このカード発行システム5は、カード発行機1と情報処理装置3を有する。
(1. Card issuing system 5)
FIG. 1 is a view showing a card issuing system 5 according to an embodiment of the present invention. The card issuing system 5 includes a card issuing device 1 and an information processing device 3.

カード発行機1はカードの発行を行うものである。すなわち、発行順に揃えられたカードを当該発行順に沿って搬送しつつ、その照合検査を行った後必要なカード情報を書込む。カード発行機1の詳細については後述する。   The card issuing machine 1 issues a card. That is, while conveying the cards arranged in the order of issuance along the order of issuance, the card information required is written after the collation inspection. Details of the card issuing machine 1 will be described later.

情報処理装置3は、カード(対象物)の照合検査に必要なデータの作成等を行うものであり、本実施形態では後述する判別式データや誤読コードの作成、見逃しリスクコードの有無の判定等を行う。   The information processing device 3 is for creating data necessary for the verification test of the card (object), etc. In this embodiment, creation of discriminant data and misreading code to be described later, determination of presence / absence of missed risk code, etc. I do.

図2(a)は情報処理装置3のハードウェア構成を示す図である。図2(a)に示すように、情報処理装置3は、例えば制御部31、記憶部32、入力部33、表示部34、通信制御部35等をバス36により接続して構成したコンピュータにより実現できる。但しこれに限ることなく、適宜様々な構成をとることができる。   FIG. 2A shows the hardware configuration of the information processing apparatus 3. As shown in FIG. 2A, the information processing apparatus 3 is realized by, for example, a computer configured by connecting a control unit 31, a storage unit 32, an input unit 33, a display unit 34, a communication control unit 35, etc. it can. However, without being limited to this, various configurations can be taken as appropriate.

制御部31はCPU、ROM、RAMなどから構成される。CPUは、記憶部32、ROMなどの記憶媒体に格納された情報処理装置3の処理に係るプログラムをRAM上のワークエリアに呼び出して実行する。ROMは不揮発性メモリであり、ブートプログラムやBIOSなどのプログラム、データなどを恒久的に保持している。RAMは揮発性メモリであり、記憶部32、ROMなどからロードしたプログラムやデータを一時的に保持するとともに、制御部31が各種処理を行うために使用するワークエリアを備える。   The control unit 31 includes a CPU, a ROM, a RAM, and the like. The CPU calls a program related to the processing of the information processing device 3 stored in a storage medium such as the storage unit 32 or the ROM to a work area on the RAM and executes the program. The ROM is a non-volatile memory, which permanently holds a boot program, a program such as a BIOS, data and the like. The RAM is a volatile memory, and temporarily stores programs and data loaded from the storage unit 32 and the ROM, and includes a work area used by the control unit 31 to perform various processes.

記憶部32はハードディスクドライブやソリッドステートドライブ、フラッシュメモリ等であり、制御部31が実行するプログラム、プログラム実行に必要なデータ、OSなどが格納される。これらのプログラムやデータは、制御部31により必要に応じて読み出され実行される。本実施形態では、後述するコード群100が記憶部32にデータベース等として記録される。   The storage unit 32 is a hard disk drive, a solid state drive, a flash memory or the like, and stores a program executed by the control unit 31, data necessary for program execution, an OS, and the like. These programs and data are read and executed by the control unit 31 as needed. In the present embodiment, a code group 100 described later is recorded in the storage unit 32 as a database or the like.

入力部33は情報処理装置3に各種の設定入力を行うものである。
表示部34は例えば液晶ディスプレイ等である。
通信制御部35はネットワーク等を介した通信を媒介する通信インタフェースであり、照合装置20のコンピュータ等との間で通信を行う。
バス36は、情報処理装置3の各部間の制御信号、データ信号等の授受を媒介する経路である。
The input unit 33 is used to input various settings to the information processing apparatus 3.
The display unit 34 is, for example, a liquid crystal display.
The communication control unit 35 is a communication interface that mediates communication via a network or the like, and communicates with a computer or the like of the verification device 20.
The bus 36 is a route that mediates the exchange of control signals, data signals, and the like between the units of the information processing device 3.

図2(b)は情報処理装置3の機能構成を示す図である。図2(b)に示すように情報処理装置3は誤読コード作成部37、判定部38、判別式データ作成部39を有する。   FIG. 2B is a diagram showing a functional configuration of the information processing device 3. As shown in FIG. 2B, the information processing apparatus 3 includes a misreading code generation unit 37, a determination unit 38, and a discriminant data generation unit 39.

誤読コード作成部37は、カードの照合検査に用いる照合用の券種コードの文字を、コンピュータによる読取りを行う際に誤読する可能性があるとして設定された文字の組合せによって置き換え、誤読コードを作成するものである。この処理の詳細については後述する。   The misreading code creation unit 37 creates a misreading code by replacing the characters of the card type code for verification used for the verification inspection of the card with the combination of characters set as having the possibility of misreading when reading by the computer. It is Details of this process will be described later.

判定部38は、前記のコード群100の中に、見逃しリスクコードが有るか否かを判定するものである。見逃しリスクコードは上記の誤読コードと一致するコードであるが、この処理の詳細については後述する。   The determination unit 38 determines whether or not there is a missed risk code in the code group 100 described above. The missed risk code is a code that matches the above misreading code, and the details of this process will be described later.

判別式データ作成部39は、機械学習を行って後述する判別式データを作成するものである。   The discriminant data creation unit 39 performs machine learning to create discriminant data to be described later.

(2.カード4)
図3はカード発行機1で発行されるカード4の例を示す図である。図3に示すように、カード4では一方の面に券種コード41が印刷等により形成されるとともに、記録部42とサインパネル43が設けられる。図3の例ではカード4が略矩形状であるが、その形状は特に限定されない。
(2. Card 4)
FIG. 3 is a view showing an example of the card 4 issued by the card issuing device 1. As shown in FIG. 3, in the card 4, the note type code 41 is formed on one side by printing or the like, and the recording unit 42 and the sign panel 43 are provided. In the example of FIG. 3, the card 4 has a substantially rectangular shape, but the shape is not particularly limited.

券種コード41は、コード(文字列)によってカード4の各種の仕様(券種)を識別する識別情報である。券種コード41によって識別される仕様には、例えばカード4の絵柄や記録部42の種類があるが、これに限ることはない。   The ticket type code 41 is identification information for identifying various specifications (ticket types) of the card 4 by a code (character string). The specification identified by the ticket type code 41 includes, for example, the pattern of the card 4 and the type of the recording unit 42, but the invention is not limited thereto.

券種コード41は主にカード4の端周辺に英数字で形成される。その文字のフォント(書体)、サイズ、縦横比、色等は様々であり、これらの特徴は文字の外観に影響する。このような文字の外観に影響を与える特徴を総称して書式というものとする。また文字は英数字に限らず、漢字、ひらがな、カタカナ、および各種の記号等である場合もある。   The ticket type code 41 is mainly formed by alphanumeric characters around the end of the card 4. The font (typeface), size, aspect ratio, color, etc. of the character vary, and these features affect the appearance of the character. The features that affect the appearance of such characters are collectively referred to as a form. The characters are not limited to alphanumeric characters, and may be kanji, hiragana, katakana, various symbols, and the like.

記録部42はカード情報が書込まれる部分である。図3の例では記録部42が磁気テープであるが、これに限ることはなく、ICチップなどでもよい。   The recording unit 42 is a portion where card information is written. Although the recording unit 42 is a magnetic tape in the example of FIG. 3, the present invention is not limited to this, and an IC chip or the like may be used.

サインパネル43は、カード4の保有者が自己の氏名などを筆記する部分である。   The signature panel 43 is a portion where the holder of the card 4 writes his / her name and the like.

(3.カード発行機1)
図4はカード発行機1の概略を示す図である。図4に示すように、カード発行機1は、カード供給装置10、照合装置20、カード情報記録装置30、カード排出装置40等を有し、制御装置50の制御によってカード4の発行を行う。カード発行機1は、この他照合検査の結果等を表示するディスプレイなども備える。
(3. Card Issuer 1)
FIG. 4 is a schematic view of the card issuing device 1. As shown in FIG. 4, the card issuing device 1 includes a card supply device 10, a verification device 20, a card information recording device 30, a card ejection device 40, etc., and issues the card 4 under the control of the control device 50. The card issuing machine 1 also includes a display or the like for displaying the result of the collation check and the like.

カード供給装置10は、発行順に揃えられたカード4を、当該発行順に沿って照合装置20に送り出し、供給するものである。   The card supply device 10 sends out and supplies the cards 4 arranged in the order of issuance to the verification device 20 along the order of issuance.

照合装置20は、カード4の照合検査を行うものである。ここでは、カード4に形成された券種コード41を読取って、その券種コード41が適正であるか否かを判定する。カード4の照合検査はカード4の発行順に行われる。照合装置20の詳細については後述する。   The verification device 20 performs verification of the card 4. Here, the ticket type code 41 formed on the card 4 is read to determine whether the ticket type code 41 is appropriate. The verification test of the card 4 is performed in the order of issuance of the card 4. Details of the verification device 20 will be described later.

カード情報記録装置30は、照合検査を行った後のカード4に必要なカード情報を書込むものであり、リーダライタ等を備える。   The card information recording device 30 is for writing necessary card information on the card 4 after the verification test, and includes a reader / writer and the like.

カード排出装置40は、カード情報を書込んだカード4を排出し、前記した発行順にスタッカ(不図示)等に収容するものである。   The card ejection device 40 ejects the card 4 in which the card information is written, and stores the card 4 in a stacker (not shown) or the like in the order of issuance described above.

制御装置50は、カード発行機1でのカード4の発行に係る全般的な制御を行うものである。   The control device 50 performs general control relating to the issuance of the card 4 by the card issuing device 1.

図5は制御装置50のハードウェア構成を示す図である。図5に示すように、制御装置50は、例えば制御部51、記憶部52、入力部53、通信制御部54等をバス55により接続して構成したコンピュータにより実現できる。但しこれに限ることなく、適宜様々な構成をとることができる。   FIG. 5 is a diagram showing a hardware configuration of the control device 50. As shown in FIG. As shown in FIG. 5, the control device 50 can be realized by, for example, a computer configured by connecting a control unit 51, a storage unit 52, an input unit 53, a communication control unit 54, and the like by a bus 55. However, without being limited to this, various configurations can be taken as appropriate.

制御部51、記憶部52、入力部53、通信制御部54、バス55は前記した制御部31、記憶部32、入力部33、通信制御部35、バス36と略同様である。また記憶部52には後述する発行データ200が記録される。   The control unit 51, the storage unit 52, the input unit 53, the communication control unit 54, and the bus 55 are substantially the same as the control unit 31, the storage unit 32, the input unit 33, the communication control unit 35, and the bus 36 described above. Further, the storage unit 52 records issue data 200 described later.

(4.照合装置20)
図6は照合装置20の概略を示す図である。図6に示すように、照合装置20は、カメラ21、照明22、コンピュータ23等を有する。
(4. Verification device 20)
FIG. 6 is a schematic view of the collation device 20. As shown in FIG. As shown in FIG. 6, the verification device 20 includes a camera 21, an illumination 22, a computer 23 and the like.

カメラ21は、直下に搬送されたカード4を撮影する撮影部であり、例えばCCD(Charge
Coupled Device)カメラ等が用いられるが、これに限ることはない。
The camera 21 is a photographing unit for photographing the card 4 conveyed immediately below, for example, CCD (Charge)
Although a Coupled Device) camera or the like is used, the present invention is not limited thereto.

照明22は、直下に搬送されたカード4に照明光を照射するものである。本実施形態では、ラメ(光沢)のあるカード4等についても検査精度を向上させるためドーム型照明を用いている。ドーム型照明の頂部には開口221があり、カメラ21によるカード4の撮影はこの開口221から行っている。しかしながら、照明22がこれに限ることはない。   The illumination 22 is for illuminating the card 4 conveyed immediately below with the illumination light. In the present embodiment, dome-shaped illumination is used also for the card 4 having a lam (glossy) to improve the inspection accuracy. There is an opening 221 at the top of the dome-shaped illumination, and photographing of the card 4 by the camera 21 is performed from this opening 221. However, the illumination 22 is not limited to this.

コンピュータ23は、照合装置20での照合検査全体を制御するものである。コンピュータ23は、カード4がカメラ21の直下まで搬送されるとカメラ21にトリガ信号を出力してカード4を撮影させ、カード4の撮影画像をカメラ21から取得する。そして、撮影画像から券種コード41を読取り、それが適正か否か判定する。   The computer 23 controls the entire collation inspection in the collation device 20. When the card 4 is conveyed to the position directly below the camera 21, the computer 23 outputs a trigger signal to the camera 21 to cause the card 4 to be photographed, and acquires a photographed image of the card 4 from the camera 21. Then, the ticket type code 41 is read from the photographed image, and it is determined whether or not it is appropriate.

図7はコンピュータ23のハードウェア構成を示す図である。図7に示すように、コンピュータ23は、例えば制御部231、記憶部232、入力部233、通信制御部234等をバス235により接続して構成される。但しこれに限ることなく、適宜様々な構成をとることができる。   FIG. 7 is a diagram showing a hardware configuration of the computer 23. As shown in FIG. As shown in FIG. 7, the computer 23 is configured by connecting, for example, a control unit 231, a storage unit 232, an input unit 233, a communication control unit 234, and the like by a bus 235. However, without being limited to this, various configurations can be taken as appropriate.

制御部231、記憶部232、入力部233、通信制御部234、バス235は前記した制御部31、記憶部32、入力部33、通信制御部35、バス36と略同様である。また記憶部232には後述する照合データ300や判別式データ400が記録されている。   The control unit 231, the storage unit 232, the input unit 233, the communication control unit 234, and the bus 235 are substantially the same as the control unit 31, the storage unit 32, the input unit 33, the communication control unit 35, and the bus 36 described above. The storage unit 232 also stores collation data 300 and discriminant data 400 described later.

(5.発行データ200と照合データ300)
図8(a)は制御装置50の記憶部52に記録される発行データ200を示す図である。発行データ200は、個々のカード4ごとに、発行番号201、券種コード202、カード情報203等を紐づけて記録したものである。
(5. Issue data 200 and verification data 300)
FIG. 8A shows the issuance data 200 recorded in the storage unit 52 of the control device 50. As shown in FIG. The issuance data 200 is obtained by correlating and recording an issuance number 201, a ticket type code 202, card information 203 and the like for each of the cards 4.

発行番号201は、前記したカード4の発行順を識別する識別情報であり、個々のカード4と発行番号201は一対一で対応する。   The issue number 201 is identification information for identifying the issue order of the card 4 described above, and the individual cards 4 and the issue number 201 correspond one-to-one.

券種コード202は、発行番号201に対応するカード4の券種を示す識別情報であり、テキストデータなどとして記録される。券種コード202は、カード4の券種コード41の読取結果との比較対象となる照合用の正のコードである。   The ticket type code 202 is identification information indicating the ticket type of the card 4 corresponding to the issue number 201, and is recorded as text data or the like. The ticket type code 202 is a positive code for comparison to be compared with the reading result of the ticket type code 41 of the card 4.

カード情報203は、発行番号201に対応するカード4に書込む情報であり、例えばカード4の保有者の個人情報などである。   The card information 203 is information to be written to the card 4 corresponding to the issue number 201, and is, for example, personal information of the holder of the card 4.

図8(b)は、コンピュータ23の記憶部232に記録される照合データ300を示す図である。照合データ300は券種コードに応じた読取方法や検査方法等を定めるものである。照合データ300は、個々の券種コードごとに、券種コード301、コード領域情報302、誤読コード303、見逃しリスクコードの有無304等を紐づけて記録したものである。   FIG. 8B is a view showing the verification data 300 recorded in the storage unit 232 of the computer 23. The collation data 300 defines a reading method, an inspection method, and the like according to the ticket type code. The collation data 300 is obtained by correlating and recording the ticket type code 301, the code area information 302, the misreading code 303, the presence / absence of the missed risk code 304, and the like for each ticket type code.

券種コード301は上記の券種コード202と同様である。   The ticket type code 301 is the same as the ticket type code 202 described above.

コード領域情報302は、カード4上で券種コード301(41)が形成される領域を示す。この領域は、例えば図9の点線で示すようにカード4の縦横のエッジ部分からの距離L1、L2と領域Aの縦横のサイズ等を用いて表すことができる。コード領域情報302では、必要に応じて券種コード301(41)の各文字部分の領域等も定めることができる。   The code area information 302 indicates an area where the ticket type code 301 (41) is formed on the card 4. This area can be represented, for example, by using the distances L1 and L2 from the vertical and horizontal edge portions of the card 4 and the vertical and horizontal sizes of the area A, as indicated by dotted lines in FIG. In the code area information 302, an area or the like of each character portion of the ticket type code 301 (41) can also be determined as needed.

誤読コード303は、券種コード301に対して誤読する可能性のあるコードである。誤読コード303は、券種コード301の文字を、当該文字と誤読する可能性のある別の文字で置き換えたコードであるが、これについては後述する。   The misreading code 303 is a code which may misread the pass type code 301. The misreading code 303 is a code in which the character of the ticket type code 301 is replaced with another character that may misread as the character, which will be described later.

見逃しリスクコードの有無304は、券種コード301に対し、誤読による見逃しが発生する可能性のあるコード(見逃しリスクコード)が有るか無いかを記録したものである。見逃しリスクコードは、情報処理装置3の記憶部32に記録されたコード群100の中のコードのうち、誤読コード303と一致するものであるが、その詳細については後述する。   The presence / absence of missed risk code 304 records whether or not there is a code (missed risk code) which may cause missed reading due to misreading in the ticket type code 301. The missed risk code corresponds to the misreading code 303 among the codes in the code group 100 recorded in the storage unit 32 of the information processing device 3. The details will be described later.

(6.判別式データ400)
コンピュータ23の記憶部232には、カード4の券種コード41を読取る際に用いる判別式データ400も記録される。
(6. Discriminant data 400)
Discriminant data 400 used when reading the ticket type code 41 of the card 4 is also recorded in the storage unit 232 of the computer 23.

すなわち、本実施形態では従来のようにテンプレートマッチングによって券種コード41を読取るのではなく、機械学習によって得た判別式データ400を用いて文字を判別し、券種コード41を読取る。   That is, in the present embodiment, instead of reading the ticket type code 41 by template matching as in the prior art, characters are determined using the discriminant data 400 obtained by machine learning, and the ticket type code 41 is read.

機械学習については既知であるが、その一例について簡単に説明すると、図10に示すように、様々な文字の画像Lを、横軸を文字部分の第1の特徴量xの値、縦軸を第2の特徴量の値yとしてプロットした時に、ある文字の画像群(図の例では○で示す「1」の画像群)およびその他の文字の画像群(図の例では●で示す)と、境界線aとの最短距離bが最大となるように、これらの画像群を区分する境界線aの式を算出するものである。   Although machine learning is known, to briefly explain an example, as shown in FIG. 10, the image L of various characters, the horizontal axis is the value of the first feature quantity x of the character portion, and the vertical axis is When plotted as the second feature value y, an image group of a character (image group of “1” indicated by ○ in the example of the figure) and an image group of other letters (indicated by ● in the example of the figure) The equation of the boundary line a dividing these image groups is calculated so that the shortest distance b with the boundary line a is maximized.

図10において境界線aの右下にある画像群は「1」の文字の画像Lであり、境界線aの左上にある画像群は「1」でない文字の画像Lである。従って、境界線aの式を、Zを所定値として仮にf(x,y)=Zで表すと、ある文字の画像の文字部分の特徴量の値x、yを境界線aの式の左辺に代入したときにf(x,y)<Zとなる場合、その文字は「1」であると判別することができる。このf(x,y)<Zが、「1」を判別する判別式(識別関数)である。   In FIG. 10, the image group at the lower right of the boundary line a is the image L of the character “1”, and the image group at the upper left of the boundary line a is the image L of the character other than “1”. Therefore, assuming that the formula of the boundary line a is expressed as f (x, y) = Z, where Z is a predetermined value, the values x and y of the feature amount of the character part of the image of a character are the left side If f (x, y) <Z when substituted into, it can be determined that the character is "1". This f (x, y) <Z is a discriminant (discrimination function) that discriminates "1".

本実施形態では、図10に例示するように異なる書式、背景を有する大量の文字の画像を文字ごとに分類して前記の情報処理装置3に登録し、情報処理装置3により各画像の文字部分について必要な特徴量を算出したうえで上記の機械学習を行うことで、特徴量により文字を判別するための上記の判別式を各文字について予め作成する。作成された判別式は、照合装置20のコンピュータ23の記憶部232に判別式データ400として記録される。上記した文字の画像は、照合装置20と同様の撮影環境で撮影されたものであることが望ましい。   In this embodiment, as illustrated in FIG. 10, images of a large number of characters having different formats and backgrounds are classified for each character and registered in the information processing device 3 described above, and the information processing device 3 By performing the above-described machine learning after calculating the necessary feature quantities for, the above-described discriminant for discriminating characters by the feature quantities is created in advance for each character. The generated discriminant is recorded as discriminant data 400 in the storage unit 232 of the computer 23 of the collation device 20. It is desirable that the above-described character image is photographed in the same photographing environment as the collation device 20.

図10の例では2つの特徴量で「1」の文字を判別できるが、これに限ることはなく、3つ以上の特徴量で文字の判別を行ったり、あるいは1つの特徴量で文字の判別を行える場合もある。上記の特徴量としては、文字部分の円形度、凸面度、縦横比、穴の数などがあるが、これに限ることはない。また特徴量は後述する照合検査時と同様の手順によって算出される。   In the example of FIG. 10, the character “1” can be determined with two feature amounts, but the invention is not limited to this. Character determination is performed with three or more feature amounts, or character determination with one feature amount. In some cases. The above-mentioned feature quantities include, but are not limited to, the degree of circularity, the degree of convexity, the aspect ratio, the number of holes, and the like of the character portion. Further, the feature amount is calculated by the same procedure as that in the matching inspection described later.

判別式データ400は、前記したように異なる書式、背景を有する大量の文字の画像から求めることで、文字の書式や背景に関わらずその文字を共通して判別できるものとなり、従来のテンプレートマッチングのように、文字の書式や背景ごとに良品画像(テンプレート)を登録する必要もない。また、機械学習を用いることで、より多くの情報から文字の規則性を統計的に求めて精度の良い判別式データ400を作成することができ、券種コード41の品質のばらつき等がある場合でも認識精度の向上が期待でき誤読の抑制につながる。   The discriminant data 400 can be commonly determined regardless of the character format and the background by obtaining from the image of a large number of characters having different formats and backgrounds as described above, and the conventional template matching As such, there is no need to register a non-defective image (template) for each character format and background. In addition, by using machine learning, it is possible to statistically obtain regularity of characters from more information and create discriminant data 400 with high accuracy, and there are variations in the quality of the ticket type code 41, etc. However, improvement in recognition accuracy can be expected, leading to suppression of misreading.

(7.誤読コード303と見逃しリスクコード)
前記したように、誤読コード303は、券種コード301に対し誤読する可能性のあるコードである。
(7. Misreading code 303 and missed risk code)
As described above, the misreading code 303 is a code that may misread the ticket type code 301.

すなわち、照合検査の対象となるカード4の正の券種コード(例えば「0123456」)に対し、コンピュータ23による読取時に誤読する可能性のある一対の文字の組合せ(例えば「0」と「D」)を設定すると、当該券種コードに対し誤読する可能性のある誤読コードは、当該券種コードを上記の文字の組合せによって置き換えたもの(例えば券種コードの「0」を「D」に置き換えた「D123456」)である。   That is, a combination of a pair of characters which may be misread at the time of reading by the computer 23 (for example, "0" and "D") with respect to a positive ticket type code (for example, "0123456") If the misclassification code that may misread the relevant bill type code is replaced by the combination of the above characters (for example, "0" of the voucher type code is replaced by "D"). “D123456”).

図11(a)に示すようにカード4に正の券種コード(「0123456」)が正しく形成されているにも関わらず、その券種コードの読取時に誤読が発生し、券種コードの読取結果が誤読コード(「D123456」)となると、照合対象となる正の券種コードとは一致しなくなるので照合装置20による照合結果は不合格となり、オペレータが都度カード発行機1を停止して目視による再検査を行う。ところが、実際には券種コードは正しく形成されているので再検査の結果は合格であり、券種コードの誤検出によってカード発行機1を一旦停止することで生産性の低下が生じる。   As shown in FIG. 11 (a), although the correct ticket type code ("0123456") is correctly formed on the card 4, misreading occurs when the ticket type code is read, and the ticket type code is read If the result is a misreading code (“D123456”), the result of verification by the verification device 20 is rejected because it does not match the correct denomination code to be verified, and the operator stops the card issuing machine 1 each time Do a re-examination. However, since the pass code is actually formed correctly, the result of the re-inspection is a pass, and if the card issuing machine 1 is temporarily stopped due to the false detection of the pass code, the productivity declines.

一方、見逃しリスクコードは、前記したように、券種コード301に対し、誤読による見逃しが発生する可能性のあるコードである。   On the other hand, the missed risk code is a code that may cause missed reading due to misreading of the ticket type code 301 as described above.

すなわち、照合検査の対象となるカード4の正の券種コード(例えば「0123456」)の誤読コード(例えば「D123456」)が、図11(b)に示すように実際にカード4’の券種コードとして使用されている場合、カード4の照合検査において、カード4が正しい発行順で供給されなかったケース等、何らかのミスで異なるカード4’の券種コードの読取を行ってしまう可能性がある。   That is, the misreading code (e.g., "D123456") of the positive note type code (e.g., "0123456") of the card 4 to be subjected to the collation inspection actually indicates the note type of the card 4 'as shown in FIG. If it is used as a code, there is a possibility that it will read the card type code of a different card 4 'due to some mistake, such as a case where the card 4 is not supplied in the correct order of issuance in the matching inspection of the card 4. .

その場合、図11(b)に示すように誤読が発生すると(「D123456」を「0123456」と誤読すると)、誤って合格と判定されてしまうことがある。このように見逃しが発生すると、カード情報記録装置30によって上記のカード4’に異なるカード4のカード情報が書込まれてしまうため、不良品が流出する致命的な結果となる。このように、誤読コードが実際に使用されている場合には見逃しリスクが生じる。そこで本実施形態では、実際に使用されている券種コードのうち誤読コードと一致するものを見逃しリスクコードとする。   In that case, as shown in FIG. 11B, if misreading occurs (if "D123456" is misread as "0123456"), it may be determined as a pass by mistake. If such a miss occurs, the card information of the different card 4 is written to the card 4 'by the card information recording device 30, resulting in a fatal result that a defective product flows out. Thus, there is a risk of missing if the misreading code is actually used. So, in this embodiment, it is set as the missing risk code which corresponds with the misreading code among the sheet | seat type codes | codes actually used.

本実施形態では、情報処理装置3によって誤読コード303の作成や見逃しリスクコードの有無の判定を行うことができる。図12は誤読コード303の作成と見逃しリスクコードの有無の判定を行う際の処理を示すフローチャートであり、図12の各ステップは情報処理装置3の制御部31によって実行される。   In the present embodiment, the information processing apparatus 3 can create the misreading code 303 and determine the presence or absence of the missed risk code. FIG. 12 is a flowchart showing the process of creating the misreading code 303 and determining the presence or absence of the missed risk code. Each step in FIG. 12 is executed by the control unit 31 of the information processing device 3.

本実施形態では、まず、オペレータが照合用の券種コード301を情報処理装置3に入力し、コンピュータ23による読取時に誤読する可能性のある一対の文字の組合せを情報処理装置3で1または複数設定する。情報処理装置3は、券種コード301の入力および上記の文字の組合せの設定を受付ける(S101、S102)。   In the present embodiment, first, the operator inputs the ticket type code 301 for comparison into the information processing apparatus 3 and one or more combinations of a pair of characters that may be misread when read by the computer 23 are made by the information processing apparatus 3. Set The information processing device 3 receives the input of the ticket type code 301 and the setting of the combination of the above characters (S101, S102).

すると、情報処理装置3は、図13に示すように、入力された券種コード301について、上記設定された文字の組合せによって券種コード301の文字を置き換えた誤読コード303を作成し(S103)、コード群100の中に誤読コード303と一致するものがあるか否かを判定する(S104)。   Then, as shown in FIG. 13, the information processing device 3 creates a misreading code 303 in which the characters of the ticket type code 301 are replaced by the combination of characters set as described above for the entered ticket type code 301 (S103) It is determined whether there is any code group 100 that matches the misreading code 303 (S104).

このコード群100は照合用の券種コードとして使用されているコードの一覧であり、例えば現在までにカードに形成した券種コードを情報処理装置3の記憶部32にデータベースとして記録したものである。   The code group 100 is a list of codes used as ticket type codes for comparison, and for example, the ticket type codes formed on the card up to the present are recorded as a database in the storage unit 32 of the information processing device 3 .

情報処理装置3は、このコード群100の中に誤読コード303と一致するものがある場合(S104;YES)、それを見逃しリスクコードとし、券種コード301に対する見逃しリスクコードが有ると判定する(S105)。   The information processing device 3 determines that there is a missed risk code for the ticket type code 301, if there is a code group 100 that matches the misreading code 303 (S104; YES) S105).

一方、コード群100の中に誤読コード303と一致するものがない場合(S104;NO)、情報処理装置3は、券種コード301に対する見逃しリスクコードが無いと判定する(S106)。   On the other hand, when there is no code group 100 that matches the misreading code 303 (S104; NO), the information processing device 3 determines that there is no missed risk code for the ticket type code 301 (S106).

こうして作成した誤読コード303や、見逃しリスクコードの有無(コード群100の中に誤読コード303と一致するものが有るか否か)の判定結果が、前記した照合データ300の誤読コード303および見逃しリスクコードの有無304として記録される。   The misinterpretation code 303 thus created and the judgment result of the presence or absence of the missed risk code (whether or not there is any code group 100 that matches the misread code 303) are the misread code 303 of the collation data 300 and the missed risk. It is recorded as the presence or absence 304 of the code.

(8.照合検査)
次に、照合装置20で行う照合検査の流れについて図14等を参照して説明する。図14は照合検査の流れについて示すフローチャートである。図14の各ステップは照合装置20のコンピュータ23が実行する処理である。
(8. Verification check)
Next, the flow of the collation inspection performed by the collation device 20 will be described with reference to FIG. FIG. 14 is a flowchart showing the flow of the collation inspection. Each step in FIG. 14 is a process executed by the computer 23 of the collation device 20.

本実施形態では、カード4の照合検査を行う際、まず照合装置20のコンピュータ23が、カード発行機1の制御装置50から当該カード4の発行番号201および発行番号201に紐付く正の券種コード202を事前に受信する(S1)。   In the present embodiment, when the verification test of the card 4 is performed, first, the computer 23 of the verification device 20 sends the issue number 201 and the issue number 201 of the card 4 to the issue number 201 and the issue number 201 of the card 4. The code 202 is received in advance (S1).

次に、照合装置20のコンピュータ23は、カメラ21を制御してカード4の撮影を行う(S2)。コンピュータ23はカード4の撮影画像をカメラ21から取得する。カード4の撮影画像の例を図15(a)に示す。   Next, the computer 23 of the verification device 20 controls the camera 21 to capture an image of the card 4 (S2). The computer 23 acquires a photographed image of the card 4 from the camera 21. An example of the photographed image of the card 4 is shown in FIG.

次に、照合装置20のコンピュータ23は、カード4の撮影画像からカード4に形成された券種コード41の画像を取得する(S3)。   Next, the computer 23 of the collation device 20 acquires an image of the ticket type code 41 formed on the card 4 from the photographed image of the card 4 (S3).

S3では、図15(b)の点線で示すようにカード4の撮影画像におけるカード4のエッジ部分を抽出し、必要に応じてエッジ部分の角度調整等の位置補正を行う。そして、照合データ300から券種コード202(301)に対応するコード領域情報302を取得し、エッジ部分の位置とコード領域情報302を用いてカード4において券種コード41が形成された領域を抽出し、これを券種コード41の画像として取得する。   In S3, as shown by the dotted line in FIG. 15B, the edge portion of the card 4 in the photographed image of the card 4 is extracted, and position correction such as angle adjustment of the edge portion is performed as necessary. Then, the code area information 302 corresponding to the ticket type code 202 (301) is acquired from the collation data 300, and the area where the ticket type code 41 is formed in the card 4 is extracted using the position of the edge portion and the code area information 302. Then, this is acquired as an image of the ticket type code 41.

次に、照合装置20のコンピュータ23は、券種コード41の画像から判別式データ400を用いた文字認識を行い、その券種コード41を読取る(S4)。   Next, the computer 23 of the collation device 20 performs character recognition using the discriminant data 400 from the image of the ticket type code 41, and reads the ticket type code 41 (S4).

S4では、券種コード41の画像を二値化して図15(c)に示すように文字部分の抽出を行う。図15(c)の例では、画像を二値化した際の低輝度部分として文字部分が抽出されている。次に、抽出したそれぞれの文字部分について、判別に必要な特徴量を算出する。そして、算出した特徴量と機械学習から得た前記の判別式データ400を用いて、各文字部分が示す文字を判別し、券種コード41の読取を行う。   In S4, the image of the ticket type code 41 is binarized, and the character portion is extracted as shown in FIG. 15 (c). In the example of FIG. 15C, the text portion is extracted as the low luminance portion when the image is binarized. Next, for each of the extracted character parts, feature amounts necessary for discrimination are calculated. Then, using the calculated feature amount and the above-described discriminant data 400 obtained from machine learning, the character indicated by each character portion is determined, and the ticket type code 41 is read.

例えば前記した「1」の文字の例(図10参照)では、文字部分について第1の特徴量の値xと第2の特徴量の値yを算出し、それらが前記した判別式f(x,y)<Zの関係を満たせば、その文字部分を「1」の文字と判別できる。   For example, in the example of the character “1” described above (see FIG. 10), the value x of the first feature amount and the value y of the second feature amount are calculated for the character portion, and the discriminant equation f (x , y) <Z, the character portion can be determined as the character "1".

次に、照合装置20のコンピュータ23は、前記のS1でカード発行機1の制御装置50から受信した正の券種コード202に対応する見逃しリスクコードが有るか否かを判定する(S5)。   Next, the computer 23 of the collation device 20 determines whether or not there is a missed risk code corresponding to the positive ticket type code 202 received from the control device 50 of the card issuing machine 1 in S1 (S5).

S5では、照合データ300を参照し、正の券種コード202(301)に紐付く見逃しリスクコードの有無304を取得する。そして、見逃しリスクコードの有無304が「有」、すなわちコード群100の中に、正の券種コード202(301)の誤読コード303と一致するものが有る場合は(S5;YES)、見逃しリスクが有ると判定する。   In S5, with reference to the verification data 300, the presence / absence 304 of the missed risk code linked to the positive ticket type code 202 (301) is acquired. Then, if the presence or absence 304 of the missed risk code is "present", that is, if there is a code group 100 that matches the misreading code 303 of the positive ticket type code 202 (301) (S5; YES), the missed risk It is determined that there is a

つまり、この場合では、図11(b)のカード4’の例で説明したように、カードに形成された正の券種コード202でない(誤読コード303である)券種コード41を、誤読によって正の券種コード202と一致していると判定する可能性(見逃しリスク)があると判定し、ディスプレイにその旨を示す警報を表示したりアラーム音を発生するなどの警報出力を行う(S6)。   That is, in this case, as described in the example of the card 4 'in FIG. 11B, the ticket type code 41 (which is the misreading code 303) that is not the correct ticket type code 202 formed on the card is misread It determines that there is a possibility (missing risk) to determine that it matches the correct ticket type code 202, and displays an alarm indicating that on the display or outputs an alarm sound such as generating an alarm sound (S6 ).

これにより、カード4の搬送を一旦停止して目視による照合検査を行うなど、見逃しリスクを回避できる運用を行うように促す。以上の手順により、誤読により生じる見逃しリスクを回避することが可能である。なお、見逃しリスクを回避できる自動検査方法がある場合には、S6で警報を出力する代わりにそのような方法による照合検査に切り替えることも可能である。   As a result, the conveyance of the card 4 is temporarily stopped to perform visual check and inspection, etc., to urge the operation to avoid the risk of missing. By the above-described procedure, it is possible to avoid the risk of missing due to misreading. If there is an automatic inspection method that can avoid the risk of missing, it is possible to switch to a verification inspection by such a method instead of outputting an alarm in S6.

一方、照合装置20のコンピュータ23は、見逃しリスクコードの有無304が「無」、すなわちコード群100の中に正の券種コード202(301)の誤読コード303と一致するものが無い場合(S5;NO)、見逃しリスクが無いと判定し、S4で読取った券種コードと正の券種コード202を比較してこれらが一致するか否か判定する(S7)。   On the other hand, the computer 23 of the collation device 20 has a case where the presence or absence 304 of the missed risk code is "absent", that is, there is no code group 100 that matches the misreading code 303 of the positive note type code 202 (301) (S5). NO), it is determined that there is no risk of missing, and the denomination code read in S4 is compared with the positive denomination code 202 to determine whether they match (S7).

照合装置20のコンピュータ23は、S4で読取った券種コードが正の券種コード202と一致する場合(S7;YES)、照合検査の結果を合格とし、その旨をディスプレイに表示するなどして処理を終了する(S8)。   If the ticket type code read in S4 matches the right ticket type code 202 (S7; YES), the computer 23 of the verification device 20 determines that the result of the verification inspection is a pass, and displays that effect on the display, etc. The process ends (S8).

一方、S4で読取った券種コードが正の券種コード202と一致しない場合(S7;NO)、照合装置20のコンピュータ23は照合データ300を参照し、S4で読取った券種コードが正の券種コード202(301)の誤読コード303に一致するか否かを判定する(S9)。   On the other hand, if the ticket type code read in S4 does not match the correct ticket type code 202 (S7; NO), the computer 23 of the verification device 20 refers to the verification data 300 and the ticket type code read in S4 is positive. It is determined whether it matches the misreading code 303 of the ticket type code 202 (301) (S9).

S4で読取った券種コードが誤読コード303に一致する場合(S9;YES)、照合装置20のコンピュータ23は券種コードの誤読を許容する。すなわち、券種コードの誤読が発生しているがカード4の券種コード41自体は正しく形成されているとして照合検査の結果を合格とし、その旨をディスプレイに表示するなどして処理を終了する(S8)。これは、S4で読取った券種コードが誤読コード303に一致する場合は、正の券種コードを誤読した場合、または誤読コード303に該当する券種コードを正しく読取った場合の2つに分けられるが、誤読コード303に該当する券種コードが存在しないこと(見逃しリスクコードが存在しないこと)がS5において既に判明していることから、正の券種コードを誤読したことが断定できるためである。これにより、誤読の結果生じる誤検出による生産性の低下を防止することができる。   If the ticket type code read in S4 matches the misreading code 303 (S9; YES), the computer 23 of the verification device 20 permits misreading of the ticket type code. In other words, misreading of the ticket type code has occurred, but the ticket type code 41 of the card 4 itself is correctly formed, and the result of the collation inspection is accepted, and the processing is displayed by displaying that effect on the display, etc. (S8). This is divided into two cases: when the pass code code read in S4 matches the misreading code 303, the correct pass code code is misread, or the pass code corresponding to the misreading code 303 is correctly read. However, since it is already known in S5 that there is no denomination code corresponding to the misreading code 303 (no missing risk code), it can be concluded that the correct denomination code has been misread. is there. As a result, it is possible to prevent a decrease in productivity due to false detection resulting from false reading.

S4で読取った券種コードが誤読コード303に一致しない場合(S9;NO)、照合装置20のコンピュータ23は照合検査の結果を不合格とし、ディスプレイにその旨を示す警報を表示したりアラーム音を発生するなど警報出力を行い(S6)、カード4の搬送を一旦停止して目視による再検査を促すなどして処理を終了する。   If the ticket type code read in S4 does not match the misreading code 303 (S9; NO), the computer 23 of the collation device 20 rejects the result of the collation inspection and displays an alarm indicating that on the display or an alarm sound Is issued (S6), the conveyance of the card 4 is temporarily stopped, visual reexamination is prompted, and the processing is terminated.

券種コード41の読取結果や照合結果はコンピュータ23の記憶部232等に記録され、カード発行機1のディスプレイなどでも表示される。カード発行機1のディスプレイには、上記に加え、カード4の撮影画像や券種コード41の画像等も表示でき、上記のS6において目視検査のためにディスプレイに表示させたり、上記のS8において検査結果(カード4の券種コード41が「合格」であること)の目視による二次的な確認のためにディスプレイに表示させたりして照合検査の補助に用いることができる。照合検査を行った後のカード4はカード情報記録装置30に送られ、発行データ200のカード情報203を記録部42に書込む流れとなる。   The reading result and the collation result of the ticket type code 41 are recorded in the storage unit 232 or the like of the computer 23, and are also displayed on the display of the card issuing machine 1 or the like. In addition to the above, the captured image of the card 4 and the image of the ticket type code 41 can be displayed on the display of the card issuing machine 1 and displayed on the display for visual inspection at S6 above or inspected at S8 above It can be displayed on a display for secondary confirmation by visual observation of the result (the pass type code 41 of the card 4 is “pass”), and can be used as an aid for the collation inspection. The card 4 after the collation check is sent to the card information recording device 30, and the card information 203 of the issuance data 200 is written in the recording unit 42.

以上説明したように、本実施形態によれば、誤読する可能性のある文字の組合せをあらかじめ設定し、券種コード301の文字を当該組合せによって置き換えたコードを、誤読コード303として作成する。そして、誤読コード303と一致するコードが前記のコード群100の中に有るか否かを判定し、一致するものが有れば見逃しリスクが有るとし、一致するものが無ければ見逃しリスクが無いとすることができる。こうして作成した誤読コード303や上記の判定結果(見逃しリスクコードの有無304)に応じた運用を行うことで、照合検査において誤読によるトラブルを回避することができる。   As described above, according to the present embodiment, a combination of characters that may be misread is set in advance, and a code in which the characters of the ticket type code 301 are replaced by the combination is created as the misreading code 303. Then, it is determined whether or not there is a code in the code group 100 that matches the misreading code 303, and if there is a match, there is a risk of missing, and if there is no match, there is no risk of missing. can do. By performing the operation according to the misreading code 303 thus created and the above judgment result (presence or absence of the missing risk code 304), it is possible to avoid the trouble due to the misreading in the collation inspection.

特に本実施形態では、コード群100の中に正の券種コード202(301)の誤読コード303と一致するものが有る場合に見逃しリスクが有ると判定し、見逃しリスクを回避する運用を行うことができる。具体的には、例えば警報を出力し、目視検査などを行うように促すことができる。一方、見逃しリスクが無い場合には、券種コード41の読取結果が誤読コード303と一致する場合に誤読を許容して誤検出によるトラブルを抑制し、生産性を向上させることができる。   In particular, in the present embodiment, when there is a code group 100 that matches the misreading code 303 of the positive note type code 202 (301), it is determined that there is a risk of missing and the operation of avoiding the missing risk is performed. Can. Specifically, for example, an alarm can be output to prompt visual inspection or the like. On the other hand, when there is no missing risk, when the reading result of the ticket type code 41 matches the misreading code 303, misreading is permitted, the trouble by misdetection can be suppressed, and productivity can be improved.

このように、情報処理装置3によって作成した誤読コード303や見逃しリスクコードの有無304をカード4の券種コード41の照合検査に用いることで、カード発行の分野において誤読によるトラブルを防ぐことができる。   As described above, by using the misreading code 303 created by the information processing device 3 and the presence / absence of the missing risk code 304 for the matching inspection of the card type code 41 of the card 4, trouble due to misreading can be prevented in the field of card issuance. .

しかしながら、本発明はこれに限ることはない。例えば、本実施形態の照合装置20はカード4に形成された券種コード41の照合検査を行っているが、検査対象は券種コード41に限ることはなく、文字列によるコードであれば特に限定されない。例えばカード4に漢字等で形成されたカード4の保有者の氏名を同様の方法で照合することも可能である。また、カード4以外の対象物に形成されたコードの照合検査も、同様の方法で行うことが可能である。   However, the present invention is not limited to this. For example, although the collation device 20 of the present embodiment carries out the collation inspection of the ticket type code 41 formed on the card 4, the inspection target is not limited to the ticket type code 41, and in particular the code by the character string It is not limited. For example, it is also possible to check the name of the holder of the card 4 formed of kanji or the like on the card 4 in the same manner. Moreover, the collation inspection of the code | cord formed in objects other than the card | curd 4 can also be performed by the same method.

その他、例えば図14のS5の判定で見逃しリスクコードの有無304が「有」の場合(S5;YES)に、正の券種コード202(301)に対応するコード領域情報302と、見逃しリスクコードに該当する別の券種コード301のコード領域情報302を比較し、これらが一致していなければ見逃しリスクが無いと判定し、S7以降の処理に進むことも可能である。   In addition, for example, when the presence / absence 304 of the missed risk code in the determination of S5 of FIG. 14 is “present” (S5; YES), the code area information 302 corresponding to the positive ticket type code 202 (301) and the missed risk code It is also possible to compare the code area information 302 of the different ticket type codes 301 corresponding to and determine that there is no risk of missing if they do not match, and proceed to the processing after S7.

また、誤読する可能性のある文字の組合せを、その誤読の可能性の高さに応じて分類し、分類結果を情報処理装置3に入力することで、図12で説明した誤読コード303の作成や見逃しリスクコードの有無の判定と併せて、誤読コード303ごとの誤読の危険度(誤読が生じる可能性の度合い)を作成し、照合データ300として記録してもよい。例えば図13の例において、「0」と「D」の誤読の可能性が高い場合、その組合せによって券種コード「0123456」の文字を置き換えた誤読コード「D123456」については、誤読の危険度が高いとする。   Further, the combination of characters having the possibility of misreading is classified according to the degree of possibility of the misreading, and the classification result is input to the information processing apparatus 3 to create the misreading code 303 described in FIG. In addition to the determination of the presence or absence of the oversight risk code, the risk of misreading (the degree of possibility of misreading) for each misreading code 303 may be created and recorded as the verification data 300. For example, in the example of FIG. 13, when the possibility of misreading "0" and "D" is high, the risk of misreading is about misreading code "D123456" in which the characters of the ticket type code "0123456" are replaced by the combination. Suppose that it is high.

この場合、危険度をディスプレイに表示する他、危険度に応じた照合検査の運用が可能になる。例えば図14のS5の判定で見逃しリスクコードの有無304が「有」の場合(S5;YES)に誤読コード303の危険度による判定を行い、危険度が所定値より低ければS7以降の処理に移行する、といった処理が可能である。その他、図14のS5の判定で見逃しリスクコードの有無304が「有」の場合(S5;YES)にS6で行う警報を誤読コード303の危険度に応じて異ならせることもできる。   In this case, in addition to displaying the degree of danger on the display, it becomes possible to operate verification inspection according to the degree of danger. For example, if the presence / absence 304 of the missed risk code in the determination of S5 of FIG. 14 is "present" (S5; YES), the determination based on the risk of misreading code 303 is performed, and if the risk is lower than a predetermined value Processing such as migration is possible. In addition, when the presence / absence 304 of the missed risk code in the determination of S5 in FIG. 14 is "present" (S5; YES), the alarm performed in S6 can be made different according to the degree of danger of the misreading code 303.

また、例えば図16(a)に示すように、誤読する可能性のある文字の組合せ(例えば「0」と「D」)に一致する文字が券種コード301の中に複数ある場合(例えば「0123450」)、当該文字のうち1つを当該組合せによって置き換えたもの(例えば「D123450」と「012345D」)と、2つ以上を当該組合せによって置き換えたもの(例えば「D12345D」)を誤読コード303として作成することが可能であり、後者については前記の危険度を低いとできる。   Also, for example, as shown in FIG. 16A, if there is a plurality of characters matching the combination of characters that may be misread (for example, “0” and “D”) in the ticket type code 301 (for example, “ [0123450]), one in which one of the characters is replaced by the combination (for example, "D123450" and "012345D"), and one in which two or more are replaced by the combination (for example, "D12345D") as the misreading code 303 It is possible to create, and the latter can be said to be low.

同様に、図16(b)に示すように、誤読する可能性のある文字の組合せが複数あり(例えば「0」と「D」、「4」と「A」)、それらの組合せに一致する文字が券種コード301の中に複数ある場合(例えば「0123456」)、券種コードの文字を1つの組合せによって置き換えたもの(例えば「D123456」と「0123A56」)のほか、2つ以上の文字を各組合せによって置き換えたもの(例えば「D123A56」)を誤読コード303として作成することができ、後者については前記の危険度を低いとできる。   Similarly, as shown in FIG. 16B, there are a plurality of combinations of characters that may be misread (for example, “0” and “D”, “4” and “A”), which match the combinations When there are a plurality of characters in the ticket type code 301 (for example, “0123456”), characters of the ticket type code are replaced by one combination (for example, “D123456” and “0123A56”), and two or more characters Can be created as the misreading code 303, and the above-mentioned risk can be made low for the latter.

さらに、本実施形態では機械学習から得た判別式を用いて文字認識を行っているが、通常のテンプレートマッチングによるOCRによって文字を読取ることも可能である。   Furthermore, although character recognition is performed using a discriminant obtained from machine learning in the present embodiment, it is also possible to read characters by OCR using normal template matching.

以上、添付図面を参照して、本発明の好適な実施形態について説明したが、本発明は係る例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It is apparent that those skilled in the art can conceive of various modifications or alterations within the scope of the technical idea disclosed in the present application, and of course these also fall within the technical scope of the present invention. It is understood.

1:カード発行機
3:情報処理装置
4、4':カード
5:カード発行システム
10:カード供給装置
20:照合装置
21:カメラ
22:照明
23:コンピュータ
30:カード情報記録装置
37:誤読コード作成部
38:判定部
39:判別式データ作成部
40:カード排出装置
41、202、301:券種コード
42:記録部
43:サインパネル
50:制御装置
100:コード群
200:発行データ
201:発行番号
203:カード情報
300:照合データ
302:コード領域情報
303:誤読コード
304:見逃しリスクコードの有無
400:判別式データ
1: Card issuing device 3: Information processing device 4, 4 ': Card 5: Card issuing system 10: Card supply device 20: Verification device 21: Camera 22: Lighting 23: Computer 30: Card information recording device 37: Misreading code creation Unit 38: Judgment unit 39: Discriminant data creation unit 40: Card ejection device 41, 202, 301: Ticket type code 42: Recording unit 43: Sign panel 50: Control device 100: Code group 200: Issue data 201: Issue number 203: card information 300: collation data 302: code area information 303: misreading code 304: presence or absence of missed risk code 400: discriminant data

Claims (7)

対象物の照合検査に用いる照合用のコードの文字を、コンピュータによる読取りを行う際に誤読する可能性があるとして設定された文字の組合せによって置き換えた誤読コードを作成する誤読コード作成部と、
照合用のコードとして使用されているコードの一覧であるコード群の中に、前記誤読コードと一致するものが有るか否かを判定する判定部と、
を有することを特徴とする情報処理装置。
A misreading code creation unit for creating a misreading code in which characters of a code for verification used for verification inspection of an object are replaced by a combination of characters set as having a possibility of misreading when reading by a computer;
A determination unit that determines whether or not there is a code group that is a list of codes used as a code for verification that matches the misreading code;
An information processing apparatus comprising:
前記対象物はカードであることを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the object is a card. 前記コードは、前記カードの仕様を識別するための券種コードであることを特徴とする請求項2記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the code is a ticket type code for identifying a specification of the card. 前記誤読コードについて誤読の危険度の作成を行うことを特徴とする請求項1から請求項3のいずれかに記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 3, wherein the risk of misreading is created for the misreading code. 請求項1から請求項4のいずれかに記載の情報処理装置により作成した誤読コード、および前記情報処理装置により前記コード群の中に前記誤読コードと一致するものが有るか否かを判定した判定結果を用いて、対象物の照合検査を行う照合装置であって、
コードが形成された対象物を撮影する撮影部と、
前記撮影部によって前記対象物を撮影した撮影画像から前記コードを読取り、読取った前記コードを正のコードと比較して照合検査を行うコンピュータと、
を有し、
前記コンピュータは、
前記コード群の中に前記正のコードの前記誤読コードと一致するものが有る場合、前記対象物に形成された前記正のコードでないコードを前記正のコードと一致しているとする可能性があると判定し、
前記コード群の中に前記正のコードの前記誤読コードと一致するものが無く、且つ、前記対象物のコードの読取結果が前記正のコードの前記誤読コードに一致する場合、照合検査の結果を合格と判定する
ことを特徴とする照合装置。
A misinterpretation code created by the information processing apparatus according to any one of claims 1 to 4 and a determination made by the information processing apparatus whether or not there is any code group that matches the misinterpretation code A verification apparatus that performs verification inspection of an object using a result,
A photographing unit for photographing an object on which a code is formed;
A computer which reads the code from a photographed image obtained by photographing the object by the photographing unit and compares the read code with a positive code to perform a collation inspection;
Have
The computer is
When there is a code group that matches the false reading code of the positive code, there is a possibility that the non-positive code formed on the object matches the positive code. Determined that there is
If none of the code group matches the false reading code of the positive code and the reading result of the code of the object matches the false reading code of the positive code, the result of the collation check is A verification apparatus characterized by judging it as a pass.
前記コンピュータは、
前記コード群の中に前記正のコードの前記誤読コードと一致するものが有る場合、警報を出力することを特徴とする請求項5記載の照合装置。
The computer is
6. The collation device according to claim 5, wherein an alarm is output when there is a code group that matches the misreading code of the positive code.
カードを対象物としてその照合検査を行う請求項5または請求項6に記載の照合装置と、
カード情報を前記カードに書込むカード情報記録装置と、
を有することを特徴とするカード発行機。
7. The collation device according to claim 5, wherein the collation inspection is performed on a card as an object.
A card information recording device for writing card information to the card;
A card issuing machine characterized by having.
JP2017074169A 2017-04-04 2017-04-04 Information processing equipment, collation equipment, card issuing machine Active JP6880947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017074169A JP6880947B2 (en) 2017-04-04 2017-04-04 Information processing equipment, collation equipment, card issuing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017074169A JP6880947B2 (en) 2017-04-04 2017-04-04 Information processing equipment, collation equipment, card issuing machine

Publications (2)

Publication Number Publication Date
JP2018180611A true JP2018180611A (en) 2018-11-15
JP6880947B2 JP6880947B2 (en) 2021-06-02

Family

ID=64276689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017074169A Active JP6880947B2 (en) 2017-04-04 2017-04-04 Information processing equipment, collation equipment, card issuing machine

Country Status (1)

Country Link
JP (1) JP6880947B2 (en)

Also Published As

Publication number Publication date
JP6880947B2 (en) 2021-06-02

Similar Documents

Publication Publication Date Title
US20210152707A1 (en) Apparatus and methods for computerized authentication of electronic documents
US11087125B2 (en) Document authenticity determination
US10706531B2 (en) Electronic device and method for checking dispensing of glue in relation to circuit board
JP5133348B2 (en) Paper sheet processing equipment
US9836665B2 (en) Management system, list production device, method, computer readable recording medium, data structure, and printed label
WO2013140563A1 (en) System for reading paper sheet serial number, and method for reading paper sheet serial number
CN104077584B (en) Image review systems and image checking method
JP6957300B2 (en) Image processing device and image processing method
CN105321255B (en) Sheet paper identification device, bill handling device and paper recognition methods
JP2015180981A (en) Device for detecting loading state and method for detecting loading state of bundled paper
JP6880947B2 (en) Information processing equipment, collation equipment, card issuing machine
JP7338135B2 (en) Recognition processing device and program
US10413484B2 (en) Printing device, method for printing, and non-transitory computer readable medium storing program causing computer to execute process for printing
EP3379500A1 (en) Data acquisition device, printing device, authenticity determination device, method, and program
JP2018163474A (en) Collation device, and card issuing machine
US20090067905A1 (en) Document management system and method
WO2007008040A1 (en) Apparatus for detecting counterfeit identification card and method thereof
US20100278544A1 (en) System and method for ensuring that only a specific toner is used for printing a document
US20200242390A1 (en) Information processing apparatus and non-transitory computer readable medium storing program
JP2017017621A (en) Print processing method and print processing apparatus
JP4872930B2 (en) Character recognition device, fuel pump module assembling device equipped with such device, and character recognition method
JPH0773267A (en) Method and apparatus for discrimination and correction of error
CN117475453B (en) Document detection method and device based on OCR and electronic equipment
JP3663655B2 (en) Card issuing system
CN114651290A (en) Device and method for processing value documents, in particular banknotes, and value document processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210324

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: 20210406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210419

R150 Certificate of patent or registration of utility model

Ref document number: 6880947

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150