JP2005208820A - Credit card reading device and credit card reading method - Google Patents

Credit card reading device and credit card reading method Download PDF

Info

Publication number
JP2005208820A
JP2005208820A JP2004013194A JP2004013194A JP2005208820A JP 2005208820 A JP2005208820 A JP 2005208820A JP 2004013194 A JP2004013194 A JP 2004013194A JP 2004013194 A JP2004013194 A JP 2004013194A JP 2005208820 A JP2005208820 A JP 2005208820A
Authority
JP
Japan
Prior art keywords
image
credit card
image data
reading
histogram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2004013194A
Other languages
Japanese (ja)
Inventor
Katsuyuki Endo
克幸 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004013194A priority Critical patent/JP2005208820A/en
Publication of JP2005208820A publication Critical patent/JP2005208820A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a credit card reading device and a credit card reading method for reducing the processing load of a device and the transfer load of a data transfer path, and for surely generating an image whose characters and background are discriminated on a credit card. <P>SOLUTION: A printer 10 with an image reading sensor is provided with an image reading sensor 44 for reading a credit card C to be conveyed on a card conveyance path in color and an image data generating part(binary image generating part 70 or gray scale image generating part 80) for generating image data based on a card image read by the image reading sensor 44. This image data generating part prepares a histogram based on a pre-scan image acquired from a credit card C by pre-scanning, and drives the image reading sensor 44 according to the histogram to operate main scanning. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、クレジットカードの画像を読み取るクレジットカード読取装置及びクレジットカード読取方法に関する。   The present invention relates to a credit card reading device and a credit card reading method for reading an image of a credit card.

用紙やカード等の読取媒体に描かれた画像情報を取得する装置としては、イメージスキャナが一般的に用いられている。イメージスキャナは、読み取りヘッドを読取媒体に密着させた状態で、読み取りヘッドに設けられたLED等から読取媒体に光を照射し、読取媒体上で反射した光を読み取りヘッドに設けられた画像読取センサを用いて受光することによって読取媒体上の画像情報を取得する(例えば、特許文献1参照)。   An image scanner is generally used as an apparatus for acquiring image information drawn on a reading medium such as paper or a card. The image scanner irradiates the reading medium with light from an LED or the like provided in the reading head in a state where the reading head is in close contact with the reading medium, and the image reading sensor provided in the reading head reflects the light reflected on the reading medium. The image information on the reading medium is acquired by receiving the light using (see, for example, Patent Document 1).

イメージスキャナによって読み取られる読取媒体としては様々なものが考えられるが、場合によってはクレジットカードの画像を取得する場合も考えられる。クレジットカードは、一般に磁気読取装置によってその磁気データ保持部を読み取ることにより、クレジットカードが有する磁気データの読み取りが行われるが、例えば磁気読取装置が故障したり、またクレジットカードの磁気データが破損していたりする場合には、イメージスキャナを用いてクレジットカードの表面の画像情報を取得することが有効であると考えられる。   Various reading media can be read by the image scanner, but in some cases, a credit card image may be acquired. A credit card generally reads magnetic data held by a credit card by reading the magnetic data holding unit with a magnetic reader. For example, the magnetic reader fails or the magnetic data on the credit card is damaged. In such a case, it is considered effective to acquire image information on the surface of the credit card using an image scanner.

図11(a)は、クレジットカードCを表面から見た図であり、図11(b)は、クレジットカードCのマークやデザイン部分だけを取り出して示す模式図であり、図11(c)は、クレジットカードCの文字情報記載部分だけを取り出して示す図である。   FIG. 11A is a view of the credit card C as viewed from the front surface, FIG. 11B is a schematic diagram showing only the mark and design portion of the credit card C, and FIG. FIG. 4 is a diagram showing only the character information description portion of the credit card C taken out.

図11(a)〜図11(c)に示すように、クレジットカードCの表面には様々な情報が記載されている。
例えば、クレジットカードCには、図11(b)に示すように、カードの意匠性を高めるためのデザインが施されている。このクレジットカードCの場合には、カード長手方向に2本の波線L1,L2が描かれ、そしてカード幅方向に2本の直線L3,L4が描かれることによって幾何学的な文様がデザインされている。そして、クレジットカードCの右側には、カード会社の種類を示すマークM1,M2が施されて、クレジットカードCの全体のイメージを決定づけている。このクレジットカードCは、さらにデザイン性を高めるために、波線L1,L2及び直線L3,L4で区切られた各領域R1〜R9には、様々な色が着色されている。
As shown in FIGS. 11A to 11C, various information is written on the surface of the credit card C.
For example, as shown in FIG. 11B, the credit card C has a design for improving the design of the card. In the case of this credit card C, a geometric pattern is designed by drawing two wavy lines L1 and L2 in the longitudinal direction of the card and drawing two straight lines L3 and L4 in the card width direction. Yes. And the mark M1, M2 which shows the kind of card company is given to the right side of the credit card C, and the whole image of the credit card C is decided. In the credit card C, in order to further improve the design, the regions R1 to R9 divided by the wavy lines L1 and L2 and the straight lines L3 and L4 are colored in various colors.

また図11(c)に示すように、クレジットカードCには、カード会社が発行するカードの種類を示すカード名C1と、カード固有の番号であるカード番号C2と、カード発行会社名を識別するためのカード会社コードC3と、クレジットカードCの有効期限C4と、クレジットカードCの所有者名C5等が記載されている。これらのうち、カード番号C2、カード会社コードC3、有効期限C4及び所有者名C5等は、エンボス加工が施されることにより。裏面から表面に向かって字体が凸状に浮き上がったエンボスとされている。   Further, as shown in FIG. 11C, the credit card C identifies the card name C1 indicating the type of card issued by the card company, the card number C2 which is a card-specific number, and the card issuing company name. Card company code C3, credit card C expiration date C4, credit card C owner name C5, and the like. Of these, the card number C2, the card company code C3, the expiration date C4, the owner name C5, etc. are embossed. The embossing has a font that is raised from the back to the front.

イメージスキャナは、この種のカード上の画像を読み取ると、読み取った画像をホストコンピュータに画像を転送する。そして、ホストコンピュータは、このOCR処理を行って画像の文字認識する、得られた画像を画面に表示する、所定の用紙に印刷する等の処理を行う。ここで、イメージスキャナは、データ量を削減するために、読み取った画像を二値化した後に、ホストコンピュータに画像を転送するようにしてもよい。
特開平11−284801(0014段落,図1)
When the image scanner reads an image on this type of card, the image is transferred to the host computer. Then, the host computer performs the OCR process to recognize characters of the image, display the obtained image on the screen, and print on a predetermined sheet. Here, in order to reduce the amount of data, the image scanner may transfer the image to the host computer after binarizing the read image.
JP-A-11-284801 (paragraph 0014, FIG. 1)

上述のようなクレジットカードCをモノクロスキャナで読み取る場合には、背景と文字の色調のバランスによっては、文字が背景に埋もれてしまい、読み取った画像から文字が正しく認識できないような場合がある。たとえば、読み取るべき文字がシルバーで着色されており、カード全体も同様のシルバー色で背景がデザインされているような場合には、モノクロで読み取った画像中の文字が背景とほぼ同化してしまい、文字と背景を画像中で区別できない場合もある。特に、このような画像を所定のしきい値を用いて二値化してしまうと文字と背景が混ざってしまい、双方を画像中で区別できない可能性が高い。   When the above-described credit card C is read by a monochrome scanner, the character may be buried in the background depending on the balance between the background and the color tone of the character, and the character may not be correctly recognized from the read image. For example, if the characters to be read are colored with silver and the background is designed in the same silver color on the entire card, the characters in the image read in monochrome are almost assimilated with the background, In some cases, the character and background cannot be distinguished in the image. In particular, if such an image is binarized using a predetermined threshold, characters and background are mixed, and there is a high possibility that both cannot be distinguished in the image.

また、スキャナによってクレジットカードをスキャンすると、エンボスの影とクレジットカードの背景とが同化してしまい、エンボスが正しく読み取れない場合も考えられる。このような場合にも、文字と背景が混ざってしまい、双方を画像中で区別できないような場合がある。   Further, when a credit card is scanned by a scanner, the shadow of the emboss and the background of the credit card are assimilated, and the emboss may not be read correctly. Even in such a case, the character and the background may be mixed, and both may not be distinguished in the image.

この問題を解決するためには、カラースキャナを用いて、クレジットカードを読み取ることも考えられる。しかしながら、カラースキャナの場合、データ量の増加によってスキャナの負荷及びスキャナとホストコンピュータとの間のデータ転送負荷が増大してしまい、クレジットカード読取処理を実行するために高い性能を持つCPUや回路が要求されてしまう。   In order to solve this problem, it is conceivable to read a credit card using a color scanner. However, in the case of a color scanner, the load on the scanner and the data transfer load between the scanner and the host computer increase due to an increase in the amount of data, and a high-performance CPU or circuit for executing a credit card reading process is required. It will be requested.

本発明は、上記問題点を鑑み、装置の処理負荷及びデータ転送路の転送負荷を低減しつつ、確実にクレジットカード上の文字と背景を区別した画像を生成することが可能なクレジットカード読取装置及びクレジットカード読取方法を提供することを目的とする。   SUMMARY OF THE INVENTION In view of the above problems, the present invention is a credit card reading device capable of reliably generating an image in which characters on a credit card are distinguished from a background while reducing the processing load of the device and the transfer load of the data transfer path. And a credit card reading method.

本発明の上記課題は、以下のような構成によって達成される。
(1) カード搬送路を搬送されるクレジットカードを複数色の読取光で読み取リ可能な画像読取センサと、
前記画像読取センサによって読み取られる画像データを処理する画像データ生成部とを有し、
前記画像データ生成部は、プレスキャンにより前記クレジットカードから得られたプレスキャン画像を基にヒストグラムを作成するとともに、前記ヒストグラムに応じて前記画像読取センサを駆動して本スキャンを行わせることを特徴とするクレジットカード読取装置。
(2) 前記画像データ生成部は、前記ヒストグラムに応じて、前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な読取光を選択し、
前記画像読取センサは、前記読取光を用いて、本スキャンを行うことを特徴とする(1)記載のクレジットカード読取装置。
(3) 前記画像読取センサは、前記複数色の読取光の全てを用いて前記プレスキャンを行い、
前記画像データ生成部は、各読取光に対応する画像データからそれぞれヒストグラムを作成し、かつ各ヒストグラムを参照しながら前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な前記読取光を選択することを特徴とする(2)記載のクレジットカード読取装置。
(4) 前記画像データ生成部は、各読取光に対応する画像データからそれぞれ作成されたヒストグラム中のピークを算出し、ピーク間距離が最大であるヒストグラムに対応する前記読取光を用いて本スキャンを行い、
前記本スキャンで得られた画像データをホストコンピュータへ送信することを特徴とする(3)記載のクレジットカード読取装置。
(5) 前記画像データ生成部は、前記本スキャンで得られた画像データを二値化して二値化画像データを生成し、
前記二値化画像データを前記ホストコンピュータへ送信することを特徴とする(4)記載のクレジットカード読取装置。
(6) 各読取光に対応する画像データからそれぞれ作成されたヒストグラムを基に算出されたピーク間距離が最大となるヒストグラムのピーク間距離が所定値より小さい場合には、前記複数色の読取光の全てを用いて本スキャンを行い、
前記本スキャンで得られた画像データをグレースケール画像データに変換して前記ホストコンピュータへ送信することを特徴とする(4)記載のクレジットカード読取装置。
(7) さらに、カード挿入口から前記クレジットカードを前記カード搬送路に沿って順方向に搬送した後に、前記クレジットカードを前記カード搬送路に沿って前記カード挿入口へ逆方向に搬送する搬送ローラを備え、
前記画像読取センサは、前記クレジットカードが前記順方向に搬送される間に前記プレスキャンを行い、そして前記逆方向に搬送される間に本スキャンを行うことを特徴とする(1)〜(6)の何れか1項に記載のクレジットカード読取装置。
(8) 前記画像読取センサは、カラー画像読取センサであり、前記複数の読取光はそれぞれR、G、Bに対応する光であることを特徴とする(1)〜(7)の何れか1項に記載のクレジットカード読取装置。
(9) クレジットカードをプレスキャンしてプレスキャン画像を取得するステップと、
前記プレスキャン画像のヒストグラムを作成するステップと、
前記ヒストグラムに応じて、前記クレジットカードの本スキャンを行うステップとを有することを特徴とするクレジットカード読取方法。
(10) 前記ヒストグラムに応じて、前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な複数色の読取光の何れか一つを選択するステップをさらに有し、
前記本スキャンは、前記選択された読取光を用いて行われることを特徴とする(9)記載のクレジットカード読取方法。
(11) 前記プレスキャンは、前記複数色の読取光の全てを用いて行われ、
各読取光に対応する画像データからそれぞれヒストグラムを作成し、
各ヒストグラムを参照しながら前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な前記複数の読取光の何れか一つを選択することを特徴とする(10)記載のクレジットカード読取方法。
(12) 各読取光に対応する画像データからそれぞれ作成されたヒストグラム中のピークを算出するステップと、
ピーク間距離が最大であるヒストグラムに対応する前記読取光を用いて本スキャンを行うステップと、
前記本スキャンで得られた画像データをホストコンピュータへ送信するステップとを備えたことを特徴とする(11)記載のクレジットカード読取方法。
(13) 前記本スキャンで得られた画像データを二値化して二値化画像データを生成するステップを備えたことを特徴とする(12)記載のクレジットカード読取方法。
(14) 各読取光に対応する画像データからそれぞれ作成されたヒストグラムを基に算出されたピーク間距離が最大となるヒストグラムのピーク間距離が所定値より小さい場合には、前記複数の読取光の全てを用いて本スキャンを行い、
前記本スキャンで得られた画像データをグレースケール画像データに変換して前記ホストコンピュータへ送信することを特徴とする(12)記載のクレジットカード読取方法。
(15) 前記クレジットカードが前記カード搬送路に沿って順方向に搬送される間に前記プレスキャンを行い、そして前記クレジットカードが前記カード搬送路に沿って逆方向に搬送される間に本スキャンを行うことを特徴とする(9)〜(14)の何れか1項に記載のクレジットカード読取方法。
The above object of the present invention is achieved by the following configurations.
(1) an image reading sensor capable of reading a credit card conveyed on the card conveying path with a plurality of colors of reading light;
An image data generation unit that processes image data read by the image reading sensor;
The image data generation unit creates a histogram based on a prescan image obtained from the credit card by prescan, and drives the image reading sensor according to the histogram to perform a main scan. Credit card reader.
(2) The image data generation unit selects reading light that can acquire image data having the clearest contrast between the character part and the background part in the credit card, according to the histogram,
The credit card reader according to (1), wherein the image reading sensor performs a main scan using the reading light.
(3) The image reading sensor performs the pre-scan using all of the reading lights of the plurality of colors,
The image data generation unit can create a histogram from image data corresponding to each reading light, and obtain image data with the clearest contrast between the character part and the background part in the credit card while referring to the histogram. (2) The credit card reading device according to (2), wherein the reading light is selected.
(4) The image data generation unit calculates a peak in the histogram created from the image data corresponding to each reading light, and performs the main scan using the reading light corresponding to the histogram having the maximum peak-to-peak distance. And
The credit card reader according to (3), wherein the image data obtained by the main scan is transmitted to a host computer.
(5) The image data generation unit binarizes the image data obtained in the main scan to generate binarized image data,
The credit card reader according to (4), wherein the binarized image data is transmitted to the host computer.
(6) When the peak-to-peak distance of the histogram in which the peak-to-peak distance calculated based on the histogram respectively created from the image data corresponding to each reading light is smaller than a predetermined value, the reading lights of the plurality of colors Perform a full scan using all of the
The credit card reader according to (4), wherein the image data obtained by the main scan is converted into grayscale image data and transmitted to the host computer.
(7) Further, a transport roller that transports the credit card from the card insertion slot in the forward direction along the card transport path and then transports the credit card in the reverse direction along the card transport path to the card insertion slot. With
The image reading sensor performs the pre-scan while the credit card is conveyed in the forward direction, and performs a main scan while the credit card is conveyed in the reverse direction. The credit card reader according to any one of the above.
(8) Any one of (1) to (7), wherein the image reading sensor is a color image reading sensor, and the plurality of reading lights are lights corresponding to R, G, and B, respectively. The credit card reader according to item.
(9) pre-scanning the credit card to obtain a pre-scan image;
Creating a histogram of the pre-scanned image;
A credit card reading method comprising: performing a main scan of the credit card according to the histogram.
(10) according to the histogram, further comprising the step of selecting any one of a plurality of colors of reading light capable of acquiring image data with the clearest contrast between the character portion and the background portion in the credit card;
The credit card reading method according to (9), wherein the main scan is performed using the selected reading light.
(11) The pre-scan is performed using all of the reading lights of the plurality of colors,
Create a histogram from the image data corresponding to each reading light,
(10) wherein any one of the plurality of reading lights capable of acquiring image data having the clearest contrast between a character portion and a background portion in the credit card is selected with reference to each histogram. Credit card reading method.
(12) calculating a peak in a histogram respectively created from image data corresponding to each reading light;
Performing a main scan using the reading light corresponding to a histogram having a maximum peak-to-peak distance;
And a method of transmitting image data obtained by the main scan to a host computer.
(13) The credit card reading method according to (12), further comprising the step of binarizing the image data obtained in the main scan to generate binarized image data.
(14) When the peak-to-peak distance of the histogram in which the peak-to-peak distance calculated based on the histogram respectively created from the image data corresponding to each reading light is smaller than a predetermined value, the plurality of reading lights Perform a full scan using all
(12) The credit card reading method according to (12), wherein the image data obtained by the main scan is converted into grayscale image data and transmitted to the host computer.
(15) The pre-scan is performed while the credit card is transported in the forward direction along the card transport path, and the main scan is performed while the credit card is transported in the reverse direction along the card transport path. The credit card reading method according to any one of (9) to (14), wherein:

本発明のクレジットカード読取装置及び読取方法では、複数の読取光の中から最もOCR認識が容易な画像を取得することができる読取光が選択される。したがって、クレジットカードの画像中の文字部と背景部のコントラストが最も明瞭な画像データをホストコンピュータに送信することが可能である。よって、ホストコンピュータにおいて文字認識の精度を向上させることが可能となる。   In the credit card reader and the reading method of the present invention, a reading light that can acquire an image that is most easily recognized by OCR is selected from a plurality of reading lights. Therefore, it is possible to transmit image data having the clearest contrast between the character portion and the background portion in the image of the credit card to the host computer. Therefore, it is possible to improve the accuracy of character recognition in the host computer.

また、本発明のクレジットカード読取装置及び読取方法では、複数の読取光のうち少なくとも一つの読取光から取得した画像データのみをホストコンピュータに送信するので、ホストコンピュータに送信される画像データのデータ量は、単一の光源のみを備えたモノクロ画像読取センサによって取得される画像データのデータ量と同程度である。したがって、本発明のクレジットカード読取装置及び読取方法では、取り扱う画像データのデータ量を最小限に押さえることにより内部処理の負荷を軽減させるとともに、画像データの転送による転送負荷をモノクロ画像読取センサによって取得された画像データの転送負荷と同程度に押さえることが可能となる。   In the credit card reading apparatus and reading method of the present invention, only the image data acquired from at least one of the plurality of reading lights is transmitted to the host computer, so that the data amount of the image data transmitted to the host computer Is equivalent to the data amount of image data acquired by a monochrome image reading sensor having only a single light source. Therefore, in the credit card reading apparatus and reading method of the present invention, the internal processing load is reduced by minimizing the amount of image data to be handled, and the transfer load due to the transfer of the image data is acquired by the monochrome image reading sensor. It is possible to keep the same load as the transfer load of the image data.

以下、図面を参照しながら、本発明に係るクレジットカード読取装置及びクレジットカード読取方法の実施の形態について、詳細に説明を行う。   Hereinafter, embodiments of a credit card reading apparatus and a credit card reading method according to the present invention will be described in detail with reference to the drawings.

本実施形態の画像読取センサ付きプリンタ10は、図5(図5については後ほど詳述する)に示すように、ホストコンピュータ100と通信可能に接続されている。画像読取センサ付きプリンタ10は、ホストコンピュータ100から送信される各種コマンドにより動作し、クレジットカードCの画像を読み取ってホストコンピュータ100に送信する。そして、ホストコンピュータ100は、画像読取センサ付きプリンタ10から送信されるクレジットカードCの画像にOCR処理を施し、クレジットカードCの画像中の文字認識を行うように構成されている。   The printer 10 with an image reading sensor of this embodiment is connected to a host computer 100 so as to be communicable as shown in FIG. 5 (FIG. 5 will be described in detail later). The printer 10 with an image reading sensor operates in accordance with various commands transmitted from the host computer 100, reads an image on the credit card C, and transmits it to the host computer 100. The host computer 100 is configured to perform OCR processing on the image of the credit card C transmitted from the printer 10 with an image reading sensor, and to recognize characters in the image of the credit card C.

ここで、ホストコンピュータ100が高精度な文字認識を行うためには、画像読取センサ付きプリンタ10がクレジットカードCの文字部と背景部のコントラストがはっきりした画像データを取得し、ホストコンピュータ100に送信することが好ましい。また、画像読取センサ付きプリンタ10の処理負荷及びホストコンピュータへのデータ転送負荷を考慮すると、画像読取センサ付きプリンタ10が処理する画像データのデータ量がなるべく小さいことが好ましい。   Here, in order for the host computer 100 to perform highly accurate character recognition, the printer 10 with an image reading sensor acquires image data with a clear contrast between the character portion of the credit card C and the background portion, and transmits it to the host computer 100. It is preferable to do. In consideration of the processing load of the printer 10 with the image reading sensor and the data transfer load to the host computer, it is preferable that the amount of image data processed by the printer 10 with the image reading sensor is as small as possible.

そこで、本実施形態では、クレジットカードCを複数色の読取光で読み取リ可能な、すなわちカラー画像読取センサ44を用いてプレスキャンを行い、複数色の読取光それぞれから生成される画像データのうち、最もコントラストがはっきりした画像データに対応する読取光を本スキャン時の読取光に設定し、選択された読取光のみを用いて本スキャンを行いホストコンピュータ100へ送信する画像データを生成するように構成している。   Therefore, in the present embodiment, the credit card C can be read with a plurality of colors of reading light, that is, pre-scanning is performed using the color image reading sensor 44, and among the image data generated from each of the reading lights of a plurality of colors. The reading light corresponding to the image data with the clearest contrast is set as the reading light at the time of the main scanning, and the main scanning is performed using only the selected reading light, and the image data to be transmitted to the host computer 100 is generated. It is composed.

以下の説明においては、まず画像読取センサ付きプリンタ10の構造について説明し、その後にクレジットカードCの画像読取制御について説明していく。   In the following description, the structure of the printer 10 with an image reading sensor will be described first, and then image reading control of the credit card C will be described.

(画像読取センサ付きプリンタの構造)
図1は、本実施形態のクレジットカード読取装置である画像読取センサ付きプリンタ10を示す外観斜視図である。図2は、画像読取センサ付きプリンタ10の部分断面図である。図3は、画像読取センサ付きプリンタ10の上面蓋体部を示す斜視図である。図4は、内部カバーが開かれた状態におけるカード搬送路の上面側を示す断面図である。
(Structure of printer with image reading sensor)
FIG. 1 is an external perspective view showing a printer 10 with an image reading sensor, which is a credit card reader according to the present embodiment. FIG. 2 is a partial cross-sectional view of the printer 10 with an image reading sensor. FIG. 3 is a perspective view showing an upper surface lid portion of the printer 10 with an image reading sensor. FIG. 4 is a cross-sectional view showing the upper surface side of the card transport path in a state where the inner cover is opened.

本実施形態の画像読取センサ付きプリンタ10は、ロール紙Pとスリップ紙Sの双方へ印刷可能であり、かつスリップ紙S、クレジットカードC等に記録された画像情報を読み取り可能なスキャナ付きプリンタである。   The printer 10 with an image reading sensor of the present embodiment is a printer with a scanner that can print on both roll paper P and slip paper S and can read image information recorded on the slip paper S, credit card C, and the like. is there.

画像読取センサ付きプリンタ10は、筐体11a内部に連続紙としてのロール紙Pを収納するとともに、このロール紙Pへの印字を行う印字機構等を備える背面側筐体部11と、背面側筐体部11の正面側に設けられ、背面側筐体部11との間にスリップ紙Sが搬送されるスリップ紙搬送路21を画成する正面側筐体部12と、背面側筐体部11の上面側を覆うように取り付けられ、クレジットカードC等の媒体に記録された画像情報を読み取るカード画像読取センサ等を収納する上面蓋体部13とが一体に形成されて構成されている。   The printer 10 with an image reading sensor accommodates a roll paper P as continuous paper in a housing 11a, and includes a back side housing unit 11 having a printing mechanism and the like for printing on the roll paper P, and a back side housing. A front-side housing unit 12 that is provided on the front side of the body unit 11 and defines a slip paper transport path 21 through which the slip paper S is transported between the back-side housing unit 11 and the back-side housing unit 11. A top cover body portion 13 for housing a card image reading sensor and the like for reading image information recorded on a medium such as a credit card C is integrally formed.

ここで、正面側筐体部12は、スリップ紙搬送路21を介して筐体部11から隔てられた正面側カバー12aと、正面カバー12aを片支持状態で保持する正面側側部12bとから構成されている。スリップ紙Sは、図1に示すように、画像読取センサ付きプリンタ10の正面側であって、かつ背面側筐体部11の筐体11aと正面側筐体部12の正面側筐体部12の正面カバー12aとの間に開口したスリップ紙挿入口21aからスリップ紙搬送路21内に挿入可能とされている。   Here, the front-side housing unit 12 includes a front-side cover 12a that is separated from the housing unit 11 via the slip paper conveyance path 21, and a front-side side portion 12b that holds the front cover 12a in a single-supported state. It is configured. As shown in FIG. 1, the slip paper S is on the front side of the printer 10 with an image reading sensor, and the housing 11 a of the rear housing unit 11 and the front housing unit 12 of the front housing unit 12. It can be inserted into the slip paper transport path 21 from a slip paper insertion port 21a opened between the front cover 12a and the front cover 12a.

スリップ紙搬送路21には、図示せぬ複数の搬送ローラが設けられており、スリップ紙Sはこれらの搬送ローラによって搬送されながら、表面または裏面に印字が行われる。また、スリップ紙搬送路21には、図示せぬスリップ紙画像読取センサが設けられており、スリップ紙Sの表面の画像を読み取り可能となっている。また、スリップ紙挿入口21a近傍には、図示せぬMICR読取センサが設けられており、スリップ紙S上に印字されたMICR文字を読み取り可能に構成されている。   The slip paper transport path 21 is provided with a plurality of transport rollers (not shown), and the slip paper S is printed on the front or back surface while being transported by these transport rollers. Further, a slip paper image reading sensor (not shown) is provided in the slip paper conveyance path 21 so that an image on the surface of the slip paper S can be read. Further, a MICR reading sensor (not shown) is provided in the vicinity of the slip paper insertion opening 21a so that MICR characters printed on the slip paper S can be read.

次に、図2を参照しながら、ロール紙搬送路35と、ロール紙搬送路35近傍に配置された各部材の動作の説明を行う。筐体部11と上面側蓋体部13との間には、ロール紙搬送路35が形成されている。ロール紙Pは、背面側筐体部11内部に設けられたロール紙収納壁31によって形成されたロール紙収納部30に装填されている。このロール紙Pは、ロール紙搬送路35に沿って送り出され、筐体11aと上面カバー13aとの間に開口したロール紙排出口35aから排出される。   Next, the operation of the roll paper conveyance path 35 and each member disposed in the vicinity of the roll paper conveyance path 35 will be described with reference to FIG. A roll paper transport path 35 is formed between the housing unit 11 and the upper surface side lid unit 13. The roll paper P is loaded in a roll paper storage unit 30 formed by a roll paper storage wall 31 provided inside the back side housing unit 11. The roll paper P is sent out along the roll paper conveyance path 35 and discharged from a roll paper discharge port 35a opened between the housing 11a and the upper surface cover 13a.

このロール紙収納部30は、ドロップイン方式のロール紙収納部であり、ロール紙Pは、ロール紙収納部30内に投入して装填される。このロール紙Pの用紙供給は、ロール紙Pがロール紙収納壁31にガイドされながら回転することによって行われる。ロール紙収納部30に配置されたロール紙Pの一端は、ロール紙収納部30から引き出されて、プラテンローラ32によって搬送されながら、サーマル印字ヘッド33によって印字が行われる。印字されたロール紙Pは、ロール紙搬送路35を通ってロール紙排出口35aから排出される。   The roll paper storage unit 30 is a drop-in roll paper storage unit, and the roll paper P is loaded and loaded into the roll paper storage unit 30. The roll paper P is supplied by the roll paper P rotating while being guided by the roll paper storage wall 31. One end of the roll paper P disposed in the roll paper storage unit 30 is pulled out from the roll paper storage unit 30 and is printed by the thermal print head 33 while being conveyed by the platen roller 32. The printed roll paper P passes through the roll paper transport path 35 and is discharged from the roll paper discharge port 35a.

プラテンローラ32及びサーマル印字ヘッド33の上方には、図2に示すように、オートカッタ34が配置されている。オートカッタ34は、ロール紙搬送路35の一方側に配置された固定刃34aと、ロール紙搬送路35を挟んで他方側に固定刃34aに対応して配置された可動刃34bとを有しており、可動刃34bが、ロール紙搬送路35に向かって図2の矢印A方向に移動して、固定刃34aとの間にロール紙Pを挟み込むことによって、ロール紙Pを切断する。   As shown in FIG. 2, an auto cutter 34 is disposed above the platen roller 32 and the thermal print head 33. The auto cutter 34 has a fixed blade 34a disposed on one side of the roll paper transport path 35 and a movable blade 34b disposed on the other side of the roll paper transport path 35 corresponding to the fixed blade 34a. The movable blade 34b moves in the direction of arrow A in FIG. 2 toward the roll paper transport path 35, and the roll paper P is cut by sandwiching the roll paper P with the fixed blade 34a.

上面蓋体部13の下部には、主要骨格としてフレーム51が設けられている。このフレーム51は、ヒンジ部52を介して、背面側筐体部11に設けられた固定部53に対して回動可能に構成されており、これにより上面蓋体部13が、ロール紙収納部30に対して開閉動作可能に構成されている。ロール紙Pの交換時には、ヒンジ部52を介して上面蓋体部13が開かれてロール紙収納部30にロール紙Pを挿入可能な状態となる。   A frame 51 is provided as a main skeleton at the lower portion of the upper surface lid body portion 13. The frame 51 is configured to be rotatable with respect to a fixed portion 53 provided on the back side housing portion 11 via a hinge portion 52, whereby the upper surface lid portion 13 is configured to be a roll paper storage portion. 30 can be opened and closed. When the roll paper P is exchanged, the top cover body portion 13 is opened via the hinge portion 52 and the roll paper P can be inserted into the roll paper storage portion 30.

次に、カード画像情報読取部40について説明を行う。カード画像情報読取部40は、シートフィード方式のイメージスキャナであり、読取媒体であるクレジットカードCを搬送しながらクレジットカードC上の画像を読み取るものである。カード画像情報読取部40は、図2に示すように、上面カバー13aと、ロール紙収納部30との間に設けられており、クレジットカードC等を図2及び図3に示すカード挿入口41aからカード搬送路41内に挿入し、クレジットカードC上の画像情報を読み取り可能に構成されている。なお、図3に示すように、上面カバー13aのカード挿入口41aの手前側には、クレジットカードCをガイドしてクレジットカードCの挿入を補助するテーブル13bが形成されている。また、カード挿入口41aに隣接した上面カバー13aには、ユーザにクレジットカードCの読み取り動作に関わるプリンタの状態を通知するLED表示部16が設けられている。   Next, the card image information reading unit 40 will be described. The card image information reading unit 40 is a sheet feed type image scanner, and reads an image on the credit card C while conveying the credit card C as a reading medium. As shown in FIG. 2, the card image information reading unit 40 is provided between the top cover 13a and the roll paper storage unit 30, and the credit card C or the like is inserted into the card insertion slot 41a shown in FIGS. The image information on the credit card C can be read by being inserted into the card conveyance path 41. As shown in FIG. 3, a table 13b that guides the credit card C and assists the insertion of the credit card C is formed on the front side of the card insertion slot 41a of the top cover 13a. An LED display unit 16 is provided on the top cover 13a adjacent to the card insertion slot 41a to notify the user of the status of the printer related to the credit card C reading operation.

カード画像情報読取部40において、カード搬送路41の上面側、すなわち上面カバー13a側には、第1送りローラ43a、カード画像読取センサ44、および第2送りローラ46aがカード搬送路41に沿って配置されている。一方、カード搬送路41の下面側、すなわちロール紙収納部30側には、第1押さえローラ43b、押しつけローラ45、および第2押さえローラ46bが、それぞれ第1送りローラ43a、カード画像読取センサ44、および第2送りローラ46aと対向する位置に配置されている。   In the card image information reading unit 40, a first feed roller 43 a, a card image reading sensor 44, and a second feed roller 46 a are provided along the card transport path 41 on the upper surface side of the card transport path 41, that is, on the upper cover 13 a side. Has been placed. On the other hand, on the lower surface side of the card transport path 41, that is, on the roll paper storage unit 30 side, a first pressing roller 43b, a pressing roller 45, and a second pressing roller 46b are respectively a first feeding roller 43a and a card image reading sensor 44. , And the second feed roller 46a.

第1送りローラ43aおよび第1押さえローラ43bは、カード挿入口41aとカード画像読取センサ44との間(カード画像読取センサ44の上流側)に配置されており、カード搬送路41内に挿入されたクレジットカードCをカード搬送路41に沿って前後に搬送可能に構成されている。第1送りローラ43aおよび第1押さえローラ43bによって搬送されたクレジットカードCは、カード画像読取センサ44と押しつけローラ45との間に送られる。   The first feed roller 43 a and the first pressing roller 43 b are disposed between the card insertion opening 41 a and the card image reading sensor 44 (upstream side of the card image reading sensor 44), and are inserted into the card transport path 41. The credit card C can be transported back and forth along the card transport path 41. The credit card C conveyed by the first feeding roller 43a and the first pressing roller 43b is sent between the card image reading sensor 44 and the pressing roller 45.

カード画像読取センサ44は、クレジットカードCの表面に記録された文字や画像を読み取るCISタイプのカラーイメージセンサである。カード画像読取センサ44は、押しつけローラ45によってカード画像読取センサ44の読み取り面44aにカード厚に応じた押し付け力によって適宜押しつけられた状態で、文字や画像等の画像情報を読み取る。具体的には、カード画像読取センサ44は、カード搬送路41を搬送されるクレジットカードCの上面にR光源44b,G光源44c及びB光源44dからを順次R、G、Bの光を照射し、クレジットカードC上で反射した各光を読み取り面44aで受光する。読み取り面44a側には、図示せぬ複数の光電変換素子が長手方向(カード搬送方向に垂直な方向、クレジットカードCの幅方向)に1列に配列されており、各光電変換素子は受光した光量に応じた電気信号を生成する。ここで、各光電変換素子は、それぞれ8ビットの階調(256階調)で画像を読み取るように構成されている。   The card image reading sensor 44 is a CIS type color image sensor that reads characters and images recorded on the surface of the credit card C. The card image reading sensor 44 reads image information such as characters and images while being appropriately pressed by the pressing roller 45 against the reading surface 44a of the card image reading sensor 44 with a pressing force corresponding to the card thickness. Specifically, the card image reading sensor 44 sequentially irradiates R, G, and B light from the R light source 44b, the G light source 44c, and the B light source 44d on the upper surface of the credit card C that is transported through the card transport path 41. Each light reflected on the credit card C is received by the reading surface 44a. On the reading surface 44a side, a plurality of photoelectric conversion elements (not shown) are arranged in a line in the longitudinal direction (the direction perpendicular to the card carrying direction, the width direction of the credit card C), and each photoelectric conversion element receives light. An electric signal corresponding to the amount of light is generated. Here, each photoelectric conversion element is configured to read an image with 8-bit gradation (256 gradations).

第2送りローラ46aおよび第2押さえローラ46bは、カード画像読取センサ44の下流側に配置されており、カード搬送路41内に挿入されたクレジットカードCをカード搬送路41に沿って前後に搬送可能に構成されている。   The second feed roller 46 a and the second pressing roller 46 b are arranged on the downstream side of the card image reading sensor 44, and convey the credit card C inserted into the card conveyance path 41 back and forth along the card conveyance path 41. It is configured to be possible.

また、第2送りローラ46aおよび第2押さえローラ46bの下流側であって、カード搬送路41と上面カバー13aとの交差する位置には、張り出し開口41bが開口している。この張り出し開口41bは、カード搬送路41内のクレジットカードCが、第2送りローラ46aおよび第2押さえローラ46bによってニップされた状態でカード搬送路41の下流側に送り出されて、一時的に画像読取センサ付きプリンタ10の背面側から張り出すことを許容するものである。   Further, an overhanging opening 41b is opened at a position downstream of the second feeding roller 46a and the second pressing roller 46b and intersecting the card transport path 41 and the upper surface cover 13a. This overhanging opening 41b is sent out to the downstream side of the card conveying path 41 in a state where the credit card C in the card conveying path 41 is nipped by the second feeding roller 46a and the second pressing roller 46b to temporarily store the image. It is allowed to project from the back side of the printer 10 with the reading sensor.

ロール紙収納部30側に配置された第1押さえローラ43b、押しつけローラ45、および第2押さえローラ46bは、カード搬送路41とロール紙収納部30との間に配置された内部カバー42に回転可能に支持されている。内部カバー42は、カード搬送路41をなすカード搬送面42aがその上面に形成されており、第1押さえローラ43b、押しつけローラ45、および第2押さえローラ46bは、カード搬送面42aから一部突出して、それぞれ第1送りローラ43a、カード画像読取センサ44、および第2送りローラ46aに当接可能に構成されている。   The first pressing roller 43b, the pressing roller 45, and the second pressing roller 46b arranged on the roll paper storage unit 30 side rotate to the inner cover 42 arranged between the card transport path 41 and the roll paper storage unit 30. Supported as possible. The inner cover 42 has a card transport surface 42a that forms a card transport path 41 formed on the upper surface thereof, and the first pressing roller 43b, the pressing roller 45, and the second pressing roller 46b are partially protruded from the card transport surface 42a. The first feed roller 43a, the card image reading sensor 44, and the second feed roller 46a can be brought into contact with each other.

この内部カバー42は、ヒンジ部55を介して、上面蓋体部13側からカード搬送方向に略垂直に立設したガイド壁54,54に回動可能に取り付けられている。さらに詳細に説明すると、ヒンジ部55は、内部カバー42の背面側に設けられており、上面蓋体部13が開かれた状態で、上方に向けられた内部カバー42の正面側がプリンタ10の正面側に向かって引き出されて、プリンタ10の正面側からカード搬送路41の各種部材のメンテナンス可能に構成されている。   The inner cover 42 is rotatably attached to guide walls 54, 54 erected substantially perpendicularly to the card conveying direction from the upper surface lid body 13 side via a hinge portion 55. More specifically, the hinge portion 55 is provided on the rear side of the inner cover 42, and the front side of the inner cover 42 facing upward is the front side of the printer 10 with the upper surface lid portion 13 being opened. The various members of the card transport path 41 can be maintained from the front side of the printer 10.

また、内部カバー42が取り付けられたガイド壁54,54は、図4に示すように、カード搬送路41内に挿入されたクレジットカードCの挿入方向を修正する案内部材となる。例えば、クレジットカードCがカード搬送方向(ここでは、カード挿入口41aに対して垂直かつ用紙搬送面42aに平行な方向)に対して少し斜めに挿入された場合には、第1送りローラ43aおよび第2送りローラ46aによって搬送されながら、ガイド壁54,54の何れか一方の壁面に当接して案内されることにより、クレジットカードCの挿入方向が曲げられ、クレジットカードCの搬送方向がカード搬送方向に揃うようになる。これにより、ガイド壁54,54は、クレジットカードCの挿入方向がカード搬送方向に対して少し角度を持っていた場合であっても、クレジットカードCは、カード搬送方向に沿って搬送されていく。   Moreover, the guide walls 54 and 54 to which the inner cover 42 is attached serve as guide members for correcting the insertion direction of the credit card C inserted into the card transport path 41 as shown in FIG. For example, when the credit card C is inserted slightly obliquely with respect to the card transport direction (here, the direction perpendicular to the card insertion slot 41a and parallel to the paper transport surface 42a), the first feed roller 43a and While being conveyed by the second feed roller 46a, it is guided in contact with one of the wall surfaces of the guide walls 54, 54, whereby the insertion direction of the credit card C is bent and the conveyance direction of the credit card C is the card conveyance. Align in the direction. Thereby, even if the insertion direction of the credit card C has a little angle with respect to the card conveyance direction, the credit walls C are conveyed along the card conveyance direction. .

このカード搬送方向の修正は、第1送りローラ43aおよび第1押さえローラ43bならびに第2送りローラ46aおよび第2押さえローラ46bによって、カード挿入口41a側から張り出し開口41bに向かって順方向に搬送されて、クレジットカードCが完全にカード画像読取センサ44を通過するまでの間に行われる。そして、クレジットカードCは、クレジットカードCが完全にカード画像読取センサ44を通過した後に、カード画像読取センサ44の読み取り面44aに逆方向に搬送される。これにより、カード画像読取センサ44は、常にクレジットカードCの向きが揃った状態で、クレジットカードCの画像情報を正確に読み取ることができる。   This correction of the card conveying direction is conveyed in the forward direction from the card insertion opening 41a toward the overhanging opening 41b by the first feeding roller 43a and the first pressing roller 43b and the second feeding roller 46a and the second pressing roller 46b. This is performed until the credit card C completely passes the card image reading sensor 44. Then, after the credit card C has completely passed through the card image reading sensor 44, the credit card C is conveyed to the reading surface 44a of the card image reading sensor 44 in the reverse direction. As a result, the card image reading sensor 44 can accurately read the image information of the credit card C with the orientation of the credit card C always aligned.

なお、本実施形態では、カード挿入口41a側から張り出し開口41bに向かってクレジットカードCが順方向に搬送される間に、カード画像読取センサ44は、クレジットカードCの画像のプレスキャンを行い、そして張り出し開口41bからカード挿入口41a側に向かってクレジットカードCが搬送される間に、クレジットカードCの画像の本スキャンを行う。これらの画像読取の詳細については、後述する。   In the present embodiment, the card image reading sensor 44 performs a pre-scan of the image of the credit card C while the credit card C is conveyed in the forward direction from the card insertion opening 41a side toward the protruding opening 41b. Then, the main scan of the image of the credit card C is performed while the credit card C is conveyed from the overhanging opening 41b toward the card insertion slot 41a. Details of the image reading will be described later.

また、図4に示すように、カード搬送路41のカード挿入口41aの近傍には、カード検出器48が設けられている。このカード検出器48は、カード挿入口41aから挿入されたクレジットカードCを検出するセンサである。第1送りローラ43aおよび第2送りローラ46aは、このカード検出器48によって検出された後に、駆動開始するように構成されており、クレジットカードCの挿入がトリガーとなって、カード搬送路41内でのカード送り動作が開始される。   Further, as shown in FIG. 4, a card detector 48 is provided in the vicinity of the card insertion slot 41 a of the card transport path 41. The card detector 48 is a sensor that detects the credit card C inserted from the card insertion slot 41a. The first feed roller 43a and the second feed roller 46a are configured to start driving after being detected by the card detector 48, and the insertion of the credit card C is used as a trigger in the card transport path 41. The card feeding operation is started.

(画像読取センサ付きプリンタの制御回路)
次に、本実施形態の画像読取センサ付きプリンタ10におけるクレジットカードCの画像読取について詳細に説明する。
図5は、本実施形態の画像読取センサ付きプリンタ10のクレジットカードCの画像読取制御に関連する構成要素を示すブロック図である。ここでは、クレジットカードCの読み取りに関連する主要な構成要素のみを説明し、スリップ紙Sの印字及び読み取り、並びにロール紙Pの印字に関わる回路部材の説明は、省略する。
(Control circuit for printer with image reading sensor)
Next, the image reading of the credit card C in the printer 10 with the image reading sensor of the present embodiment will be described in detail.
FIG. 5 is a block diagram showing components related to image reading control of the credit card C of the printer 10 with an image reading sensor of the present embodiment. Here, only main components related to reading of the credit card C will be described, and description of circuit members related to printing and reading of the slip paper S and printing of the roll paper P will be omitted.

本実施形態の画像読取センサ付きプリンタ10では、図5に示すように、ROM62内に書き込まれているファームウェアがRAM61に読み出されてCPU60により実行され、ステッピングモータ63、カード検出器48、ゲートアレイ64、A/Dコンバータ65、カード画像読取センサ44、及び通信インターフェース66が統括的に制御される。   In the printer 10 with an image reading sensor of this embodiment, as shown in FIG. 5, the firmware written in the ROM 62 is read into the RAM 61 and executed by the CPU 60, and the stepping motor 63, the card detector 48, and the gate array are executed. 64, the A / D converter 65, the card image reading sensor 44, and the communication interface 66 are controlled in an integrated manner.

ステッピングモータ63は、CPU60からの制御パルス信号のパルス数に応じてその回転数がステップ刻みで制御可能なモータである。ステッピングモータ63の出力は、第1送りローラ43a及び第2送りローラ46aに伝達され、第1送りローラ43a及び第2送りローラ46aを駆動する。これにより、第1送りローラ43a及び第2送りローラ46aの回転量、すなわちクレジットカードCの搬送長さは、ステッピングモータ63のステップ数に対応して制御される。   The stepping motor 63 is a motor whose rotation speed can be controlled in steps in accordance with the number of control pulse signals from the CPU 60. The output of the stepping motor 63 is transmitted to the first feed roller 43a and the second feed roller 46a, and drives the first feed roller 43a and the second feed roller 46a. Thereby, the rotation amount of the first feed roller 43a and the second feed roller 46a, that is, the transport length of the credit card C is controlled in accordance with the number of steps of the stepping motor 63.

カード検出器48は、カード挿入口41aから挿入されたクレジットカードCの有無を検出して、クレジットカードCの検出領域にクレジットカードCが存在するかどうかを判別する。CPU60は、カード検出器48の検出結果に応じて、クレジットカードCの搬送制御を行う。   The card detector 48 detects the presence or absence of the credit card C inserted from the card insertion slot 41a, and determines whether or not the credit card C exists in the detection area of the credit card C. The CPU 60 controls the transfer of the credit card C according to the detection result of the card detector 48.

A/Dコンバータ65は、カード画像読取センサ44の各光電変換素子から出力されたRGBそれぞれの1ライン分の電気信号をデジタル信号に変換する。A/Dコンバータ65は、デジタル信号に変換する前段において、各光電変換素子から出力された電気信号のオフセット、ゲインを調整した後にA/D変換するように構成しても良い。   The A / D converter 65 converts the electrical signals for one line of RGB output from the photoelectric conversion elements of the card image reading sensor 44 into digital signals. The A / D converter 65 may be configured to perform A / D conversion after adjusting the offset and gain of the electrical signal output from each photoelectric conversion element in the previous stage of conversion to a digital signal.

ゲートアレイ64は、A/Dコンバータ65によって作成された1ライン分のデジタル信号を一時保存するためのラインバッファである。ゲートアレイ64に保存された1ライン分のデジタル信号は、RAM61に転送され、RAM61内のカード画像保存領域61aに保存される。RAM61のカード画像保存領域61a内には、クレジットカードCから取得した画像データが1ライン分ずつ保存されていき、最終的にクレジットカードCの二次元画像が得られる。なお、このカード画像保存領域61aには、プレスキャンによって読み取られた画像データ(以下、プレスキャン画像データ)も保存される。   The gate array 64 is a line buffer for temporarily storing a digital signal for one line created by the A / D converter 65. The digital signal for one line stored in the gate array 64 is transferred to the RAM 61 and stored in the card image storage area 61 a in the RAM 61. In the card image storage area 61a of the RAM 61, image data acquired from the credit card C is stored line by line, and a two-dimensional image of the credit card C is finally obtained. In this card image storage area 61a, image data read by prescan (hereinafter referred to as prescan image data) is also stored.

通信インターフェース66は、画像読取センサ付きプリンタ10の外部に設置されたホストコンピュータ100との通信を制御するものである。通信インターフェース66は、ホストコンピュータ100から各種制御コマンドを受信し、CPU60に伝達する。CPU60は、この各種制御コマンドに応じて、クレジットカードCの読み取り、取得した画像データのホストコンピュータ100への送信、画像読取センサ付きプリンタ10の内部設定の変更等を実行する。   The communication interface 66 controls communication with the host computer 100 installed outside the printer 10 with an image reading sensor. The communication interface 66 receives various control commands from the host computer 100 and transmits them to the CPU 60. The CPU 60 executes reading of the credit card C, transmission of the acquired image data to the host computer 100, change of internal settings of the printer 10 with an image reading sensor, and the like in accordance with these various control commands.

(プレスキャンと本スキャン)
本実施形態では、上述したように、カード挿入口41a側から張り出し開口41bに向かってクレジットカードCが順方向に搬送される間に、画像読取センサ44によってクレジットカードCの画像のプレスキャンが行われ、そして張り出し開口41bからカード挿入口41a側に向かってクレジットカードCが搬送される間に、画像読取センサ44によってクレジットカードCの画像の本スキャンが行われる。
(Pre-scan and main scan)
In the present embodiment, as described above, the image reading sensor 44 performs a pre-scan of the image of the credit card C while the credit card C is conveyed in the forward direction from the card insertion opening 41a side toward the protruding opening 41b. Then, while the credit card C is conveyed from the overhanging opening 41b toward the card insertion slot 41a, the image scanning sensor 44 performs a main scan of the image of the credit card C.

プレスキャンにおいては、画像認識において重要となる部分、具体的には、図11(c)に示す文字情報記載部分であるカード番号C2、カード会社コードC3、有効期限C4及び所有者名C5の全部または少なくとも一部の画像(エンボス部分の画像)が取得されるようにR光源44b,G光源44c及びB光源44dから出射されるRGBの光全てを用いてカラー画像読取が行われる。   In the pre-scan, all of the important parts in image recognition, specifically, the card number C2, the card company code C3, the expiration date C4, and the owner name C5, which are character information description parts shown in FIG. Alternatively, color image reading is performed using all of the RGB light emitted from the R light source 44b, the G light source 44c, and the B light source 44d so that at least a part of the image (image of the embossed portion) is acquired.

一方、本スキャンにおいては、図11(a)に示すクレジットカードC全体の画像が取得できるように画像読取が行われる。この本スキャン時においては、後述する条件に応じて、カラー画像読取またはカード画像読取センサ44中のRGBの何れか一つの読取光またはRGB全ての読取光を用いて画像読取が行われる。なお、ここで、「RGBの何れか一つの読取光を用いて画像読取を行う」とは、RGBの光源44b〜44dのうちの一つの光源のみを駆動して単一色の画像を生成してもよく、またRGBの光源44b〜44dの全てを駆動してRGBの全ての読取光に対応するデータを収集し、不要な2つの光源からのデータを破棄または無視することによって単一色の画像を生成してもよい。この画像読取の具体的な説明は後述する。   On the other hand, in the main scan, image reading is performed so that an image of the entire credit card C shown in FIG. At the time of this main scan, image reading is performed using one of RGB reading light or all of RGB reading light in the color image reading or card image reading sensor 44 according to conditions described later. Here, “reading an image using any one of RGB reading light” means that only one of the RGB light sources 44b to 44d is driven to generate a single color image. It is also possible to drive all of the RGB light sources 44b-44d to collect data corresponding to all of the RGB read light, and discard or ignore data from the two unnecessary light sources to produce a single color image. It may be generated. A specific description of this image reading will be described later.

本実施形態では、本スキャン画像データを生成する場合は、単一の読取光からのみ画像データを形成するため、最終的に生成される画像データは256階調のグレースケール画像データとなっている。このグレースケール画像データは、そのままホストコンピュータ100に転送されるように構成してもよいし、データ転送負荷を軽減するために二値化画像データに変換された後にホストコンピュータ100に転送されるように構成してもよい。以下、ホストコンピュータ100に送信する画像データが二値化画像データの場合とグレースケールの場合についてそれぞれ説明する。   In this embodiment, when the main scan image data is generated, the image data is formed only from a single reading light, so that the finally generated image data is 256 grayscale image data. . The gray scale image data may be transferred to the host computer 100 as it is, or may be transferred to the host computer 100 after being converted into binary image data in order to reduce the data transfer load. You may comprise. Hereinafter, a case where image data to be transmitted to the host computer 100 is binarized image data and a case of gray scale will be described.

(二値化画像データの生成)
まず、二値化画像データ生成について説明する。
図6は、画像読取センサ付きプリンタ10内部での二値化画像データ生成のためのデータ処理を示すブロック図である。
本実施形態では、CPU60がファームウェアに記載された二値化画像生成プログラムを実行することにより、以下に示す二値化画像生成部70内の各部の動作が実行される。
(Generation of binarized image data)
First, binarized image data generation will be described.
FIG. 6 is a block diagram showing data processing for generating binarized image data inside the printer 10 with an image reading sensor.
In the present embodiment, the CPU 60 executes the binarized image generation program described in the firmware, whereby the following operations of the respective units in the binarized image generation unit 70 are executed.

二値化画像生成部70は、RAM61の画像保存領域61aに記憶されている画像データを所定のアルゴリズムに基づいて二値化するための処理部であり、具体的に、ヒストグラム作成部71と、ヒストグラム解析部72と、ヒストグラム比較判定部73と、グレースケール作成部74と、二値化処理部75と、画像調整部76とから構成されている。   The binarized image generating unit 70 is a processing unit for binarizing the image data stored in the image storage area 61a of the RAM 61 based on a predetermined algorithm. Specifically, the binarized image generating unit 70, A histogram analysis unit 72, a histogram comparison determination unit 73, a gray scale creation unit 74, a binarization processing unit 75, and an image adjustment unit 76 are included.

本実施形態の二値化画像生成部70は、RGBの3種の画像を合わせ持つプレスキャン画像データを解析することにより、文字部分と背景部分との間のコントラストが最も大きくなる画像色を選択し、この選択された画像色によって本スキャンを行い、この本スキャンで得られた画像データを二値化処理するものである。また、文字部分と背景部分との間のコントラストが最も大きくなる画像色を選択できない場合、例えば全ての色についてコントラストがはっきりしないような場合には、RGBの三色を用いて本スキャンを行い、この本スキャンで得られた画像データをグレースケールに変換して二値化処理を行うものである。以下、二値化画像生成部70の具体的な機能部を説明していく。   The binarized image generation unit 70 of the present embodiment selects an image color that maximizes the contrast between the character portion and the background portion by analyzing pre-scan image data that includes three types of RGB images. Then, a main scan is performed with the selected image color, and image data obtained by the main scan is binarized. In addition, when the image color that maximizes the contrast between the character part and the background part cannot be selected, for example, when the contrast is not clear for all colors, the main scan is performed using the three colors of RGB, The binarization process is performed by converting the image data obtained in the main scan into a gray scale. Hereinafter, specific functional units of the binarized image generation unit 70 will be described.

ヒストグラム作成部71は、画像保存領域61aに保存されたプレスキャン画像データを読み出し、この読み出したプレスキャン画像データをRGBそれぞれの色毎に分解し、各色毎に対応した3種類のヒストグラムを作成する。   The histogram creation unit 71 reads the prescan image data stored in the image storage area 61a, decomposes the read prescan image data for each color of RGB, and creates three types of histograms corresponding to each color. .

図7は、ヒストグラム作成部71による処理を模式的に表した図であり、図7(a)は、画像データのRGB分解及びグレースケール変換を模式的に表した図であり、図7(b)は、RGB毎に作成されたヒストグラムを示すグラフである。
図7(a)に示すように、ヒストグラム作成部71は、プレスキャン画像(カラー画像)D1をRGB成分毎に分解して、R画像D2、G画像D3、B画像D4を求め、これらの画像毎に図7(b)に示すようなヒストグラムを作成する。
FIG. 7 is a diagram schematically showing processing by the histogram creation unit 71, and FIG. 7A is a diagram schematically showing RGB decomposition and gray scale conversion of image data, and FIG. ) Is a graph showing a histogram created for each RGB.
As shown in FIG. 7A, the histogram creating unit 71 decomposes the pre-scan image (color image) D1 for each RGB component to obtain an R image D2, a G image D3, and a B image D4. A histogram as shown in FIG. 7B is created for each time.

図7(a)においては、プレスキャン画像D1は、例えば背景部D1aがヨモギ色であり、そして文字部D1bが黄色であるような画像である。このようなプレスキャン画像データD1をRGB毎に分解して得られたR画像D2は、背景部D2aが濃い赤色であり、文字部D2bが薄い赤色となる。また、G画像D3は、背景部D3aが緑色であり、文字部D3bが背景部とほぼ同程度の濃さの緑色となる。また、B画像D4は、背景部D4aが濃い青色であり、文字部D4bがほぼ黒に近い青色となる。   In FIG. 7A, the pre-scan image D1 is, for example, an image in which the background portion D1a is mugwort and the character portion D1b is yellow. In the R image D2 obtained by decomposing such prescan image data D1 for each RGB, the background portion D2a is dark red and the character portion D2b is light red. Further, in the G image D3, the background portion D3a is green, and the character portion D3b is green with substantially the same darkness as the background portion. In the B image D4, the background portion D4a is dark blue and the character portion D4b is almost blue.

なお、図7(a)において背景部D1a,D2a,D3a,D4aと文字部D1b,D2b,D3b,D4bとの間の線は、種類により背景部と文字部との間の見分け易さを示しており、太線であるD2が最も見分け易く(すなわちコントラストがはっきりしている)、D4、D1、D3、D5の順に見分けにくくなっている。図7(b)に示すヒストグラムは、この背景部と文字部の見分け易さを輝度を基準として数値化したものとなっており、2本のピーク間隔が広いほど見分け易いことを示している。   In FIG. 7A, lines between the background portions D1a, D2a, D3a, and D4a and the character portions D1b, D2b, D3b, and D4b indicate the ease of distinguishing between the background portion and the character portion depending on the type. The thick line D2 is the easiest to distinguish (that is, the contrast is clear), and it is difficult to distinguish D4, D1, D3, and D5 in this order. The histogram shown in FIG. 7B is obtained by quantifying the ease of distinguishing the background portion and the character portion on the basis of the luminance, and indicates that the larger the interval between two peaks, the easier it is to distinguish.

ここで各ヒストグラムのピークが2本である理由は、プレスキャン画像が文字と背景2種類の色でのみ構成されているためであり、一般にはより多くのピークが見られたりなだらかな連続スペクトルとなったりする場合もある。例えば、図11(a)に示すようなクレジットカードCの場合には、複数の色が含まれているため、より多くのピークが観測されることが予想される。このような場合には、なるべく文字情報のみを含む狭い領域でプレスキャンを行うようにし、様々な背景色がプレスキャン画像内に混入しないようにプレスキャンを行い、文字部に対応する輝度ピークと背景部に対応する輝度ピークがはっきりと表れるようにすることが好ましい。   Here, the reason why each histogram has two peaks is that the pre-scan image is composed of only characters and two kinds of background colors. In general, more peaks can be seen and a smooth continuous spectrum can be seen. It may become. For example, in the case of the credit card C as shown in FIG. 11A, since a plurality of colors are included, it is expected that more peaks are observed. In such a case, prescan is performed in a narrow region including only character information as much as possible, prescan is performed so that various background colors are not mixed in the prescan image, and a luminance peak corresponding to the character portion is detected. It is preferable that the luminance peak corresponding to the background portion appears clearly.

ヒストグラム解析部72は、ヒストグラム作成部71が作成したRGBそれぞれのヒストグラムを解析して、最も大きなピークと2番目に大きなピークの輝度位置を探しだし、これらのピーク間の輝度差を算出する。図7(b)を例に取ると、「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」の二本のピークの間隔を求めることとなる。   The histogram analysis unit 72 analyzes the respective RGB histograms created by the histogram creation unit 71, finds the luminance position of the largest peak and the second largest peak, and calculates the luminance difference between these peaks. Taking FIG. 7B as an example, the interval between two peaks of “R histogram”, “G histogram” and “B histogram” is obtained.

ヒストグラム比較判定部73は、ヒストグラム解析部72が求めた「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」の二本のピークの間隔を互いに比較し、最も広い間隔を持つヒストグラムを求める。そして最も広い間隔を持つヒストグラムの間隔が所定値以上であれば、この最も広い間隔を持つヒストグラムに対応する画像色を二値化処理を行う画像色であると設定する(例えば、RAM61内に画像色に対応するフラグを立てる)。そして、二本のピーク間の代表値を選択し、二値化の為のしきい値として決定する。この代表値は、例えば二本のピーク間の中心値であってもよく、またこの中心値に所定の値を加えたり、または所定の比率を掛け合わせて得られたりしたものであってもよい。   The histogram comparison / determination unit 73 compares the intervals of the two peaks “R histogram”, “G histogram” and “B histogram” obtained by the histogram analysis unit 72, and determines the histogram having the widest interval. Ask. If the interval of the histogram having the widest interval is equal to or greater than a predetermined value, the image color corresponding to the histogram having the widest interval is set as the image color to be binarized (for example, the image is stored in the RAM 61). Set the flag corresponding to the color). Then, a representative value between two peaks is selected and determined as a threshold value for binarization. This representative value may be, for example, the central value between two peaks, or may be obtained by adding a predetermined value to this central value or multiplying a predetermined ratio. .

ヒストグラムにおける二本のピークの間隔が最も広いということは、背景部と文字部のコントラストが最も強調された画像データであるということを意味する。すなわち、「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」から最もピーク間隔が広いヒストグラムを求めかつこの最もピーク間隔が広いヒストグラムの画像色に対応する読取光を選択するとは、画像を取得したときに最も文字部と背景部のコントラストが大きい、言い換えれば最もOCR処理を施したときに文字認識が行いやすい画像を入手可能な読取光を選択することとなる。   The fact that the interval between the two peaks in the histogram is the widest means that the image data has the most emphasized contrast between the background portion and the character portion. That is, obtaining the histogram with the widest peak interval from the “R histogram”, “G histogram” and “B histogram” and selecting the reading light corresponding to the image color of the histogram with the widest peak interval is: In other words, the reading light with which the contrast between the character part and the background part is the largest when the image is acquired, in other words, the image that can easily perform the character recognition when the OCR process is performed is selected.

一方、最も広い間隔を持つヒストグラムの間隔が所定値よりも小さければ、二値化処理を行う画像色をグレースケールに設定する。(例えば、RAM61内にグレースケールに対応するフラグを立てる)。ここで、最も広い間隔を持つヒストグラムの間隔が所定値よりも小さいとは、コントラストがそれほど明瞭でないことを意味する。すなわち、どの読取光を用いた場合にでもたいしてコントラストがはっきりしないようなない場合には、単独の読取光のみで本スキャン画像データを生成するのではなく、カード画像読取センサ44のRGB全ての読取画素によってカラーの本スキャン画像データを生成し、得られた本スキャン画像データをグレースケールに変換するようにする。   On the other hand, if the interval of the histogram having the widest interval is smaller than a predetermined value, the image color to be binarized is set to gray scale. (For example, a flag corresponding to the gray scale is set in the RAM 61). Here, that the interval of the histogram having the widest interval is smaller than a predetermined value means that the contrast is not so clear. In other words, if the contrast is not clear with any reading light, the main scan image data is not generated only with a single reading light, but all of the RGB of the card image reading sensor 44 is read. Color main scan image data is generated by pixels, and the obtained main scan image data is converted to gray scale.

図7(b)の場合には、「Rのヒストグラム」の二本のピーク間隔が最も大きいため、この二本のピーク間隔が所定値以上であれば、「Rのヒストグラム」に対応する画像色Rを本スキャン及び二値化処理を行う画像色に設定し、しきい値を決定する。一方、「Rのヒストグラム」におけるピークの間隔が所定値よりも小さければ、本スキャンを行う画像色をRGBの全色に設定し、二値化処理を行う画像色をグレースケールに設定する。   In the case of FIG. 7B, since the two peak intervals of the “R histogram” are the largest, the image color corresponding to the “R histogram” if the interval between the two peaks is equal to or greater than a predetermined value. R is set as an image color for performing the main scan and binarization processing, and a threshold value is determined. On the other hand, if the peak interval in the “R histogram” is smaller than a predetermined value, the image color for the main scan is set to all RGB colors, and the image color for the binarization process is set to gray scale.

本実施形態では、ヒストグラム比較判定部73の処理は、本スキャンが行われる以前に実施される。そして本スキャン時には、RAM61内に設定されたフラグに応じた色によってカード画像読取センサ44による画像読取が行われる。具体的には、二値化画像を生成する画像色としてRが設定されていれば、カード画像読取センサ44のR光源44bから得られるデータのみを用いて本スキャン画像データを生成する。また、二値化画像を生成する画像色としてGまたはBが設定されていれば、カード画像読取センサ44のG光源44cまたはB光源dのみから得られるデータのみを用いて本スキャン画像データを生成する。一方、二値化処理を行う画像色としてRGB全画像が設定されていれば、RGB全ての読取光を用いて画像読取が実行される。読み取られた本スキャン画像データは、RAM61内の画像保存領域61aに保存される。   In the present embodiment, the processing of the histogram comparison determination unit 73 is performed before the main scan is performed. During the main scan, the card image reading sensor 44 reads an image with a color corresponding to the flag set in the RAM 61. Specifically, if R is set as the image color for generating the binarized image, the main scan image data is generated using only data obtained from the R light source 44b of the card image reading sensor 44. If G or B is set as an image color for generating a binarized image, the main scan image data is generated using only data obtained from the G light source 44c or B light source d of the card image reading sensor 44. To do. On the other hand, if all RGB images are set as image colors for binarization processing, image reading is executed using all RGB reading light. The read main scan image data is stored in the image storage area 61 a in the RAM 61.

グレースケール作成部74は、二値化処理を行う画像色としてグレースケールが設定されている場合に取得されたカラー画像である本スキャン画像データを基にグレースケール画像データを作成する。カラー画像データは、1つの画素(ピクセル)毎にRGBの各色について256階調のデータを持っており、全体として16,777,216のフルカラー(24ビット)を表現可能である。グレースケール作成部74は、このプレスキャン画像データが持つ各色に対して所定の重み付けをして、画素毎に256階調のグレースケールデータを作成する。具体的には、グレースケール作成部74は、以下の式(1)に基づき、画素毎に変換を行い、グレースケール画像データを生成する。

Yc256=INT[0.299R/256+0.587G/256+0.114B/256]×256 ・・・(1)

ここで、Yc256は、256階調のグレースケールデータの輝度値であり、R,G,Bは、それぞれある画素におけるR,G,Bの各輝度値を示している。
The gray scale creation unit 74 creates gray scale image data based on the main scan image data which is a color image acquired when the gray scale is set as the image color to be binarized. The color image data has 256 gradation data for each RGB color for each pixel (pixel), and can express 16,777,216 full colors (24 bits) as a whole. The gray scale creation unit 74 creates a gray scale data of 256 gradations for each pixel by applying a predetermined weight to each color of the pre-scan image data. Specifically, the gray scale creation unit 74 performs conversion for each pixel based on the following formula (1) to generate gray scale image data.

Yc 256 = INT [0.299R / 256 + 0.587G / 256 + 0.114B / 256] × 256 (1)

Here, Yc 256 is a luminance value of 256 gray scale gray scale data, and R, G, and B indicate R, G, and B luminance values in a certain pixel, respectively.

二値化処理部75は、ヒストグラム比較判定部73の判定結果に応じて、画像保存領域61aに保存された本スキャン画像データを二値化する。上述したように、本スキャンがカード画像読取センサ44のR、G及びBの何れか一つの光源44b〜44dのみを用いて本スキャン画像データが生成された場合には、本スキャン時に取得された対応する画像データ61aは、256階調の単一色の画像データとなっている。この本スキャン画像データは、R、G及びBの何れか一つの光源44b〜44dから出射した読取光によって生成されたことを除けば、8ビット階調のモノクロ画像読取センサによって読み取られたデータと同様である。   The binarization processing unit 75 binarizes the main scan image data stored in the image storage area 61a in accordance with the determination result of the histogram comparison determination unit 73. As described above, when the main scan is generated using only one of the R, G, and B light sources 44b to 44d of the card image reading sensor 44, the main scan is acquired at the time of the main scan. The corresponding image data 61a is 256-tone single color image data. The main scan image data includes data read by an 8-bit gradation monochrome image reading sensor except that it is generated by reading light emitted from any one of the light sources 44b to 44d of R, G, and B. It is the same.

二値化処理部75は、この本スキャン画像データをヒストグラム比較判定部73によって決定されたしきい値に基づいて二値化し、二値化画像データを生成する。また、グレースケール作成部74によってグレースケール画像データが作成された場合には、このグレースケール画像データを本スキャン画像データとして用いて、所定のしきい値に基づいて二値化し、二値化画像データを生成する。グレースケール画像データから二値化画像データへの変換におけるしきい値は、予め決定されていてもよく、またグレースケール画像データ中の輝度分布を基に決定されてもよい。   The binarization processing unit 75 binarizes the main scan image data based on the threshold value determined by the histogram comparison determination unit 73 to generate binarized image data. When the grayscale image data is created by the grayscale creation unit 74, the grayscale image data is used as the main scan image data, and binarized based on a predetermined threshold value. Generate data. The threshold for conversion from grayscale image data to binarized image data may be determined in advance, or may be determined based on the luminance distribution in the grayscale image data.

画像調整部76は、二値化処理部75によって生成された二値化画像データに対し、鮮鋭、ノイズ除去、データ圧縮等の調整を加え、出力する。出力された二値化画像データは、RAM61の画像保存領域61aに保存される、またはそのまま通信インターフェース66を介してホストコンピュータ100に出力される。
以上が、二値化画像生成部70による処理の説明である。
The image adjustment unit 76 adjusts the binarized image data generated by the binarization processing unit 75 such as sharpness, noise removal, and data compression, and outputs the result. The output binarized image data is stored in the image storage area 61 a of the RAM 61, or is output as it is to the host computer 100 via the communication interface 66.
The above is the description of the processing by the binarized image generation unit 70.

(画像生成処理手順)
次に、図8を参照しながら、二値化画像読取処理のフローについて順を追って説明する。
図8は、本実施形態の画像読取センサ付きプリンタ10における二値化画像読取処理の流れを示すフローチャートである。
本実施形態の画像読取センサ付きプリンタ10は、基本的にホストコンピュータ100から送信されるクレジットカードCの画像読取を指示するスキャンコマンドに応じて、クレジットカードCの画像読取を行う。
(Image generation processing procedure)
Next, the flow of the binarized image reading process will be described in order with reference to FIG.
FIG. 8 is a flowchart showing the flow of the binarized image reading process in the printer 10 with the image reading sensor of the present embodiment.
The printer 10 with an image reading sensor of this embodiment basically reads an image of the credit card C in response to a scan command instructed to read the image of the credit card C transmitted from the host computer 100.

具体的には、図8に示すように、画像読取センサ付きプリンタ10がホストコンピュータ100からスキャンコマンドを受け取ると(ステップS1)、画像読取センサ付きプリンタ10は、その内部状態が用紙挿入待ち状態に遷移する。そして、画像読取センサ付きプリンタ10は、クレジットカードCが挿入されるまで、すなわちクレジットカードCがカード挿入口41aからカード搬送路41に挿入されてカード検出器48がクレジットカードCを検出するまで待機する(ステップS2)。   Specifically, as shown in FIG. 8, when the printer 10 with an image reading sensor receives a scan command from the host computer 100 (step S1), the internal state of the printer 10 with an image reading sensor is in a paper insertion waiting state. Transition. The printer 10 with the image reading sensor waits until the credit card C is inserted, that is, until the credit card C is inserted into the card transport path 41 from the card insertion port 41a and the card detector 48 detects the credit card C. (Step S2).

ステップS2にて、クレジットカードCが検出されると、ステッピングモータ63を順方向に駆動して、第1送りローラ43a及び第1押さえローラ43bを回転させ、張り出し開口41b側に向かってクレジットカードCをカード搬送方向(順方向)に搬送する。ここでCPU60は、カード挿入口41a側から張り出し開口41bに向かってクレジットカードCが順方向に搬送される間に、ステッピングモータ63の回転に基づきクレジットカードCのカード長を検出するとともに、カード画像読取センサ44は、RGBの3種の光源44b〜44dからの読取光を用いてクレジットカードCの画像のプレスキャンを行う。読み取られた画像は、RAM61の画像保存領域にプレスキャン画像データとして一時保存される(ステップS3)。   When the credit card C is detected in step S2, the stepping motor 63 is driven in the forward direction to rotate the first feed roller 43a and the first pressing roller 43b, and the credit card C is directed toward the overhanging opening 41b. Is conveyed in the card conveyance direction (forward direction). Here, the CPU 60 detects the card length of the credit card C based on the rotation of the stepping motor 63 while the credit card C is conveyed in the forward direction from the card insertion slot 41a toward the overhanging opening 41b. The reading sensor 44 pre-scans the image on the credit card C using the reading light from the three types of RGB light sources 44b to 44d. The read image is temporarily stored as pre-scan image data in the image storage area of the RAM 61 (step S3).

画像保存領域61aにプレスキャン画像が保存されると、CPU60とRAM61は、ファームウェアに基づき動作を行うことにより、二次元画像生成部70として機能する。   When the pre-scan image is stored in the image storage area 61a, the CPU 60 and the RAM 61 function as the two-dimensional image generation unit 70 by performing an operation based on the firmware.

この二次元画像生成部70は、まずヒストグラム作成部71においてプレスキャン画像データをRGBそれぞれの色毎に分解し、各色毎に対応した3種類のヒストグラム(「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」)を作成する。そして、ヒストグラム解析部72において、ヒストグラム作成部71が作成したRGBそれぞれのヒストグラムを解析して、最も大きなピークと2番目に大きなピークの輝度位置を探しだし、これらのピーク間の輝度差を算出する(ステップS4)。   The two-dimensional image generation unit 70 first decomposes the pre-scan image data for each color of RGB in the histogram creation unit 71, and three types of histograms corresponding to each color (“R histogram”, “G histogram”). And “Histogram of B”). Then, the histogram analysis unit 72 analyzes each of the RGB histograms created by the histogram creation unit 71, finds the luminance position of the largest peak and the second largest peak, and calculates the luminance difference between these peaks. (Step S4).

次に、ヒストグラム比較判定部73は、ヒストグラム解析部72が求めた「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」の二本のピークの間隔を互いに比較し、ピーク間隔が最大のヒストグラム、すなわちピーク間隔が最大の色を決定する(ステップS5)。   Next, the histogram comparison / determination unit 73 compares the two peak intervals of the “R histogram”, “G histogram”, and “B histogram” obtained by the histogram analysis unit 72 with each other, and the peak interval is the maximum. The color having the maximum peak interval is determined (step S5).

そして、ステップS6では、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値以上かどうかを確認する。   In step S6, it is confirmed whether the peak interval of the histogram having the maximum peak interval is equal to or greater than a predetermined value.

ここで、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値以上であれば、この最大のピーク間隔を持つヒストグラムに対応する画像色を本スキャン及び二値化処理を行う画像色であると設定する。そして、二本のピークの間の代表値を選択し、二値化の為のしきい値として決定する。そして、ステッピングモータ63を逆転駆動して、クレジットカードCを張り出し開口41b側からカード挿入口41aに向かって搬送しながら本スキャン(ここでは、単色スキャン)を実行する。この本スキャンでは、クレジットカードCを1ステップずつ搬送しつつ、カード画像読取センサ44中の本スキャン実行用の画像色に対応する光源44b〜44dの一つを用いて本スキャン画像データを生成する。。生成された本スキャン画像データ(単色画像データ)は、RAM61aの画像保存領域61aに保存される(ステップS7)。   Here, if the peak interval of the histogram having the maximum peak interval is equal to or greater than a predetermined value, the image color corresponding to the histogram having the maximum peak interval is set as the image color for performing the main scan and binarization processing. To do. Then, a representative value between two peaks is selected and determined as a threshold value for binarization. Then, the stepping motor 63 is driven in the reverse direction, and the main scan (in this case, the monochromatic scan) is executed while the credit card C is conveyed from the overhanging opening 41b toward the card insertion port 41a. In this main scan, the credit card C is conveyed step by step, and the main scan image data is generated using one of the light sources 44b to 44d corresponding to the image color for executing the main scan in the card image reading sensor 44. . . The generated main scan image data (monochromatic image data) is stored in the image storage area 61a of the RAM 61a (step S7).

一方、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値より小さければ、本スキャン時の画像色としてRGB全色とし、グレースケール画像データを用いて二値化処理を行うと設定する。そして、ステッピングモータ63を逆転駆動して、クレジットカードCを張り出し開口41b側からカード挿入口41aに向かって搬送しながら、カード画像読取センサ44中のRGB各光源44b〜44dの全てを用いて本スキャン(ここでは、カラースキャン)を実行する。読み取られた本スキャン画像データ(カラー画像データ)は、RAM61aの画像保存領域61aに保存される。そして、この本スキャン画像データは、グレースケール作成部74によってグレースケール画像データに変換される(ステップS8)。   On the other hand, if the peak interval of the histogram having the maximum peak interval is smaller than a predetermined value, it is set that all RGB colors are used as the image color during the main scan and binarization processing is performed using grayscale image data. Then, the stepping motor 63 is driven in the reverse direction so that the credit card C is conveyed from the overhanging opening 41b toward the card insertion port 41a, and all the RGB light sources 44b to 44d in the card image reading sensor 44 are used. Scan (here, color scan) is executed. The read main scan image data (color image data) is stored in the image storage area 61a of the RAM 61a. The main scan image data is converted into grayscale image data by the grayscale creation unit 74 (step S8).

そして、ステップS7またはステップS8によって本スキャンが終了すると、クレジットカードCは、カード挿入口41a側に排出される。そして、二値化処理部75によって取得した本スキャン画像データまたはグレースケール画像データを基に、二値化画像データが生成され、画像調整部76により所定の画像処理が施される(ステップS9)。
その後、二値化画像データは、RAM61の画像保存領域61aに一時保存、またはホストコンピュータ100に送信される(ステップS10)。
以上により、クレジットカードCの画像読取処理が終了する。
その後、ホストコンピュータ100は、受信した二値化画像データにOCR処理を施し、クレジットカードCの画像中の文字情報を認識する。これにより、クレジットカードCの画像情報の取得及び文字情報の取得が可能となる。
When the main scan is completed in step S7 or step S8, the credit card C is discharged to the card insertion slot 41a side. Then, binarized image data is generated based on the main scan image data or the grayscale image data acquired by the binarization processing unit 75, and predetermined image processing is performed by the image adjustment unit 76 (step S9). .
Thereafter, the binarized image data is temporarily stored in the image storage area 61a of the RAM 61 or transmitted to the host computer 100 (step S10).
Thus, the image reading process for the credit card C is completed.
Thereafter, the host computer 100 performs OCR processing on the received binarized image data and recognizes character information in the image of the credit card C. As a result, it is possible to acquire image information and character information of the credit card C.

(グレースケール画像データの生成)
次に、グレースケール画像データ生成について説明する。
図9は、画像読取センサ付きプリンタ10内部でのデータ生成のためのデータ処理を示すブロック図である。
この場合も、CPU60がファームウェアに記載されたグレースケール画像生成プログラムを実行することにより、以下に示すグレースケール画像生成部80内の各部の動作が実行される。
(Generation of grayscale image data)
Next, generation of grayscale image data will be described.
FIG. 9 is a block diagram showing data processing for generating data inside the printer 10 with an image reading sensor.
Also in this case, when the CPU 60 executes the gray scale image generation program described in the firmware, the operation of each unit in the gray scale image generation unit 80 shown below is executed.

グレースケール画像生成部80は、カラースキャナであるカード画像読取センサ44を用いてグレースケールを作成するための処理部であり、具体的に、ヒストグラム作成部81と、ヒストグラム解析部82と、ヒストグラム比較判定部83と、グレースケール作成部84と、画像調整部85とから構成されている。   The gray scale image generation unit 80 is a processing unit for generating a gray scale using the card image reading sensor 44 that is a color scanner. Specifically, the histogram generation unit 81, the histogram analysis unit 82, and the histogram comparison The determination unit 83, the gray scale creation unit 84, and the image adjustment unit 85 are configured.

本実施形態のグレースケール画像生成部80は、RGBの3種の画像を合わせ持つプレスキャン画像データを解析することにより、文字部分と背景部分との間のコントラストが最も大きくなる画像色を選択し、この選択された画像色によって本スキャンを行い、この本スキャンで得られた画像データをそのままグレースケール画像データとするものである。また、文字部分と背景部分との間のコントラストが最も大きくなる画像色を選択できない場合、例えば全ての色についてコントラストがはっきりしないような場合には、RGBの三色を用いて本スキャンを行い、この本スキャンで得られた画像データをグレースケールに変換して得られた画像データをグレースケール画像データとするものである。以下、グレースケール画像生成部80の具体的な機能部を説明していく。   The gray scale image generation unit 80 according to the present embodiment selects the image color that maximizes the contrast between the character portion and the background portion by analyzing pre-scan image data having three types of RGB images. The main scan is performed with the selected image color, and the image data obtained by the main scan is directly used as grayscale image data. In addition, when the image color that maximizes the contrast between the character part and the background part cannot be selected, for example, when the contrast is not clear for all colors, the main scan is performed using the three colors of RGB, The image data obtained by converting the image data obtained in the main scan into gray scale is used as gray scale image data. Hereinafter, specific functional units of the gray scale image generation unit 80 will be described.

ヒストグラム作成部81は、画像保存領域61aに保存されたプレスキャン画像データを読み出し、この読み出したプレスキャン画像データをRGBそれぞれの色毎に分解し、各色毎に対応した3種類のヒストグラムを作成するものであり、基本的な機能は、先に説明したヒストグラム作成部71と同様である。   The histogram creation unit 81 reads the prescan image data stored in the image storage area 61a, decomposes the read prescan image data for each color of RGB, and creates three types of histograms corresponding to each color. The basic function is the same as that of the histogram creation unit 71 described above.

ヒストグラム解析部82は、ヒストグラム作成部81が作成したRGBそれぞれのヒストグラムを解析して、最も大きなピークと2番目に大きなピークの輝度位置を探しだし、これらのピーク間の輝度差を算出する。このヒストグラム解析部82は、基本的な機能については先に説明したヒストグラム解析部72と同様である。   The histogram analysis unit 82 analyzes each of the RGB histograms created by the histogram creation unit 81, finds the luminance position of the largest peak and the second largest peak, and calculates the luminance difference between these peaks. The histogram analysis unit 82 has the same basic functions as the histogram analysis unit 72 described above.

ヒストグラム比較判定部83は、ヒストグラム解析部82が求めた「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」の二本のピークの間隔を互いに比較し、最も広い間隔を持つヒストグラムを求める。そして最も広い間隔を持つヒストグラムの間隔が所定値以上であれば、この最も広い間隔を持つヒストグラムに対応する画像色を本スキャンを行う画像色であると設定する(例えば、RAM61内に画像色に対応するフラグを立てる)。この場合、本スキャン時には、のうちこの最も広い間隔を持つヒストグラムに対応する画像色に対応するカード画像読取センサ44の光源44b〜44dから得られたデータから単一色の本スキャン画像データが生成される。この得られた本スキャン画像データは、モノクロスキャナから得られたグレースケール画像と同等となっている。   The histogram comparison / determination unit 83 compares the intervals of the two peaks “R histogram”, “G histogram”, and “B histogram” obtained by the histogram analysis unit 82, and determines the histogram having the widest interval. Ask. If the interval of the histogram having the widest interval is equal to or greater than a predetermined value, the image color corresponding to the histogram having the widest interval is set as the image color for performing the main scan (for example, the image color is set in the RAM 61). Set the corresponding flag). In this case, during the main scan, single-color main scan image data is generated from data obtained from the light sources 44b to 44d of the card image reading sensor 44 corresponding to the image color corresponding to the histogram having the widest interval. The The obtained main scan image data is equivalent to the gray scale image obtained from the monochrome scanner.

一方、ヒストグラム比較判定部83は、最も広い間隔を持つヒストグラムの間隔が所定値よりも小さければ、本スキャンを行う画像色をRGBの3色に設定する。(例えば、RAM61内にRGBの3色に対応するフラグを立てる)。この場合、本スキャン時には、カード画像読取センサ44のRGB全ての光源44b〜44dが駆動され、カラーの本スキャン画像データが取得される。   On the other hand, if the interval of the histogram having the widest interval is smaller than a predetermined value, the histogram comparison / determination unit 83 sets the image colors for the main scan to three colors of RGB. (For example, flags corresponding to three colors of RGB are set in the RAM 61). In this case, during the main scan, all the RGB light sources 44b to 44d of the card image reading sensor 44 are driven, and color main scan image data is acquired.

グレースケール作成部84は、本スキャンを行う画像色がRGBの3色に設定されている場合に機能するものであり、取得されたカラーの本スキャン画像データを基にグレースケール画像データを作成する。このグレースケール作成部84は、基本的な機能については先に説明したグレースケール作成部82と同様であり、前述の式(1)に基づいて、RGBのカラー画像データをグレースケール画像データに変換する。   The gray scale creation unit 84 functions when the image color for performing the main scan is set to three colors of RGB, and creates gray scale image data based on the acquired color main scan image data. . The gray scale creation unit 84 is similar in basic function to the gray scale creation unit 82 described above, and converts RGB color image data into gray scale image data based on the above-described equation (1). To do.

画像調整部85は、本スキャンによって取得された本スキャン画像データまたはグレースケール作成部84によって作成されたグレースケール画像データに対し、鮮鋭、ノイズ除去、データ圧縮等の調整を加え、出力する。出力された二値化画像データは、RAM61の画像保存領域61aに保存される、またはそのまま通信インターフェース66を介してホストコンピュータ100に出力される。
以上が、グレースケール画像生成部80による処理の説明である。
The image adjustment unit 85 performs adjustments such as sharpness, noise removal, and data compression on the main scan image data acquired by the main scan or the gray scale image data generated by the gray scale generation unit 84 and outputs the result. The output binarized image data is stored in the image storage area 61 a of the RAM 61, or is output as it is to the host computer 100 via the communication interface 66.
The above is description of the process by the gray scale image generation part 80. FIG.

(画像生成処理手順)
次に、図10を参照しながら、グレースケール画像読取処理のフローについて順を追って説明する。
図10は、本実施形態の画像読取センサ付きプリンタ10におけるグレースケール画像読取処理の流れを示すフローチャートである。
(Image generation processing procedure)
Next, the flow of the gray scale image reading process will be described in order with reference to FIG.
FIG. 10 is a flowchart showing a flow of gray scale image reading processing in the printer 10 with an image reading sensor of the present embodiment.

図10に示すように、画像読取センサ付きプリンタ10がホストコンピュータ100からスキャンコマンドを受け取ると(ステップS11)、画像読取センサ付きプリンタ10は、その内部状態が用紙挿入待ち状態に遷移する。そして、画像読取センサ付きプリンタ10は、クレジットカードCが挿入されるまで、すなわちすなわちクレジットカードCがカード挿入口41aからカード搬送路41に挿入されてカード検出器48がクレジットカードCを検出するまで待機する(ステップS12)。   As shown in FIG. 10, when the printer 10 with an image reading sensor receives a scan command from the host computer 100 (step S11), the internal state of the printer 10 with the image reading sensor transitions to a paper insertion waiting state. The printer 10 with an image reading sensor until the credit card C is inserted, that is, until the credit card C is inserted into the card transport path 41 from the card insertion slot 41a and the card detector 48 detects the credit card C. Wait (step S12).

ステップS12にて、クレジットカードCが検出されると、ステッピングモータ63を順方向に駆動して、第1送りローラ43a及び第1押さえローラ43bを回転させ、張り出し開口41b側に向かってクレジットカードCをカード搬送方向(順方向)に搬送する。ここでCPU60は、カード挿入口41a側から張り出し開口41bに向かってクレジットカードCが順方向に搬送される間に、ステッピングモータ63の回転に基づきクレジットカードCのカード長を検出するとともに、カード画像読取センサ44は、RGBの3種の光源44b〜44dを用いてクレジットカードCの画像のプレスキャンを行う。読み取られた画像は、RAM61の画像保存領域にプレスキャン画像データとして一時保存される(ステップS13)。   When the credit card C is detected in step S12, the stepping motor 63 is driven in the forward direction to rotate the first feed roller 43a and the first pressing roller 43b, and the credit card C is directed toward the overhanging opening 41b. Is conveyed in the card conveyance direction (forward direction). Here, the CPU 60 detects the card length of the credit card C based on the rotation of the stepping motor 63 while the credit card C is conveyed in the forward direction from the card insertion slot 41a toward the overhanging opening 41b. The reading sensor 44 pre-scans the image of the credit card C using three types of RGB light sources 44b to 44d. The read image is temporarily stored as pre-scan image data in the image storage area of the RAM 61 (step S13).

画像保存領域61aにプレスキャン画像が保存されると、CPU60とRAM61は、ファームウェアに基づき動作を行うことにより、グレースケール画像生成部80として機能する。   When the prescan image is stored in the image storage area 61a, the CPU 60 and the RAM 61 function as the grayscale image generation unit 80 by performing an operation based on the firmware.

このグレースケール画像生成部80は、まずヒストグラム作成部81においてプレスキャン画像データをRGBそれぞれの色毎に分解し、各色毎に対応した3種類のヒストグラム(「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」)を作成する。そして、ヒストグラム解析部82において、ヒストグラム作成部81が作成したRGBそれぞれのヒストグラムを解析して、最も大きなピークと2番目に大きなピークの輝度位置を探しだし、これらのピーク間の輝度差を算出する(ステップS14)。   The gray scale image generation unit 80 first decomposes the pre-scan image data for each color of RGB in the histogram creation unit 81, and three types of histograms corresponding to each color (“R histogram”, “G histogram”). And “Histogram of B”). Then, the histogram analysis unit 82 analyzes each of the RGB histograms created by the histogram creation unit 81, finds the luminance position of the largest peak and the second largest peak, and calculates the luminance difference between these peaks. (Step S14).

次に、ヒストグラム比較判定部83は、ヒストグラム解析部82が求めた「Rのヒストグラム」、「Gのヒストグラム」及び「Bのヒストグラム」の二本のピークの間隔を互いに比較し、ピーク間隔が最大のヒストグラム、すなわちピーク間隔が最大の色を決定する(ステップS15)。   Next, the histogram comparison / determination unit 83 compares the intervals of the two peaks “R histogram”, “G histogram”, and “B histogram” obtained by the histogram analysis unit 82, and the peak interval is the maximum. The color having the maximum peak interval is determined (step S15).

そして、ステップS16では、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値以上かどうかを確認する。   In step S16, it is confirmed whether or not the peak interval of the histogram having the maximum peak interval is greater than or equal to a predetermined value.

ここで、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値以上であれば、この最大のピーク間隔を持つヒストグラムに対応する画像色を本スキャンを行う画像色であると設定する。そして、ステッピングモータ63を逆転駆動して、クレジットカードCを張り出し開口41b側からカード挿入口41aに向かって搬送しながら本スキャン(ここでは、単色スキャン)を実行する。この本スキャンでは、クレジットカードCを1ステップずつ搬送しつつ、本スキャン実行用の画像色に対応するカード画像読取センサ44の光源44b〜44dの一つのみを用いてクレジットカードC本スキャン画像データを生成する。生成された本スキャン画像データ(単色画像データ)は、RAM61aの画像保存領域61aにグレースケール画像データとして保存される(ステップS17)。   Here, if the peak interval of the histogram having the maximum peak interval is equal to or greater than a predetermined value, the image color corresponding to the histogram having the maximum peak interval is set as the image color for performing the main scan. Then, the stepping motor 63 is driven in the reverse direction, and the main scan (in this case, the monochromatic scan) is executed while the credit card C is conveyed from the overhanging opening 41b toward the card insertion port 41a. In this main scan, the credit card C main scan image data is transferred using only one of the light sources 44b to 44d of the card image reading sensor 44 corresponding to the image color for executing the main scan while carrying the credit card C step by step. Is generated. The generated main scan image data (monochromatic image data) is stored as grayscale image data in the image storage area 61a of the RAM 61a (step S17).

一方、最大のピーク間隔を持つヒストグラムのピーク間隔が所定値より小さければ、本スキャン時の画像色としてRGB全色として設定する。そして、ステッピングモータ63を逆転駆動して、クレジットカードCを張り出し開口41b側からカード挿入口41aに向かって搬送しながら、カード画像読取センサ44中のRGB全ての光源44b〜44dからのデータ用いて本スキャン画像データ(ここでは、カラースキャン画像データ)を生成する。読み取られた本スキャン画像データは、RAM61aの画像保存領域61aに保存される。そして、この本スキャン画像データは、グレースケール作成部74によってグレースケール画像データに変換される(ステップS18)。   On the other hand, if the peak interval of the histogram having the maximum peak interval is smaller than a predetermined value, all the RGB colors are set as the image colors during the main scan. Then, the stepping motor 63 is driven in the reverse direction so that the credit card C is conveyed from the overhanging opening 41b toward the card insertion port 41a while using data from all of the RGB light sources 44b to 44d in the card image reading sensor 44. Main scan image data (here, color scan image data) is generated. The read main scan image data is stored in the image storage area 61a of the RAM 61a. The main scan image data is converted into grayscale image data by the grayscale creation unit 74 (step S18).

そして、ステップS17またはステップS18によって本スキャンが終了すると、クレジットカードCは、カード挿入口41a側に排出される。そして、取得した本スキャン画像データ(グレースケール画像データ)またはグレースケール画像データは、画像調整部85により所定の画像処理が施される(ステップS19)。
その後、グレースケール画像データは、RAM61の画像保存領域61aに保存、またはホストコンピュータ100に送信される(ステップS20)。
以上により、クレジットカードCの画像読取処理が終了する。
その後、ホストコンピュータ100は、受信した二値化画像データにOCR処理を施し、クレジットカードCの画像中の文字情報を認識する。これにより、クレジットカードCの画像情報の取得及び文字情報の取得が可能となる。
When the main scan is completed in step S17 or step S18, the credit card C is discharged to the card insertion slot 41a side. The acquired main scan image data (grayscale image data) or grayscale image data is subjected to predetermined image processing by the image adjustment unit 85 (step S19).
Thereafter, the grayscale image data is stored in the image storage area 61a of the RAM 61 or transmitted to the host computer 100 (step S20).
Thus, the image reading process for the credit card C is completed.
Thereafter, the host computer 100 performs OCR processing on the received binarized image data and recognizes character information in the image of the credit card C. As a result, it is possible to acquire image information and character information of the credit card C.

以上、説明したように本実施形態のクレジットカード読み取り装置である画像読取センサ付きプリンタ10は、RGBに対応する複数の光源44b〜44dを備え、カード搬送路41を搬送されるクレジットカードCを複数の読取光で読み取リ可能な画像読取センサ44と、画像読取センサ44によって読み取られる画像データを処理する画像データ生成部(二値化画像生成部70またはグレースケール画像生成部80)とを有する。そして、この画像データ生成部は、プレスキャンによりクレジットカードCから得られたプレスキャン画像を基にヒストグラムを作成するとともに、このヒストグラムに応じて画像読取センサ44を駆動して本スキャンを行わせる。   As described above, the printer 10 with an image reading sensor, which is a credit card reading device according to the present embodiment, includes a plurality of light sources 44b to 44d corresponding to RGB, and a plurality of credit cards C that are transported through the card transport path 41. And an image data generation unit (binarized image generation unit 70 or grayscale image generation unit 80) that processes image data read by the image reading sensor 44. The image data generation unit creates a histogram based on the prescan image obtained from the credit card C by the prescan, and drives the image reading sensor 44 according to the histogram to perform the main scan.

具体的に、画像データ生成部は、作成されたヒストグラムに応じてRGB読取光の何れか一つを選択し、そして前記画像読取センサ44は、前記選択された読取光によって本スキャン画像データを生成する。この選択において、画像データ生成部は、文字部と背景部のコントラストが最も強調された画像データを取得可能な読取光を選択する。   Specifically, the image data generation unit selects any one of the RGB reading lights according to the created histogram, and the image reading sensor 44 generates the main scan image data by the selected reading light. To do. In this selection, the image data generation unit selects reading light that can acquire image data in which the contrast between the character portion and the background portion is most emphasized.

したがって、本実施形態の画像読取センサ付きプリンタ10は、常に複数の光源44b〜44dの中から最もOCR認識が容易な画像を取得することができる光源を選択するように構成されているので、文字部と背景部のコントラストが最も明瞭な画像データをホストコンピュータ100に送信することが可能である。したがって、ホストコンピュータ100において文字認識の精度を向上させることが可能となる。   Therefore, the printer 10 with an image reading sensor according to the present embodiment is configured to always select a light source that can acquire an image with the easiest OCR recognition from among the plurality of light sources 44b to 44d. The image data with the clearest contrast between the background portion and the background portion can be transmitted to the host computer 100. Therefore, it is possible to improve the accuracy of character recognition in the host computer 100.

また、画像読取センサ付きプリンタ10は、複数の光源44b〜44dのうち少なくとも一つの光源から取得した画像データのみをホストコンピュータ100に送信するので、ホストコンピュータ100に送信される画像データのデータ量は、単一の光源のみを備えたモノクロ画像読取センサによって取得される画像データのデータ量と同程度である。したがって、画像読取センサ付きプリンタ10は、取り扱う画像データのデータ量を最小限に押さえることにより内部処理の負荷を軽減させるとともに、画像データの転送による転送負荷をモノクロ画像読取センサによって取得された画像データの転送負荷と同程度に押さえることが可能となる。また、これにより、ホストコンピュータへの転送ケーブルの規格としては、従来よりも高速なものを別途用意する必要が無く、そのまま従来のものを用いることもできる。   Further, since the printer 10 with an image reading sensor transmits only the image data acquired from at least one of the light sources 44b to 44d to the host computer 100, the data amount of the image data transmitted to the host computer 100 is as follows. The amount of image data acquired by a monochrome image reading sensor having only a single light source is about the same. Accordingly, the printer 10 with an image reading sensor reduces the internal processing load by minimizing the amount of image data to be handled, and the transfer load due to the transfer of the image data is acquired by the monochrome image reading sensor. It is possible to keep it at the same level as the transfer load. As a result, it is not necessary to separately prepare a transfer cable to the host computer that is faster than the conventional one, and the conventional one can be used as it is.

また、画像読取センサ付きプリンタ10では、画像読取センサ44は、複数の光源44b〜44dの全てを用いてプレスキャンを行い、画像データ生成部は、各光源44b〜44dに対応する画像データからそれぞれヒストグラムを作成し、かつ各ヒストグラムを参照しながらクレジットカードC中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な読取光を選択するように構成されている。   Further, in the printer 10 with an image reading sensor, the image reading sensor 44 performs pre-scanning using all of the plurality of light sources 44b to 44d, and the image data generation unit respectively obtains image data corresponding to the light sources 44b to 44d. A histogram is created, and reading light capable of acquiring image data with the clearest contrast between the character portion and the background portion in the credit card C is selected while referring to each histogram.

すなわち、本実施形態では、各光源44b〜44dのそれぞれから取得された各画像データからそれぞれヒストグラムを作成している。したがって、これらのヒストグラムを参照することにより、どの各光源44b〜44dから出力された読取光から得られる画像データが最も文字部と背景部のコントラストが最もはっきりしているかを容易に判断することができる。   That is, in the present embodiment, a histogram is created from each image data acquired from each of the light sources 44b to 44d. Therefore, by referring to these histograms, it is possible to easily determine which image data obtained from the reading light output from each of the light sources 44b to 44d has the clearest contrast between the character portion and the background portion. it can.

具体的には、画像データ生成部は、各読取光に対応する画像データからそれぞれ作成されたヒストグラム中のピークを算出し、ピーク間距離が最大であるヒストグラムに対応する読取光を用いて本スキャンを行うように構成することにより、どの読取光から得られる画像データが最も文字部と背景部のコントラストが最もはっきりしているかを客観的に判断している。   Specifically, the image data generation unit calculates a peak in the histogram created from the image data corresponding to each reading light, and performs the main scan using the reading light corresponding to the histogram having the maximum peak-to-peak distance. Thus, it is objectively determined which image data obtained from which reading light has the clearest contrast between the character portion and the background portion.

また、本実施形態では、画像データ生成部は、本スキャンで得られた画像データを二値化して二値化画像データを生成し、二値化画像データをホストコンピュータ100へ送信するように構成してもよい。このように構成することにより、ホストコンピュータ100へ送信される画像データのデータ量を減らすことが可能となり、ホストコンピュータ100への画像データの転送負荷をさらに軽減させることが可能となる。   In the present embodiment, the image data generation unit is configured to binarize the image data obtained in the main scan to generate binarized image data, and transmit the binarized image data to the host computer 100. May be. With this configuration, the amount of image data transmitted to the host computer 100 can be reduced, and the transfer load of image data to the host computer 100 can be further reduced.

また、本実施形態では、各読取光に対応する画像データからそれぞれ作成されたヒストグラムを基に算出されたピーク間距離が最大となるヒストグラムのピーク間距離が所定値より小さい場合には、複数の読取光の全てを用いて本スキャンを行い、本スキャンで得られた画像データをグレースケール画像データに変換して前記ホストコンピュータへ送信するように構成してもよい。これにより、RGB全ての読取光を用いて本スキャン画像データを生成した場合であっても、画像データの転送負荷を軽減させることが可能となる。   Further, in the present embodiment, when the peak-to-peak distance of the histogram at which the peak-to-peak distance calculated based on the histogram respectively created from the image data corresponding to each reading light is smaller than a predetermined value, a plurality of The main scan may be performed using all of the reading light, and the image data obtained by the main scan may be converted into grayscale image data and transmitted to the host computer. As a result, even when the main scan image data is generated using all of the RGB read lights, the transfer load of the image data can be reduced.

なお、ピーク間距離が最大となるヒストグラムのピーク間距離の所定値を設けず、ピーク間距離が最大となるヒストグラムに対応する読取光を無条件に本スキャン用の読取光として選択し、ピーク間距離が最大となるヒストグラムのピーク間距離の大小に関わらず、常に一つの読取光で本スキャン画像データを生成するように構成してもよい。   In addition, without setting a predetermined value for the peak-to-peak distance of the histogram with the maximum peak-to-peak distance, the reading light corresponding to the histogram with the maximum peak-to-peak distance is unconditionally selected as the reading light for the main scan, and Regardless of the distance between the peaks of the histogram where the distance is maximum, the main scan image data may always be generated with one reading light.

また、本実施形態の画像読取センサ付きプリンタ10は、カード挿入口41aからクレジットカードCを順方向に搬送した後に、クレジットカードCをカード挿入口41aに向かって逆方向に搬送する搬送ローラを備え、画像読取センサ44は、クレジットカードCが順方向に搬送される間にプレスキャンを行い、そして逆方向に搬送される間に本スキャンを行うように構成されている。したがって、順方向搬送と逆方向搬送の間の時間差を利用して、プレスキャンされた画像データを処理し適切な読取光を選択した後、逆方向搬送時に本スキャンを行うことが可能となり、高速なクレジットカードCの画像読取処理を実現することが可能となる。   In addition, the printer 10 with an image reading sensor of the present embodiment includes a transport roller that transports the credit card C in the reverse direction toward the card insertion port 41a after transporting the credit card C in the forward direction from the card insertion port 41a. The image reading sensor 44 is configured to perform pre-scanning while the credit card C is conveyed in the forward direction, and to perform main scanning while the credit card C is conveyed in the reverse direction. Therefore, it is possible to perform a main scan during reverse transport after processing pre-scanned image data and selecting appropriate reading light using the time difference between forward transport and reverse transport. It is possible to realize an image reading process of a credit card C.

なお、本実施形態の画像読取センサ44としては、特殊なものを用いる必要はなく、汎用の各種カラー画像読取センサを用いることが可能である。   Note that it is not necessary to use a special sensor as the image reading sensor 44 of this embodiment, and it is possible to use various general-purpose color image reading sensors.

また、本実施形態の画像読取センサ44は、RGB3種の光源を備えたものとして説明したが、これに限られることはなく、白色光源をフィルタやダイクロイックミラーを用いてRGBに分解し、この分解されたRGB光を読取光として用いる形式であってもよい。   Further, the image reading sensor 44 of the present embodiment has been described as including three types of light sources of RGB, but the present invention is not limited to this. The white light source is decomposed into RGB using a filter or a dichroic mirror, and this decomposition is performed. Alternatively, the RGB light thus used may be used as reading light.

本発明に係る実施形態の画像読取センサ付きプリンタを示す外観斜視図である。1 is an external perspective view showing a printer with an image reading sensor according to an embodiment of the present invention. 画像読取センサ付きプリンタの部分断面図である。It is a fragmentary sectional view of a printer with an image reading sensor. 画像読取センサ付きプリンタの上面蓋体部を示す斜視図である。It is a perspective view which shows the upper surface cover part of a printer with an image reading sensor. 内部カバー開状態におけるカード搬送路の上面側を示す断面図である。It is sectional drawing which shows the upper surface side of the card conveyance path in an inner cover open state. 本実施形態の画像読取センサ付きプリンタの制御ブロック図である。It is a control block diagram of a printer with an image reading sensor of the present embodiment. 画像読取センサ付きプリンタ内部での二値化画像データ生成のためのデータ処理を示すブロック図である。It is a block diagram showing data processing for generating binarized image data inside a printer with an image reading sensor. ヒストグラム作成部による処理を模式的に表した図であり、(a)は、画像データのRGB分解及びグレースケール変換を模式的に表す図であり、(b)は、RGB毎に作成されたヒストグラムを示すグラフである。It is the figure which represented typically the process by a histogram preparation part, (a) is a figure which represents typically RGB decomposition | disassembly and grayscale conversion of image data, (b) is the histogram produced for every RGB It is a graph which shows. 画像読取センサ付きプリンタにおける二値化画像読取処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the binarized image reading process in a printer with an image reading sensor. 画像読取センサ付きプリンタ10内部でのデータ生成のためのデータ処理を示すブロック図である。It is a block diagram which shows the data processing for the data generation inside the printer 10 with an image reading sensor. 画像読取センサ付きプリンタ10におけるグレースケール画像読取処理の流れを示すフローチャートである。4 is a flowchart showing a flow of gray scale image reading processing in the printer with an image reading sensor 10. (a)は、クレジットカードCを表面から見た図であり、(b)は、クレジットカードCのマークやデザイン部分だけを取り出して示す模式図であり、(c)は、クレジットカードCの文字情報記載部分だけを取り出して示す図である。(A) is the figure which looked at the credit card C from the surface, (b) is a schematic diagram which takes out and shows only the mark and design part of the credit card C, (c) is the character of the credit card C It is a figure which takes out and shows only an information description part.

符号の説明Explanation of symbols

10・・画像読取センサ付きプリンタ 11・・背面側筐体部 12・・正面側筐体部 13・・上面蓋体部 40・・カード画像読取部 41・・カード搬送路 41a・・カード挿入口 41b・・張り出し開口 42・・内部カバー 43a・・第1送りローラ 43b・・第1押さえローラ 44・・カード画像読取センサ 45・・押しつけローラ 46a・・第2送りローラ 46b・・第2押さえローラ 48・・カード検出器 60・・CPU 61・・RAM 62・・ROM 63・・ステッピングモータ 64・・ゲートアレイ 65・・A/Dコンバータ 70・・二値化画像生成部 80・・グレースケール画像生成部

10. ・ Printer with image reading sensor 11. ・ Back side housing part 12. ・ Front side housing part 13. ・ Top cover part 40 ・ ・ Card image reading part 41 ・ ・ Card transport path 41a ・ ・ Card insertion slot 41b .. Overhang opening 42 .. Inner cover 43a .. First feed roller 43b .. First press roller 44 .. Card image reading sensor 45 .. Pressing roller 46a .. Second feed roller 46b .. Second press roller 48. Card detector 60. CPU 61. RAM 62. ROM 63. Stepping motor 64. Gate array 65. A / D converter 70. Binarized image generator 80. Gray scale image Generator

Claims (15)

カード搬送路を搬送されるクレジットカードを複数色の読取光で読み取リ可能な画像読取センサと、
前記画像読取センサによって読み取られる画像データを処理する画像データ生成部とを有し、
前記画像データ生成部は、プレスキャンにより前記クレジットカードから得られたプレスキャン画像を基にヒストグラムを作成するとともに、前記ヒストグラムに応じて前記画像読取センサを駆動して本スキャンを行わせることを特徴とするクレジットカード読取装置。
An image reading sensor capable of reading a credit card conveyed on the card conveying path with a plurality of colors of reading light;
An image data generation unit that processes image data read by the image reading sensor;
The image data generation unit creates a histogram based on a prescan image obtained from the credit card by prescan, and drives the image reading sensor according to the histogram to perform a main scan. Credit card reader.
前記画像データ生成部は、前記ヒストグラムに応じて、前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な読取光を選択し、
前記画像読取センサは、前記読取光を用いて、本スキャンを行うことを特徴とする請求項1記載のクレジットカード読取装置。
The image data generation unit selects reading light that can acquire image data with the clearest contrast between the character part and the background part in the credit card according to the histogram,
The credit card reader according to claim 1, wherein the image reading sensor performs a main scan using the reading light.
前記画像読取センサは、前記複数色の読取光の全てを用いて前記プレスキャンを行い、
前記画像データ生成部は、各読取光に対応する画像データからそれぞれヒストグラムを作成し、かつ各ヒストグラムを参照しながら前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な前記読取光を選択することを特徴とする請求項2記載のクレジットカード読取装置。
The image reading sensor performs the pre-scan using all of the reading lights of the plurality of colors,
The image data generation unit can create a histogram from the image data corresponding to each reading light, and obtain image data with the clearest contrast between the character part and the background part in the credit card while referring to each histogram. 3. The credit card reader according to claim 2, wherein the reading light is selected.
前記画像データ生成部は、各読取光に対応する画像データからそれぞれ作成されたヒストグラム中のピークを算出し、ピーク間距離が最大であるヒストグラムに対応する前記読取光を用いて本スキャンを行い、
前記本スキャンで得られた画像データをホストコンピュータへ送信することを特徴とする請求項3記載のクレジットカード読取装置。
The image data generation unit calculates a peak in each histogram created from image data corresponding to each reading light, performs a main scan using the reading light corresponding to the histogram having a maximum peak-to-peak distance,
4. The credit card reader according to claim 3, wherein the image data obtained by the main scan is transmitted to a host computer.
前記画像データ生成部は、前記本スキャンで得られた画像データを二値化して二値化画像データを生成し、
前記二値化画像データを前記ホストコンピュータへ送信することを特徴とする請求項4記載のクレジットカード読取装置。
The image data generation unit binarizes the image data obtained in the main scan to generate binarized image data,
5. The credit card reader according to claim 4, wherein the binarized image data is transmitted to the host computer.
各読取光に対応する画像データからそれぞれ作成されたヒストグラムを基に算出されたピーク間距離が最大となるヒストグラムのピーク間距離が所定値より小さい場合には、前記複数色の読取光の全てを用いて本スキャンを行い、
前記本スキャンで得られた画像データをグレースケール画像データに変換して前記ホストコンピュータへ送信することを特徴とする請求項4記載のクレジットカード読取装置。
If the peak-to-peak distance of the histogram in which the peak-to-peak distance calculated based on the histogram respectively created from the image data corresponding to each reading light is smaller than a predetermined value, all the reading lights of the plurality of colors are To perform a main scan,
5. The credit card reader according to claim 4, wherein the image data obtained by the main scan is converted into grayscale image data and transmitted to the host computer.
さらに、カード挿入口から前記クレジットカードを前記カード搬送路に沿って順方向に搬送した後に、前記クレジットカードを前記カード搬送路に沿って前記カード挿入口へ逆方向に搬送する搬送ローラを備え、
前記画像読取センサは、前記クレジットカードが前記順方向に搬送される間に前記プレスキャンを行い、そして前記逆方向に搬送される間に本スキャンを行うことを特徴とする請求項1〜6の何れか1項に記載のクレジットカード読取装置。
Furthermore, after transporting the credit card from the card insertion port in the forward direction along the card transport path, a transport roller for transporting the credit card in the reverse direction to the card insertion port along the card transport path,
7. The image reading sensor according to claim 1, wherein the image reading sensor performs the pre-scan while the credit card is conveyed in the forward direction, and performs a main scan while the credit card is conveyed in the reverse direction. The credit card reader according to any one of the above.
前記画像読取センサは、カラー画像読取センサであり、前記複数の読取光はそれぞれR、G、Bに対応する光であることを特徴とする請求項1〜7の何れか1項に記載のクレジットカード読取装置。 The credit according to claim 1, wherein the image reading sensor is a color image reading sensor, and the plurality of reading lights are lights corresponding to R, G, and B, respectively. Card reader. クレジットカードをプレスキャンしてプレスキャン画像を取得するステップと、
前記プレスキャン画像のヒストグラムを作成するステップと、
前記ヒストグラムに応じて、前記クレジットカードの本スキャンを行うステップとを有することを特徴とするクレジットカード読取方法。
Pre-scanning the credit card to obtain a pre-scan image;
Creating a histogram of the pre-scanned image;
A credit card reading method comprising: performing a main scan of the credit card according to the histogram.
前記ヒストグラムに応じて、前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な複数色の読取光の何れか一つを選択するステップをさらに有し、
前記本スキャンは、前記選択された読取光を用いて行われることを特徴とする請求項9記載のクレジットカード読取方法。
According to the histogram, further comprising the step of selecting any one of a plurality of colors of reading light capable of acquiring image data with the clearest contrast between the character portion and the background portion in the credit card,
The credit card reading method according to claim 9, wherein the main scan is performed using the selected reading light.
前記プレスキャンは、前記複数色の読取光の全てを用いて行われ、
各読取光に対応する画像データからそれぞれヒストグラムを作成し、
各ヒストグラムを参照しながら前記クレジットカード中の文字部と背景部のコントラストが最も明瞭な画像データを取得可能な前記複数の読取光の何れか一つを選択することを特徴とする請求項10記載のクレジットカード読取方法。
The pre-scan is performed using all of the reading lights of the plurality of colors,
Create a histogram from the image data corresponding to each reading light,
11. One of the plurality of reading lights capable of acquiring image data having the clearest contrast between a character portion and a background portion in the credit card while referring to each histogram is selected. Credit card reading method.
各読取光に対応する画像データからそれぞれ作成されたヒストグラム中のピークを算出するステップと、
ピーク間距離が最大であるヒストグラムに対応する前記読取光を用いて本スキャンを行うステップと、
前記本スキャンで得られた画像データをホストコンピュータへ送信するステップとを備えたことを特徴とする請求項11記載のクレジットカード読取方法。
Calculating a peak in a histogram respectively created from image data corresponding to each reading light;
Performing a main scan using the reading light corresponding to a histogram having a maximum peak-to-peak distance;
The credit card reading method according to claim 11, further comprising: transmitting image data obtained by the main scan to a host computer.
前記本スキャンで得られた画像データを二値化して二値化画像データを生成するステップを備えたことを特徴とする請求項12記載のクレジットカード読取方法。 13. The credit card reading method according to claim 12, further comprising the step of binarizing the image data obtained by the main scan to generate binarized image data. 各読取光に対応する画像データからそれぞれ作成されたヒストグラムを基に算出されたピーク間距離が最大となるヒストグラムのピーク間距離が所定値より小さい場合には、前記複数の読取光の全てを用いて本スキャンを行い、
前記本スキャンで得られた画像データをグレースケール画像データに変換して前記ホストコンピュータへ送信することを特徴とする請求項12記載のクレジットカード読取方法。
When the peak-to-peak distance of the histogram in which the peak-to-peak distance calculated based on the histogram respectively created from the image data corresponding to each reading light is smaller than a predetermined value, all of the plurality of reading lights are used. To perform the main scan,
13. The credit card reading method according to claim 12, wherein the image data obtained by the main scan is converted into grayscale image data and transmitted to the host computer.
前記クレジットカードが前記カード搬送路に沿って順方向に搬送される間に前記プレスキャンを行い、そして前記クレジットカードが前記カード搬送路に沿って逆方向に搬送される間に本スキャンを行うことを特徴とする請求項9〜14の何れか1項に記載のクレジットカード読取方法。


Performing the pre-scan while the credit card is transported in the forward direction along the card transport path, and performing the main scan while the credit card is transported in the reverse direction along the card transport path. The credit card reading method according to any one of claims 9 to 14.


JP2004013194A 2004-01-21 2004-01-21 Credit card reading device and credit card reading method Withdrawn JP2005208820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004013194A JP2005208820A (en) 2004-01-21 2004-01-21 Credit card reading device and credit card reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004013194A JP2005208820A (en) 2004-01-21 2004-01-21 Credit card reading device and credit card reading method

Publications (1)

Publication Number Publication Date
JP2005208820A true JP2005208820A (en) 2005-08-04

Family

ID=34899347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004013194A Withdrawn JP2005208820A (en) 2004-01-21 2004-01-21 Credit card reading device and credit card reading method

Country Status (1)

Country Link
JP (1) JP2005208820A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210899A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image processing device and image processing program
WO2017078080A1 (en) * 2015-11-03 2017-05-11 バンクガード株式会社 Server system for electronic authentication, electronic authentication method, and electronic authentication system
JPWO2021079475A1 (en) * 2019-10-24 2021-04-29

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210899A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image processing device and image processing program
US9230186B2 (en) 2012-03-30 2016-01-05 Brother Kogyo Kabushiki Kaisha Image processing device generating binary image data by selecting specific component
WO2017078080A1 (en) * 2015-11-03 2017-05-11 バンクガード株式会社 Server system for electronic authentication, electronic authentication method, and electronic authentication system
JPWO2021079475A1 (en) * 2019-10-24 2021-04-29
WO2021079475A1 (en) * 2019-10-24 2021-04-29 ジャパンエレベーターサービスホールディングス株式会社 Security camera device
JP7230232B2 (en) 2019-10-24 2023-02-28 ジャパンエレベーターサービスホールディングス株式会社 security camera equipment

Similar Documents

Publication Publication Date Title
US5790932A (en) Image forming apparatus for delaying the processing of image data whether the image represented by the image data is a predetermined image
JP5280425B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, program, and recording medium thereof
US10484559B2 (en) Control device for controlling image processing system, image forming apparatus, image reading apparatus, control method, and computer-readable recording medium
US7209599B2 (en) System and method for scanned image bleedthrough processing
JP4557184B2 (en) Image processing apparatus, image reading apparatus, and image processing program
JP4495201B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
US20090109502A1 (en) Image processing apparatus, image scanning apparatus, and image processing method
US8363963B2 (en) Apparatus, method and computer readable medium that associates a plurality of possible word recognition results with an image
JP7098019B2 (en) Image reader
US20100141991A1 (en) Image processing apparatus, image forming apparatus, and image processing method
JP2010157916A (en) Image reader, and wrinkle region determination method in the same, and program
JP2005208820A (en) Credit card reading device and credit card reading method
JP2008227625A (en) Image processor, image processing method, image processing program and recording medium
JP7136225B2 (en) Image reading device, image reading device control method
JP3610795B2 (en) Image reader
US12063337B2 (en) Image processing apparatus, scanner, image forming apparatus, data management system, and image processing method
JP4805687B2 (en) Image processing apparatus, image processing method, and image processing system
JP5243578B2 (en) Image processing apparatus, image processing method, and image processing system
CN219068248U (en) Scanning device and image forming apparatus
JP2021129168A (en) Image forming apparatus
JP2007166429A (en) Unit and method for processing image, program, and storage medium storing the same
JP3807420B2 (en) Image reader
JP4363159B2 (en) Image reading device
JP2008187433A (en) Image reader and image reading-processing program
JP3361905B2 (en) Optical character reader

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070403