JPH02240790A - Character recognizing device - Google Patents
Character recognizing deviceInfo
- Publication number
- JPH02240790A JPH02240790A JP1061759A JP6175989A JPH02240790A JP H02240790 A JPH02240790 A JP H02240790A JP 1061759 A JP1061759 A JP 1061759A JP 6175989 A JP6175989 A JP 6175989A JP H02240790 A JPH02240790 A JP H02240790A
- Authority
- JP
- Japan
- Prior art keywords
- character
- feature
- recognition
- input
- learning
- 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
Links
Landscapes
- Character Discrimination (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
この発明は、文字認識装置に関するもので、例えば、バ
ックプロパゲーションにより学習を行なうニューラルネ
ットワークを持つ方式の文字認識装置に用いることがで
きる。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application This invention relates to a character recognition device, and can be used, for example, in a character recognition device having a neural network that performs learning by backpropagation.
従来の技術
バックプロパゲーションにより学習を行なうニューラル
ネットワークで構成した文字認識装置は従来より公知で
あり、例えば、入力文字パターンをn行n列の画素に分
割してニューラルネットワークに入力した後、nxn個
の画素データから正しい文字認識が行なわれるようにバ
ックプロパゲーション等の方法で学習が行なわれる。第
6図に示すように入力層・中間層・出力層からなる階層
的ネットワークが用いられる。入力層は64(=8X8
)個のユニット10から成り立っており、個々のユニッ
トは文字を読み取る光学センサー(例えばフォトダイオ
ードのアレイ)に対応する。中間層のユニット数は8個
、出力層は4個のユニットで構成されている。入力層の
各ユニットは全ての中間層と、また中間層の各ユニット
11は全ての出力層と接続されている。中間層・出力層
の各ユニットは、しきい値開数としてシグモイド関数を
用いたニューロンで構成されている。Conventional technology A character recognition device configured with a neural network that performs learning by backpropagation has been known for a long time. For example, after dividing an input character pattern into n rows and n columns of pixels and inputting them into a neural network, Learning is performed using methods such as backpropagation so that correct character recognition can be performed from pixel data. As shown in FIG. 6, a hierarchical network consisting of an input layer, a middle layer, and an output layer is used. The input layer is 64 (=8X8
) units 10, each corresponding to an optical sensor (for example an array of photodiodes) for reading characters. The number of units in the intermediate layer is eight, and the output layer is composed of four units. Each unit of the input layer is connected to every intermediate layer, and each unit 11 of the intermediate layer is connected to every output layer. Each unit in the intermediate layer and output layer is composed of neurons that use a sigmoid function as a threshold value.
発明が解決しようとする課題
上記のニューラルネットワークで構成した文字認識装置
では、入力された文字を例えばnxm個のドツトの並び
から構成された面(入力面)上の画素に分解する。従っ
て第7図(a)と(b)に示したような入力データは同
一の形状ではあるが、ドットの並びとしては全(異なる
ものになる。例えば入力面上の文字パターンの存在する
画素を、、存在しない画素を0と考えると、第7図(a
)では、左上から右方向に、00000 01000
010000100o 0OO00という並びになるが
、第7図(b)ではooooo oooio oo
ot。Problems to be Solved by the Invention In the character recognition device constructed using the above-mentioned neural network, an input character is decomposed into pixels on a surface (input surface) composed of, for example, a sequence of n×m dots. Therefore, although the input data shown in FIGS. 7(a) and 7(b) have the same shape, the arrangement of dots is completely different. For example, if the pixels on the input screen where the character pattern exists ,, if we consider non-existent pixels to be 0, then Figure 7 (a
), then from the top left to the right, 00000 01000
The sequence is 010000100o 0OO00, but in Figure 7(b) it is ooooo oooio oo
ot.
00010 00000と全く異なる並びとなる。従っ
て、従来の文字認識装置では位置ずれや変形した文字の
認識が困難であった。The sequence is completely different from 00010 00000. Therefore, it is difficult for conventional character recognition devices to recognize characters that are misaligned or deformed.
この発明の目的は位置ずれや変形のある文字パターンを
認識するための文字認識装置を提供することにある。An object of the present invention is to provide a character recognition device for recognizing character patterns that are misaligned or deformed.
課題を解決するための手段
本発明の文字認識装置は、入力文字マトリクスから特徴
を抽出する部分とその特徴の位置を検出する部分とを有
し、前記特徴の種類とその検出位置とを入力として学習
を行なうニューラルネットワークにおいて前記特徴の検
出位置を上下左右の各方向に分解し、それぞれの方向の
相対的位置を数値に変換して表現する。Means for Solving the Problems The character recognition device of the present invention has a part that extracts features from an input character matrix and a part that detects the position of the features, and receives the type of the feature and its detected position as input. In the neural network that performs learning, the detected position of the feature is decomposed into each direction (up, down, left, and right), and the relative position in each direction is converted into a numerical value and expressed.
作用
前記した手段によれば、同一の特徴を有するが特徴の位
置は異なる文字も区別でき、しかも文字の位置ずれや変
形に依存し難い文字認識が可能となる。Effect: According to the means described above, it is possible to distinguish between characters that have the same features but different positions of the features, and moreover, it is possible to recognize characters that are not easily dependent on positional displacement or deformation of the characters.
実施例
第1図に、本発明の文字認識装置の一実施例の入力面を
示す。同図では5行、5列の入力面とそこに入力された
文字“4′が例示的に示されている。入力面内の特徴(
例えば第2図に示されるような特徴)を抽出し、その検
出位置を上下左右の各方向について、第3図のような関
数をかけて0から1の間のアナログ量として表す。第3
図の関数は横軸の長さを第1図の文字の幅と一致させて
いる。特徴の存在する位置での関数値を第3図から読取
ると、それぞれ第2図に示されるような値となる。この
数値を、3層から成るニューラルネットワークに入力し
て学習させることにより文字認識を行なうことができる
。Embodiment FIG. 1 shows an input screen of an embodiment of the character recognition device of the present invention. The figure exemplarily shows an input screen with 5 rows and 5 columns and the character "4" input there.Characteristics within the input screen (
For example, the features shown in FIG. 2) are extracted, and the detected position is multiplied by a function as shown in FIG. 3 in each of the up, down, left, and right directions and expressed as an analog quantity between 0 and 1. Third
The function in the figure matches the length of the horizontal axis with the width of the characters in FIG. When the function values at the positions where the feature exists are read from FIG. 3, the values are as shown in FIG. 2, respectively. Character recognition can be performed by inputting these numerical values into a three-layer neural network and having it learn.
第4図は、この発明の文字認識装置の構成図が示されて
いる。文字をフォトダイオードアレイ3で読み取り、文
字データから特徴を抽出し、その特徴の検出位置を特徴
検出位置の数値化部5の部分で上下左右の各方向につい
て数値化する。この値をニューラルネットの中間層6に
入力して出力層7から認識結果を出力する。この認識結
果が入力文字と異なる場合、正しい文字名を教師信号8
として入力する。教師信号とニューラルネットの認識結
果の差を小さくするように、パックプロパゲーション法
によりニューラルネットの重みを変化させて学習を行な
い、正しい認識が行なわれるまで学習を繰り返す。この
文字認識装置の動作のフローチャートを第5図に示す。FIG. 4 shows a block diagram of the character recognition device of the present invention. Characters are read by a photodiode array 3, features are extracted from the character data, and the detected position of the feature is digitized in each of the up, down, left, and right directions by a feature detection position digitizing section 5. This value is input to the intermediate layer 6 of the neural network, and the recognition result is output from the output layer 7. If this recognition result differs from the input character, the teacher signal 8 indicates the correct character name.
Enter as . Learning is performed by changing the weights of the neural network using the pack propagation method so as to reduce the difference between the teacher signal and the recognition results of the neural network, and the learning is repeated until correct recognition is achieved. A flowchart of the operation of this character recognition device is shown in FIG.
第2図の実施例の特徴抽出層は、3層3個の画素で形成
される特徴を抽出するが、代わりに従来のAI(人工知
脳)で用いられている特徴抽出方法を用いてもよい。The feature extraction layer of the embodiment shown in Fig. 2 extracts features formed by three layers and three pixels, but instead, a feature extraction method used in conventional AI (artificial intelligence) may also be used. good.
また、位置情報を数値化するために用いた第3図の関数
はジグモンド関数でなくても単調増加の関数であれば何
でもよく、直線を用いてもよい。Further, the function shown in FIG. 3 used to quantify the position information does not need to be a Zsigmond function, but may be any monotonically increasing function, and a straight line may be used.
以上本発明の実施例に基づき説明したが、本発明は上記
実施例に限定されるものではなく、その要旨を逸脱しな
い範囲で種々変更可能であることはいうまでもない。例
えば、第1図の実施例において文字入力面の画素数は1
6X16とか24×24のように多(でもよく、文字読
取りの部分はタブレットによる手書き入力を用いてもよ
い。Although the present invention has been described above based on the embodiments, it goes without saying that the present invention is not limited to the above embodiments, and can be modified in various ways without departing from the spirit thereof. For example, in the embodiment shown in FIG. 1, the number of pixels on the character input surface is 1.
A large number such as 6x16 or 24x24 may be used, and handwriting input using a tablet may be used for the character reading part.
発明の効果
本発明によれば、文字の特徴の検出位置をニューラルネ
ットワークへの入力として用いることにより、各特徴間
の相対的な位置関係も学習することが可能となり、文字
の変形や位置ずれに強い文字認識装置が得られる。Effects of the Invention According to the present invention, by using the detected positions of character features as input to a neural network, it is possible to learn the relative positional relationship between each feature, and it is possible to avoid deformation and positional deviation of characters. A strong character recognition device is obtained.
第1図は本発明の読取り文字例の図、第2図は第1図の
文字に対して抽出された特徴とその位置情報を示す図、
第3図は本発明の特徴位置検出のために使用するフィル
タ関数の図、第4図は本発明の文字認識装置の構成図、
第5図は本発明の文字認識のフローチャート、第6図は
従来の文字認識装置の構成図、第7図は従来方法による
文字認識方法の課題の説明図である。
1.13・・・・・・文字パターンの存在する画素、2
.12・・・・・・文字パターンの存在しない画素、1
0・・・・・・入力層の画素、11・・・・・・ニュー
ロン。
代理人の氏名 弁理士 粟野重孝 ほか1名第
図
((IJ圧方向
(b)右方向
左
右
+ −m−大学パターンの仔任TるIII累2− 又T
:パターンの停在し琴い画累廂
図
第
図FIG. 1 is a diagram of an example of readable characters according to the present invention, FIG. 2 is a diagram showing features extracted for the characters in FIG. 1 and their position information,
FIG. 3 is a diagram of a filter function used for feature position detection according to the present invention, and FIG. 4 is a configuration diagram of a character recognition device according to the present invention.
FIG. 5 is a flowchart of character recognition according to the present invention, FIG. 6 is a block diagram of a conventional character recognition device, and FIG. 7 is an explanatory diagram of problems in the conventional character recognition method. 1.13... Pixel where a character pattern exists, 2
.. 12...Pixel where no character pattern exists, 1
0... Input layer pixel, 11... Neuron. Name of agent: Patent attorney Shigetaka Awano and one other person Figure ((IJ pressure direction (b) right direction left and right + -m-University pattern child position III series 2-
:A diagram of the history of patterns and kotois
Claims (1)
部分を有し、、前記特徴とその検出位置を入力として、
バックプロパゲーションにより学習を行なうニューラル
ネットワークで構成されていることを特徴とする文字認
識装置。It has a part that extracts character features and a part that detects the position of the feature, and receives the feature and its detected position as input,
A character recognition device comprising a neural network that performs learning by backpropagation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061759A JPH02240790A (en) | 1989-03-14 | 1989-03-14 | Character recognizing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061759A JPH02240790A (en) | 1989-03-14 | 1989-03-14 | Character recognizing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02240790A true JPH02240790A (en) | 1990-09-25 |
Family
ID=13180400
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1061759A Pending JPH02240790A (en) | 1989-03-14 | 1989-03-14 | Character recognizing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02240790A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6101270A (en) * | 1992-08-31 | 2000-08-08 | International Business Machines Corporation | Neural network architecture for recognition of upright and rotated characters |
-
1989
- 1989-03-14 JP JP1061759A patent/JPH02240790A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6101270A (en) * | 1992-08-31 | 2000-08-08 | International Business Machines Corporation | Neural network architecture for recognition of upright and rotated characters |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Cangelosi et al. | From robotic toil to symbolic theft: grounding transfer from entry-level to higher-level categories1 | |
| CA2015740C (en) | Hierarchical constrained automatic learning network for character recognition | |
| US5058179A (en) | Hierarchical constrained automatic learning network for character recognition | |
| US5481621A (en) | Device and method for recognizing an image based on a feature indicating a relative positional relationship between patterns | |
| US5511134A (en) | Image recognition device and image recognition method | |
| EP0640935A2 (en) | Pattern recognition using a neural network | |
| CN110738213B (en) | Image identification method and device comprising surrounding environment | |
| Mori et al. | Neural networks that learn to discriminate similar Kanji characters | |
| Fukushima | Use of non-uniform spatial blur for image comparison: symmetry axis extraction | |
| Fukushima et al. | Symmetry axis extraction by a neural network | |
| Amin et al. | Hand-printed character recognition system using artificial neural networks | |
| CN101159043A (en) | A system and method for encoding visual object context spatial relationship | |
| JPH0367381A (en) | Character recognition device | |
| JPH02240791A (en) | Character recognizing device | |
| JPH02242488A (en) | Image processor | |
| JPH0644376A (en) | Image feature extracting device, image recognizing method and image recognizing device | |
| Minnix et al. | A multilayered self-organizing artificial neural network for invariant pattern recognition | |
| Fontaine et al. | Handprinted digit recognition using spatiotemporal connectionist models. | |
| Hosokawa et al. | A new approach for pattern recognition by neural networks with scramblers | |
| JPH0233687A (en) | Neural network learning method for recognizing multi-font character | |
| Fontaine et al. | A hybrid system for handprinted word recognition | |
| Mandziuk et al. | Incremental Class Learning Approach and its Application to Handwritten Digit Recognition. | |
| JPH03225482A (en) | Neural network that expresses the position and size of a target object | |
| JP2900427B2 (en) | Neural net | |
| Miikkulainen et al. | Visual schemas in object recognition and scene analysis |