Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0685190B2 - Dictionary search method for character recognition device - Google Patents
[go: Go Back, main page]

JPH0685190B2 - Dictionary search method for character recognition device - Google Patents

Dictionary search method for character recognition device

Info

Publication number
JPH0685190B2
JPH0685190B2 JP61009452A JP945286A JPH0685190B2 JP H0685190 B2 JPH0685190 B2 JP H0685190B2 JP 61009452 A JP61009452 A JP 61009452A JP 945286 A JP945286 A JP 945286A JP H0685190 B2 JPH0685190 B2 JP H0685190B2
Authority
JP
Japan
Prior art keywords
dictionary
recognition device
distances
character recognition
search method
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.)
Expired - Fee Related
Application number
JP61009452A
Other languages
Japanese (ja)
Other versions
JPS62166482A (en
Inventor
昌弘 中村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61009452A priority Critical patent/JPH0685190B2/en
Publication of JPS62166482A publication Critical patent/JPS62166482A/en
Publication of JPH0685190B2 publication Critical patent/JPH0685190B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、文字認識装装置における辞書検索方法に関す
る。
Description: TECHNICAL FIELD The present invention relates to a dictionary search method in a character recognition device.

〔従来技術〕[Prior art]

文字認識の従来技術に、入力パターンの輪郭部に方向コ
ードを与え、この方向コードのついたパターンを複数個
に分割し、この分割した各部分について方向コード別に
ヒストグラムを集計し、この集計したヒストグラムとあ
らかじめ用意した認識用の辞書(テンプレート)の各距
離の総和により候補を決める方式がある。しかしなが
ら、従来技術においては辞書検索に時間がかゝるという
問題があった。
In the conventional technology of character recognition, a direction code is given to the contour part of the input pattern, the pattern with this direction code is divided into a plurality of parts, and a histogram is aggregated for each divided part for each direction code. There is a method of determining candidates by summing up the distances of a dictionary (template) for recognition prepared in advance. However, the conventional technique has a problem that it takes time to search the dictionary.

例えば、方向コードがついたパターンを4×4に分割す
ると16ブロックになり、これらがそれぞれ方向コード1
〜8についてヒストグラムをとると、128次元のパラメ
ータとなる。この128次元のパラメータについてそれぞ
れ距離を出し、この時、 D=Σ|DH−PH|<TH 但し、Dは距離の総和 DHは辞書のヒストグラムパラメータ PHは入力パターンのヒストグラムパラメータ THはリジェクトスレショールド となるテンプレートが候補文字となるが、THとDを比較
する回数が多いと、その処理のために多くの時間がとら
れ、また、逆に少ないとTHを越えても距離演算を行うこ
とが多くなるので効率が悪い。
For example, if a pattern with a direction code is divided into 4x4, it becomes 16 blocks, and these are direction code 1 respectively.
Taking histograms for ~ 8 results in 128-dimensional parameters. Distances are calculated for each of these 128-dimensional parameters. At this time, D = Σ | D H −P H | <T H where D is the sum of distances D H is the histogram parameter of the dictionary P H is the histogram parameter of the input pattern T H is the template on which the reject threshold are candidates character, beyond the more times to compare T H and D, a lot of time taken for the process, also a small, T H reversed However, since the distance calculation is often performed, the efficiency is low.

〔目 的〕〔Purpose〕

本発明の目的は、文字認識装置における辞書検索時間の
短縮化を図ることになる。
An object of the present invention is to shorten the dictionary search time in the character recognition device.

〔構 成〕〔Constitution〕

本発明は、距離の総和DをリジェクトスレショールドTH
と比較するポイントを、文字種単位、文字単位あるいは
1テンプレート単位に与えることにより、辞書検索時間
の高速化を実現するものである。以下、図面により本発
明の一実施例を説明する。
The present invention, the distance reject thresholding the sum D of de T H
By providing the point to be compared with the character type unit, the character unit or the template unit, the dictionary search time can be shortened. An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、特に認
識処理を行う部分の構成図を示す。第2図は辞書構成の
一例である。辞書11はアドレスが上位、下位に分かれて
いて、各下位アドレスの0番地に文字コード、1番地に
その文字コードがもつ辞書(テンプレート)の数、2番
地にその文字コードを先頭辞書(先頭テンプレート)の
下位番地が格納されている。さらに3〜5番地にDとTH
を比較するポイントを3ケ所格納している。なお、チェ
ックポイントの数は一般に何個でもかまなわい。
FIG. 1 is a block diagram of an embodiment of the present invention, and particularly shows a block diagram of a portion for performing recognition processing. FIG. 2 is an example of a dictionary configuration. The address of the dictionary 11 is divided into upper and lower addresses. The character code is at address 0 of each lower address, the number of dictionaries (templates) that character code has at address 1, and the character code at address 2 is the leading dictionary (leading template). ) Lower address is stored. Furthermore, D and T H at 3-5
Stores three points for comparing. The number of check points is generally unlimited.

第3図はマイクロプロセッサ10の処理フローを示したも
のである。認識処理を行う場合、マイクロプロセッサ10
は辞書用アドレスカウンタ(辞書カウンタ)12をセット
して、辞書11から文字コード、辞書数、下位先頭アドレ
ス、チェックポイント1,2,3をそれぞれ取り込み、マイ
クロプロセッサ10内の所定レジスタに貯える(ステップ
101)。この後、認識処理が開始される。
FIG. 3 shows a processing flow of the microprocessor 10. When performing recognition processing, the microprocessor 10
Sets a dictionary address counter (dictionary counter) 12, fetches the character code, the number of dictionaries, the lower head address, check points 1, 2, and 3 from the dictionary 11, respectively, and stores them in a predetermined register in the microprocessor 10 (step
101). After that, the recognition process is started.

まず、マイクロプロセッサ10は辞書カウンタ12に上位、
下位のアドレスをセットし、チェックポイントレジスタ
13にチェックポイント1の値をセットする(ステップ10
2)。これにより、辞書11から最初のテンプレート1−
1が読み出される。マイクロプロセッサ10は、読み出さ
れたテンプレートと入力パターンのパラメータの距離を
演算し累積していく(ステップ103)。次に、辞書カウ
ンタ12の値をインクリメントして同様の処理を行う(ス
テップ104)。こうして、次々に辞書カウンタ12の値を
インクリメントし、この値とレジスタ13の値を比較器14
で比較する。辞書カウンタ12の値がレジスタ13の値(チ
ェックポイント)と一致すると、比較器14はマイクロプ
ロセッサ10に割込み信号を発する。
First, the microprocessor 10 is higher than the dictionary counter 12,
Set lower address, checkpoint register
Set the value of checkpoint 1 to 13 (step 10
2). As a result, the first template 1-from the dictionary 11
1 is read. The microprocessor 10 calculates and accumulates the distance between the read template and the parameter of the input pattern (step 103). Next, the value of the dictionary counter 12 is incremented and the same processing is performed (step 104). Thus, the value of the dictionary counter 12 is incremented one after another, and this value and the value of the register 13 are compared with each other by the comparator 14
Compare with. When the value of the dictionary counter 12 matches the value (checkpoint) of the register 13, the comparator 14 issues an interrupt signal to the microprocessor 10.

マイクロプロセッサ10は、比較器14から割込み信号を受
け取ると、累積距離Dと予め定めたリジェクトスレショ
ールドTHを比較する(ステップ105)。そしてD≧TH
あれば、次の辞書(テンプレート)に移る(ステップ10
6)。D<THであれば、チェックポイントレジスタ13に
次のチェックポイント2をセットした後(ステップ10
9)、さらに認識処理を進める。その後、辞書カウンタ1
2の値がレジスタ13のチェックポイント2に一致する
と、再びマイクロプロセッサ10に割込みがかゝり、マイ
クロプロセッサ10は累積距離Dとリジェクトスレショー
ルドTHの比較を行う。そして、D<THであれば、チェッ
クポイント3をチェックポイントレジスタ13にセットし
て、さらに認識処理を進める。
Upon receiving the interrupt signal from the comparator 14, the microprocessor 10 compares the cumulative distance D with the predetermined reject threshold T H (step 105). If D ≧ T H , move to the next dictionary (template) (step 10)
6). If D <T H , set the next checkpoint 2 in the checkpoint register 13 (step 10
9) Further advance the recognition process. Then dictionary counter 1
When the value of 2 coincides with the checkpoint 2 of the register 13, the microprocessor 10 is again interrupted, and the microprocessor 10 compares the cumulative distance D with the reject threshold T H. If D <T H , the checkpoint 3 is set in the checkpoint register 13 and the recognition process is further advanced.

このようにして、すべてのチェックポイントを通過した
ものが候補として残り、その中で、距離の最小のものが
最終的に選択される(ステップ107,108)。
In this way, the candidates that have passed all the check points remain as candidates, and the candidate with the smallest distance is finally selected (steps 107 and 108).

第4図は7セグメント文字の認識に用いる辞書における
相互間のリジェクト状態を示したものである。第4図に
おいて、太く下線を引いたところが多くのパターンをリ
ジェクトしている所であり、こゝにチェックポイントを
もってくれば効率よくリジェクトの判定が行える。
FIG. 4 shows mutually rejected states in a dictionary used for recognition of 7-segment characters. In FIG. 4, a thick underline indicates that many patterns are rejected, and if a checkpoint is placed here, the rejection can be judged efficiently.

なお、第2図の辞書構成では、1文字毎にチェックポイ
ントを設定するとしたが、1テンプレート毎に設定すれ
ばより効率アップが期待でき、また、テンプレート間に
差異が見られないようなパターンであれば、例えば文字
種毎にチェックポイントを設定することにより、辞書容
量の増加が防げる。
In the dictionary configuration shown in FIG. 2, checkpoints are set for each character, but if set for each template, efficiency can be expected to be improved and there is no difference between templates. If so, for example, by setting a checkpoint for each character type, an increase in dictionary capacity can be prevented.

〔効 果〕[Effect]

以上説明したように、本発明によれば、入力パターンの
輪郭部に方向コードを与え、この方向コードのついたパ
ターンを複数個に分割し、この分割した各部分について
方向コード別にヒストグラムを集計し、この集計したヒ
ストグラムとあらかじめ用意した認識用のテンプレート
の各距離の総和により候補を決める文字認識装置におい
て、入力パターンに対する辞書(テンプレート)のリジ
ェクトポイントを効率よく設定することができるため、
辞書検索のスピード・アップが期待できる。
As described above, according to the present invention, the direction code is given to the contour portion of the input pattern, the pattern with the direction code is divided into a plurality of parts, and histograms are aggregated for each divided part for each direction code. , In the character recognition device that determines candidates by summing up the distances of the aggregated histogram and the prepared template for recognition, it is possible to efficiently set the reject points of the dictionary (template) for the input pattern.
You can expect speedup of dictionary search.

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

第1図は本発明の一実施例のブロック図、第2図は辞書
構成の一例を示す図、第3図は第1図のマイクロプロセ
ッサの処理フロー図、第4図は7セグメント文字の認識
用辞書における相互間のリジェクト状態を示す図であ
る。 10……マイクロプロセッサ、11……辞書、12……辞書カ
ウンタ、13……チェックポイントレジスタ、14……比較
器。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a dictionary structure, FIG. 3 is a processing flow chart of the microprocessor of FIG. 1, and FIG. 4 is recognition of 7-segment characters. It is a figure which shows the mutually rejected state in a business dictionary. 10 ... Microprocessor, 11 ... Dictionary, 12 ... Dictionary counter, 13 ... Checkpoint register, 14 ... Comparator.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】入力パターンの輪郭部に方向コードを与
え、この方向コードのついたパターンを複数個に分割
し、この分割した各部分について方向コード別にヒスト
グラムを集計し、この集計したヒストグラムとあらかじ
め用意した認識用の辞書(テンプレート)の各距離の総
和により候補を決める文字認識装置において、距離の総
和をリジェクトのスレショールドと比較するポイントを
あらかじめ与え、前記ポイント毎に距離の総和とリジェ
クトスレーショルドを比較し、その結果によってさらに
認識処理を進めるかどうかを判定することを特徴とする
文字認識装置の辞書検索方法。
1. A direction code is given to the contour portion of an input pattern, the pattern with the direction code is divided into a plurality of parts, and a histogram is collected for each divided part for each direction code. In a character recognition device that determines candidates based on the sum of distances of a prepared dictionary (template) for recognition, a point for comparing the sum of distances with a threshold of a reject is given in advance, and the sum of distances and the reject sled are given for each point. A dictionary search method for a character recognition device, comprising comparing thresholds and determining whether or not to further advance the recognition processing based on the result.
【請求項2】前記距離の総和をリジェクトのスレショー
ルドと比較するポイントは、文字種単位に与えることを
特徴とする特許請求の範囲第1項記載の文字認識装置の
辞書検索方法。
2. The dictionary search method for a character recognition device according to claim 1, wherein the point for comparing the sum of the distances with the threshold of the reject is given for each character type.
【請求項3】前記距離の総和をリジェクトのスレショー
ルドと比較するポイントは、文字単位に与えることを特
徴とする特許請求の範囲第1項記載の文字認識装置の辞
書検索方法。
3. The dictionary search method for a character recognition device according to claim 1, wherein the point for comparing the sum of the distances with the threshold of the reject is given for each character.
【請求項4】前記距離の総和をリジェクトのスレショー
ルドと比較するポイントは、1テンプレート単位に与え
ることを特徴とする特許請求の範囲第1項記載の文字認
識装置の辞書検索方法。
4. The dictionary search method for a character recognition device according to claim 1, wherein points for comparing the sum of the distances with the threshold of the reject are given in units of one template.
JP61009452A 1986-01-20 1986-01-20 Dictionary search method for character recognition device Expired - Fee Related JPH0685190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61009452A JPH0685190B2 (en) 1986-01-20 1986-01-20 Dictionary search method for character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61009452A JPH0685190B2 (en) 1986-01-20 1986-01-20 Dictionary search method for character recognition device

Publications (2)

Publication Number Publication Date
JPS62166482A JPS62166482A (en) 1987-07-22
JPH0685190B2 true JPH0685190B2 (en) 1994-10-26

Family

ID=11720678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61009452A Expired - Fee Related JPH0685190B2 (en) 1986-01-20 1986-01-20 Dictionary search method for character recognition device

Country Status (1)

Country Link
JP (1) JPH0685190B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0966886A (en) * 1995-08-31 1997-03-11 Tetsuya Ogo Catamaran ship

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07107699B2 (en) * 1987-07-31 1995-11-15 松下電器産業株式会社 Character / figure recognition device
JPH02268388A (en) * 1989-04-10 1990-11-02 Hitachi Ltd Character recognizing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0966886A (en) * 1995-08-31 1997-03-11 Tetsuya Ogo Catamaran ship

Also Published As

Publication number Publication date
JPS62166482A (en) 1987-07-22

Similar Documents

Publication Publication Date Title
CN111881741A (en) License plate recognition method and device, computer equipment and computer-readable storage medium
US10671831B2 (en) High speed reference point independent database filtering for fingerprint identification
Lerner et al. A classification-driven partially occluded object segmentation (CPOOS) method with application to chromosome analysis
JPH0685190B2 (en) Dictionary search method for character recognition device
JP2866461B2 (en) Fingerprint collation device
Li et al. Face detection technology based on combining skin color model with improved adaboost algorithm
JP4026738B2 (en) Pattern recognition method and apparatus, and recording medium
JP3074691B2 (en) Character recognition device
JPS62166481A (en) Dictionary retrieving method for character recognizing device
JPS629958B2 (en)
JPH0795337B2 (en) Word recognition method
JP3553730B2 (en) Pattern recognition method and device
JP3100786B2 (en) Character recognition post-processing method
JP2658153B2 (en) Character identification method
JP2871157B2 (en) Fingerprint registration collation method
JPH01191992A (en) character recognition device
JP4215385B2 (en) PATTERN RECOGNIZING DEVICE, PATTERN RECOGNIZING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD
JPS62281082A (en) character recognition device
JP3017325B2 (en) How to create a dictionary for pattern recognition
JPS6111886A (en) Character recognition system
JP2851865B2 (en) Character recognition device
JPS63118993A (en) Character recognition method
JPH06195508A (en) Character cutting method
JPH06348903A (en) Character recognition device
JPS62271190A (en) Segment numeral recognizing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees