JP2001043317A - Character inspection device and its dictionary automatic generation method - Google Patents

Character inspection device and its dictionary automatic generation method

Info

Publication number
JP2001043317A
JP2001043317A JP11218282A JP21828299A JP2001043317A JP 2001043317 A JP2001043317 A JP 2001043317A JP 11218282 A JP11218282 A JP 11218282A JP 21828299 A JP21828299 A JP 21828299A JP 2001043317 A JP2001043317 A JP 2001043317A
Authority
JP
Japan
Prior art keywords
character
font
dictionary
enlargement
reduction
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
JP11218282A
Other languages
Japanese (ja)
Inventor
Taku Ishikawa
卓 石川
Saburo Ishida
三郎 石田
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.)
Hitachi Engineering Co Ltd
Original Assignee
Hitachi Engineering 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 Hitachi Engineering Co Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP11218282A priority Critical patent/JP2001043317A/en
Publication of JP2001043317A publication Critical patent/JP2001043317A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce man-hours at the generation of multi-font dictionary for inspecting a character. SOLUTION: The reference font of a prescribed character is cut from a picture taken in by a video camera 12. A dictionary picture processing part 19 executes enlargement, reduction, rotation and a processing obtained by compounding them on the reference font in accordance with a parameter which is set by a parameter setting part 18. They are stored in a dictionary memory 20 with the reference font. For automatically generating the other font from the reference font, man-hours are reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字検査装置とそ
の辞書自動生成方法に係り、特にダンボール等に表記さ
れた文字又は記号等(以下、単に「文字」と記す)の乱
れ、欠け等の形状判定を、予め辞書に登録したマルチパ
ターンとの比較により検査するための文字検査装置及び
その辞書を登録する際の辞書自動生成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character inspection apparatus and a dictionary automatic generation method therefor, and more particularly to a method and a method for automatically distorting or missing characters or symbols (hereinafter simply referred to as "characters") written on cardboard or the like. The present invention relates to a character inspection apparatus for inspecting shape determination by comparison with a multi-pattern registered in a dictionary in advance, and a dictionary automatic generation method for registering the dictionary.

【0002】[0002]

【従来の技術】段ボール等に表記された文字形状の検査
装置では、ビデオカメラ等で検査対象文字を含む良品サ
ンプル濃淡画像を撮像し、その画像から辞書とする範囲
を選択し、辞書に登録しておく。そして検査を行うとき
には、ビデオカメラ等により撮像した検査対象画像と辞
書の文字形状(フォント)を表す画像とのパターンマッ
チングにより文字形状の照合を行い、照合結果としての
一致度を判定し文字検査を行う。このパターンマッチン
グによる検査法においては、1つの文字に対して1つの
文字パターンを辞書に用意しただけだと、検査対象の文
字に拡大、縮小、回転等があった場合にうまくマッチン
グがとれず、文字と辞書との一致度低下が生じる。
2. Description of the Related Art In an inspection apparatus for a character shape written on a cardboard or the like, a non-defective sample density image including a character to be inspected is captured by a video camera or the like, and a range to be used as a dictionary is selected from the image and registered in the dictionary. Keep it. When performing the inspection, the character shape is collated by pattern matching between the image to be inspected captured by a video camera or the like and the image representing the character shape (font) of the dictionary, and the degree of coincidence as the collation result is determined to perform the character inspection. Do. In this inspection method using pattern matching, if only one character pattern is prepared for one character in the dictionary, matching cannot be performed well when the character to be inspected is enlarged, reduced, rotated, etc. The matching degree between the character and the dictionary is reduced.

【0003】このような問題に対処するための1つの方
法として、1つの文字に対して複数のフォントを辞書に
用意し、それらとのマッチング判定を行うようにしたマ
ルチフォント辞書の利用がある。このような技術の公知
例として、例えば特開平7−65127号に開示された
「文字変形方法及び文字認識装置」があり、刻印文字及
び捺印文字のつぶれ、欠け、傾き、位置ずれ等による変
形した文字フォントを生成し利用する方法が示されてい
る。
As one method for dealing with such a problem, there is a use of a multi-font dictionary in which a plurality of fonts are prepared for one character in a dictionary, and a matching judgment is made with those fonts. As a known example of such a technique, for example, there is a “character deformation method and character recognition device” disclosed in Japanese Patent Application Laid-Open No. 7-65127, in which a stamp character and a stamp character are deformed due to crushing, chipping, inclination, displacement, and the like. It shows how to create and use character fonts.

【0004】[0004]

【発明が解決しようとする課題】1つの文字に対して複
数個のフォントを辞書へ登録するためには、予想される
文字の変形状態ごとの文字フォントを作成して、画像の
入力、その画像上の辞書とする範囲の指定、登録先のフ
ォント番号の指定と登録といった作業を繰り返し行わな
ければならず、それには時間と労力がかかるという問題
があった。この点で前記した特開平7−65127号の
技術は、1文字に対し1つの基準とするフォントのみの
画像入力以下の処理を行って1つの基準フォントを作成
し、それをもとに刻印及び捺印文字のつぶれ、欠け、傾
き、位置ずれ等を生じたときのフォントを、人手により
指定されたパラメータに基づき画像処理によって作成
し、マルチフォント辞書を作成しており、この技術を用
いれば辞書生成の時間と労力が大幅に低減できる。しか
し、段ボール等への捺印文字の場合、文字のつぶれ、欠
けなどよりも文字検査のための撮像条件の変化などで撮
像された文字の大きさ自体が変化する場合があるが、上
記従来技術にはこのような文字の拡大、縮小を含むマル
チフォント生成法は開示されていない。
In order to register a plurality of fonts for one character in the dictionary, a character font is created for each expected deformation state of the character, and an image is input and the image is input. Operations such as the specification of the range to be used as the dictionary and the specification and registration of the font number of the registration destination have to be repeated, which has a problem that it takes time and effort. In this regard, the technique disclosed in Japanese Patent Laid-Open No. 7-65127 described above creates one reference font by performing the following processing for image input of only one font as one reference for one character. Multi-font dictionaries are created by using image processing based on parameters specified by hand to create fonts that are used when crushed, missing, skewed, or misaligned stamp characters occur. Time and labor can be greatly reduced. However, in the case of a stamped character on a cardboard or the like, the size of the imaged character itself may change due to changes in imaging conditions for character inspection rather than crushing or chipping of the character. Does not disclose a multi-font generation method including such enlargement and reduction of characters.

【0005】本発明は、1つの文字のフォントを1つの
撮像により生成し、登録すると、その文字を拡大、縮小
を含む変形を行ったときのフォントを自動生成・登録し
てマルチフォントの辞書を生成できるようにした文字検
査装置とその辞書自動生成方法を提供する事を目的とす
る。
According to the present invention, when a font of one character is generated by one imaging and registered, a font when a deformation including enlargement and reduction of the character is performed is automatically generated and registered to create a multi-font dictionary. It is an object of the present invention to provide a character inspection apparatus capable of generating a dictionary and a method for automatically generating a dictionary.

【0006】[0006]

【課題を解決するための手段】本発明は、1文字に対し
て複数のフォントを登録した辞書メモリを備え、入力さ
れた検査対象文字のパターンと前記辞書メモリに登録さ
れたフォントの各々とを比較照合することにより文字検
査を行うように構成された文字検査装置において、文字
画像入力手段により取り込み作成された標準文字のフォ
ントを、少なくとも拡大及び縮小処理を含む画像処理に
より変形するためのパラメータを設定するパラメータ設
定手段と、この手段により設定されたパラメータに応じ
て少なくとも拡大及び縮小を含む画像処理を行い、変形
されたフォントを生成して前記辞書メモリへ登録するた
めのフォント画像処理手段と、を備えたことを特徴とす
る文字検査装置を開示する。
SUMMARY OF THE INVENTION The present invention comprises a dictionary memory in which a plurality of fonts are registered for one character, and stores a pattern of an input inspection target character and each of the fonts registered in the dictionary memory. In a character inspection apparatus configured to perform character inspection by comparing and matching, a parameter for deforming a font of a standard character captured and created by a character image input unit by at least image processing including enlargement and reduction processing is performed. Parameter setting means for setting, and font image processing means for performing image processing including at least enlargement and reduction in accordance with the parameters set by this means, generating a transformed font and registering it in the dictionary memory, A character inspection apparatus characterized by comprising:

【0007】更に本発明は、前記のパラメータ設定手段
が、少なくとも前記標準文字のたて方向の拡大率、よこ
方向の拡大率、たて方向の縮小率、よこ方向の縮小率を
示すパラメータの設定を行える手段であることを特徴と
する文字検査装置を開示する。
Further, according to the present invention, the parameter setting means preferably sets a parameter indicating at least a vertical enlargement ratio, a horizontal enlargement ratio, a vertical reduction ratio, and a horizontal reduction ratio of the standard character. A character inspection apparatus characterized in that the character inspection apparatus is capable of performing the following.

【0008】更に本発明は、同一文字の複数のフォント
を文字検査のための辞書に登録する文字検査装置の辞書
自動生成方法において、文字画像入力手段により取り込
んだ画像データから当該文字の基準フォントを生成し、
さらにその基準フォントに対する拡大、縮小処理の内の
少なくとも1つを含む画像処理を行って当該文字に対す
る別のフォントを生成し、辞書に登録するようにしたこ
とを特徴とする文字検査装置の辞書自動生成方法を開示
する。
Further, the present invention provides a dictionary automatic generation method for a character inspection apparatus for registering a plurality of fonts of the same character in a dictionary for character inspection, wherein a reference font of the character is extracted from image data fetched by a character image input means. Generate
Further, another character font is generated for the character by performing image processing including at least one of enlargement and reduction processing on the reference font, and registered in a dictionary. A generation method is disclosed.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を図面
を使用して説明する。図1は、本発明になる文字検査装
置の構成例を示すブロック図で、ダンボール等の検査対
象物11の表面に書かれている文字11aを撮像するビ
デオカメラ12と、検査対象物11がベルトコンベア等
により所定の位置に移動して来た事を検出するセンサ1
3と、文字11a等の文字形状を判定する画像処理装置
23とから構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of a character inspection apparatus according to the present invention. The video camera 12 captures characters 11a written on the surface of an inspection object 11 such as a cardboard, and the inspection object 11 is a belt. Sensor 1 that detects that it has moved to a predetermined position by a conveyor or the like
3 and an image processing device 23 for determining the character shape of the character 11a and the like.

【0010】画像処理装置23は、センサ13からの信
号を受けビデオカメラ12に対し映像の取り込み指示を
行う映像取り込み信号発生部14と、ビデオカメラ12
から映像を取り込む映像取り込み部15と、映像取り込
み部15で取り込んだ映像を格納する画像メモリ16
と、画像メモリ16上の画像を使い辞書登録を行う辞書
登録部17と、辞書登録の際に画像処理を施したフォン
トの登録を行う辞書自動生成部24と、フォントを登録
しておく辞書メモリ20と、画像メモリ16に登録して
ある画像と辞書メモリ20に登録してあるフォントとの
パターンマッチングを行う照合部21と、照合部21に
よって得られた結果を判定する結果判定部22から構成
されている。辞書自動生成部24は、パラメータ設定部
18と、辞書画像処理部19とから構成されている。
An image processing device 23 receives a signal from the sensor 13 and instructs the video camera 12 to capture an image.
Video capturing unit 15 for capturing video from the camera, and image memory 16 for storing video captured by video capturing unit 15
A dictionary registration unit 17 for registering a dictionary using images on the image memory 16, an automatic dictionary generation unit 24 for registering fonts subjected to image processing at the time of dictionary registration, and a dictionary memory for registering fonts 20; a matching unit 21 for performing pattern matching between an image registered in the image memory 16 and a font registered in the dictionary memory 20; and a result determining unit 22 for determining a result obtained by the matching unit 21. Have been. The automatic dictionary generation unit 24 includes a parameter setting unit 18 and a dictionary image processing unit 19.

【0011】図2は、辞書メモリ20のマルチフォント
登録の例を、文字「9」について示しており、フォント
f0が、取り込んだ画像上にある文字をそのまま登録し
た基本フォントである。そのf0を画像処理によって右
回転したフォントf1、左回転したフォントf2、拡大
したフォントf3、縮小したフォントf4、拡大後右回
転したフォントf5、拡大後左回転したフォントf6、
縮小後右回転したフォントf7、及び縮小後左回転した
フォントf8を辞書自動生成部24により自動生成し、
登録したもので、これらの登録フォントは、パラメータ
設定部18にて種々の設定が可能である。
FIG. 2 shows an example of multi-font registration in the dictionary memory 20 for the character "9", and the font f0 is a basic font in which the characters on the captured image are registered as they are. A font f1 rotated right by image processing, a font f2 rotated left, an enlarged font f3, a reduced font f4, a font f5 rotated right after enlargement, a font f6 rotated left after enlargement by image processing,
The dictionary automatic generation unit 24 automatically generates a font f7 rotated right after the reduction and a font f8 rotated left after the reduction,
These registered fonts can be variously set by the parameter setting unit 18.

【0012】図3は、パラメータ設定部18で設定する
内容の例とその設定範囲を示しており、図4はその設定
内容の説明図である。図3の設定内容は、X方向拡大率
xmag1、Y方向拡大率ymag1、X方向縮小率xmag2、Y
方向縮小率ymag2、回転角度rotate、自動生成するフォ
ントの数n、そのn個のフォントごとにどの様な画像処
理(拡大、縮小、回転)を行ったフォントかを指定する
内容指定から成っている。この内容指定は数字で行うも
のとし、基本フォント(カメラ等で取り込んで作ったフ
ォント)に対して、指定内容が<0>は右回転、<1>
は左回転、<2>は拡大、<3>は縮小、<4>は拡大
後右回転、<5>は拡大後左回転、<6>は縮小後右回
転、<7>は縮小後左回転を指定するものとしている。
FIG. 3 shows an example of contents set by the parameter setting unit 18 and a setting range thereof, and FIG. 4 is an explanatory diagram of the contents set. The setting contents in FIG. 3 include an X-direction enlargement ratio xmag1, a Y-direction enlargement ratio ymag1, an X-direction reduction ratio xmag2, Y
It consists of a direction reduction ratio ymag2, a rotation angle rotate, the number n of fonts to be automatically generated, and a content specification for specifying what kind of image processing (enlargement, reduction, rotation) has been performed for each of the n fonts. . This content specification is performed by using numbers. For the basic font (font created by capturing with a camera or the like), <0> is rotated clockwise and <1> is specified.
Is left rotation, <2> is expansion, <3> is reduction, <4> is right rotation after expansion, <5> is left rotation after expansion, <6> is right rotation after reduction, and <7> is left after reduction. The rotation is specified.

【0013】ここで、拡大、縮小、回転の詳しい内容は
図4に示されている。いま図4(a)(b)の枠25を
文字「9」の基本フォントとし、その高さをH、幅をW
で表す。また図4(a)の枠26は拡大処理後のフォン
トであり、その高さをH1、幅をW1で表す。H1=H
×ymag1、W1=W×xmag1である。また図4(b)の
枠27は縮小処理後のフォントであり、その高さをH
2、幅をW2で表すと、H2=H×ymag2、W2=W×
xmag2、である。図4(a)のh1は上下それぞれの拡
大分を表すものであり、h1=(H1−H)/2であ
る。またw1は左右それぞれの拡大分を表すものであ
り、w1=(W1−W)/2である。同様に図4(b)
のh2、w2は縮小分であり、h2=(H−H2)/
2、w2=(W−W2)/2で表される。図4(c)は
右回転を表しており、その一点鎖線28は処理前の基本
フォントの中心軸であり、一点鎖線29は回転処理後の
中心軸である。r1は回転角度であり、r1=rotateで
ある。この回転は基本フォント、拡大・縮小フォントの
どれに対しても行える。
The details of the enlargement, reduction, and rotation are shown in FIG. Now, the frame 25 in FIGS. 4A and 4B is a basic font of the character “9”, the height is H, and the width is W.
Expressed by The frame 26 in FIG. 4A is the font after the enlargement process, and its height is represented by H1 and its width is represented by W1. H1 = H
× ymag1, W1 = W × xmag1. The frame 27 in FIG. 4B is the font after the reduction process, and its height is H.
2. If the width is represented by W2, H2 = H × ymag2, W2 = W ×
xmag2. H1 in FIG. 4A represents the upper and lower enlargements, and h1 = (H1−H) / 2. In addition, w1 represents the left and right enlargement, and w1 = (W1−W) / 2. Similarly, FIG.
H2 and w2 are reductions, and h2 = (H−H2) /
2, w2 = (W−W2) / 2. FIG. 4C shows the clockwise rotation, in which the alternate long and short dash line 28 is the central axis of the basic font before the processing, and the alternate long and short dash line 29 is the central axis after the rotation processing. r1 is a rotation angle, and r1 = rotate. This rotation can be performed for any of the basic font and the enlarged / reduced font.

【0014】図3に示したパラメータ設定部18により
図2の8つのフォントf1〜f8を生成するには、自動
生成数nとして8、フォントf1〜f8に対して内容指
定<0>〜<7>をこの順で、それぞれ指定すればよ
い。但し、拡大、縮小の割合、回転角等は所望の値をパ
ラメータ設定部の該当欄に与えるものとする。
In order to generate the eight fonts f1 to f8 shown in FIG. 2 by the parameter setting unit 18 shown in FIG. 3, the automatic generation number n is 8, and the content designations <0> to <7 for the fonts f1 to f8. > In this order. However, it is assumed that desired values for the enlargement / reduction ratio, the rotation angle, and the like are given in the corresponding columns of the parameter setting unit.

【0015】次に図1の装置の動作について説明する。
図1の映像取り込み信号発生部14は、検査対象11が
所定の位置に来た事を示す検出信号をセンサ13から受
け取るとビデオカメラ12を起動し、ビデオカメラは画
像処理装置23に検査対象の濃淡画像データ(例えば、
255階調)を出力する。映像取り込み部15がこの画
像データを受け取り、所定の画像メモリ16に格納して
おく。
Next, the operation of the apparatus shown in FIG. 1 will be described.
1 receives a detection signal from the sensor 13 indicating that the inspection target 11 has come to a predetermined position, starts the video camera 12, and the video camera sends the inspection target to the image processing device 23. Grayscale image data (for example,
(255 gradations). The video capturing unit 15 receives this image data and stores it in a predetermined image memory 16.

【0016】ここで辞書登録を行う場合は、辞書登録部
17が起動され、図5に示したフローにより登録処理を
行う。まずステップST1にて、ビデオカメラ等から入
力された濃淡画像の選択された領域をそのまま基本フォ
ントとして、辞書メモリ20へ登録する。次のステップ
ST2では、フォント番号を示すパラメータiを“0”
に初期化し、ステップST3にて、図1のパラメータ設
定部18で設定した自動生成数nと比較する。これが等
しい場合に処理終了となるが、異なる場合には、ステッ
プST4にて、図1のパラメータ設定部18でフォント
毎に設定した内容に従い画像処理を辞書画像処理部19
で行う。例えばフォントi+1として内容指定<5>が
指定されていれば基本フォントを指定された拡大率で拡
大したのち、指定された角度だけ左回転したフォントを
生成する。この生成されたフォントは、ステップST5
でパラメータi+1とペアで辞書メモリ20へ登録す
る。そしてステップST6にて、パラメータiの値を1
増やし、次のフォント生成を繰り返す。
When the dictionary registration is performed, the dictionary registration unit 17 is activated, and performs the registration processing according to the flow shown in FIG. First, in step ST1, a selected area of a grayscale image input from a video camera or the like is registered in the dictionary memory 20 as a basic font as it is. In the next step ST2, the parameter i indicating the font number is set to "0".
Then, in step ST3, it is compared with the automatically generated number n set by the parameter setting unit 18 in FIG. If they are equal, the process ends. If they are different, in step ST4, the image processing is performed according to the contents set for each font by the parameter setting unit 18 in FIG.
Do with. For example, if the content specification <5> is specified as the font i + 1, the basic font is enlarged at the specified enlargement ratio, and then a font rotated left by the specified angle is generated. This generated font is stored in step ST5.
To register in the dictionary memory 20 as a pair with the parameter i + 1. Then, in step ST6, the value of the parameter i is set to 1
Increase and repeat the next font generation.

【0017】文字形状の検査の場合には、ステップST
16で画像メモリ16に取り込まれた検査文字のパター
ン画像と、辞書メモリ20に格納されているフォントと
のパターンマッチングが照合部21で行われる。このパ
ターンマッチングは、辞書がマルチフォントとして1文
字に対して複数登録されている時には、それら全てのフ
ォントに対して行う。これは従来技術と同様で、結果判
定部22は、照合部21のパターンマッチングの演算結
果である一致度を参照して、文字の形状が正しいかを判
定する。
In the case of inspecting the character shape, step ST
The pattern matching unit 21 performs pattern matching between the pattern image of the check character captured in the image memory 16 at 16 and the font stored in the dictionary memory 20. When a plurality of dictionaries are registered for one character as a multi-font, this pattern matching is performed for all the fonts. This is the same as in the prior art, and the result determination unit 22 determines whether the shape of the character is correct with reference to the degree of coincidence, which is the result of the pattern matching operation performed by the matching unit 21.

【0018】[0018]

【発明の効果】以上説明したように、本発明によれば、
拡大、縮小を含む画像処理を行ったフォントを、パラメ
ータで設定した値を基に自動生成するため、辞書登録に
かかる工数を低減する事が出来、マルチフォントを生か
した形状検査を容易に行う事が出来る効果がある。
As described above, according to the present invention,
Fonts that have undergone image processing, including enlargement and reduction, are automatically generated based on the values set in parameters, so that the number of steps required for dictionary registration can be reduced, and shape inspection utilizing multi-fonts can be performed easily. There is an effect that can be.

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

【図1】本発明になる文字検査装置の構成例を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a configuration example of a character inspection device according to the present invention.

【図2】マルチフォントの例を示す図である。FIG. 2 is a diagram illustrating an example of a multi-font.

【図3】パラメータ設定部の設定内容説明図である。FIG. 3 is an explanatory diagram of setting contents of a parameter setting unit.

【図4】図3のパラメータの説明図である。FIG. 4 is an explanatory diagram of parameters in FIG. 3;

【図5】本発明の特徴とする辞書登録処理を示すフロー
である。
FIG. 5 is a flowchart showing a dictionary registration process which is a feature of the present invention.

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

11 検査対象品 12 ビデオカメラ 13 センサ 14 映像取り込み信号発生部 15 映像取り込み部 16 画像メモリ 17 辞書登録部 18 パラメータ設定部 19 画像処理部 20 辞書メモリ 21 照合部 22 結果判定部 23 画像処理部 24 辞書自動生成部 DESCRIPTION OF SYMBOLS 11 Inspection object 12 Video camera 13 Sensor 14 Video capture signal generation part 15 Video capture part 16 Image memory 17 Dictionary registration part 18 Parameter setting part 19 Image processing part 20 Dictionary memory 21 Collation part 22 Result judgment part 23 Image processing part 24 Dictionary Automatic generation unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1文字に対して複数のフォントを登録し
た辞書メモリを備え、入力された検査対象文字のパター
ンと前記辞書メモリに登録されたフォントの各々とを比
較照合することにより文字検査を行うように構成された
文字検査装置において、 文字画像入力手段により取り込み作成された標準文字の
フォントを、少なくとも拡大及び縮小処理を含む画像処
理により変形するためのパラメータを設定するパラメー
タ設定手段と、 この手段により設定されたパラメータに応じて少なくと
も拡大及び縮小を含む画像処理を行い、変形されたフォ
ントを生成して前記辞書メモリへ登録するためのフォン
ト画像処理手段と、 を備えたことを特徴とする文字検査装置。
1. A dictionary memory in which a plurality of fonts are registered for one character, and a character inspection is performed by comparing and comparing a pattern of an input inspection target character with each of the fonts registered in the dictionary memory. A character setting device configured to set parameters for transforming a font of a standard character captured and created by the character image input means by image processing including at least enlargement and reduction processing; Font image processing means for performing image processing including at least enlargement and reduction in accordance with the parameters set by the means, generating a transformed font, and registering the transformed font in the dictionary memory. Character inspection device.
【請求項2】 前記パラメータ設定手段は、少なくとも
前記標準文字のたて方向の拡大率、よこ方向の拡大率、
たて方向の縮小率、よこ方向の縮小率を示すパラメータ
の設定を行える手段であることを特徴とする請求項1に
記載の文字検査装置。
2. The method according to claim 1, wherein the parameter setting unit includes at least an enlargement ratio of the standard character in a vertical direction, an enlargement ratio in a horizontal direction,
2. The character inspection apparatus according to claim 1, wherein the character inspection device is a means for setting a parameter indicating a vertical reduction ratio and a horizontal reduction ratio.
【請求項3】 同一文字の複数のフォントを文字検査の
ための辞書に登録する文字検査装置の辞書自動生成方法
において、 文字画像入力手段により取り込んだ画像データから当該
文字の基準フォントを生成し、さらにその基準フォント
に対する拡大、縮小処理の内の少なくとも1つを含む画
像処理を行って当該文字に対する別のフォントを生成
し、辞書に登録するようにしたことを特徴とする文字検
査装置の辞書自動生成方法。
3. A dictionary automatic generation method for a character inspection apparatus for registering a plurality of fonts of the same character in a dictionary for character inspection, wherein a reference font of the character is generated from image data taken in by a character image input means. Further, another character font is generated for the character by performing image processing including at least one of enlargement and reduction processing on the reference font, and registered in a dictionary. Generation method.
JP11218282A 1999-08-02 1999-08-02 Character inspection device and its dictionary automatic generation method Pending JP2001043317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11218282A JP2001043317A (en) 1999-08-02 1999-08-02 Character inspection device and its dictionary automatic generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11218282A JP2001043317A (en) 1999-08-02 1999-08-02 Character inspection device and its dictionary automatic generation method

Publications (1)

Publication Number Publication Date
JP2001043317A true JP2001043317A (en) 2001-02-16

Family

ID=16717416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11218282A Pending JP2001043317A (en) 1999-08-02 1999-08-02 Character inspection device and its dictionary automatic generation method

Country Status (1)

Country Link
JP (1) JP2001043317A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079513A (en) * 2004-09-13 2006-03-23 Toppan Printing Co Ltd Production history management system
JP2007133715A (en) * 2005-11-11 2007-05-31 Optex Fa Co Ltd Method and apparatus for processing image
JP2007148846A (en) * 2005-11-29 2007-06-14 Nec Corp Ocr device, form out method, and form out program
JP2008077621A (en) * 2006-09-23 2008-04-03 Koji Miyake Method for making up for learning character sample of character recognition system
JP2014131277A (en) * 2012-12-28 2014-07-10 Konicaminolta Laboratory Usa Inc Document image compression method and application of the same to document authentication

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079513A (en) * 2004-09-13 2006-03-23 Toppan Printing Co Ltd Production history management system
JP2007133715A (en) * 2005-11-11 2007-05-31 Optex Fa Co Ltd Method and apparatus for processing image
JP2007148846A (en) * 2005-11-29 2007-06-14 Nec Corp Ocr device, form out method, and form out program
JP4635845B2 (en) * 2005-11-29 2011-02-23 日本電気株式会社 OCR device, form-out method, and form-out program
JP2008077621A (en) * 2006-09-23 2008-04-03 Koji Miyake Method for making up for learning character sample of character recognition system
JP2014131277A (en) * 2012-12-28 2014-07-10 Konicaminolta Laboratory Usa Inc Document image compression method and application of the same to document authentication

Similar Documents

Publication Publication Date Title
CN107886074B (en) Face detection method and face detection system
JP5559619B2 (en) A method for detecting changes in printed documents using image comparison analysis
JP6139396B2 (en) Method and program for compressing binary image representing document
US5075895A (en) Method and apparatus for recognizing table area formed in binary image of document
US7978904B2 (en) Pattern inspection apparatus and semiconductor inspection system
WO2019174133A1 (en) Electronic device, physical seal identification method, and computer readable storage medium
CN111242126A (en) Irregular text correction method and device, computer equipment and storage medium
CN107992869B (en) Method and device for correcting tilted characters and electronic equipment
CN111985465A (en) Text recognition method, device, equipment and storage medium
JP2001266068A (en) Method and device for recognizing table, character- recognizing device, and storage medium for recording table recognizing program
JP2007025902A (en) Image processor and image processing method
JP2001043317A (en) Character inspection device and its dictionary automatic generation method
JPH07220026A (en) Method and device for picture processing
CN112308061B (en) License plate character recognition method and device
JPWO2006080568A1 (en) CHARACTER READING DEVICE, CHARACTER READING METHOD, AND CHARACTER READING CONTROL PROGRAM USED FOR THE CHARACTER READING DEVICE
CN113657162A (en) Bill OCR recognition method based on deep learning
CN114627457A (en) Ticket information identification method and device
JPH07168941A (en) Picture processor
JPH05342414A (en) Template preparing device and pattern recognizing device
JPH11250221A (en) Method and device for photographing facial picture
JP3606218B2 (en) Document classification device, character reading device, authenticity determination device, and methods thereof
JP3162414B2 (en) Ruled line recognition method and table processing method
JPH11282959A (en) Character string collation device, its method, storage medium, document classification device, character reader and true/false judgement device
JP2006268339A (en) Method for generating list of connected elements of image
JPH0290374A (en) Positioning device and picture processing lsi circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040413