JP2021096679A - Card recording device - Google Patents

Card recording device Download PDF

Info

Publication number
JP2021096679A
JP2021096679A JP2019227996A JP2019227996A JP2021096679A JP 2021096679 A JP2021096679 A JP 2021096679A JP 2019227996 A JP2019227996 A JP 2019227996A JP 2019227996 A JP2019227996 A JP 2019227996A JP 2021096679 A JP2021096679 A JP 2021096679A
Authority
JP
Japan
Prior art keywords
card
predetermined
image
characters
recording device
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
JP2019227996A
Other languages
Japanese (ja)
Inventor
成郎 根岸
Shigeo Negishi
成郎 根岸
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 JP2019227996A priority Critical patent/JP2021096679A/en
Publication of JP2021096679A publication Critical patent/JP2021096679A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide a card recording device and the like that can suitably detect whether or not a side and direction of a card are correct.SOLUTION: A card printer 1 is a card recording device that records by printing on a card 3 such as an ID card in which predetermined characters are formed in a predetermined area. The card printer 1 determines whether or not the predetermined characters exist in the predetermined area by performing OCR processing for an image obtained by photographing the card 3 to detect whether or not a side and direction of the card 3 are correct when recording on the card 3.SELECTED DRAWING: Figure 1

Description

本発明は、印刷等による記録をカードに行うカード記録装置に関する。 The present invention relates to a card recording device that records by printing or the like on a card.

近年、マイナンバーカードや在留カードを携帯する人口が増加しつつあるが、このような本人確認のためのIDカードでは、住所など、カードの所持者(以下ユーザという)に関する情報の変更が発生するとカードの裏面に変更内容を記載し記録する規則になっている。 In recent years, the population carrying My Number cards and residence cards has been increasing, but with such ID cards for identity verification, when information about the card holder (hereinafter referred to as the user) such as the address changes, the card It is a rule to write and record the changes on the back side of.

変更内容の記録は、自治体、役所、公的機関などの職員が手書きで行う方法が最もオーソドックスであるが、間違いが心配、記載領域が狭い等の理由から、最近では手書きで無く特許文献1等のようなカードプリンタを使用することが一般的であり、役所等に設置されたカードプリンタにカードを挿入し、カードプリンタ内の印刷部にてカードに変更内容を印刷することができる。 The most orthodox method is to record the changes by handwriting by the staff of local governments, government offices, public institutions, etc. However, due to concerns about mistakes and the narrow description area, recently, instead of handwriting, Patent Document 1 etc. It is common to use a card printer such as the above, and the card can be inserted into a card printer installed at a government office or the like, and the changed contents can be printed on the card by the printing unit in the card printer.

特開2010-262420号公報Japanese Unexamined Patent Publication No. 2010-262420

カードプリンタで変更内容の印刷を正しく行うには、印刷部等の構成に応じた正しい配置でカードがカードプリンタに挿入され、印刷部まで搬送される必要がある。 In order for the card printer to print the changed contents correctly, it is necessary that the cards are inserted into the card printer in the correct arrangement according to the configuration of the printing unit or the like and transported to the printing unit.

例えばユーザが誤った面を上にしてカードをカードプリンタに挿入したり、カードを誤った向きでカードプリンタに挿入したりすると、カードプリンタで正しく印刷できない可能性があり、カードプリンタではカードの表裏や向きの正誤を検出して適切な処理を行う必要がある。 For example, if the user inserts the card into the card printer with the wrong side facing up, or inserts the card into the card printer in the wrong direction, the card printer may not print correctly, and the card printer may not print properly. It is necessary to detect the correctness of the orientation and take appropriate processing.

このような正誤検出にあたっては、通常、カードを撮影した画像から特徴点を抽出し、その特徴点を用いてカードの表裏や向きの判定を行う。しかしながら、カードのデザインの変更があったりすると画像から特徴点をうまく抽出できないことがあり、カードの表裏や向きの正誤をより好適に検出できる方法が求められていた。 In such correct / incorrect detection, usually, feature points are extracted from the captured image of the card, and the front and back sides and orientation of the card are determined using the feature points. However, if the design of the card is changed, it may not be possible to extract the feature points from the image well, and there has been a demand for a method that can more preferably detect the correctness of the front and back and the orientation of the card.

本発明は上記の問題に鑑みてなされたものであり、カードの表裏や向きの正誤を好適に検出できるカード記録装置等を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a card recording device or the like that can suitably detect the correctness of the front and back sides and orientation of a card.

前述した課題を解決するための本発明は、所定領域に予め定めた所定の文字が形成されるカードに記録を行うカード記録装置であって、前記カードに記録を行う際に前記カードの表裏と向きの正誤を検出すべく、前記カードを撮影した画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを判定することを特徴とするカード記録装置である。 The present invention for solving the above-mentioned problems is a card recording device that records on a card in which a predetermined character is formed in a predetermined area, and when recording on the card, the front and back sides of the card The card recording device is characterized in that it performs OCR processing on an image obtained by capturing the card to determine whether or not the predetermined character exists in the predetermined area in order to detect the correctness of the orientation.

本発明では、従来のように画像の特徴点ではなく、カードの所定領域に存在する予め定めた所定の文字の読取結果を用いてカードの表裏と向きの正誤検出を行う。例えば所定の文字が読み取れた場合にカードの表裏と向きが正しく、所定の文字が読み取れなかった場合にカードの表裏と向きの少なくともいずれかが誤っているものとする。このように、文字の読取結果を用いることでカードの表裏と向きの正誤検出を精度良く行うことができ、文字フォントの変更などがあっても検出が可能である。またカードにおいて予め定められた所定の文字は、カードの情報として必要なものであることが多く、デザインのように変更されることも少ない。 In the present invention, the correctness of the front and back sides and the orientation of the card is detected by using the reading result of a predetermined predetermined character existing in a predetermined area of the card instead of the feature point of the image as in the conventional case. For example, it is assumed that the front and back sides and orientation of the card are correct when a predetermined character is read, and at least one of the front and back sides and orientation of the card is incorrect when the predetermined character cannot be read. In this way, by using the character reading result, it is possible to accurately detect the correctness of the front and back and the orientation of the card, and it is possible to detect even if the character font is changed. In addition, predetermined characters predetermined on the card are often necessary as information on the card, and are rarely changed as in the design.

前記所定の文字は複数の文字であり、前記所定の文字のうち前記画像から正しく読み取れた文字の数を示すスコアを閾値と比較することにより、前記所定の文字が前記所定領域に存在するか否かを判定することが望ましい。また前記所定の文字は、複数の前記所定領域に形成されたものであることが望ましい。
上記のスコアを判定に用いることにより、汚れ等で一部の文字が読み取れないようなケースでも、カードの表裏と向きの正誤検出を好適に行うことができる。また正誤検出に用いる所定の文字を複数の領域に形成されたものとすることで、検出処理の安定性を高めることができる。
The predetermined character is a plurality of characters, and whether or not the predetermined character exists in the predetermined area by comparing a score indicating the number of characters correctly read from the image among the predetermined characters with a threshold value. It is desirable to determine whether or not. Further, it is desirable that the predetermined characters are formed in a plurality of the predetermined areas.
By using the above score for the determination, it is possible to suitably detect the correctness of the front and back and the orientation of the card even in a case where some characters cannot be read due to dirt or the like. Further, the stability of the detection process can be improved by assuming that the predetermined characters used for correct / incorrect detection are formed in a plurality of regions.

前記所定の文字は、例えば前記カードのプレ印刷部分の文字である。
前記した所定の文字は、典型的には前記した変更内容の記入欄を示す「更新履歴」の文字や備考の記入欄を示す「備考」などのプレ印刷部分の文字であり、カードの情報として必要なものでありデザインのように変更されることが少ない。
The predetermined character is, for example, a character of a pre-printed portion of the card.
The predetermined characters are typically characters of the pre-printed part such as "update history" indicating the entry field of the change contents and "remarks" indicating the entry field of the remarks, and are used as card information. It is necessary and rarely changed like the design.

前記カード記録装置は、前記画像を180°回転させた画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを更に判定することが望ましい。また、前記カード記録装置は、前記撮影を所定位置から行うカメラを有し、表裏を反転させた前記カードを前記カメラにより撮影して画像を取得し、当該画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを更に判定することも望ましい。
これにより、カードの表裏と向きの正誤をより詳細に特定することができる。
It is desirable that the card recording device further performs OCR processing on the image obtained by rotating the image by 180 ° to further determine whether or not the predetermined character exists in the predetermined region. Further, the card recording device has a camera that performs the shooting from a predetermined position, shoots the card with the front and back reversed by the camera, acquires an image, performs OCR processing on the image, and performs the predetermined shooting. It is also desirable to further determine whether or not the character is present in the predetermined area.
This makes it possible to identify the correctness of the front and back and the orientation of the card in more detail.

前記カード記録装置は、前記カードを前記カメラで撮影した画像、表裏を反転させた前記カードを前記カメラで撮影した画像、および各画像を180°回転させた画像のいずれについても前記所定の文字が前記所定領域に存在しないと判定される場合、前記カードに記録を行わず前記カードを排出することも望ましい。
本発明では、上記の画像のいずれについても所定の文字が所定領域に存在しないと判定される場合、読取失敗としてカードに記録を行わずにその旨をユーザに通知するなどしてカードを排出することができる。
In the card recording device, the predetermined characters are displayed on any of an image of the card taken by the camera, an image of the card with the front and back reversed taken by the camera, and an image of each image rotated by 180 °. If it is determined that the card does not exist in the predetermined area, it is also desirable to eject the card without recording on the card.
In the present invention, when it is determined that a predetermined character does not exist in a predetermined area for any of the above images, the card is ejected by notifying the user of the fact as a reading failure without recording on the card. be able to.

前記カード記録装置は、例えば前記カードに印刷による記録を行うものである。前記カード記録装置は、前記カードの向きの正誤に応じて印刷される文字の向きを修正し、前記カードに印刷を行うことが望ましい。
カード記録装置は例えば前記のカードプリンタのようにカードに印刷による記録を行うものであり、カードの向きの正誤に応じて印刷を行う文字の向き等を修正することで、カードの向きを修正することなく正しく印刷を行うことができる。
The card recording device records, for example, by printing on the card. It is desirable that the card recording device corrects the orientation of the characters to be printed according to the correctness of the orientation of the card and prints on the card.
The card recording device records by printing on a card like the above-mentioned card printer, and corrects the orientation of the card by correcting the orientation of the characters to be printed according to the correctness of the orientation of the card. Printing can be performed correctly without any problems.

前記カードは例えばIDカードであり、前記所定の文字は前記カードの裏面に形成されたものである。
IDカードの表面では、偽造防止用のホログラムが施されるなどデザインが複雑となることが多く、そのためにカードの表裏と向きの正誤検出がうまく行かないことがある。一方、IDカードの裏面ではホログラムなどによりデザインが複雑になることは少なく、裏面の文字の読取結果を用いることで検出処理をより精度良く行うことができる。
The card is, for example, an ID card, and the predetermined character is formed on the back surface of the card.
The surface of the ID card is often complicated in design, such as a hologram for preventing counterfeiting, which may make it difficult to detect the correctness of the front and back of the card. On the other hand, the design of the back surface of the ID card is less complicated by holograms and the like, and the detection process can be performed more accurately by using the reading result of the characters on the back surface.

本発明により、カードの表裏や向きの正誤を好適に検出できるカード記録装置等を提供することができる。 INDUSTRIAL APPLICABILITY According to the present invention, it is possible to provide a card recording device or the like that can suitably detect the correctness of the front and back and the orientation of a card.

プリントシステム10の概略構成を示す図。The figure which shows the schematic structure of the print system 10. 制御装置11のハードウェア構成を示す図。The figure which shows the hardware composition of the control device 11. コンピュータ2のハードウェア構成を示す図。The figure which shows the hardware configuration of a computer 2. カード3を示す図。The figure which shows the card 3. カードプリンタ1の動作を示すフローチャート。The flowchart which shows the operation of a card printer 1. カード3の画像100の例。An example of image 100 of card 3. カード3の表裏と向きの正誤検出について説明する図。The figure explaining the right / wrong detection of the front side and the direction of a card 3. コンピュータ2の表示部23に表示される編集画面の例。An example of an editing screen displayed on the display unit 23 of the computer 2. 変更内容の文字等を180°回転する例。An example of rotating the characters of the changed contents by 180 °.

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

(1.プリントシステム10)
図1は、本発明の実施形態に係るカードプリンタ1を有するプリントシステム10の概略構成を示す図である。図1に示すように、プリントシステム10はカードプリンタ1とコンピュータ2を有する。
(1. Print system 10)
FIG. 1 is a diagram showing a schematic configuration of a print system 10 having a card printer 1 according to an embodiment of the present invention. As shown in FIG. 1, the printing system 10 includes a card printer 1 and a computer 2.

カードプリンタ1は、印刷による記録をカード3に行うカード記録装置である。カード3は例えば在留カード、マイナンバーカード、特別永住者カード、運転免許証など、カード3を所持するユーザの本人確認に用いられるIDカード(本人確認証)である。本実施形態のカードプリンタ1は、住所など、ユーザに関する情報(以下ユーザ情報という)に変更があった場合に、その変更内容をカード3の裏面に印刷するものであり、例えば役所等に設けられる。 The card printer 1 is a card recording device that records by printing on the card 3. The card 3 is an ID card (identity verification certificate) used for verifying the identity of the user who holds the card 3, such as a residence card, an individual number card, a special permanent resident card, and a driver's license. The card printer 1 of the present embodiment prints the changed contents on the back surface of the card 3 when the information about the user (hereinafter referred to as user information) such as the address is changed, and is provided at, for example, a government office or the like. ..

カードプリンタ1は、制御装置11、カメラ12、印刷部13、搬送部14等を筐体15内に有する。 The card printer 1 has a control device 11, a camera 12, a printing unit 13, a transport unit 14, and the like in the housing 15.

制御装置11はカードプリンタ1の各部を制御するものである。図2は制御装置11のハードウェア構成を示す図であり、制御装置11は制御部111、記憶部112、通信部113等をバスを介して接続した構成を有する。しかしながら、制御装置11の構成がこれに限ることはない。 The control device 11 controls each part of the card printer 1. FIG. 2 is a diagram showing a hardware configuration of the control device 11, and the control device 11 has a configuration in which a control unit 111, a storage unit 112, a communication unit 113, and the like are connected via a bus. However, the configuration of the control device 11 is not limited to this.

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

記憶部112はハードディスクドライブやソリッドステートドライブ、フラッシュメモリ等であり、制御装置11が実行するプログラム、プログラム実行に必要なデータ、OSなどが格納される。これらのプログラムやデータは、制御部111により必要に応じて読み出され実行される。 The storage unit 112 is a hard disk drive, a solid state drive, a flash memory, or the like, and stores a program executed by the control device 11, data necessary for program execution, an OS, and the like. These programs and data are read out and executed by the control unit 111 as needed.

通信部113は通信を媒介する通信インタフェースであり、カードプリンタ1の各部やコンピュータ2等との間で通信を行う。 The communication unit 113 is a communication interface that mediates communication, and communicates with each unit of the card printer 1, the computer 2, and the like.

カメラ12はカード3を撮影するものであり、例えば光学レンズ、CCD(Charge Coupled Device)やCMOS(Complementary Metal-Oxide Semiconductor)等の撮像素子、A/D(Analog/Digital)変換部等から構成されるエリアカメラが用いられる。 The camera 12 captures the card 3, and is composed of, for example, an optical lens, an imaging element such as a CCD (Charge Coupled Device) or CMOS (Complementary Metal-Oxide Semiconductor), and an A / D (Analog / Digital) converter. Area camera is used.

印刷部13はカード3に印刷を行うものであり、例えば既知の熱転写プリンタが用いられる。ただし、印刷部13がこれに限ることはない。 The printing unit 13 prints on the card 3, and for example, a known thermal transfer printer is used. However, the printing unit 13 is not limited to this.

搬送部14は、筐体15の挿入口16から筐体15内に挿入されたカード3を筐体15内で搬送するものである。 The transport unit 14 transports the card 3 inserted into the housing 15 from the insertion port 16 of the housing 15 into the housing 15.

図中符号aは筐体15内でのカード3の搬送経路を示したものであり、搬送部14では、ローラー141、142がカード3を上下に挟持しつつ回転することで、搬送経路aに沿ってカード3が搬送される。本実施形態では、ローラー141、142が正逆回転することでカード3が上記搬送経路aを往復し、挿入口16から挿入されたカード3が印刷後に挿入口16から排出される。搬送経路aの途中にはカード3の表裏を反転する既知の反転機構143も設けられる。ただし搬送部14はこれに限らない。例えば搬送部14は搬送爪でカード3を掴んで搬送するものであってもよい。 In the figure, reference numeral a indicates a transport path of the card 3 in the housing 15, and in the transport unit 14, the rollers 141 and 142 rotate while sandwiching the card 3 up and down to form the transport path a. The card 3 is conveyed along the line. In the present embodiment, the rollers 141 and 142 rotate in the forward and reverse directions so that the card 3 reciprocates in the transport path a, and the card 3 inserted from the insertion port 16 is ejected from the insertion port 16 after printing. A known reversing mechanism 143 that reverses the front and back of the card 3 is also provided in the middle of the transport path a. However, the transport unit 14 is not limited to this. For example, the transport unit 14 may grip the card 3 with a transport claw and transport the card 3.

コンピュータ2はユーザ情報の変更内容の入力を受付けるものである。図3はコンピュータ2のハードウェア構成を示す図であり、コンピュータ2は制御部21、記憶部22、表示部23、入力部24、通信部25等をバスを介して接続した構成を有する。しかしながら、コンピュータ2の構成がこれに限ることはない。 The computer 2 accepts the input of the changed contents of the user information. FIG. 3 is a diagram showing a hardware configuration of the computer 2, and the computer 2 has a configuration in which a control unit 21, a storage unit 22, a display unit 23, an input unit 24, a communication unit 25, and the like are connected via a bus. However, the configuration of the computer 2 is not limited to this.

制御部21、記憶部22、通信部25は前記した制御部111、記憶部112、通信部113と略同様の構成を有する。表示部23は液晶ディスプレイ等を備える。入力部24はコンピュータ2に各種の入力を行うものであり、例えば表示部23の液晶ディスプレイに設けられたタッチパネルが用いられる。 The control unit 21, the storage unit 22, and the communication unit 25 have substantially the same configurations as the control unit 111, the storage unit 112, and the communication unit 113 described above. The display unit 23 includes a liquid crystal display and the like. The input unit 24 inputs various inputs to the computer 2, and for example, a touch panel provided on the liquid crystal display of the display unit 23 is used.

(2.カード3)
図4(a)はカード3の表面の一例を模式的に示したものである。カード3は、略矩形状のカード基材に、カード3の名称、発行番号、ユーザの氏名、顔画像、カード3の発行者印などを印刷したものである。
(2. Card 3)
FIG. 4A schematically shows an example of the surface of the card 3. The card 3 is a substantially rectangular card base material printed with the name of the card 3, the issue number, the user's name, a face image, the issuer's seal of the card 3, and the like.

このうちカード3の発行番号、ユーザの氏名、顔画像などは個々のカード3によって異なるオンデマンド情報であり、顔画像以外の文字部分は溶融型熱転写方式によって、顔画像は昇華型熱転写方式によってそれぞれカード基材上に印刷して形成される。 Of these, the issue number of the card 3, the user's name, the face image, etc. are on-demand information that differs depending on the individual card 3, the character parts other than the face image are subjected to the molten thermal transfer method, and the face image is obtained by the sublimation thermal transfer method. It is formed by printing on a card substrate.

一方、カード3の発行番号やユーザの氏名の記載欄を示す「番号」「氏名」の文字などは、各カード3で共通に使用される。これらの文字はカード3において予め定められたものであり、オンデマンド情報の印刷前に、オフセット印刷方式や凸版印刷方式などの印刷方式でカード基材上の所定領域に予め形成され、プレ印刷部分と呼ばれる。オンデマンド情報やプレ印刷部分がどのような構成となるかは、在留カード、マイナンバーカード、特別永住者カード、運転免許証などカード3の種類によって異なる。 On the other hand, the issue number of the card 3 and the characters of "number" and "name" indicating the entry field of the user's name are commonly used in each card 3. These characters are predetermined on the card 3, and are formed in advance in a predetermined area on the card substrate by a printing method such as an offset printing method or a letterpress printing method before printing the on-demand information, and a pre-printed portion. Is called. The structure of the on-demand information and pre-printed part differs depending on the type of card 3 such as residence card, My Number card, special permanent resident card, and driver's license.

図4(b)はカード3の裏面の一例を模式的に示したものである。カード3の裏面は筆記可能な筆記面となっており、更新履歴の記入欄や備考の記入欄が設けられる。各記入欄を示す「更新履歴」の文字31や「備考」の文字31は前記したプレ印刷部分となっており、予め定められたこれらの文字31が所定領域に形成される。 FIG. 4B schematically shows an example of the back surface of the card 3. The back side of the card 3 is a writable writing surface, and is provided with an update history entry field and a remarks entry field. The characters 31 of "update history" and the characters 31 of "remarks" indicating each entry field are the above-mentioned pre-printed parts, and these predetermined characters 31 are formed in a predetermined area.

ユーザ情報の変更は例えばユーザの住所の変更などであり、カードプリンタ1は、その変更内容をカード3の裏面の更新履歴の記入欄に印刷して記録する。 The change of the user information is, for example, a change of the user's address, and the card printer 1 prints and records the change contents in the update history entry field on the back surface of the card 3.

ここで、図1に示すようにカードプリンタ1のカメラ12、印刷部13は搬送経路aの上方の所定位置に設置されており、ユーザ情報の変更内容は上記のようにカード3の裏面に印刷する。従って、カード3は図4(b)に示す裏面を上にして挿入口16から挿入され、筐体15内で印刷部13へと搬送される必要がある。 Here, as shown in FIG. 1, the camera 12 and the printing unit 13 of the card printer 1 are installed at predetermined positions above the transport path a, and the changed contents of the user information are printed on the back surface of the card 3 as described above. To do. Therefore, the card 3 needs to be inserted through the insertion slot 16 with the back side shown in FIG. 4B facing up, and transported to the printing unit 13 in the housing 15.

また本実施形態ではこの時のカード3の正しい向きを図4(b)に示す向きとし、例えばこれを平面において180°回転させた向きでカード3が挿入口16に挿入され、筐体15内でそのまま印刷部13に搬送されると、変更内容をカード3の裏面の正しい位置に印刷することができない。 Further, in the present embodiment, the correct orientation of the card 3 at this time is the orientation shown in FIG. 4B. For example, the card 3 is inserted into the insertion slot 16 in the orientation rotated by 180 ° on a flat surface, and the inside of the housing 15 is inserted. If it is conveyed to the printing unit 13 as it is, the changed contents cannot be printed at the correct position on the back surface of the card 3.

そこで、本実施形態では以下に示す処理によりカードプリンタ1に挿入されたカード3の表裏と向きの正誤を検出する。その検出結果に応じて適切な処理を行うことで、ユーザ情報の変更内容をカード3の裏面の更新履歴の記入欄に正しく印刷し、記録することができる。 Therefore, in the present embodiment, the correctness of the front and back and the orientation of the card 3 inserted into the card printer 1 is detected by the following processing. By performing appropriate processing according to the detection result, the changed contents of the user information can be correctly printed and recorded in the update history entry field on the back surface of the card 3.

(3.カードプリンタ1が行う処理)
図5はユーザ情報の変更内容を記録する際にカードプリンタ1が行う処理を示すフローチャートであり、図5の各ステップはカードプリンタ1の制御装置11がカードプリンタ1の各部を制御することで実行する。
(3. Processing performed by the card printer 1)
FIG. 5 is a flowchart showing a process performed by the card printer 1 when recording the changed contents of the user information, and each step of FIG. 5 is executed by the control device 11 of the card printer 1 controlling each part of the card printer 1. To do.

カードプリンタ1は、カード3が挿入口16から筐体15内に挿入されると、カード3をカメラ12の位置まで搬送し、カメラ12によりカード3を上方から撮影してその画像を取得する(S1)。図6はカード3が正しく挿入された場合の画像100を示したものであり、正しい向きで配置されたカード3の裏面が撮影されている。 When the card 3 is inserted into the housing 15 from the insertion slot 16, the card printer 1 conveys the card 3 to the position of the camera 12, takes a picture of the card 3 from above by the camera 12, and acquires the image (the card printer 1). S1). FIG. 6 shows an image 100 when the card 3 is correctly inserted, and the back surface of the card 3 arranged in the correct orientation is photographed.

そして、カードプリンタ1は、画像100の所定領域に所定の文字が存在するか否か判定する(S2)。 Then, the card printer 1 determines whether or not a predetermined character exists in a predetermined area of the image 100 (S2).

本実施形態では、画像100をグレースケールに変換し、上記の所定領域として図6に示す複数の領域A、Bを画像100から切り出し、これらの領域A、Bの画像について既知のOCR(光学的文字認識)処理を行う。カード3が正しく挿入された場合、領域Aには「更」「新」「履」「歴」の文字31が存在し、領域Bには「備」「考」の文字31が存在するので、本実施形態ではOCR処理を行い、領域A、Bからこれら所定の文字31を読取ることができたか否かを判定する。 In the present embodiment, the image 100 is converted to grayscale, a plurality of regions A and B shown in FIG. 6 are cut out from the image 100 as the predetermined regions, and OCR (optical) known for the images of these regions A and B is obtained. Character recognition) processing is performed. If the card 3 is inserted correctly, the area A has the characters 31 of "change", "new", "wear", and "history", and the area B has the characters 31 of "bi" and "remark". In the present embodiment, OCR processing is performed to determine whether or not these predetermined characters 31 can be read from the areas A and B.

S2の判定基準は特に問わないが、例えばカード3に汚れ等があり、カード3が正しく挿入されていても一部の文字を正常に読取できない場合も考えられる。そこで、本実施形態では領域A、Bに存在する複数の文字31のうち何文字が正しく読み取れたかをスコアとして算出し、当該スコアを閾値と比較して判定を行う。例えばカード3の汚れにより領域Aの「新」の文字31が読み取れず、その他の「更」「履」「歴」の文字31を読取ることができ、領域Bには汚れが存在せず「備」「考」の文字31の読取ができた場合、スコアは正しく読み取れた文字数である5、若しくは当該文字数の全体の文字数に対する比である5/6とし、これを閾値と比較する。 The criterion for S2 is not particularly limited, but it is possible that, for example, the card 3 is dirty and some characters cannot be read normally even if the card 3 is inserted correctly. Therefore, in the present embodiment, how many characters out of the plurality of characters 31 existing in the areas A and B are correctly read is calculated as a score, and the score is compared with the threshold value for determination. For example, the character 31 of "new" in the area A cannot be read due to the dirt on the card 3, and the other characters 31 of "change", "wear", and "history" can be read. If the character 31 of "Consideration" can be read, the score is set to 5 which is the number of correctly read characters or 5/6 which is the ratio of the number of characters to the total number of characters, and this is compared with the threshold value.

カードプリンタ1は、上記のスコアが閾値以上の場合、所定領域A、Bに所定の文字31が存在すると判定し(S2;YES)、図7の[ケースa]に示すようにカードプリンタ1に挿入されたカード3の裏面が正しく上となっており、カード3の向きも正しいとして、ユーザ情報の変更内容を印刷するための処理に移行する。 When the above score is equal to or higher than the threshold value, the card printer 1 determines that the predetermined character 31 exists in the predetermined areas A and B (S2; YES), and the card printer 1 has the card printer 1 as shown in [Case a] of FIG. Assuming that the back side of the inserted card 3 is correctly facing up and the orientation of the card 3 is also correct, the process proceeds to print the changed contents of the user information.

ここで、カードプリンタ1は先程撮影した画像100をコンピュータ2に送信し、コンピュータ2は画像100を編集画面として表示部23に表示させ、ユーザ情報の変更内容の入力を受付ける。 Here, the card printer 1 transmits the image 100 captured earlier to the computer 2, the computer 2 displays the image 100 as an editing screen on the display unit 23, and accepts the input of the changed content of the user information.

図8(a)はこの編集画面の例であり、カメラ12で取得した画像100がその表示領域231に表示される。編集画面では、上記表示領域231の上に入力領域232が設けられており、ユーザはこの入力領域232に変更内容を入力する。コンピュータ2は、画像100の画像解析を行うことにより、変更内容を印刷できる領域を既に変更内容が記録された領域等を避けるように決定し、入力された変更内容を図8(b)に示すように当該決定された領域Cに表示する。 FIG. 8A is an example of this editing screen, and the image 100 acquired by the camera 12 is displayed in the display area 231. On the edit screen, an input area 232 is provided above the display area 231, and the user inputs changes to the input area 232. By performing image analysis of the image 100, the computer 2 determines the area where the changed contents can be printed so as to avoid the area where the changed contents have already been recorded, and the input changed contents are shown in FIG. 8 (b). It is displayed in the determined area C as described above.

図8の符号233は印刷ボタンであり、ユーザは領域Cに表示された変更内容が正しいことを確認し、印刷ボタン233を選択する。これにより変更内容の印刷が指示され、コンピュータ2は変更内容と当該変更内容を印刷する領域Cの情報(変更内容等ということがある)をカードプリンタ1に送信する。 Reference numeral 233 in FIG. 8 is a print button, and the user confirms that the changes displayed in the area C are correct and selects the print button 233. As a result, the printing of the changed contents is instructed, and the computer 2 transmits the changed contents and the information of the area C for printing the changed contents (sometimes referred to as the changed contents) to the card printer 1.

カードプリンタ1は、上記の変更内容等を受信すると(S3)、カード3を印刷部13まで搬送して変更内容をカード3の裏面の上記領域Cに印刷し(S4)、印刷後のカード3を挿入口16に排出する。 When the card printer 1 receives the above-mentioned changed contents (S3), the card printer 1 conveys the card 3 to the printing unit 13 and prints the changed contents in the above-mentioned area C on the back surface of the card 3 (S4), and the printed card 3 Is discharged to the insertion port 16.

一方、図7の[ケースb]に示すようにカードプリンタ1に挿入されたカード3の向きが正しくなかったり、[ケースc]に示すように挿入されたカード3の表裏が正しくなかったり、[ケースd]に示すように挿入されたカード3の表裏と向きの双方が正しくなかったりすると、カード3の画像100の所定領域A、Bに前記した所定の文字31が無いと判定される(S2;NO)。 On the other hand, as shown in [Case b] of FIG. 7, the orientation of the card 3 inserted in the card printer 1 is incorrect, or as shown in [Case c], the front and back of the inserted card 3 are incorrect, or [ If both the front and back sides and the orientation of the inserted card 3 are incorrect as shown in [Case d], it is determined that the predetermined characters 31 described above do not exist in the predetermined areas A and B of the image 100 of the card 3 (S2). ; NO).

この場合、カードプリンタ1は挿入されたカード3の表裏と向きの少なくともいずれかが誤っているとし、以下の処理に移行する。 In this case, the card printer 1 assumes that at least one of the front and back sides and the orientation of the inserted card 3 is incorrect, and proceeds to the following processing.

すなわち、カードプリンタ1は、まず上記の画像100を180°回転させ(S5)、回転後の画像100’(図7参照)の所定領域A、Bに前記した所定の文字31が存在するか否かを更に判定する(S6)。 That is, the card printer 1 first rotates the image 100 by 180 ° (S5), and whether or not the predetermined character 31 exists in the predetermined areas A and B of the rotated image 100'(see FIG. 7). Is further determined (S6).

判定方法は前記のS2と同様であり、カードプリンタ1は、画像100’の所定領域A、Bに所定の文字があると判定される場合(S6;YES)、図7の[ケースb]に示すように、カードプリンタ1に挿入されたカード3の裏面が正しく上となっているが、その向きは正しくないとする。 The determination method is the same as in S2 described above, and when the card printer 1 determines that there are predetermined characters in the predetermined areas A and B of the image 100'(S6; YES), in [Case b] of FIG. As shown, the back side of the card 3 inserted in the card printer 1 is correctly facing up, but the orientation is not correct.

この場合、カードプリンタ1は画像100’をコンピュータ2に送信して先程の編集画面の表示領域231(図8参照)に画像100’を表示させ、前記と同様、コンピュータ2に入力された変更内容等をコンピュータ2から受信する(S7)。 In this case, the card printer 1 transmits the image 100'to the computer 2 to display the image 100' in the display area 231 (see FIG. 8) of the editing screen, and the changed contents input to the computer 2 in the same manner as described above. Etc. are received from the computer 2 (S7).

その後、カードプリンタ1はカード3を印刷部13まで搬送し、図9(a)の矢印に示すようにS7で受信した変更内容等をカード3の中央に当たる位置を回転中心として180°回転させ(S8)、カードプリンタ1に挿入されたカード3の向きに合わせる。 After that, the card printer 1 conveys the card 3 to the printing unit 13 and rotates the changes received in S7 by 180 ° about the position corresponding to the center of the card 3 as shown by the arrow in FIG. 9 (a). S8), align with the orientation of the card 3 inserted in the card printer 1.

そして、当該回転後の変更内容の文字を、図9(b)に示すようにカード3の裏面の当該回転後の領域Cに印刷し(S9)、印刷後のカード3を挿入口16に排出する。このように変更内容の文字の向きと領域Cの位置を修正して印刷を行うことで、カード3が向きを誤ってカードプリンタ1に挿入された場合に、カード3の向きを修正することなく正しい印刷が可能になる。 Then, as shown in FIG. 9B, the characters of the changed content after the rotation are printed in the area C after the rotation on the back surface of the card 3 (S9), and the printed card 3 is ejected to the insertion slot 16. To do. By correcting the orientation of the characters and the position of the area C of the changed contents in this way and printing, if the card 3 is inserted into the card printer 1 by mistake in the orientation, the orientation of the card 3 is not corrected. Correct printing is possible.

一方、カードプリンタ1は、S6において画像100’の所定領域A、Bに所定の文字31がないと判定される場合(S6;NO)、カード3の表裏が正しくなく表面が上を向いているとし、カード3を反転機構143の位置まで搬送して表裏を反転させる(S10)。 On the other hand, when it is determined in S6 that the predetermined characters 31 do not exist in the predetermined areas A and B of the image 100'(S6; NO), the card printer 1 has the front and back sides of the card 3 incorrect and the front side faces upward. Then, the card 3 is conveyed to the position of the reversing mechanism 143 and the front and back sides are reversed (S10).

そして、カードプリンタ1はカード3を再度カメラ12の位置まで搬送してカード3を撮影し、画像100を再度取得する(S11)。その後、カードプリンタ1は画像100の所定領域A、Bに所定の文字31が存在するか否かを前記と同様に判定する(S12)。 Then, the card printer 1 conveys the card 3 to the position of the camera 12 again, takes a picture of the card 3, and acquires the image 100 again (S11). After that, the card printer 1 determines whether or not the predetermined character 31 exists in the predetermined areas A and B of the image 100 in the same manner as described above (S12).

画像100の所定領域A、Bに所定の文字31が存在すると判定される場合(S12;YES)、カードプリンタ1は、図7の[ケースc]で示すようにカードプリンタ1に挿入されたカード3の表裏のみが正しくなく、カード3の向きは正しいとし、画像100をコンピュータ2に送信して先程の編集画面の表示領域231(図8参照)に表示させ、前記のS3と同様、コンピュータ2に入力された変更内容等をコンピュータ2から受信する(S13)。そして、前記のS10で表裏を反転させたことにより裏面が上を向いた状態となっているカード3をそのまま印刷部13まで搬送し、前記のS4と同様、カード3の裏面に変更内容を印刷し(S14)、印刷後のカード3を挿入口16に排出する。 When it is determined that the predetermined characters 31 exist in the predetermined areas A and B of the image 100 (S12; YES), the card printer 1 is a card inserted into the card printer 1 as shown in [Case c] of FIG. Assuming that only the front and back sides of 3 are incorrect and the orientation of the card 3 is correct, the image 100 is transmitted to the computer 2 to be displayed in the display area 231 (see FIG. 8) of the editing screen, and the computer 2 is the same as the above S3. The change contents and the like input to are received from the computer 2 (S13). Then, the card 3 whose front and back sides are turned upside down in S10 is conveyed to the printing unit 13 as it is, and the changed contents are printed on the back side of the card 3 as in S4. (S14), the printed card 3 is ejected to the insertion slot 16.

一方、画像100の所定領域A、Bに所定の文字31が存在しないと判定される場合(S12;NO)、カードプリンタ1は前記のS5と同様、画像100を180°回転させ(S15)、回転後の画像100’の所定領域A、Bに所定の文字31が存在するか否かを前記と同様に判定する(S16)。 On the other hand, when it is determined that the predetermined character 31 does not exist in the predetermined areas A and B of the image 100 (S12; NO), the card printer 1 rotates the image 100 by 180 ° (S15) as in the above S5. Whether or not the predetermined character 31 exists in the predetermined areas A and B of the rotated image 100'is determined in the same manner as described above (S16).

画像100’の所定領域A、Bに所定の文字31が存在すると判定される場合(S16;YES)、カードプリンタ1は、図7の[ケースd]に示すようにカードプリンタ1に挿入されたカード3の表裏と向きの双方が正しくなかったとし、画像100’をコンピュータ2に送信して先程の編集画面の表示領域231(図8参照)に表示させ、前記のS7と同様、コンピュータ2に入力された変更内容等をコンピュータ2から受信する(S17)。 When it is determined that the predetermined characters 31 exist in the predetermined areas A and B of the image 100'(S16; YES), the card printer 1 is inserted into the card printer 1 as shown in [Case d] of FIG. Assuming that both the front and back sides and the orientation of the card 3 are incorrect, the image 100'is sent to the computer 2 to be displayed in the display area 231 (see FIG. 8) of the editing screen, and is displayed on the computer 2 in the same manner as in S7. The input changes and the like are received from the computer 2 (S17).

そして、裏面が上を向いた状態となっているカード3を印刷部13まで搬送し、且つ前記のS8と同様に変更内容等をカード3の中央に当たる位置を回転中心として180°回転させ(S18)、前記のS9と同様、回転後の変更内容をカード3の裏面に印刷し(S19)、印刷後のカード3を挿入口16に排出する。 Then, the card 3 with the back surface facing upward is conveyed to the printing unit 13, and the changes and the like are rotated by 180 ° about the position corresponding to the center of the card 3 as in S8 above (S18). ), The changed contents after rotation are printed on the back surface of the card 3 (S19), and the printed card 3 is ejected to the insertion slot 16.

一方、S16において画像100’の所定領域A、Bに所定の文字31がないと判定した場合(S16;NO)、コンピュータ2は、カード3の読取を失敗とし(S20)、印刷部13での印刷を行わず、そのまま挿入口16から排出して処理を終了する。この際、「カードを正しく挿入してください」などのメッセージをカードプリンタ1のモニターやスピーカー(不図示)で出力することも可能である。 On the other hand, when it is determined in S16 that the predetermined characters 31 do not exist in the predetermined areas A and B of the image 100'(S16; NO), the computer 2 fails to read the card 3 (S20), and the printing unit 13 determines. Without printing, the image is discharged from the insertion slot 16 as it is, and the process is completed. At this time, it is also possible to output a message such as "Please insert the card correctly" on the monitor or speaker (not shown) of the card printer 1.

以上説明したように、本実施形態では、従来のように画像の特徴点ではなく、カード3の所定領域A、Bに存在する予め定めた所定の文字31の読取結果を用いてカード3の表裏と向きの正誤検出を行う。例えば所定の文字31が読み取れた場合にカード3の表裏と向きが正しく、所定の文字31が読み取れなかった場合にカード3の表裏と向きの少なくともいずれかが誤っているものとする。このように、文字31の読取結果を用いることでカード3の表裏と向きの正誤検出を精度良く行うことができ、文字フォントの変更などがあっても正誤検出が可能である。またカード3において予め定められた所定の文字31は、カード3の情報として必要なものであることが多く、デザインのように変更されることも少ない。 As described above, in the present embodiment, the front and back sides of the card 3 are used not as the feature points of the image as in the conventional case, but as the reading result of the predetermined predetermined characters 31 existing in the predetermined areas A and B of the card 3. Detects the correctness of the direction. For example, it is assumed that the front and back sides and orientation of the card 3 are correct when the predetermined character 31 is read, and at least one of the front and back sides and orientation of the card 3 is incorrect when the predetermined character 31 cannot be read. In this way, by using the reading result of the character 31, it is possible to accurately detect the correctness of the front and back sides and the orientation of the card 3, and it is possible to detect the correctness even if the character font is changed. Further, the predetermined character 31 predetermined in the card 3 is often necessary as the information of the card 3, and is rarely changed as in the design.

また、読取対象を複数の文字31とし、そのうち正しく読み取れた文字31の数を示すスコアを算出して判定に用いることで、汚れ等で一部の文字31が読み取れないようなケースでも、カード3の表裏と向きの正誤検出を好適に行うことができる。また正誤検出に用いる所定の文字31を複数の領域A、Bに形成されたものとすることで、検出処理の安定性を高めることができる。 Further, by setting a plurality of characters 31 to be read and calculating a score indicating the number of correctly read characters 31 among them and using it for judgment, even in a case where some characters 31 cannot be read due to dirt or the like, the card 3 It is possible to suitably detect the correctness of the front and back and the direction of the above. Further, by forming the predetermined characters 31 used for correct / incorrect detection in the plurality of areas A and B, the stability of the detection process can be improved.

また本実施形態では、カード3の画像100を180°回転させた画像100’に対しOCR処理を行ったり、表裏を反転させたカード3をカメラ12で撮影した画像100に対しOCR処理を行ったりすることで、前記したようにカード3の表裏と向きの正誤をより詳細に特定できる。 Further, in the present embodiment, OCR processing is performed on the image 100'in which the image 100 of the card 3 is rotated by 180 °, or OCR processing is performed on the image 100 of the card 3 whose front and back sides are inverted by the camera 12. By doing so, as described above, the correctness of the front and back and the orientation of the card 3 can be specified in more detail.

また本実施形態では、カード3をカメラ12で撮影した画像100、表裏を反転させたカード3をカメラ12で撮影した画像100、および各画像100を180°反転させた画像100’のいずれについても所定の文字31が所定領域A、Bに存在しないと判定される場合、読取失敗としてカード3に印刷を行わずにその旨をユーザに通知するなどしてカード3を排出することができる。なお、前記のS2(図5参照)でNOと判定された場合に、カード3に印刷を行わず、前記と同様にユーザに注意を促してカード3を排出することも可能である。 Further, in the present embodiment, any of the image 100 in which the card 3 is photographed by the camera 12, the image 100 in which the card 3 is inverted and the card 3 is photographed by the camera 12, and the image 100'in which each image 100 is inverted by 180 ° When it is determined that the predetermined character 31 does not exist in the predetermined areas A and B, the card 3 can be ejected by notifying the user of the fact without printing on the card 3 as a reading failure. If NO is determined in S2 (see FIG. 5), the card 3 may not be printed, and the user may be alerted and the card 3 may be ejected in the same manner as described above.

また、本実施形態のカードプリンタ1はカード3に印刷による記録を行うものであり、カード3の向きの正誤に応じて印刷を行う変更内容の文字等を180°回転させて文字の向き等の修正を行うことで、カード3の向きを修正することなく正しく印刷を行うことができる。 Further, the card printer 1 of the present embodiment records by printing on the card 3, and prints according to the correctness of the orientation of the card 3. The characters or the like of the changed contents are rotated by 180 ° to determine the orientation of the characters or the like. By making corrections, printing can be performed correctly without correcting the orientation of the card 3.

また本実施形態では、所定の文字31をIDカードの裏面に形成されたものとしている。所定の文字31をIDカードの表面のプレ印刷部分の文字などとすることは可能であるが、IDカードの表面では、偽造防止用のホログラムが施されるなどデザインが複雑となることが多く、そのためにカード3の表裏と向きの正誤検出がうまく行かないことがある。一方、IDカードの裏面ではホログラムなどによりデザインが複雑になることは少なく、裏面の文字の読取結果を用いることで検出処理をより精度良く行うことができる。 Further, in the present embodiment, it is assumed that the predetermined character 31 is formed on the back surface of the ID card. Although it is possible to use the predetermined character 31 as the character of the pre-printed portion on the surface of the ID card, the design is often complicated on the surface of the ID card, such as a hologram for preventing counterfeiting. Therefore, the correctness detection of the front and back sides and the orientation of the card 3 may not be successful. On the other hand, the design of the back surface of the ID card is less complicated by holograms and the like, and the detection process can be performed more accurately by using the reading result of the characters on the back surface.

しかしながら、本発明が以上の実施形態に限られることはない。例えば本実施形態のカードプリンタ1はユーザ情報の変更内容をカード3の裏面に印刷して記録するものであるが、記録する内容やこれを記録する面は上記に限ることはなく、記録方法も印刷に限ることはない。例えばカード3が有する接触式のICチップに記録を行う場合も、前記と同様の手順でカード3の表裏と向きの正誤を検出し、その検出結果を用いて正しく記録を行うことができる。またカード3も前記したIDカードに限らない。 However, the present invention is not limited to the above embodiments. For example, the card printer 1 of the present embodiment prints and records the changed contents of the user information on the back surface of the card 3, but the contents to be recorded and the surface for recording the contents are not limited to the above, and the recording method is also used. It is not limited to printing. For example, when recording is performed on the contact type IC chip of the card 3, the correctness of the front and back and the orientation of the card 3 can be detected by the same procedure as described above, and the detection result can be used for correct recording. Further, the card 3 is not limited to the ID card described above.

また本実施形態のカードプリンタ1は役所等に設置される小型のものであり、IDカードのユーザ情報の変更内容を記録するものであるが、本実施形態のカードプリンタ1の構成は、カード3を新規発行する際に工場で用いる大型のカードプリンタなどにも適用できる。 Further, the card printer 1 of the present embodiment is a small one installed in a government office or the like and records the changed contents of the user information of the ID card. However, the configuration of the card printer 1 of the present embodiment is the card 3. It can also be applied to large card printers used in factories when issuing new products.

また本実施形態では読取対象となる所定の文字31として更新履歴の記入欄を示す「更新履歴」や備考の記入欄を示す「備考」などのプレ印刷部分の文字31を用いている。これらの文字31はカード3の情報として必要なものでありデザインのように変更されることが少ないという利点があるが、予め定められた文字31すなわち読取結果の正解が存在するような文字であれば判定に利用可能である。 Further, in the present embodiment, the characters 31 of the pre-printed portion such as "update history" indicating the entry field of the update history and "remarks" indicating the entry field of the remarks are used as the predetermined characters 31 to be read. These characters 31 are necessary as information on the card 3 and have the advantage that they are rarely changed as in the design. However, even if the characters 31 are predetermined, that is, the characters have the correct answer of the reading result. It can be used for judgment.

またカード3の表裏と向きの正誤は撮影を行うカメラ12や印刷を行う印刷部13等の配置に応じて異なる。例えば印刷部13がカード3の搬送経路aの下方にある場合には、表面を上にしてカード3がカードプリンタ1に挿入された場合にカード3の表裏が正しいことになる。 Further, the correctness of the front and back and the orientation of the card 3 differs depending on the arrangement of the camera 12 for taking a picture, the printing unit 13 for printing, and the like. For example, when the printing unit 13 is below the transport path a of the card 3, the front and back sides of the card 3 are correct when the card 3 is inserted into the card printer 1 with the front side facing up.

また本実施形態ではカメラ12を搬送経路aの上方のみに設けているが、カメラ12を搬送経路aの上下に設けることも可能であり、この場合は前記のS10〜S11でカード3の表裏を反転してカード3の撮影を行う代わりに、撮影を行うカメラ12を変更すればよい。同様に、印刷部13も搬送経路aの上下に設けることが可能であり、この場合はカード3の表裏の正誤に応じて印刷を行う印刷部13を変更すればよい。 Further, in the present embodiment, the camera 12 is provided only above the transport path a, but it is also possible to provide the camera 12 above and below the transport path a. In this case, the front and back sides of the card 3 are set in S10 to S11. Instead of flipping and shooting the card 3, the camera 12 that shoots may be changed. Similarly, the printing unit 13 can also be provided above and below the transport path a. In this case, the printing unit 13 for printing may be changed according to the correctness of the front and back of the card 3.

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

1:カードプリンタ
2:コンピュータ
3:カード
10:プリントシステム
11:制御装置
12:カメラ
13:印刷部
14:搬送部
15:筐体
16:挿入口
31:文字
100、100’:画像
1: Card printer 2: Computer 3: Card 10: Printing system 11: Control device 12: Camera 13: Printing unit 14: Transport unit 15: Housing 16: Insertion port 31: Characters 100, 100': Image

Claims (10)

所定領域に予め定めた所定の文字が形成されるカードに記録を行うカード記録装置であって、
前記カードに記録を行う際に前記カードの表裏と向きの正誤を検出すべく、前記カードを撮影した画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを判定することを特徴とするカード記録装置。
A card recording device that records on a card in which a predetermined character is formed in a predetermined area.
When recording on the card, in order to detect the correctness of the front and back and the orientation of the card, OCR processing is performed on the captured image of the card to determine whether or not the predetermined character exists in the predetermined area. A card recording device characterized by that.
前記所定の文字は複数の文字であり、
前記所定の文字のうち前記画像から正しく読み取れた文字の数を示すスコアを閾値と比較することにより、前記所定の文字が前記所定領域に存在するか否かを判定することを特徴とする請求項1記載のカード記録装置。
The predetermined character is a plurality of characters, and the predetermined character is a plurality of characters.
The claim is characterized in that it is determined whether or not the predetermined character exists in the predetermined area by comparing a score indicating the number of characters correctly read from the image among the predetermined characters with a threshold value. 1. The card recording device according to 1.
前記所定の文字は、複数の前記所定領域に形成されたものであることを特徴とする請求項2記載のカード記録装置。 The card recording device according to claim 2, wherein the predetermined characters are formed in a plurality of the predetermined areas. 前記所定の文字は、前記カードのプレ印刷部分の文字であることを特徴とする請求項1から請求項3のいずれかに記載のカード記録装置。 The card recording device according to any one of claims 1 to 3, wherein the predetermined character is a character of a pre-printed portion of the card. 前記画像を180°回転させた画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを更に判定することを特徴とする請求項1から請求項4のいずれかに記載のカード記録装置。 The invention according to any one of claims 1 to 4, wherein OCR processing is performed on the image obtained by rotating the image by 180 ° to further determine whether or not the predetermined character exists in the predetermined region. Card recording device. 前記撮影を所定位置から行うカメラを有し、
表裏を反転させた前記カードを前記カメラにより撮影して画像を取得し、当該画像に対するOCR処理を行って前記所定の文字が前記所定領域に存在するか否かを更に判定することを特徴とする請求項1から請求項5のいずれかに記載のカード記録装置。
It has a camera that takes the picture from a predetermined position.
It is characterized in that the card whose front and back sides are inverted is photographed by the camera to acquire an image, and OCR processing is performed on the image to further determine whether or not the predetermined character exists in the predetermined area. The card recording device according to any one of claims 1 to 5.
前記カードを前記カメラで撮影した画像、表裏を反転させた前記カードを前記カメラで撮影した画像、および各画像を180°回転させた画像のいずれについても前記所定の文字が前記所定領域に存在しないと判定される場合、前記カードに記録を行わず前記カードを排出することを特徴とする請求項6記載のカード記録装置。 The predetermined character does not exist in the predetermined region in any of the image of the card taken by the camera, the image of the card with the front and back reversed taken by the camera, and the image of each image rotated by 180 °. The card recording device according to claim 6, wherein the card is ejected without recording on the card. 前記カードに印刷による記録を行うことを特徴とする請求項1から請求項7のいずれかに記載のカード記録装置。 The card recording device according to any one of claims 1 to 7, wherein recording is performed on the card by printing. 前記カードの向きの正誤に応じて印刷される文字の向きを修正し、前記カードに印刷を行うことを特徴とする請求項8に記載のカード記録装置。 The card recording device according to claim 8, wherein the orientation of the characters to be printed is corrected according to the correctness of the orientation of the card, and printing is performed on the card. 前記カードはIDカードであり、
前記所定の文字は前記カードの裏面に形成されたものであることを特徴とする請求項1から請求項9のいずれかに記載のカード記録装置。
The card is an ID card
The card recording device according to any one of claims 1 to 9, wherein the predetermined character is formed on the back surface of the card.
JP2019227996A 2019-12-18 2019-12-18 Card recording device Pending JP2021096679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019227996A JP2021096679A (en) 2019-12-18 2019-12-18 Card recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019227996A JP2021096679A (en) 2019-12-18 2019-12-18 Card recording device

Publications (1)

Publication Number Publication Date
JP2021096679A true JP2021096679A (en) 2021-06-24

Family

ID=76431431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019227996A Pending JP2021096679A (en) 2019-12-18 2019-12-18 Card recording device

Country Status (1)

Country Link
JP (1) JP2021096679A (en)

Similar Documents

Publication Publication Date Title
US6674456B2 (en) Printer and printing method capable of double-sided printing
JP3727323B2 (en) Passbook handling device
US20090087101A1 (en) Image processing apparatus and apparatus for searching operator
JP2021096679A (en) Card recording device
JP7322485B2 (en) Authenticity determination device and program
JP2022068014A (en) Card recording device
JP2022077898A (en) Card recording device
JP2006332953A (en) Card image reader and its control method
JP7484573B2 (en) Authenticity determination device and program
JP6241716B2 (en) Imaging device and ID card creation system
JP2005219493A (en) Id card manufacturing system and method, and id card
JP2022038223A (en) Authenticity determination device and program
JP7375464B2 (en) Authenticity determination device and program
JP6051765B2 (en) ID card creation system
JP6704981B2 (en) Seal management method
JP7099179B2 (en) Authenticity determination device and program
JP2814971B2 (en) Printer device
JP2022094157A (en) Authenticity determination apparatus and program
TWI493383B (en) Information processing apparatus and information processing method
JP6880947B2 (en) Information processing equipment, collation equipment, card issuing machine
JP2004355120A (en) Id card processor and id card processing system
JP2022094154A (en) Authenticity determination apparatus and program
JP2005059383A (en) Printing deviation detector
JP2018092407A (en) Card issuing method and card issuing device
JP2006260146A (en) Medium processing device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231003

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240411