JPH09128483A - Character recognizing method - Google Patents

Character recognizing method

Info

Publication number
JPH09128483A
JPH09128483A JP7302265A JP30226595A JPH09128483A JP H09128483 A JPH09128483 A JP H09128483A JP 7302265 A JP7302265 A JP 7302265A JP 30226595 A JP30226595 A JP 30226595A JP H09128483 A JPH09128483 A JP H09128483A
Authority
JP
Japan
Prior art keywords
character
characters
card
reading
character recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7302265A
Other languages
Japanese (ja)
Inventor
Nobuhiko Imada
延彦 今田
Emi Hayata
恵美 早田
Hiroshi Aisaka
宏 逢坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP7302265A priority Critical patent/JPH09128483A/en
Publication of JPH09128483A publication Critical patent/JPH09128483A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method flexibly recognizing characters on an optimum condition by means of a single character recognition device with respect to even various characters formed in a card. SOLUTION: A character is recognized by controlling a carrying means 2 carrying the card to a prescribed reading position, an illuminating means 3 illuminating the character and a picture processing means 5 picture-processing picture data obtained by a character read by a reading means 4 by a recognizing method suited to the character on the card, based on initializing data including information on the division of a character forming method, a character attribute and character arrangement which are fixed in a series of card group to be recognizing objects. The character forming division is the division of printing character such as an embossed character, a marking character, an OCR character, the character attribute is a lettering, the size and color of the character, etc., and the arrangement of the character is the start position of the character, character pitch, intervals between characters, the total number of characters, the ending position of the character, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、磁気カード、IC
カード等の各種カードに印刷やエンボス等によって形成
された文字を読み取る方法に関し、特に、形成方法が異
なる文字に対しても最適な認識方法により文字認識が行
える方法に関する。
TECHNICAL FIELD The present invention relates to a magnetic card and an IC.
The present invention relates to a method for reading characters formed on various cards such as cards by printing or embossing, and more particularly to a method for recognizing characters with different forming methods by an optimum recognition method.

【0002】[0002]

【従来の技術】近年、各種カード類が種々の用途で大量
に使用されており、これらカードには、ID番号、氏名
等の文字が、印刷、エンボス或いは刻印等によって形成
されている。かかる文字はカード利用者の確認用として
の意味もあるが、文字認識装置により機械読取りするこ
ともある。例えば、新規な磁気カードやICカードを製
造する時に、先ずエンボス文字でID番号等を形成し、
次いで該エンボス文字のID番号を光学的に読取り、読
み取ったID番号に該当するデータをカードに書込むと
いうものである。これによって、エンボス文字と記録す
るデータとの不整合を確実に防止できるからである。ま
た、カードの利用段階でも、カード読取機でID番号を
磁気データとエンボス文字とから二重に読取りして、磁
気データやエンボス文字の改ざんに対処している。
2. Description of the Related Art In recent years, various cards have been used in large amounts for various purposes, and characters such as ID numbers and names are formed on these cards by printing, embossing, engraving or the like. Such characters have a meaning for confirmation by the card user, but may be mechanically read by a character recognition device. For example, when manufacturing a new magnetic card or IC card, first form an ID number etc. with embossed characters,
Then, the ID number of the embossed character is optically read, and the data corresponding to the read ID number is written on the card. This is because it is possible to reliably prevent the mismatch between the embossed character and the data to be recorded. Further, even at the use stage of the card, the card reader double-reads the ID number from the magnetic data and the embossed character to deal with alteration of the magnetic data and the embossed character.

【0003】[0003]

【発明が解決しようとする課題】ところで、カード発行
装置等では、磁気カード、ICカードといった同種のカ
ードでは基本的に同一の発行装置を使用できるが、カー
ドに見える様に形成されるID番号や氏名等の文字の形
成方法は、カードのデザインを決める発行会社によっ
て、それぞれ異なり一定ではない。このため、発行装置
に備えつける文字認識装置は、エンボス文字、刻印文
字、OCR等の印刷文字等と、形成方法の異なる文字毎
に、文字認識装置を変えて対処する必要があり、一つの
文字認識装置を設備した一つのカード発行装置で、同種
のカードについて全て対応できるものではなかった。ま
た、例えば、単なる印刷文字にしても、文字の書体、サ
イズ、色、その他、文字の配置等、さまざまで、これら
に一台の文字認識装置で対処できるものは無かった。そ
こで、本発明は上記問題点を解決し、カードに形成され
た種々の文字に対しても、一台の文字認識装置により柔
軟に且つ最適な条件で文字認識が行える文字認識方法を
提供することを目的とする。
By the way, in the card issuing device, etc., basically the same issuing device can be used for the same kind of card such as a magnetic card and an IC card, but an ID number or The method of forming letters such as names differs depending on the issuing company that decides the design of the card, and is not constant. For this reason, the character recognition device installed in the issuing device needs to change the character recognition device for each character such as embossed characters, engraved characters, printed characters such as OCR, etc. and different forming methods. One card issuing device equipped with a recognition device could not handle all cards of the same type. Further, for example, even if it is a simple printed character, there are various fonts, sizes, colors, arrangements of characters, etc., and no one character recognition device can deal with them. Therefore, the present invention solves the above-mentioned problems and provides a character recognition method capable of flexibly recognizing various characters formed on a card with a single character recognition device under optimal conditions. With the goal.

【0004】[0004]

【課題を解決するための手段】本発明の文字認識方法
は、カードに形成された文字を光学的に読取り、画像処
理により文字認識する文字認識方法において、認識対象
とする一連のカード群で一定の、文字の形成方法による
区分、文字の属性、文字の配置に関する情報、を含む初
期設定データに基づいて、カードを所定の読取位置に搬
送する搬送手段、カードの文字を照明する照明手段、読
取手段で文字を読み取って得た画像データを画像処理す
る画像処理手段、を読み取るカードの文字に合わせた認
識方法に制御して、文字認識を行う様にする。
In the character recognition method of the present invention, a character formed on a card is optically read and the character is recognized by image processing. Of the character forming method, the attribute of the character, and the initial setting data including the information about the arrangement of the character, the conveying means for conveying the card to a predetermined reading position, the illuminating means for illuminating the character of the card, and the reading. Character recognition is performed by controlling the recognition method according to the character of the card to be read by the image processing means for image-processing the image data obtained by reading the character with the means.

【0005】また、上記文字認識方法において、文字の
形成方法による区分に関する情報が、少なくとも、エン
ボス文字、刻印文字、OCR文字、OCR以外の印刷文
字を区別する情報からなるものとする文字認識方法でも
ある。また、上記各文字認識方法において、文字の属性
に関する情報が、少なくとも、書体、文字サイズ、文字
色のいずれか一種以上を有するものとする文字認識方法
でもある。また、上記各文字認識方法において、文字の
配置に関する情報が、少なくとも、カード上の文字開始
位置、文字ピッチ又は文字間隔、総文字数又は文字終了
位置、に関する情報を有するものとする文字認識方法で
もある。
Further, in the above-mentioned character recognition method, the information regarding the classification according to the character formation method is at least information for distinguishing embossed characters, engraved characters, OCR characters, and print characters other than OCR. is there. Further, in each of the above character recognition methods, it is also a character recognition method in which the information regarding the attribute of a character has at least one of a font, a character size, and a character color. Further, in each of the above character recognition methods, the information regarding the arrangement of characters is also a character recognition method in which at least information regarding the character start position on the card, the character pitch or character spacing, the total number of characters or the character end position, is included. .

【0006】[0006]

【発明の実施の形態】以下、図面を参照しながら本発明
の文字認識方法を詳述する。図1は、本発明の文字認識
方法を行う文字認識装置の概略ブロック図であり、図2
は該文字認識装置の概略装置構成図である。図1で、文
字認識装置10は、搬送手段2、照明手段3、読取手段
4、画像処理手段5、演算制御手段6からなる。図2で
は、文字認識装置は文字認識装置本体11と、それに接
続された、カード40を適宜位置に搬送する搬送装置1
2、照明装置13a〜13c、CCDカメラ14等から
なる。ホストコンピュータ20は、認識対象となる一連
のカード群で共通の初期設定データを文字認識装置本体
11に与える。なお、同図では、カード発行装置に用い
る文字認識装置を想定しており、ホストコンピュータ2
0は文字認識装置から文字情報としてカードID番号を
受け取り、受け取ったカードID番号に該当する書込み
データをカードリーダライタ30に送りカードに対する
書込みを指示する。
BEST MODE FOR CARRYING OUT THE INVENTION The character recognition method of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a schematic block diagram of a character recognition device for performing the character recognition method of the present invention.
FIG. 1 is a schematic device configuration diagram of the character recognition device. In FIG. 1, the character recognition device 10 is composed of a conveying unit 2, an illuminating unit 3, a reading unit 4, an image processing unit 5, and an arithmetic control unit 6. In FIG. 2, the character recognition device includes a character recognition device main body 11 and a carrier device 1 connected to the character recognition device main body 11 for carrying the card 40 to an appropriate position.
2. Illumination devices 13a to 13c, CCD camera 14 and the like. The host computer 20 provides the character recognition device body 11 with initial setting data common to a series of cards to be recognized. In the figure, the character recognition device used for the card issuing device is assumed, and the host computer 2
0 receives a card ID number as character information from the character recognition device and sends write data corresponding to the received card ID number to the card reader / writer 30 to instruct writing to the card.

【0007】搬送手段2は、適宜カードを所定の文字読
取位置に搬送する駆動機構からなり読取手段が読み取る
範囲がカード全面をカーバしない場合に、カード送り方
向に例えば3分割して間欠的に搬送し、認識すべき文字
が読取手段の読取範囲内に入る様にできる。
The conveying means 2 comprises a drive mechanism for appropriately conveying the card to a predetermined character reading position, and when the reading area does not cover the entire surface of the card, it is divided into, for example, three parts in the card feeding direction and intermittently conveyed. However, the character to be recognized can be placed within the reading range of the reading means.

【0008】照明手段3は、少なくとも2方向からカー
ド面を照明することで、後述する「鏡面反射読取り」又
は「拡散反射読取り」による文字の読取りができる様に
構成されており、例えば、図2に例示する照明装置は、
照明装置13a〜13cにより3方向からカード面を照
明できる。このような照明手段は、例えば、点状光源で
あるLED(Light Emitting Diod
e)を二次元的に配列して面状の光源としたものを、所
望の照明方向に該当するLED光源列を選択的に点灯し
たり、線状光源を一次元配列して各線状光源を選択点灯
したりすること等で実現できる。読取手段4はCCDカ
メラ等で、複数台を備えることで異なる方向からカード
の文字を読み取ることができ、例えば、カード面に対し
て真上や斜めから、或いは、カードの表側と裏側を読み
取ることができる。一台のカメラの視野がカード面全面
をカバーできないときは、複数台で分担する。なお、分
担する領域がカード搬送方向ならば、カードを搬送して
視野内に入るカード面を移動させて読み取っても良い。
The illuminating means 3 is configured to illuminate the card surface from at least two directions so that the characters can be read by "specular reflection reading" or "diffuse reflection reading" described later. For example, FIG. The lighting device illustrated in
The illuminating devices 13a to 13c can illuminate the card surface from three directions. Such illuminating means is, for example, an LED (Light Emitting Diode) which is a point light source.
e) is a two-dimensionally arranged planar light source, and LED light source rows corresponding to a desired illumination direction are selectively turned on, or linear light sources are one-dimensionally arranged so that each linear light source is It can be realized by selectively lighting. The reading unit 4 is a CCD camera or the like, and by providing a plurality of units, it is possible to read the characters on the card from different directions. For example, reading the characters directly above or obliquely to the card surface, or reading the front and back sides of the card. You can If the field of view of one camera cannot cover the entire card surface, multiple cameras will share it. If the shared area is in the card transport direction, the card may be transported and the card surface within the field of view may be moved for reading.

【0009】ここで、図7に前記照明装置13a〜13
cとCCDカメラ14との位置関係の詳細を示す。照明
装置13aから出た光線はカード40上の領域Aaで正
反射してカメラ14に入る。同様に照明装置13bから
の光線は領域Abで、照明装置13cからの光線は領域
Acで正反射してカメラ14に入る。ここで、例えば、
照明装置13bだけ点灯すれば、領域Abにある文字は
正反射する光線によってカメラで読み取られ、領域Aa
や領域Acにある文字は、照明装置13bから広がる光
線による拡散反射光によってカメラで読み取られる。ま
た、領域Abにある文字は、照明装置13a又は13
c、或いは照明装置13a及び13cを点灯させて、こ
れら照明装置から広がる光線による拡散反射光によって
読み取られる様になっている。このようにして、カード
上の読み取る文字の位置によって、また鏡面或いは拡散
による読取り方法によって、複数の照明装置のどれを点
灯するかを決めて最適な文字認識を行う。
Here, in FIG. 7, the illumination devices 13a to 13a are provided.
Details of the positional relationship between c and the CCD camera 14 are shown. The light beam emitted from the illumination device 13a is specularly reflected by the area Aa on the card 40 and enters the camera 14. Similarly, the light ray from the illuminating device 13b is specularly reflected by the area Ab, and the light ray from the illuminating device 13c is specularly reflected by the area Ac and enters the camera 14. Where, for example,
If only the lighting device 13b is turned on, the characters in the area Ab are read by the camera by the light rays that are specularly reflected, and the area Aa
The characters in the area Ac are read by the camera by the diffuse reflection light from the light beam spreading from the lighting device 13b. Further, the characters in the region Ab are the lighting device 13a or 13
c, or the lighting devices 13a and 13c are turned on, and the reading is performed by the diffuse reflection light by the light rays spreading from these lighting devices. In this manner, which of the plurality of lighting devices is to be turned on is determined depending on the position of the character to be read on the card and the reading method by the mirror surface or diffusion, and optimal character recognition is performed.

【0010】画像処理手段5は、読取手段で読み取った
画像データを、画像強調、輪郭線抽出、平滑化等の画像
処理を適宜行い二値化された文字画像データを抽出す
る。演算制御手段6はこの文字画像データを予め保存さ
れた基準となる基準文字データと比較等して文字を特定
し文字データを得る。
The image processing means 5 appropriately performs image processing such as image enhancement, contour line extraction, and smoothing on the image data read by the reading means to extract binarized character image data. The arithmetic control unit 6 specifies the character by comparing the character image data with reference character data which is a reference stored in advance and obtains the character data.

【0011】次に、上記の文字認識装置を例に本発明の
文字認識方法を説明する。先ず、図3は、カード40に
形成された文字Cの配置、大きさ等を示す一例である。
カードには、文字がその形成方法によって、エンボスに
よるエンボス文字、刻印による刻印文字、印刷によるO
CR文字や通常の印刷文字とて形成されている。そし
て、本発明で使用する初期設定データは、これらの文字
の形成方法による区分に関する情報を有する。それは、
エンボス文字は凹凸を有し、刻印文字はエンボス文字よ
りは小さいが文字の輪郭部に凹凸を有し、印刷文字は平
面であり、この表面凹凸特性により、カメラで文字読み
取るする際の文字の照明方法を変えるからである。
Next, the character recognition method of the present invention will be described by taking the above character recognition device as an example. First, FIG. 3 is an example showing the arrangement, size, etc. of the character C formed on the card 40.
Depending on the method of forming the card, the characters may be embossed by embossing, engraved by engraving, or O by printing.
It is formed as a CR character or a normal print character. Then, the initial setting data used in the present invention has information about the division according to the method of forming these characters. that is,
The embossed characters have irregularities, the engraved characters are smaller than the embossed characters but have irregularities in the outline of the characters, and the printed characters are flat, and due to this surface irregularity characteristic, the characters are illuminated when the characters are read by the camera. Because it changes the method.

【0012】エンボス文字は、読み取る文字部分で正反
射(鏡面反射)してカメラにその線反射光が丁度入射す
る位置の照明装置のみを点灯させる。これにより、図5
に示す様に、エンボス文字C1が形成する凸部でカード
面と平行な部分は正反射光がカメラに入射するから明
部、カード面と平行でない部分は正反射光がカメラに入
射しないから暗部となり、この明暗を読み取った画像デ
ータから文字認識を行う。これを「鏡面反射読取り」と
する。刻印文字では、図6に示す様に刻印文字C2の輪
郭部分に段差(斜面)があり該段差が暗部となり、エン
ボス文字と同様に照明光の正反射方向から読取る鏡面反
射読取りにより、文字の輪郭が強調された画像データを
得て文字認識する。或いは、照明は、カード表面で正反
射してカメラに入射しない角度から照明する拡散反射照
明により、文字の濃淡による画像データを得て文字認識
する。なお、後者の拡散反射照明によるものを「拡散反
射読取り」とする。刻印文字の場合に何方を使うかは、
例えば、文字と周囲とのコントラストが少ない場合は鏡
面反射読取りをする。OCR等の印刷文字の場合は、拡
散反射読取りをする。なお、印刷文字では凹凸はないの
で、鏡面反射読取りでは文字形状に応じたコントラスト
を持つ画像データを読取り段階では得られない。なお、
本発明の説明では図2及び図7の様に一定方向からカー
ド面を見るカメラに対して、点灯させる照明装置を代え
て、鏡面反射読取りと拡散反射読取りとを制御している
が、複数台のカメラを使い分けて鏡面反射読取りと拡散
反射読取りを制御することもできる(例えば法線方向か
ら見るカメラは拡散反射読取り、斜めから見るカメラは
鏡面反射読取り)。しかし、カメラは一台として照明装
置側で制御した方が装置的にはコンパクトにできる。
The embossed character is specularly reflected (specularly reflected) at the character portion to be read, and only the illumination device at the position where the line-reflected light is exactly incident on the camera is turned on. As a result, FIG.
As shown in FIG. 5, the convex portion formed by the embossed character C1 parallel to the card surface receives specular reflection light on the camera, and the portion not parallel to the card surface does not enter specular reflection light on the camera. Then, character recognition is performed from the image data obtained by reading the brightness. This is called "specular reflection reading". In the engraved character, as shown in FIG. 6, there is a step (slope) in the contour portion of the engraved character C2, and the step becomes a dark portion, and the contour of the character is obtained by specular reflection reading which is read from the regular reflection direction of the illumination light like the embossed character. The image data in which is emphasized is obtained and characters are recognized. Alternatively, the illumination is performed by diffuse reflection illumination in which the light is reflected from the card surface at an angle that does not enter the camera and character recognition is performed by obtaining image data based on the density of the character. Note that the latter diffuse reflection illumination is referred to as "diffuse reflection reading". In case of engraved character, which one to use,
For example, specular reflection reading is performed when the contrast between characters and the surroundings is low. In the case of printed characters such as OCR, diffuse reflection reading is performed. Since there is no unevenness in the printed characters, image data having a contrast according to the character shape cannot be obtained in the reading stage in specular reflection reading. In addition,
In the description of the present invention, as shown in FIGS. 2 and 7, the illumination device to be turned on is replaced with the camera that looks at the card surface from a certain direction, and specular reflection reading and diffuse reflection reading are controlled. It is also possible to control the specular reflection reading and the diffuse reflection reading by using different cameras (for example, the camera seen from the normal direction is the diffuse reflection reading, and the camera seen from the oblique direction is the specular reflection reading). However, it is possible to make the device compact by controlling only one camera on the lighting device side.

【0013】以上のように、初期設定データとして、文
字の形成方法による区分を指定することで、「鏡面反射
読取り」或いは「拡散反射読取り」と照明による読取り
方法が決まる。但し、刻印文字では上記の如く背景のと
のコントラストにもよる。
As described above, by specifying the division according to the character forming method as the initial setting data, the "specular reflection reading" or "diffuse reflection reading" and the reading method by illumination are determined. However, the engraved character also depends on the contrast with the background as described above.

【0014】次に、文字属性に関する初期設定データと
しては、文字の書体、文字サイズ、文字の色等がある。
文字の書体とは、例えば、明朝体、ゴシック体等の書体
を意味する。文字サイズとは、ポイント数、或いは号
数、或いは縦横の寸法を例えばmm単位で独立して指定
する情報等もある。文字の色は、特に刻印文字、OCR
等の印刷文字における文字の色である。例えば、刻印文
字では、黒色、金色、青色等各種ある。また、印刷文字
も同様である。文字の書体及び文字サイズにより、比較
照合する基準文字データが異なり、文字色によりカメラ
で読み取った画像を2値化する際の2値化しきい値や
(文字色を読み取るための拡散反射光を得るために)点
灯する照明装置の照明パターンを制御して最適な画像入
力、処理を行う。文字の書体も例えば明朝体、ゴシック
体以外にも従来公知の印刷用の各種の書体があるが、こ
れら各種書体に関する情報を初期設定データとして文字
認識装置に与えておくことで、任意の書体の文字にも対
応できる なお、刻印文字で金や銀色の文字の場合の照明は、鏡面
反射読取りの為の照明装置と、拡散反射読取りの為の照
明装置の両方を点灯させる。これは、金・銀色は光を強
く反射することにより、鏡面反射読取りの場合には刻印
文字の輪郭で暗部となる部分のコントラストが低下して
しまうことから、拡散反射読取りの光線により輪郭部分
を正反射させ、明部とするためである。この様にした場
合、鏡面反射読み取りよりも絵柄の影響は出易いが、金
・銀色の文字部分の反射が十分に強い為、より認識し易
い。
Next, as the initial setting data relating to the character attributes, there are a character typeface, a character size, a character color and the like.
The character typeface means, for example, a typeface such as Mincho typeface or Gothic typeface. The character size also includes information such that the number of points, the number of items, or the vertical and horizontal dimensions are independently designated in units of mm, for example. The color of the characters is especially engraved characters and OCR
It is the color of the characters in the printed characters such as. For example, there are various stamp characters such as black, gold, and blue. The same applies to print characters. The reference character data to be compared and collated differs depending on the typeface and the character size of the character, and a binarization threshold value for binarizing the image read by the camera depending on the character color and (diffuse reflected light for reading the character color is obtained. In order to perform optimal image input and processing, the lighting pattern of the lighting device that is turned on is controlled. There are various known typefaces for printing other than the Mincho typeface and the Gothic typeface, for example. By giving information about these various typefaces to the character recognition device as initial setting data, any typeface can be used. In addition, in the case of the engraved characters of gold or silver, both of the lighting device for specular reflection reading and the lighting device for diffuse reflection reading are turned on. This is because gold and silver colors strongly reflect light, and in the case of specular reflection reading, the contrast of the dark part in the contour of the engraved character will decrease, so the contour portion will be reflected by the light beam of diffuse reflection reading. This is because the light is specularly reflected to form the bright portion. In this case, the influence of the design is more likely to occur than in the specular reflection reading, but since the reflection of the gold / silver color character portion is sufficiently strong, it is easier to recognize.

【0015】次に、カード上の文字の配置に関する初期
設定データとしては、カード上の読取り対象となる文字
がある領域、さらには読み取る文字を特定する情報であ
る。図3のカード40に示す如く、文字Cの開始位置L
(x1,y1)、文字ピッチP1、文字間隔P2、総文
字数n、文字終了位置L(x2,y1)等に関する情報
である。文字属性に関する情報で文字サイズが決まれ
ば、文字Cのx方向のサイズは決まるので文字間隔P2
と文字ピッチP1とは何方か一方で良い。また、文字終
了位置は、文字開始位置と文字間隔と総文字数から導き
出せ、一方総文字数は文字開始位置と文字間隔と文字終
了位置から導き出せる。したがって、総文字数と文字終
了位置とは何方か一方でも良い。なお、この様に何方か
一方で良いものを両方で重複指定した場合は、双方の指
定が矛盾しないか整合性の確認を文字認識装置にさせて
も良い。また、文字属性の文字サイズからy方向の文字
サイズは決まるので、y方向の高さHは決まる。また、
図3では3文字目の文字Cには「×」印があり(実際に
×印があるのではなく図面説明の都合による)、これは
3文字目は認識対象としないことを示し、認識不要文字
Eを何文字目という具体に指定する情報を含むこともあ
る。また、文字が天地逆さに配置されるものは、天地逆
向きの情報を指定する。
Next, the initial setting data relating to the arrangement of the characters on the card is the area on the card where the character to be read is present, and further information for specifying the character to be read. As shown in the card 40 of FIG. 3, the start position L of the character C
(X1, y1), character pitch P1, character spacing P2, total number of characters n, character end position L (x2, y1), and the like. If the character size is determined by the information about the character attribute, the size of the character C in the x direction is determined.
Either the character pitch P1 or the character pitch P1 is good. Also, the character end position can be derived from the character start position, the character interval, and the total number of characters, while the total character number can be derived from the character start position, the character interval, and the character end position. Therefore, either one of the total number of characters and the character end position may be used. In this way, when two or more good ones are designated redundantly, the character recognition device may check the consistency to see if the designations of both are consistent. Moreover, since the character size in the y direction is determined from the character size of the character attribute, the height H in the y direction is determined. Also,
In FIG. 3, there is an "x" mark in the third character C (due to the convenience of the drawing description rather than the actual x mark), which indicates that the third character is not a recognition target, and recognition is unnecessary. It may include information that specifically specifies the letter E as the letter. If the characters are arranged upside down, the information of upside down is specified.

【0016】以上の文字の配置に関する情報により、文
字認識装置はカード上のどの領域の文字を読取り対象と
すれば良いかを、一連のカード群毎に判断できることと
なりる。
With the above-mentioned information regarding the arrangement of the characters, the character recognition device can determine which area of the character on the card should be read for each series of cards.

【0017】そして、CCDカメラ等の読取手段でカー
ドの所定領域を読み取るには、カメラの視野内に対象と
なる文字が納まる様に、搬送装置に対して所定の読取位
置にカードを搬送させる様にする。しかし、通常の横長
のカードを一つのカメラでそのカード全面をカメラの視
野領域として読み取ることも可能ではあるが、一枚のカ
ード面を分割して読んだ方が得られる画像データの解像
度の点で有利である。そこで、例えば図4に例示する如
く、縦方向ではカメラの視野がカードの約2/3をカバ
ーし、横方向では約1/3をカバーし、都合、カメラの
視野領域を、視野領域Vul,Vum,Vur,Vdl,Vdm,
Vdlの6つの分割し、上下方向は2台のカメラを(天地
方向に)平行配置してカバーし、左右方向は搬送手段に
よりカードを3回スキップ移動させてカード横方向全幅
をカバーする様に制御する。もちろん、認識する文字領
域により、これら各視野領域のうちの必要な領域を読み
取れば良いし、分割のサイズ、位置は文字の形成領域に
より、最適な値に制御すればよい。なお、このようにカ
ードの上下方向を2台のカメラで受持ち、またこれをカ
ードの表と裏とに備えれば、表側及び裏側に各2台で合
計4台のカメラ(とそのための照明装置)によって、カ
ードの表裏面の全域をカーバするも文字認識が可能であ
る。
Then, in order to read a predetermined area of the card with a reading means such as a CCD camera, the card is conveyed to a predetermined reading position by the conveying device so that the target character is contained within the visual field of the camera. To However, it is possible to read a normal horizontal card with one camera as the entire field of view of the camera, but it is better to read one card surface separately for the resolution of the image data. Is advantageous. Therefore, for example, as illustrated in FIG. 4, the vertical field of view of the camera covers about ⅔ of the card, and the horizontal direction covers about ⅓ of the card. Vum, Vur, Vdl, Vdm,
The Vdl is divided into six, and two cameras are vertically arranged in parallel (in the vertical direction) to cover, and in the left and right directions, the card is skipped three times by the conveying means to cover the entire width of the card in the horizontal direction. Control. Of course, a necessary area of each of these visual field areas may be read according to the recognized character area, and the division size and position may be controlled to an optimum value depending on the character formation area. In this way, if the card is held up and down by two cameras, and this is provided on the front and back of the card, two cameras are provided on each of the front and back sides, for a total of four cameras (and a lighting device therefor). ), It is possible to recognize characters by covering the entire front and back of the card.

【0018】読取手段によって読み込まれた画像データ
は、画像処理手段によって適宜フィルタをかける等の画
像処理がなされ、文字画像データが抽出されることにな
るが、画像処理の方法も文字の形成区分により異なるの
で、画像処理手段に対しても初期設定データで与えられ
た文字区分に関する情報で、予め指定された画像処理方
法を選択して画像処理を行わせる様にする。エンボス文
字あるいは刻印文字であれば、鏡面反射読取による画像
入力を行い、エッジ強調処理等を行った後、2値化を行
う。また、OCR等の印刷文字を拡散反射読取した場合
は、拡散光による画像入力を行い、平滑化、ノイズ除去
等を行った後、2値化を行い文字画像データとする。
The image data read by the reading means is subjected to image processing such as appropriate filtering by the image processing means, and character image data is extracted. The image processing method also depends on the character formation classification. Since they are different, the image processing means is also made to perform the image processing by selecting the image processing method designated in advance by the information regarding the character classification given in the initial setting data. If it is an embossed character or an engraved character, an image is input by specular reflection reading, edge enhancement processing, etc. are performed, and then binarization is performed. When a printed character such as OCR is read by diffuse reflection, an image is input by diffused light, smoothing, noise removal, etc. are performed, and then binarization is performed to obtain character image data.

【0019】以上に様にして、抽出された文字画像デー
タは、演算制御手段で、予め登録されている比較の基準
となる基準文字データを初期設定データで指定とれた文
字属性等から選択した上で比較照合され、文字の特定が
行われ、最終的に文字が認識される。なお、読取対象文
字の種類が、数字、英字、カナ、かな、漢字等と特定の
ものであるならば、初期設定データに文字種類も含めて
おくとよい。これによって、比較照合すべき基準文字デ
ータの数を予め限定でき、文字認識率及び文字認識速度
が向上する。
In the character image data extracted as described above, the arithmetic control means selects the reference character data, which is a reference for comparison registered in advance, from the character attributes designated by the initial setting data. Are compared and collated, the characters are specified, and finally the characters are recognized. If the type of the read target character is a specific one such as numbers, letters, kana, kana, kanji, etc., it is advisable to include the character type in the initial setting data. Thereby, the number of reference character data to be compared and collated can be limited in advance, and the character recognition rate and the character recognition speed are improved.

【0020】また、以上の説明では演算制御手段は、外
部から初期設定データを与えられると、これを基に搬送
手段、読取手段、画像処理手段の適宜制御も行う。
Further, in the above description, the arithmetic control means, when given the initial setting data from the outside, also appropriately controls the conveying means, the reading means and the image processing means based on this.

【0021】なお、本発明の文字認識方法は、その趣旨
を逸脱しない範囲で、上記説明に限定されるものではな
く、文字の形成区分、文字属性、文字配置によって、予
め決めておいた最適な文字認識方法を、初期設定データ
を指定することで文字認識装置に教え、最適な方法で文
字認識するものである。したがって、例えば、カード発
行装置の一部として文字認識装置を用いる場合には、搬
送手段はカード発行装置が備える搬送手段として、文字
認識装置側では省略できる。また、演算制御手段は文字
を比較照合して特定するものと、その他の手段を制御す
るものとに、分けてもよい等である。
The character recognition method of the present invention is not limited to the above description without departing from the spirit of the invention, and may be determined in advance according to the character formation classification, the character attribute, and the character arrangement. The character recognition method is taught to the character recognition device by designating initial setting data, and the character recognition is performed by an optimum method. Therefore, for example, when the character recognition device is used as a part of the card issuing device, the carrying means can be omitted on the character recognition device side as the carrying means included in the card issuing device. Further, the arithmetic control means may be divided into one for comparing and identifying the characters and one for controlling the other means.

【0022】[0022]

【発明の効果】本発明の文字認識方法によれば、一連の
カードに対する文字認識において、形成方法が異なる
等、異なる種類の文字を読み取る場合でも、一台の文字
認識装置にて、柔軟に且つ最適な認識条件で文字認識が
行える。
According to the character recognition method of the present invention, in character recognition for a series of cards, even when different types of characters such as different formation methods are read, one character recognition device can flexibly and Character recognition can be performed under optimal recognition conditions.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の文字認識方法を行う文字認識装置の一
例を示す概略ブロック図。
FIG. 1 is a schematic block diagram showing an example of a character recognition device for performing a character recognition method of the present invention.

【図2】図1の文字認識装置の一例を示す概略装置構成
図。
FIG. 2 is a schematic device configuration diagram showing an example of the character recognition device of FIG.

【図3】カードに形成された文字の配置等の説明図。FIG. 3 is an explanatory view of arrangement of characters formed on a card.

【図4】カードを読み取るカメラの視野領域の説明図。FIG. 4 is an explanatory diagram of a visual field area of a camera that reads a card.

【図5】エンボス文字を読み取る鏡面反射読取りの説明
図。
FIG. 5 is an explanatory diagram of specular reflection reading for reading embossed characters.

【図6】刻印文字を読み取る鏡面反射読取りの説明図。FIG. 6 is an explanatory diagram of specular reflection reading for reading engraved characters.

【図7】照明方法の制御による鏡面反射読取りと拡散反
射読取りの説明図。
FIG. 7 is an explanatory diagram of specular reflection reading and diffuse reflection reading by controlling an illumination method.

【符号の説明】[Explanation of symbols]

2 搬送手段 3照明手段 4 読取手段 5 画像処理手段 6 演算制御手段 10 文字認識装置 11 文字認識装置本体 12 搬送装置 13a,13b,13c 照明装置 14 CCDカメラ 20 ホストコンピュータ 30 カードリーダライタ 40 カード C 文字 Aa,Ab,Ac カード上で(文字の有る)領域 C1 エンボス文字 C2 刻印文字 E 認識不要文字 H 高さ L(x1,y1) 文字開始位置 L(x2,y2) 文字終了位置 P1 文字ピッチ P2 文字間隔 Vul カメラ視野領域(上左領域) Vum カメラ視野領域(上中央領域) Vur カメラ視野領域(上右領域) Vdl カメラ視野領域(下左領域) Vdm カメラ視野領域(下中央領域) Vdr カメラ視野領域(下右領域) 2 conveying means 3 illuminating means 4 reading means 5 image processing means 6 arithmetic control means 10 character recognizing device 11 character recognizing device main body 12 conveying device 13a, 13b, 13c illuminating device 14 CCD camera 20 host computer 30 card reader / writer 40 card C character Aa, Ab, Ac Area on the card (with characters) C1 Embossed character C2 Engraved character E Unrecognized character H Height L (x1, y1) Character start position L (x2, y2) Character end position P1 Character pitch P2 character Interval Vul camera view area (upper left area) Vum camera view area (upper center area) Vur camera view area (upper right area) Vdl camera view area (lower left area) Vdm camera view area (lower center area) Vdr camera view area (Lower right area)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 カードに形成された文字を光学的に読取
り、画像処理により文字認識する文字認識方法におい
て、認識対象とする一連のカード群で一定の、文字の形
成方法による区分、文字の属性、文字の配置に関する情
報、を含む初期設定データに基づいて、カードを所定の
読取位置に搬送する搬送手段、カードの文字を照明する
照明手段、読取手段で文字を読み取って得た画像データ
を画像処理する画像処理手段、を読み取るカードの文字
に合わせた認識方法に制御して、文字認識を行うことを
特徴とする文字認識方法。
1. A character recognition method for optically recognizing a character formed on a card and recognizing the character by image processing. In the character recognition method, a group of a series of cards to be recognized, a classification by the character formation method, and a character attribute. , Image data obtained by reading characters by a reading unit, a conveying unit that conveys the card to a predetermined reading position, an illuminating unit that illuminates the characters on the card, based on initial setting data including information regarding the arrangement of the characters. A character recognition method characterized in that character recognition is performed by controlling an image processing means for processing and a recognition method suitable for a character on a card to be read.
【請求項2】 文字の形成方法による区分に関する情報
が、少なくとも、エンボス文字、刻印文字、OCR文
字、OCR以外の印刷文字を区別する情報からなること
を特徴とする請求項1記載の文字認識方法。
2. The character recognition method according to claim 1, wherein the information on the classification according to the character forming method includes at least information for distinguishing embossed characters, engraved characters, OCR characters, and print characters other than OCR. .
【請求項3】 文字の属性に関する情報が、少なくと
も、書体、文字サイズ、文字色のいずれか一種以上を有
することを特徴とする請求項1又は2記載の文字認識方
法。
3. The character recognition method according to claim 1, wherein the information on the attribute of the character has at least one of a font, a character size, and a character color.
【請求項4】 文字の配置に関する情報が、少なくと
も、カード上の文字開始位置、文字ピッチ又は文字間
隔、総文字数又は文字終了位置、に関する情報を有する
ことを特徴とする請求項1,2又は3記載の文字認識方
法。
4. The information regarding the arrangement of characters includes at least information regarding a character start position on a card, a character pitch or a character interval, a total number of characters or a character end position. Character recognition method described.
JP7302265A 1995-10-27 1995-10-27 Character recognizing method Pending JPH09128483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7302265A JPH09128483A (en) 1995-10-27 1995-10-27 Character recognizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7302265A JPH09128483A (en) 1995-10-27 1995-10-27 Character recognizing method

Publications (1)

Publication Number Publication Date
JPH09128483A true JPH09128483A (en) 1997-05-16

Family

ID=17906936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7302265A Pending JPH09128483A (en) 1995-10-27 1995-10-27 Character recognizing method

Country Status (1)

Country Link
JP (1) JPH09128483A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2208126A1 (en) * 2002-11-19 2004-06-01 Jose Rivera Len System for the comparative recognition of characters printed on physical supports
WO2004047031A1 (en) * 2002-11-19 2004-06-03 Rivera Len Jose System for the comparative recognition of characters printed on physical supports
JP2021125213A (en) * 2020-01-31 2021-08-30 株式会社Osk Information processor, information processing method, and information processing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2208126A1 (en) * 2002-11-19 2004-06-01 Jose Rivera Len System for the comparative recognition of characters printed on physical supports
WO2004047031A1 (en) * 2002-11-19 2004-06-03 Rivera Len Jose System for the comparative recognition of characters printed on physical supports
JP2021125213A (en) * 2020-01-31 2021-08-30 株式会社Osk Information processor, information processing method, and information processing program

Similar Documents

Publication Publication Date Title
CN100433038C (en) Method for reading a symbol having encoded information
RU2198428C2 (en) Pen and process of recording
US6628808B1 (en) Apparatus and method for verifying a scanned image
US3444517A (en) Optical reading machine and specially prepared documents therefor
US20060082557A1 (en) Combined detection of position-coding pattern and bar codes
CN110153565B (en) Laser coding method and device
JP6894977B2 (en) Drug test support device, drug test support method, drug identification device, drug identification method and program, recording medium
JPS62184908A (en) Automatic discriminating method of tire
US4817185A (en) Optical character reader
US20090224187A1 (en) Counting device for small series
US3200373A (en) Handwritten character reader
US20070269109A1 (en) Method and apparatus for processing selected images on image reproduction machines
JPH09128483A (en) Character recognizing method
JPH09138839A (en) Ic card issuing processing system
JP2007011654A (en) Method of reading embossed character
JPH08161423A (en) Illuminating device and character reader
US6715686B1 (en) Device for recording information in different modes
JPH06266890A (en) Embossed character recognizing device
JP2001180066A (en) Continuous form-printing apparatus and method for designating printing position
JP2003101754A (en) Image scanner, optical character reader, and level forming machine
JPH06119492A (en) Method and device for reading uneven information
JP2007011653A (en) Method and device for reading embossed character string
JPH06111060A (en) Optical character reader
JP3868539B2 (en) Illumination device and character reading device
JP2001357353A (en) Slip processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050908

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060525

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060614

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060707