JP2018163474A - Collation device, and card issuing machine - Google Patents

Collation device, and card issuing machine Download PDF

Info

Publication number
JP2018163474A
JP2018163474A JP2017059629A JP2017059629A JP2018163474A JP 2018163474 A JP2018163474 A JP 2018163474A JP 2017059629 A JP2017059629 A JP 2017059629A JP 2017059629 A JP2017059629 A JP 2017059629A JP 2018163474 A JP2018163474 A JP 2018163474A
Authority
JP
Japan
Prior art keywords
code
card
ticket type
type code
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017059629A
Other languages
Japanese (ja)
Inventor
健司 安部
Kenji Abe
健司 安部
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 JP2017059629A priority Critical patent/JP2018163474A/en
Publication of JP2018163474A publication Critical patent/JP2018163474A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a collation device capable of suitably preventing a code from being erroneously read, and a card issuing machine or the like having the collation device.SOLUTION: The collation device is provided in the card issuing machine, and includes a camera for photographing a card with a ticket type code formed, a lighting device, and a computer. The computer calculates a feature amount of a character part of the ticket type code in a photographic image obtained by photographing the card with the camera, reads the ticket type code by using discriminant data obtained by machine learning to discriminate the character of the ticket type code by the feature amount, and compares the read ticket type code with a right ticket type code.SELECTED DRAWING: Figure 12

Description

本発明は、カード等の照合検査を行う照合装置、および照合装置を有するカード発行機に関する。   The present invention relates to a collation device that performs collation inspection of a card and the like, and a card issuing machine having the collation device.

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

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

特許第4202681号Patent No. 4202681

しかしながら、従来の文字認識技術を用いた照合検査では、印刷された券種コードの品質のばらつき等の影響によって、文字の読み誤り(以下、誤読と呼ぶ)が発生する問題があった。誤読が発生すると、カードに印刷された券種コードが正の券種コードと本来一致しているのに一致していないと判定する問題(以下、誤検出と呼ぶ)や、カードに印刷された券種コードが正の券種コードと本来一致していないのに一致していると判定する問題(以下、見逃しと呼ぶ)が発生する。   However, in the collation inspection using the conventional character recognition technology, there is 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 bill type code. When misreading occurs, the ticket type code printed on the card originally matches the positive ticket type code but does not match (hereinafter referred to as false detection), or printed on the card There arises a problem (hereinafter, referred to as “missing”) in which the ticket type code is not matched with the positive ticket type code but is matched.

誤検出については、カード発行を一旦停止して目視による再検査をすることが多く、カードに正しく券種コードが印刷されているにも関わらず、カード発行の停止時間が増加して生産性が低下する問題がある。見逃しについては不良品が流出するリスクがあり、致命的な問題となる。   For false detection, card issuance is often temporarily stopped and re-inspection is performed visually. Even though 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 decreases. There is a risk that defective products will be leaked, and this will be a fatal problem.

その他、従来の文字認識技術を用いた照合検査は運用上の負荷が大きいという問題もある。すなわち、カード発行の分野では、券種コードのフォント(書体)、サイズ、縦横比などの書式や券種コードの背景についての組合せが膨大であるため、その書式や背景によって文字を分類して良品画像を登録する作業(以下、辞書登録と呼ぶ)が必要であり、運用上の負荷が極めて大きい。   In addition, the collation inspection using the conventional character recognition technology has a problem that the operational load is large. In other words, in the field of card issuance, there are an enormous number of combinations of font typeface fonts (typeface), size, aspect ratio, etc., and the background of the ticket type code. An operation for registering images (hereinafter referred to as dictionary registration) is necessary, and the operational load is extremely large.

本発明は上記の問題に鑑みてなされたものであり、コードの誤読を好適に防止できる照合装置、およびこの照合装置を有するカード発行機等を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a collation device that can suitably prevent misreading of a code, a card issuing machine having the collation device, and the like.

前述した課題を解決するための第1の発明は、コードが形成された対象物を撮影する撮影部と、コンピュータと、を有し、前記コンピュータは、前記撮影部によって前記対象物を撮影した撮影画像から前記コードの文字部分の特徴量を算出し、前記特徴量によって前記コードの文字を判別するための、機械学習によって得た判別式を用いて前記コードを読取り、読取った前記コードを正のコードと比較することを特徴とする照合装置である。   1st invention for solving the subject mentioned above has the imaging | photography part which image | photographs the target object in which the code | cord was formed, and the computer, The said imaging | photography which image | photographed the said target object by the said imaging | photography part A feature amount of a character portion of the code is calculated from an image, the code is read using a discriminant obtained by machine learning for determining the character of the code by the feature amount, and the read code is positive It is a collation device characterized by comparing with a code.

本発明では、照合検査での文字認識に機械学習を取り入れることにより、対象物に形成されたコードの品質のばらつき等の影響を抑え、柔軟且つ人による判断に近いレベルでそのコードを読取ることができ、従来よりも誤読を抑制した照合装置を提供することが可能である。誤読の抑制により、誤検出による生産性の低下を防ぐことができ、見逃しにより不良品が流出するリスクも低減可能である。また、機械学習により認識性能を向上させることで様々な書式、背景等に対して共通の文字の判別式を設定することが可能であり、これによりコードの書式や背景によって文字を分類して辞書登録を行う必要がなくなるため、運用負荷を軽減することができる。   In the present invention, by incorporating machine learning for character recognition in collation inspection, it is possible to suppress the influence of variations in the quality of the code formed on the object, and to read the code at a level that is flexible and close to human judgment. In addition, it is possible to provide a collation apparatus that suppresses misreading as compared with the conventional technique. By suppressing misreading, it is possible to prevent a decrease in productivity due to erroneous detection, and it is also possible to reduce the risk of defective products leaking due to oversight. In addition, it is possible to set common character discriminants for various formats, backgrounds, etc. by improving recognition performance through machine learning. Since it is not necessary to register, the operational load can be reduced.

前記対象物は例えばカードであり、前記コードは例えば前記カードの仕様を識別するための券種コードである。
本発明の照合装置は、前記したカードの券種コード等の照合に用いることで、カード発行の分野における誤読を抑制し、且つ運用負荷を軽減することができる。
The object is, for example, a card, and the code is, for example, a ticket type code for identifying the specifications of the card.
The verification device of the present invention can be used for verification of the above-mentioned card type code and the like, thereby suppressing misreading in the field of card issuance and reducing the operational load.

前記判別式は、文字の書式に関わらず前記文字を判別するものであることが望ましい。また文字の背景に関わらず前記文字を判別するものであることも望ましい。
前記したように、本発明では様々な書式、背景の文字に対して機械学習を行って判別式を得ることで、文字の書式や背景に関わらず、文字の判別を行うことができる。
The discriminant is preferably one that discriminates the character regardless of the character format. It is also desirable to discriminate the character regardless of the character background.
As described above, according to the present invention, it is possible to discriminate characters regardless of the character format or background by performing machine learning on characters in various formats and backgrounds to obtain discriminants.

前記コンピュータは、前記コードの文字部分の特徴量を算出する際、前記撮影画像における前記対象物のエッジ部分を抽出し、前記エッジ部分と、前記対象物上で前記コードが形成される領域を示すコード領域情報とを用いて、前記対象物において前記コードが形成された領域を抽出することが望ましい。
これにより、カードの撮影画像からコードの画像を好適に抽出し、その文字部分の特徴量を適切に算出することができる。
When calculating the feature amount of the character portion of the code, the computer extracts an edge portion of the object in the captured image, and indicates the edge portion and a region where the code is formed on the object It is desirable to extract a region where the code is formed in the object using the code region information.
Thereby, it is possible to appropriately extract the code image from the photographed image of the card and appropriately calculate the feature amount of the character portion.

第2の発明は、第1の発明の照合装置と、カード情報をカードに書込むカード情報記録装置と、を有することを特徴とするカード発行機である。   According to a second aspect of the present invention, there is provided a card issuing machine comprising: the collating device according to the first aspect of the present invention; and a card information recording device for writing card information to a card.

本発明により、コードの誤読を好適に防止できる照合装置、およびこの照合装置を有するカード発行機等を提供することができる。   According to the present invention, it is possible to provide a collation device that can suitably prevent misreading of a code, a card issuing machine having the collation device, and the like.

カード発行システム100を示す図。1 is a diagram illustrating a card issuing system 100. FIG. カード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. 制御装置50のハードウェア構成を示す図。The figure which shows the hardware constitutions of the control apparatus 50. 照合装置20の概略を示す図。The figure which shows the outline of the collation apparatus 20. FIG. コンピュータ23のハードウェア構成を示す図。The figure which shows the hardware constitutions of the computer 23. 発行データ200と照合データ300を示す図。The figure which shows the issuance data 200 and the collation data 300. FIG. コード領域情報302について説明する図。The figure explaining the code area information 302. FIG. 判別式データ400について説明する図。The figure explaining the discriminant data 400. FIG. 券種コードの誤検出と見逃しの発生について説明する図。The figure explaining generation | occurrence | production of the misdetection of a ticket type code and oversight. 誤読コード303と見逃しリスクコードについて説明する図。The figure explaining the misread code 303 and the miss risk code. 照合検査の流れについて示すフローチャート。The flowchart shown about the flow of a collation inspection. 券種コード41の読取について説明する図。The figure explaining reading of ticket kind code 41.

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

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

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

情報処理装置3は、カード(対象物)の照合検査に必要なデータの作成等を行うものであり、本実施形態では後述する判別式データや誤読コードの作成、見逃しリスクコードの有無の判定等を行う。情報処理装置3には、例えば制御部、記憶部、入力部、表示部、通信制御部等をバスにより接続して構成されたコンピュータを用いることができる。   The information processing apparatus 3 creates data necessary for a verification check of a card (target object). In this embodiment, creation of discriminant data and a misread code described later, determination of presence / absence of a missed risk code, and the like I do. As the information processing apparatus 3, for example, a computer configured by connecting a control unit, a storage unit, an input unit, a display unit, a communication control unit, and the like through a bus can be used.

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

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

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

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

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

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

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

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

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

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

図4は制御装置50のハードウェア構成を示す図である。図4に示すように、制御装置50は、例えば制御部51、記憶部52、入力部53、通信制御部54等をバス55により接続して構成したコンピュータにより実現できる。但しこれに限ることなく、適宜様々な構成をとることができる。   FIG. 4 is a diagram illustrating a hardware configuration of the control device 50. As shown in FIG. 4, 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 through a bus 55. However, the present invention is not limited to this, and various configurations can be taken as appropriate.

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

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

入力部53は制御装置50に各種の設定入力を行うものである。
通信制御部54はネットワーク等を介した通信を媒介する通信インタフェースであり、照合装置20のコンピュータ等との間で通信を行う。
バス55は、制御装置50の各部間の制御信号、データ信号等の授受を媒介する経路である。
The input unit 53 inputs various settings to the control device 50.
The communication control unit 54 is a communication interface that mediates communication via a network or the like, and performs communication with the computer or the like of the verification device 20.
The bus 55 is a path that mediates transmission / reception of control signals, data signals, and the like between the units of the control device 50.

(4.照合装置20)
図5は照合装置20の概略を示す図である。図5に示すように、照合装置20は、カメラ21、照明22、コンピュータ23等を有する。
(4. Verification device 20)
FIG. 5 is a diagram showing an outline of the collation device 20. As shown in FIG. 5, the collation 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 that photographs the card 4 conveyed immediately below, for example, a CCD (Charge
A Coupled Device) camera or the like is used, but is not limited thereto.

照明22は、直下に搬送されたカード4に照明光を照射するものである。本実施形態では、ラメ(光沢)のあるカード4等についても検査精度を向上させるためドーム型照明を用いている。ドーム型照明の頂部には開口221があり、カメラ21によるカード4の撮影はこの開口221から行っている。しかしながら、照明22がこれに限ることはない。   The illumination 22 irradiates the card 4 conveyed directly below with illumination light. In this embodiment, the dome-shaped illumination is used to improve the inspection accuracy for the card 4 having a glitter (gloss). An opening 221 is provided at the top of the dome-shaped illumination, and the card 4 is photographed by the camera 21 from the 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 verification inspection in the verification device 20. When the card 4 is conveyed to a position directly below the camera 21, the computer 23 outputs a trigger signal to the camera 21 to photograph the card 4 and obtains a photographed image of the card 4 from the camera 21. Then, the ticket type code 41 is read from the photographed image to determine whether or not it is appropriate.

図6はコンピュータ23のハードウェア構成を示す図である。図6に示すように、コンピュータ23は、例えば制御部231、記憶部232、入力部233、通信制御部234等をバス235により接続して構成される。但しこれに限ることなく、適宜様々な構成をとることができる。   FIG. 6 is a diagram illustrating a hardware configuration of the computer 23. As shown in FIG. 6, 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 through a bus 235. However, the present invention is not limited to this, and various configurations can be taken as appropriate.

制御部231、記憶部232、入力部233、通信制御部234、バス235は前記した制御部51、記憶部52、入力部53、通信制御部54、バス55と略同様である。また記憶部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 51, the storage unit 52, the input unit 53, the communication control unit 54, and the bus 55 described above. The storage unit 232 stores collation data 300 and discriminant data 400 described later.

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

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

券種コード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 ticket type code to be compared with the result of reading the ticket type code 41 of the card 4.

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

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

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

コード領域情報302は、カード4上で券種コード301(41)が形成される領域を示す。この領域は、例えば図8の点線で示すようにカード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 expressed by using 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, for example, as shown by the dotted lines in FIG. In the code area information 302, the area of each character portion of the ticket type code 301 (41) can be determined as necessary.

誤読コード303は、券種コード301に対して誤読する可能性のあるコードである。誤読コード303は、券種コード301の文字を、当該文字と誤読する可能性のある別の文字で置き換えたコードであるが、これについては後述する。   The misreading code 303 is a code that may be misread with respect to the ticket 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 be misread as the character. This will be described later.

見逃しリスクコードの有無304は、券種コード301に対し、誤読による見逃しが発生する可能性のあるコード(見逃しリスクコード)が有るか無いかを記録したものである。見逃しリスクコードは、データベース等に記録された所定のコード群のうち、誤読コード303と一致するものであるが、その詳細については後述する。   The presence / absence of missing risk code 304 is a record of whether or not there is a code (missing risk code) that may be missed due to misreading in the ticket type code 301. The missed risk code corresponds to the misread code 303 in a predetermined code group recorded in the database or the like, and details thereof will be described later.

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

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

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

図9において境界線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. 9, the image group at the lower right of the boundary line a is an image L of a character “1”, and the image group at the upper left of the boundary line a is an image L of a character that is not “1”. Therefore, if the expression of the boundary line a is expressed by f (x, y) = Z with Z as a predetermined value, the characteristic values x and y of the character part of the image of a certain character are represented on the left side of the expression of the boundary line a. If f (x, y) <Z when substituting for, it can be determined that the character is “1”. This f (x, y) <Z is a discriminant (discriminant function) for discriminating “1”.

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

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

判別式データ400は、前記したように異なる書式、背景を有する大量の文字の画像から求めることで、文字の書式や背景に関わらずその文字を共通して判別できるものとなる。また、機械学習を用いることで、より多くの情報から文字の規則性を統計的に求めて精度の良い判別式データ400を作成することができ、券種コード41の品質のばらつき等がある場合でも認識精度の向上が期待でき誤読の防止につながる。   As described above, the discriminant data 400 is obtained from images of a large number of characters having different formats and backgrounds, so that the characters can be commonly determined regardless of the character format and background. In addition, when machine learning is used, the regularity of characters can be statistically obtained from more information to create accurate discriminant data 400, and there is a variation in the quality of the ticket type code 41. However, it can be expected to improve recognition accuracy and prevent misreading.

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

すなわち、照合検査の対象となるカード4の券種コード(例えば「0123456」)に対し、誤読する可能性のある一対の文字の組合せ(例えば「0」と「D」)を設定すると、当該券種コードに対し誤読する可能性のある誤読コードは、当該券種コードを上記の文字の組合せによって置き換えたもの(例えば券種コードの「0」を「D」に置き換えた「D123456」)である。   That is, when a pair of characters (for example, “0” and “D”) that may be misread is set for the ticket type code (for example, “0123456”) of the card 4 to be subjected to the verification check, the ticket A misreading code that may be misread with respect to the seed code is obtained by replacing the ticket type code with a combination of the above characters (for example, “D123456” in which “0” of the ticket type code is replaced with “D”). .

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

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

すなわち、照合検査の対象となるカード4の券種コード(例えば「0123456」)に対し誤読する可能性のある誤読コード(例えば「D123456」)が、図10(b)に示すように実際にカード4’の券種コードとして使用されている場合、カード4の照合検査において、カード4が正しい発行順で供給されなかったケース等、何らかのミスで異なるカード4’の券種コードの読取を行ってしまう可能性がある。   That is, an erroneously read code (for example, “D123456”) that may be erroneously read with respect to the ticket type code (for example, “01123456”) of the card 4 to be subjected to the verification check is actually a card as shown in FIG. If it is used as a 4 'ticket type code, the card 4's card type code may be read due to some mistake such as a case where the card 4 was not supplied in the correct issue order in the verification check of the card 4 There is a possibility.

その場合、図10(b)に示すように誤読が発生すると(「D123456」を「0123456」と誤読すると)、誤って合格と判定されてしまうことがある。このように見逃しが発生すると、カード情報記録装置30によって上記のカード4’に異なるカード4のカード情報が書込まれてしまうため、不良品が流出する致命的な結果となる。このように、誤読コードが実際に使用されている場合には見逃しのリスクが生じる。そこで本実施形態では、実際に使用されている券種コードのうち誤読コードと一致するものを見逃しリスクコードとする。   In such a case, as shown in FIG. 10B, if misreading occurs (“D123456” is misread as “0123456”), it may be erroneously determined to be acceptable. When such an oversight occurs, the card information recording device 30 writes the card information of the different card 4 on the card 4 ', resulting in a fatal result of defective products flowing out. In this way, there is a risk of overlooking when a misread code is actually used. Therefore, in the present embodiment, a risk code that is overlooked in the actually used ticket type code that matches the misread code is used.

本実施形態では、情報処理装置3によって誤読コード303の作成や見逃しリスクコードの有無の判定を行うことができる。すなわち、照合用の券種コード301を情報処理装置3に入力し、誤読する可能性のある一対の文字の組合せを情報処理装置3で1または複数設定すると、情報処理装置3が、図11に示すように、入力された券種コード301について、当該文字の組合せによって券種コード301の文字を置き換えた誤読コード303を作成し、その誤読コード303と一致するコードが所定のコード群の中に存在するか否かを判定する。   In the present embodiment, the information processing apparatus 3 can create the misread code 303 and determine whether there is a missed risk code. That is, when the ticket type code 301 for verification is input to the information processing apparatus 3 and one or more combinations of a pair of characters that may be misread are set in the information processing apparatus 3, the information processing apparatus 3 is displayed in FIG. As shown in the figure, for the entered ticket type code 301, a misread code 303 is created by replacing the characters of the ticket type code 301 with the combination of the characters, and the code that matches the misread code 303 is in a predetermined code group. Determine if it exists.

所定のコード群は例えば券種コードとして使用しているコードの一覧であり、現在までにカードに形成した券種コードを情報処理装置3の記憶部等にデータベースとして記録したものである。情報処理装置3は、このコード群の中に誤読コード303と一致するものが存在する場合にそれを見逃しリスクコードとし、券種コード301に対する見逃しリスクコードが存在すると判定する。   The predetermined code group is, for example, a list of codes that are used as ticket type codes, and the ticket type codes formed on the card up to now are recorded as a database in the storage unit or the like of the information processing device 3. The information processing apparatus 3 determines that there is an overlooked risk code for the ticket type code 301 when there is a code that matches the misread code 303 in the code group and sets it as the overlooked risk code.

こうして作成した誤読コード303や見逃しリスクコードが存在するか否かの判定結果が、上記した照合データ300の誤読コード303および見逃しリスクコードの有無304として記録される。   The determination result as to whether or not there is the misread code 303 and the missed risk code created in this way is recorded as the misread code 303 and the missed risk code presence / absence 304 of the verification data 300 described above.

(8.照合検査)
次に、照合装置20で行う照合検査の流れについて図12等を参照して説明する。図12は照合検査の流れについて示すフローチャートである。図12の各ステップは照合装置20のコンピュータ23が実行する処理である。
(8. Verification check)
Next, the flow of verification inspection performed by the verification device 20 will be described with reference to FIG. FIG. 12 is a flowchart showing the flow of verification inspection. Each step in FIG. 12 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 check of the card 4 is performed, first, the computer 23 of the verification device 20 first issues the ticket number code 202 associated with the issue number 201 and the issue number 201 of the card 4 from the control device 50 of the card issuing machine 1. Is received in advance (S1).

次に、照合装置20のコンピュータ23は、カメラ21を制御してカード4の撮影を行う(S2)。コンピュータ23はカード4の撮影画像をカメラ21から取得する。カード4の撮影画像の例を図13(a)に示す。   Next, the computer 23 of the collation device 20 controls the camera 21 to photograph the card 4 (S2). The computer 23 acquires the captured image of the card 4 from the camera 21. An example of a 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では、図13(b)の点線で示すようにカード4の撮影画像におけるカード4のエッジ部分を抽出し、必要に応じてエッジ部分の角度調整等の位置補正を行う。そして、照合データ300から券種コード202(301)に対応するコード領域情報302を取得し、エッジ部分の位置とコード領域情報302を用いてカード4において券種コード41が形成された領域を抽出し、これを券種コード41の画像として取得する。   In S3, the edge portion of the card 4 in the photographed image of the card 4 is extracted as indicated by the dotted line in FIG. 13B, 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 verification 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. 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の画像を二値化して図13(c)に示すように文字部分の抽出を行う。図13(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. In the example of FIG. 13C, a character portion is extracted as a low luminance portion when the image is binarized. Next, for each extracted character portion, a feature amount necessary for discrimination is calculated. And the character which each character part shows is discriminate | determined using the said discriminant data 400 obtained from the calculated feature-value and machine learning, and the ticket type code 41 is read.

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

次に、照合装置20のコンピュータ23は、前記のS1でカード発行機1の制御装置50から受信した券種コード202に対応する見逃しリスクコードが有るか否かを判定する(S5)。   Next, the computer 23 of the verification device 20 determines whether or not there is an overlooked risk code corresponding to the 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が「有」であれば(S5;YES)、見逃しが発生する可能性があるとし、ディスプレイにその旨を示す警報を表示したりアラーム音を発生するなどの警報出力を行う(S6)。これにより、カード4の搬送を一旦停止し目視による照合検査を行うなど、見逃しリスクを回避できる運用を行うように促す。以上の手順により、誤読を完全に抑制できない場合においても見逃しリスクを回避することが可能である。   In S5, the verification data 300 is referred to, and the presence / absence 304 of the missed risk code associated with the ticket type code 202 (301) is acquired. Then, if the presence / absence of the missed risk code 304 is “present” (S5; YES), it is assumed that there is a possibility of oversight, and an alarm such as displaying an alarm to that effect or generating an alarm sound. Output is performed (S6). This prompts the user to perform an operation that can avoid the risk of oversight, such as temporarily stopping the conveyance of the card 4 and performing a visual check. With the above procedure, it is possible to avoid a risk of missing even when misreading cannot be completely suppressed.

一方、見逃しリスクコードの有無304が「無」の場合(S5;NO)、照合装置20のコンピュータ23は、S4で読取った券種コードと正の券種コード202を比較してこれらが一致するか否か判定する(S7)。   On the other hand, when the presence / absence of the missed risk code 304 is “None” (S5; NO), the computer 23 of the collation device 20 compares the ticket type code read in S4 with the positive ticket type code 202, and these match. Whether or not (S7).

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

一方、S4で読取った券種コードが券種コード202と一致しない場合(S7;NO)、照合装置20のコンピュータ23は照合データ300を参照し、S4で読取った券種コードが上記の券種コード202(301)に紐付く誤読コード303に一致するか否かを判定する(S9)。   On the other hand, when the ticket type code read in S4 does not match the 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 the above-mentioned ticket type code. It is determined whether or not it matches the misread code 303 associated with the code 202 (301) (S9).

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

S4で読取った券種コードが誤読コード303に一致しない場合(S9;NO)、照合装置20のコンピュータ23は照合検査の結果を不合格とし、ディスプレイにその旨を示す警報を表示したりアラーム音を発生するなど警報出力を行い(S6)、カード4の搬送を一旦停止して目視による再検査を促すなどして処理を終了する。   When the ticket type code read in S4 does not match the misread code 303 (S9; NO), the computer 23 of the verification device 20 rejects the result of the verification test 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, the visual inspection is promoted, and the process is terminated.

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

以上説明したように、本実施形態によれば、照合検査での文字認識に機械学習を取り入れることにより、券種コード41の品質のばらつき等の影響を抑え、柔軟且つ人による判断に近いレベルでその券種コード41を読取ることができ、従来よりも誤読を抑制した照合装置20を提供することが可能である。誤読の抑制により、誤検出による生産性の低下を防ぐことができ、見逃しにより不良品が流出するリスクも低減可能である。また、機械学習により認識性能を向上させることで様々な書式、背景等の文字に対して共通の判別式を設定することが可能であり、これにより券種コードの書式や背景によって文字を分類して辞書登録を行う必要がなくなるため、運用負荷を軽減することができる。   As described above, according to the present embodiment, by incorporating machine learning into the character recognition in the collation inspection, the influence of the quality variation of the ticket type code 41 is suppressed, and the level is flexible and close to human judgment. It is possible to provide the collation device 20 that can read the ticket type code 41 and suppress misreading as compared with the related art. By suppressing misreading, it is possible to prevent a decrease in productivity due to erroneous detection, and it is also possible to reduce the risk of defective products leaking due to oversight. In addition, by improving recognition performance through machine learning, it is possible to set a common discriminant for characters in various formats and backgrounds, thereby classifying characters according to the format and background of the ticket type code. This eliminates the need to register the dictionary, thus reducing the operational load.

このように、照合装置20をカード4の券種コード41の照合に用いることで、カード発行の分野における誤読を抑制し、且つ運用負荷を軽減することができる。   In this way, by using the verification device 20 for verification of the ticket type code 41 of the card 4, it is possible to suppress misreading in the field of card issuance and reduce the operational load.

また本実施形態では様々な書式、背景等の文字に対して機械学習を行って判別式データ400を得ることで、文字の書式や背景に関わらず、文字の判別を行うことができる。   Further, in the present embodiment, by performing machine learning on characters of various formats, backgrounds, and the like to obtain the discriminant data 400, it is possible to discriminate characters regardless of the character format or background.

さらに、本実施形態ではコンピュータ23がカード4の撮影画像におけるカード4のエッジ部分を抽出し、そのエッジ部分とコード領域情報302を用いることで、撮影画像において券種コード41が形成された領域を好適に抽出し、その文字部分の特徴量を適切に算出することができる。   Further, in the present embodiment, the computer 23 extracts the edge portion of the card 4 in the photographed image of the card 4 and uses the edge portion and the code region information 302, thereby the region where the ticket type code 41 is formed in the photographed image. It is possible to appropriately extract and appropriately calculate the feature amount of the character portion.

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

また、本実施形態では図12のS5の判定で見逃しリスクコードが無い場合(S5;NO)、券種コードの誤読を一定の条件で許容するが(S9参照)、見逃しリスクコードが無い場合の運用については、照合装置20のコンピュータ23の入力部233等に各種の条件を入力するなどして適宜その設定を行うことができる。例えば図12のS7の判定で券種コードの読取結果が正の券種コード202と一致しなければ(S7;NO)、全て不合格とし警報出力(S6)を行うことも可能であり、この場合は誤読コード303を用いた判定(S9)を省略することが可能である。   Further, in the present embodiment, when there is no missed risk code in the determination of S5 in FIG. 12 (S5; NO), misreading of the ticket type code is allowed under certain conditions (see S9), but there is no missed risk code. The operation can be appropriately set by inputting various conditions to the input unit 233 of the computer 23 of the collation apparatus 20 or the like. For example, if the result of reading the ticket type code does not match the positive ticket type code 202 in the determination of S7 in FIG. 12 (S7; NO), it is possible to make all fail and perform an alarm output (S6). In this case, the determination (S9) using the misread code 303 can be omitted.

さらに、見逃しリスクコードの有無304を用いた判定(S5)と誤読コード303を用いた判定(S9)の両方を省略することも可能である。この場合は、券種コードの読取結果と正の券種コード202が一致しない時(S7;NO)に不合格として警報出力(S6)を行う流れとなる。   Further, it is possible to omit both the determination using the presence / absence of the missed risk code 304 (S5) and the determination using the misread code 303 (S9). In this case, when the result of reading the ticket type code and the positive ticket type code 202 do not match (S7; NO), a failure is output and an alarm is output (S6).

以上、添付図面を参照して、本発明の好適な実施形態について説明したが、本発明は係る例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   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 will be apparent to those skilled in the art that various changes or modifications can be conceived within the scope of the technical idea disclosed in the present application, and these are naturally within the technical scope of the present invention. Understood.

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

Claims (7)

コードが形成された対象物を撮影する撮影部と、
コンピュータと、
を有し、
前記コンピュータは、
前記撮影部によって前記対象物を撮影した撮影画像から前記コードの文字部分の特徴量を算出し、前記特徴量によって前記コードの文字を判別するための、機械学習によって得た判別式を用いて前記コードを読取り、
読取った前記コードを正のコードと比較することを特徴とする照合装置。
A photographing unit for photographing the object on which the code is formed;
A computer,
Have
The computer
The feature amount of the character part of the code is calculated from the photographed image obtained by photographing the object by the photographing unit, and the discriminant obtained by machine learning is used to discriminate the character of the code by the feature amount. Read the code,
A collating apparatus that compares the read code with a positive code.
前記対象物はカードであることを特徴とする請求項1記載の照合装置。   The collation apparatus according to claim 1, wherein the object is a card. 前記コードは、前記カードの仕様を識別するための券種コードであることを特徴とする請求項2記載の照合装置。   The collation apparatus according to claim 2, wherein the code is a ticket type code for identifying a specification of the card. 前記判別式は、文字の書式に関わらず前記文字を判別するものであることを特徴とする請求項1から請求項3のいずれかに記載の照合装置。   The collation apparatus according to any one of claims 1 to 3, wherein the discriminant is for discriminating the character regardless of a character format. 前記判別式は、文字の背景に関わらず前記文字を判別するものであることを特徴とする請求項1から請求項4のいずれかに記載の照合装置。   The collation apparatus according to claim 1, wherein the discriminant is for discriminating the character regardless of the background of the character. 前記コンピュータは、前記コードの文字部分の特徴量を算出する際、
前記撮影画像における前記対象物のエッジ部分を抽出し、
前記エッジ部分と、前記対象物上で前記コードが形成される領域を示すコード領域情報とを用いて、前記対象物において前記コードが形成された領域を抽出することを特徴とする請求項1から請求項5のいずれかに記載の照合装置。
When the computer calculates the feature amount of the character portion of the code,
Extracting an edge portion of the object in the captured image;
The area where the code is formed on the object is extracted using the edge portion and code area information indicating an area where the code is formed on the object. The collation device according to claim 5.
請求項2に記載の照合装置と、
カード情報をカードに書込むカード情報記録装置と、
を有することを特徴とするカード発行機。
A verification device according to claim 2;
A card information recording device for writing card information to the card;
A card issuing machine.
JP2017059629A 2017-03-24 2017-03-24 Collation device, and card issuing machine Pending JP2018163474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017059629A JP2018163474A (en) 2017-03-24 2017-03-24 Collation device, and card issuing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017059629A JP2018163474A (en) 2017-03-24 2017-03-24 Collation device, and card issuing machine

Publications (1)

Publication Number Publication Date
JP2018163474A true JP2018163474A (en) 2018-10-18

Family

ID=63861073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017059629A Pending JP2018163474A (en) 2017-03-24 2017-03-24 Collation device, and card issuing machine

Country Status (1)

Country Link
JP (1) JP2018163474A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04337888A (en) * 1991-05-15 1992-11-25 N T T Data Tsushin Kk Device for recognizing character
JPH07160814A (en) * 1993-12-10 1995-06-23 Hitachi Ltd Optical character recognizing method
JPH08106295A (en) * 1994-10-05 1996-04-23 Atr Onsei Honyaku Tsushin Kenkyusho:Kk Method and device for recognizing pattern
JP2000251012A (en) * 1999-03-01 2000-09-14 Hitachi Ltd Method and system for document processing
JP4202681B2 (en) * 2002-06-11 2008-12-24 大日本印刷株式会社 Card ticket type guarantee system for card issuance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04337888A (en) * 1991-05-15 1992-11-25 N T T Data Tsushin Kk Device for recognizing character
JPH07160814A (en) * 1993-12-10 1995-06-23 Hitachi Ltd Optical character recognizing method
JPH08106295A (en) * 1994-10-05 1996-04-23 Atr Onsei Honyaku Tsushin Kenkyusho:Kk Method and device for recognizing pattern
JP2000251012A (en) * 1999-03-01 2000-09-14 Hitachi Ltd Method and system for document processing
JP4202681B2 (en) * 2002-06-11 2008-12-24 大日本印刷株式会社 Card ticket type guarantee system for card issuance

Similar Documents

Publication Publication Date Title
US20190213408A1 (en) Document authenticity determination
US20210124919A1 (en) System and Methods for Authentication of Documents
US8155423B2 (en) System and method for tracing bank notes
JP5133348B2 (en) Paper sheet processing equipment
JP6528147B2 (en) Accounting data entry support system, method and program
US9836665B2 (en) Management system, list production device, method, computer readable recording medium, data structure, and printed label
US20140268250A1 (en) Systems and methods for receipt-based mobile image capture
US9563811B2 (en) Character recognition method, character recognition apparatus and financial apparatus
CN112487982A (en) Merchant information auditing method, system and storage medium
WO2018073986A1 (en) Operation assistance device and operation assistance program
CN108352092B (en) Data acquisition device, printing device, authenticity determination method, and authenticity determination program
JP7338135B2 (en) Recognition processing device and program
JP6880947B2 (en) Information processing equipment, collation equipment, card issuing machine
JP2018163474A (en) Collation device, and card issuing machine
CN111144416A (en) Information processing method and device
JP5041775B2 (en) Character cutting method and character recognition device
US10413484B2 (en) Printing device, method for printing, and non-transitory computer readable medium storing program causing computer to execute process for printing
US11100356B2 (en) Information processing apparatus and non-transitory computer readable medium storing program
US20200210739A1 (en) Character-recognition sharpness determinations
JP6118646B2 (en) Form processing device, form processing method, form processing program
US20200242387A1 (en) Information processing apparatus and non-transitory computer readable medium storing program
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
JPH07114619A (en) Document recognizing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210316

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210928