[go: up one dir, main page]

JPH07192088A - Method and device for processing picture - Google Patents

Method and device for processing picture

Info

Publication number
JPH07192088A
JPH07192088A JP5348579A JP34857993A JPH07192088A JP H07192088 A JPH07192088 A JP H07192088A JP 5348579 A JP5348579 A JP 5348579A JP 34857993 A JP34857993 A JP 34857993A JP H07192088 A JPH07192088 A JP H07192088A
Authority
JP
Japan
Prior art keywords
character string
character
inclination
image
amount
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
JP5348579A
Other languages
Japanese (ja)
Inventor
Yuki Omori
由紀 大盛
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP5348579A priority Critical patent/JPH07192088A/en
Publication of JPH07192088A publication Critical patent/JPH07192088A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Character Input (AREA)

Abstract

PURPOSE:To accurately correct the skew even for a handwritten character string for which the size of characters and pitches, etc., are not unified. CONSTITUTION:This picture processing method and device for recognizing and correcting the inclination amount of a character string so as to recognize optically read characters is provided with an affine transformation circuit 2 for performing a rotation processing to inputted pictures, a profile circuit 3 for obtaining the projection of the character string during the rotation processing, a labelling processing part 4 for estimating the average length of the character, an inclination amount detection circuit 5 for comparing a projection amount and the estimated length of the character and judging a rotation angle for which a difference is minimum as the inclination amount of the character string and an inclination correction circuit 6 for correcting the inclination of the picture data of the character string.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置に係り、特
に手書き文字を認識するために傾いて書かれた文字列を
読取りができるように修正処理を行う画像処理方法及び
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing method and an image processing apparatus for performing a correction process so that a character string inclined to recognize a handwritten character can be read.

【0002】[0002]

【従来の技術】近年、郵便物の宛先住所を文字読取り装
置で読取り仕分けする装置がある。係る装置において
は、書き込まれた文字列の傾き量であるスキュー量を読
取り、文字列を回転する処理を行い、文字列の認識を行
うものとしている。
2. Description of the Related Art In recent years, there has been a device for reading and sorting the address of mail items by a character reading device. In such an apparatus, the skew amount, which is the amount of inclination of the written character string, is read, the process of rotating the character string is performed, and the character string is recognized.

【0003】そして、従来このスキュー量を読取りは、
文字列の各方向の射影求め、この射影量が最小になるよ
うに文字列を回転する等の処理により行っている。
Conventionally, this skew amount is read by
The projection of the character string in each direction is obtained, and the character string is rotated so that the projection amount is minimized.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、印刷活
字のように文字の大きさが一定のものは、上述のように
射影等の特徴によりスキュー量を求めることができる
が、手書き文字の場合は、文字の大きさ、ピッチ等が一
定ではないため、上述のように射影からスキュー量を求
めることは難しい。
However, in the case of a character having a constant character size such as a print type, the skew amount can be obtained by the characteristics such as the projection as described above, but in the case of a handwritten character, Since the character size, pitch, etc. are not constant, it is difficult to obtain the skew amount from the projection as described above.

【0005】また、この方法でスキュー量を求めたとし
ても、精度が非常に低いものとなり、大きなスキュー量
で補正することができなかった。
Further, even if the skew amount is obtained by this method, the accuracy becomes very low, and the correction cannot be made with a large skew amount.

【0006】そこで本発明は、文字の大きさ、ピッチ等
が統一されていない手書きの文字列であっても、正確な
スキュー補正を行うことができる画像処理方法及び画像
処理装置を提供することを目的とする。
Therefore, the present invention provides an image processing method and an image processing apparatus capable of performing accurate skew correction even for a handwritten character string whose character size, pitch, etc. are not standardized. To aim.

【0007】[0007]

【課題を解決するための手段】本発明において、上記の
課題を解決するための第1の手段は、光学的に読み取っ
た文字の認識をするために文字列の傾きを補正する画像
処理方法において、光学的に読み取った文字列の画像を
回転しつつこの文字列が記載されるべき方向に対して略
垂直な方向の射影量を取りだす第1のステップと、前記
読み取った文字列に対してラベリング処理を行い前記文
字列方向に対して略垂直方向の各々の文字の平均の長さ
を推定する第2のステップと、前記第1のステップで取
り出された前記射影量と前記第2のステップ推定された
文字の平均の長さとの差が最小となる回転角を文字列の
傾き量と判定する第3のステップと、この第3のステッ
プで判定された前記回転角から前記文字列の傾きを補正
する第4のステップと、からなることを特徴とする画像
処理方法である。
In the present invention, the first means for solving the above problems is an image processing method for correcting the inclination of a character string in order to recognize an optically read character. A first step of extracting an amount of projection in a direction substantially perpendicular to the direction in which the character string is to be written while rotating an image of the character string optically read, and labeling the read character string A second step of performing processing to estimate an average length of each character in a direction substantially perpendicular to the character string direction; the projection amount extracted in the first step; and the second step estimation The third step of determining the rotation angle that minimizes the difference between the average length of the character and the inclination amount of the character string, and the inclination of the character string from the rotation angle determined in the third step. Fourth step to correct When an image processing method characterized by comprising the.

【0008】また、本発明の第2の手段は、光学的に読
み取った文字の認識をするために文字列の傾きを補正す
る画像処理方法において、光学的に読み取った文字列の
画像データを画像メモリに格納する第1のステップと、
この第1のステップによって画像メモリに格納した前記
画像データに対してアフィン変換処理をして回転しつつ
プロフィール処理で前記文字列が記載されるべき方向に
対して略垂直方向の射影をとる第2のステップと、前記
第1のステップによって画像メモリに格納した前記文字
列に対してラベリング処理をして、前記文字列が記載さ
れるべき方向に対して略垂直方向の各々の文字の平均の
長さを推定する第3のステップと、前記第2のステップ
によって取られた前記射影量と前記第3のステップにて
推定された前記文字の平均の長さとの差が最小になる回
転角を文字列の傾き量と判定する第4のステップと、こ
の第4のステップによって判定された前記回転角から前
記文字列の傾きを補正する第5のステップと、からなる
ことを特徴とする画像処理方法である。
The second means of the present invention is an image processing method for correcting the inclination of a character string for the purpose of recognizing an optically read character. A first step of storing in memory,
In the first step, the image data stored in the image memory is subjected to an affine transformation process and rotated while a profile process projects the image in a direction substantially perpendicular to the direction in which the character string should be written And the labeling process for the character string stored in the image memory by the first step, and the average length of each character in the direction substantially perpendicular to the direction in which the character string is to be written. And a rotation angle that minimizes the difference between the projection amount taken in the second step and the average length of the character estimated in the third step. It is characterized by comprising a fourth step of determining the amount of inclination of the column and a fifth step of correcting the inclination of the character string from the rotation angle determined by the fourth step. An image processing method.

【0009】さらに、本発明の第3の手段は、光学的に
読み取った文字の認識をするために文字列の傾きを補正
する画像処理装置において、光学的に読み取った文字列
の画像を回転しつつこの文字列が記載されるべき方向に
対して略垂直な方向の射影を取り出す画像回転手段と、
前記読み取った文字列に対してラベリング処理を行い、
前記文字列方向に対して略垂直方向の各々の文字の平均
の長さを推定する文字大きさ推定手段と、前記画像回転
手段で取り出された前記射影量と前記文字大きさ推定手
段で推定された文字の平均の長さとの差が最小となる回
転角を文字列の傾き量と判定する傾き量判定手段と、こ
の傾き量判定手段で判定された前記回転角から前記文字
列の傾きを補正する補正手段と、からなることを特徴と
する画像処理装置である。
Further, the third means of the present invention is to rotate the image of the optically read character string in the image processing apparatus for correcting the inclination of the character string in order to recognize the optically read character. While the image rotation means for extracting the projection in the direction substantially perpendicular to the direction in which this character string should be written,
Labeling processing is performed on the read character string,
A character size estimating means for estimating an average length of each character in a direction substantially perpendicular to the character string direction, the projection amount extracted by the image rotating means, and the character size estimating means. The inclination amount determining means for determining the rotation angle having the minimum difference from the average length of the character as the inclination amount of the character string, and the inclination angle of the character string is corrected from the rotation angle determined by the inclination amount determining means. The image processing device is characterized by comprising:

【0010】そして、本発明の第4の手段は、光学的に
読み取った文字の認識をするために文字列の傾きを補正
する画像処理装置において、光学的に読み取った文字列
の画像データを格納する画像メモリと、この画像メモリ
に格納した前記画像データに対してアフィン変換処理を
して回転しつつプロフィール処理で前記文字列が記載さ
れるべき方向に対して略垂直方向の射影量を取る画像回
転手段と、前記画像メモリに格納した前記文字列に対し
てラベリング処理をして、前記文字列が記載されるべき
方向に対して略垂直方向の各々の文字の平均の長さを推
定する文字大きさ推定手段と、前記画像回転手段によっ
て取られた前記射影量と前記文字大きさ推定手段にて推
定された前記文字の平均の長さとの差が最小になる回転
角を文字列の傾き量と判定する傾き量判定手段と、この
傾き量判定手段によって判定された前記回転角から前記
文字列傾きを補正する補正手段と、からなることを特徴
とする画像処理装置である。
The fourth means of the present invention stores the image data of the optically read character string in an image processing apparatus for correcting the inclination of the character string in order to recognize the optically read character. And an image memory for performing an affine transformation process on the image data stored in the image memory and rotating the image data to take a projection amount in a direction substantially perpendicular to the direction in which the character string is to be written in the profile process. A character that estimates the average length of each character in a direction substantially perpendicular to the direction in which the character string is written by performing a labeling process on the character string stored in the image memory and rotating means. The rotation angle that minimizes the difference between the size estimation means, the projection amount taken by the image rotation means, and the average length of the characters estimated by the character size estimation means is the inclination of the character string. And determining inclination amount determining means and an image processing apparatus characterized a correction means for correcting, in that it consists of the string inclination from the rotation angle is determined by the tilt amount determining means.

【0011】[0011]

【作用】本発明によれば、入力された文字列の画像を回
転しつつ射影をとり、ラベリング処理により、文字の平
均の長さを推定し、上記射影量と、推定された文字の平
均の長さとの差が最小となる回転角を文字列の傾き量と
判定して、文字列の傾きを補正する。
According to the present invention, the image of the input character string is projected while rotating, and the average length of the character is estimated by the labeling process, and the projection amount and the estimated average of the character are calculated. The rotation angle that minimizes the difference from the length is determined as the inclination amount of the character string, and the inclination of the character string is corrected.

【0012】また、本発明によれば入力された文字列の
画像データを画像メモリに格納し、該画像データをアフ
ィン変換処理をして回転しつつプロフィール処理で射影
をとり、文字列をラベリング処理して、文字の平均の長
さを推定し、上記射影量と、推定された文字の平均の長
さとの差が最小となる回転角を文字列の傾き量と判定し
て、文字列の傾きを補正する。
Further, according to the present invention, the image data of the input character string is stored in the image memory, the image data is subjected to affine transformation processing and rotated while projection is performed by the profile processing to label the character string. Then, the average length of the character is estimated, and the rotation angle that minimizes the difference between the projection amount and the estimated average length of the character is determined as the inclination amount of the character string, and the inclination angle of the character string is determined. To correct.

【0013】さらに、本発明によれば、画像回転回路は
入力された文字列の画像を回転しつつ射影をとり、文字
大きさ推定回路は、ラベリング処理により、文字の平均
の長さを推定する。そして、傾き量推定回路は、上記射
影量と、推定された文字の平均の長さとの差が最小とな
る回転角を文字列の傾き量と判定し、補正回路は、上記
傾きに基づき文字列の傾きを補正する。
Further, according to the present invention, the image rotation circuit takes a projection while rotating the image of the input character string, and the character size estimation circuit estimates the average length of the character by the labeling process. . Then, the inclination amount estimation circuit determines the rotation angle that minimizes the difference between the projection amount and the estimated average length of the character as the inclination amount of the character string, and the correction circuit determines the character string based on the inclination. Correct the inclination of.

【0014】そして、本発明によれば、アフィン変換回
路は、入力された画像を回転処理し、プロフィール回路
はアフィン変換回路で回転処理されつつある文字列の射
影をとる。そして、ラベリング回路は、文字の平均の長
さを推定し、傾き量検出回路は、上記射影量と、推定さ
れた文字の平均の長さを比較して差が最小となる回転角
を文字列の傾き量と判定し、補正回路は、文字列の画像
データの傾きを補正する。 従って本発明では、回転さ
せたそれぞれの角度における射影をとりその高さを求
め、この高さと、予め推定した文字列の文字の平均の長
さとを比較することにより、正確なスキュー量を求める
ことができるものである。
Further, according to the present invention, the affine transformation circuit rotates the input image, and the profile circuit takes a projection of the character string being rotated by the affine transformation circuit. Then, the labeling circuit estimates the average length of the character, and the inclination amount detection circuit compares the projection amount with the estimated average length of the character to determine the rotation angle with the minimum difference as the character string. And the correction circuit corrects the inclination of the image data of the character string. Therefore, in the present invention, the accurate skew amount is obtained by taking the projection at each rotated angle to obtain its height, and comparing this height with the average length of the characters of the character string estimated in advance. Is something that can be done.

【0015】[0015]

【実施例】以下本発明に係る画像処理方法及び、この方
法を適用した画像処理装置の実施例を説明する。
Embodiments of an image processing method according to the present invention and an image processing apparatus to which this method is applied will be described below.

【0016】図1は本発明に係る画像処理装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the arrangement of an image processing apparatus according to the present invention.

【0017】同図において、1は公知の画像読取り手段
で読み取られた画像データが格納される画像メモリ、2
はアフィン変換回路で、図4に示すように、入力された
画像データを予め設定した範囲内で同形変換による例え
ば1°刻みの回転をして、アフィン変換回路内のメモリ
に格納する。3はプロフィール回路で、アフィン変換後
のそれぞれの角度の画像に対して、y軸方向に射影をと
る。4はラベリング回路で文字の平均の大きさaを推定
する。5は傾き量検出回路であるスキュー量検出回路
で、それぞれにとった射影の高さとVとラベリング回路
4によって求められた、仮に推定した文字の平均の高さ
aを比較し、最も差が小さいものを選択する。6は、傾
き補正回路であるスキュー補正回路で検出されたスキュ
ー量の角度θで回転するスキュー補正をし、画像を出力
する。7はMPU(マイクロプロセッサ)で上記のすべ
ての回路が制御されている。
In the figure, 1 is an image memory in which image data read by a known image reading means is stored, 2
Is an affine transformation circuit, and as shown in FIG. 4, the inputted image data is rotated by, for example, 1 ° increments by homomorphic transformation within a preset range and stored in a memory in the affine transformation circuit. A profile circuit 3 projects in the y-axis direction on the image at each angle after the affine transformation. A labeling circuit 4 estimates the average size a of the characters. Reference numeral 5 denotes a skew amount detection circuit which is a tilt amount detection circuit, and compares the projection heights respectively taken with V and the tentatively estimated average height a of the characters obtained by the labeling circuit 4, and finds the smallest difference. Select one. A skew correction circuit 6 performs skew correction of rotating at an angle θ of the skew amount detected by the skew correction circuit, which is an inclination correction circuit, and outputs an image. A MPU (microprocessor) 7 controls all of the above circuits.

【0018】図2は、本実施例に係る画像処理装置の作
動を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the image processing apparatus according to this embodiment.

【0019】入力画像が画像メモリに入力されると(S
T1)、蓄積された画像は、アフィン変換回路2とラベ
リング回路に、同時に画像転送され、アフィン変換回路
では入力画像を設定した範囲内で1°ずつ回転させる
(ST2)。そしてこの回転した画像データをプロフィ
ール回路3に出力して、それぞれの画像データにプロフ
ィール処理を行い射影をとりその高さを求める(ST
3)。
When the input image is input to the image memory (S
T1), the accumulated image is simultaneously transferred to the affine transformation circuit 2 and the labeling circuit, and the affine transformation circuit rotates the input image by 1 ° within a set range (ST2). Then, the rotated image data is output to the profile circuit 3, profile processing is performed on each image data, projection is taken, and its height is obtained (ST
3).

【0020】一方、ラベリング回路4では、入力画像の
各文字に対して、ラベリングをとり、射影方向の文字の
高さの平均を求める(ST4)。そして、上記射影高さ
と文字の平均の高さはスキュー量検出回路に入力され、
プロフィールの高さVを、文字の平均の高さaと比較
し、最も差が小さい角度のものを選択する(ST5)。
On the other hand, the labeling circuit 4 labels each character of the input image and obtains the average height of the characters in the projection direction (ST4). Then, the projection height and the average height of the characters are input to the skew amount detection circuit,
The height V of the profile is compared with the average height a of the characters, and the angle having the smallest difference is selected (ST5).

【0021】スキュー量補正回路6では、その選択され
たスキュー量をもとに、画像を回転する補正し、出力す
る。ここで、実際には各処理はMPUによって制御され
ている(ST7)。
The skew amount correcting circuit 6 corrects and rotates the image based on the selected skew amount and outputs it. Here, each processing is actually controlled by the MPU (ST7).

【0022】図4に画像の回転に関する具体例を示す。
入力画像「東京都千代田区」を同形アフィン変換によっ
て、予め設定した範囲内で回転させ、それぞれに射影を
とる。この射影は、文字の横に分布量として表示してい
る(図4(1))。
FIG. 4 shows a specific example of image rotation.
The input image "Chiyoda-ku, Tokyo" is rotated within a preset range by isomorphic affine transformation, and projection is performed on each. This projection is displayed as a distribution amount beside the character (FIG. 4 (1)).

【0023】そして、その射影の高さVと、ラベリング
後の、仮に推定した文字の平均の高さaを参照し、Vと
aの差が最小なときの回転角θをスキュー量とする。そ
のスキュー量をもとに文字列を回転する補正を行う(図
4(2))。
The projection height V and the tentatively estimated average height a of the character after labeling are referred to, and the rotation angle θ when the difference between V and a is the minimum is set as the skew amount. A correction for rotating the character string is performed based on the skew amount (FIG. 4 (2)).

【0024】[0024]

【発明の効果】以上説明したように、本発明によれば、
入力画像を回転させ、回転させたそれぞれの角度におけ
る射影をとり、その高さを求め、予め推定した文字列中
の文字の平均の長さと比較するようにしたので、正確な
スキュー量を求めることができ、特に文字の大きさ、ピ
ッチ等がまちまちである手書き文字であっても正確なス
キュー補正量を求めることができ、正確なスキュー補正
を行い、文字の認識率を向上させることができる。
As described above, according to the present invention,
The input image is rotated, the projection at each rotated angle is taken, the height is calculated, and it is compared with the estimated average length of the characters in the character string. In particular, it is possible to obtain an accurate skew correction amount even for handwritten characters in which the size, pitch, etc. of the characters are different, so that accurate skew correction can be performed and the character recognition rate can be improved.

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

【図1】本発明に係る画像処理装置の実施例の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of an image processing apparatus according to the present invention.

【図2】図1に示した画像処理装置の作動を示すフロー
チャートである。
FIG. 2 is a flowchart showing an operation of the image processing apparatus shown in FIG.

【図3】図1に示した画像処理装置の作動を示すフロー
チャートである。
FIG. 3 is a flowchart showing an operation of the image processing apparatus shown in FIG.

【図4】図1に示した画像処理装置の画像データの回転
及び射影の状態をしめす説明図である。
FIG. 4 is an explanatory diagram showing a state of rotation and projection of image data of the image processing apparatus shown in FIG.

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

1 画像メモリ 2 アフィン変換回路 3 プロフィール回路 4 ラベリング回路 5 スキュー量検出回路 6 スキュー補正回路 7 MPU 1 image memory 2 affine conversion circuit 3 profile circuit 4 labeling circuit 5 skew amount detection circuit 6 skew correction circuit 7 MPU

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 光学的に読み取った文字の認識をするた
めに文字列の傾きを補正する画像処理方法において、 光学的に読み取った文字列の画像を回転しつつこの文字
列が記載されるべき方向に対して略垂直な方向の射影量
を取りだす第1のステップと、 前記読み取った文字列に対してラベリング処理を行い前
記文字列方向に対して略垂直方向の各々の文字の平均の
長さを推定する第2のステップと、 前記第1のステップで取り出された前記射影量と前記第
2のステップ推定された文字の平均の長さとの差が最小
となる回転角を文字列の傾き量と判定する第3のステッ
プと、 この第3のステップで判定された前記回転角から前記文
字列の傾きを補正する第4のステップと、 からなることを特徴とする画像処理方法。
1. In an image processing method for correcting the inclination of a character string to recognize an optically read character, the character string should be described while rotating the image of the optically read character string. A first step of extracting a projection amount in a direction substantially perpendicular to the direction, and a labeling process for the read character string, and an average length of each character in a direction substantially perpendicular to the character string direction. And a rotation angle at which the difference between the projection amount extracted in the first step and the average length of the character estimated in the second step is minimized, And a fourth step of correcting the inclination of the character string from the rotation angle determined in the third step.
【請求項2】 光学的に読み取った文字の認識をするた
めに文字列の傾きを補正する画像処理方法において、 光学的に読み取った文字列の画像データを画像メモリに
格納する第1のステップと、 この第1のステップによって画像メモリに格納した前記
画像データに対してアフィン変換処理をして回転しつつ
プロフィール処理で前記文字列が記載されるべき方向に
対して略垂直方向の射影をとる第2のステップと、 前記第1のステップによって画像メモリに格納した前記
文字列に対してラベリング処理をして、前記文字列が記
載されるべき方向に対して略垂直方向の各々の文字の平
均の長さを推定する第3のステップと、 前記第2のステップによって取られた前記射影量と前記
第3のステップにて推定された前記文字の平均の長さと
の差が最小になる回転角を文字列の傾き量と判定する第
4のステップと、 この第4のステップによって判定された前記回転角から
前記文字列の傾きを補正する第5のステップと、 からなることを特徴とする画像処理方法。
2. An image processing method for correcting inclination of a character string for recognizing an optically read character, comprising a first step of storing image data of the optically read character string in an image memory. In the first step, an affine transformation process is performed on the image data stored in the image memory and the image data is rotated while a projection is performed in a direction substantially perpendicular to the direction in which the character string is to be written in the profile process. 2), the labeling process is performed on the character string stored in the image memory by the first step, and the average of each character in the direction substantially perpendicular to the direction in which the character string is to be written is calculated. The third step of estimating the length, and the difference between the projection amount taken in the second step and the average length of the character estimated in the third step is the largest. And a fifth step of correcting the inclination of the character string from the rotation angle determined by the fourth step. Characterized image processing method.
【請求項3】 光学的に読み取った文字の認識をするた
めに文字列の傾きを補正する画像処理装置において、 光学的に読み取った文字列の画像を回転しつつこの文字
列が記載されるべき方向に対して略垂直な方向の射影を
取り出す画像回転手段と、 前記読み取った文字列に対してラベリング処理を行い、
前記文字列方向に対して略垂直方向の各々の文字の平均
の長さを推定する文字大きさ推定手段と、 前記画像回転手段で取り出された前記射影量と前記文字
大きさ推定手段で推定された文字の平均の長さとの差が
最小となる回転角を文字列の傾き量と判定する傾き量判
定手段と、 この傾き量判定手段で判定された前記回転角から前記文
字列の傾きを補正する補正手段と、 からなることを特徴とする画像処理装置。
3. An image processing apparatus for correcting the inclination of a character string for recognizing an optically read character, wherein the character string should be described while rotating the image of the optically read character string. An image rotation unit that extracts a projection in a direction substantially perpendicular to the direction, and performs labeling processing on the read character string,
A character size estimating means for estimating an average length of each character in a direction substantially perpendicular to the character string direction, the projection amount extracted by the image rotating means, and the character size estimating means. The inclination amount determining means for determining the rotation angle having the smallest difference from the average length of the character as the inclination amount of the character string, and the inclination of the character string is corrected from the rotation angle determined by the inclination amount determining means. An image processing device, comprising:
【請求項4】 光学的に読み取った文字の認識をするた
めに文字列の傾きを補正する画像処理装置において、 光学的に読み取った文字列の画像データを格納する画像
メモリと、 この画像メモリに格納した前記画像データに対してアフ
ィン変換処理をして回転しつつプロフィール処理で前記
文字列が記載されるべき方向に対して略垂直方向の射影
量を取る画像回転手段と、 前記画像メモリに格納した前記文字列に対してラベリン
グ処理をして、前記文字列が記載されるべき方向に対し
て略垂直方向の各々の文字の平均の長さを推定する文字
大きさ推定手段と、 前記画像回転手段によって取られた前記射影量と前記文
字大きさ推定手段にて推定された前記文字の平均の長さ
との差が最小になる回転角を文字列の傾き量と判定する
傾き量判定手段と、 この傾き量判定手段によって判定された前記回転角から
前記文字列傾きを補正する補正手段と、 からなることを特徴とする画像処理装置。
4. An image processing apparatus for correcting the inclination of a character string for the purpose of recognizing an optically read character, comprising: an image memory for storing image data of the optically read character string; Image rotation means for taking an amount of projection in a direction substantially perpendicular to the direction in which the character string should be written in profile processing while rotating by performing affine transformation processing on the stored image data, and storing in the image memory Character size estimating means for estimating the average length of each character in a direction substantially perpendicular to the direction in which the character string is to be written, and the image rotation. Inclination amount determining means for determining the rotation angle that minimizes the difference between the projection amount taken by the means and the average length of the characters estimated by the character size estimating means as the inclination amount of the character string. An image processing apparatus for a correcting means for correcting the character column slope from the rotation angle is determined by the tilt amount determining means, in that it consists characterized.
JP5348579A 1993-12-27 1993-12-27 Method and device for processing picture Pending JPH07192088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5348579A JPH07192088A (en) 1993-12-27 1993-12-27 Method and device for processing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5348579A JPH07192088A (en) 1993-12-27 1993-12-27 Method and device for processing picture

Publications (1)

Publication Number Publication Date
JPH07192088A true JPH07192088A (en) 1995-07-28

Family

ID=18397969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5348579A Pending JPH07192088A (en) 1993-12-27 1993-12-27 Method and device for processing picture

Country Status (1)

Country Link
JP (1) JPH07192088A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115506A (en) * 1997-05-07 2000-09-05 Nec Corporation Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded
JP2006201885A (en) * 2005-01-18 2006-08-03 Sharp Corp Image decision unit, method, and program, and image forming unit and program, image decision program, and computer-readable recording medium
US8363963B2 (en) 2008-12-17 2013-01-29 Sharp Kabushiki Kaisha Apparatus, method and computer readable medium that associates a plurality of possible word recognition results with an image
WO2022030933A1 (en) * 2020-08-04 2022-02-10 삼성전자 주식회사 Electronic device, and method for processing writing input thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115506A (en) * 1997-05-07 2000-09-05 Nec Corporation Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded
AU753499B2 (en) * 1997-05-07 2002-10-17 Nec Corporation Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded
JP2006201885A (en) * 2005-01-18 2006-08-03 Sharp Corp Image decision unit, method, and program, and image forming unit and program, image decision program, and computer-readable recording medium
US8363963B2 (en) 2008-12-17 2013-01-29 Sharp Kabushiki Kaisha Apparatus, method and computer readable medium that associates a plurality of possible word recognition results with an image
WO2022030933A1 (en) * 2020-08-04 2022-02-10 삼성전자 주식회사 Electronic device, and method for processing writing input thereof
US12026850B2 (en) 2020-08-04 2024-07-02 Samsung Electronics Co., Ltd. Electronic device, and method for processing writing input thereof

Similar Documents

Publication Publication Date Title
WO2019174133A1 (en) Electronic device, physical seal identification method, and computer readable storage medium
JPH11219407A (en) Document image recognition device and storage medium for document image recognition program
JPH05250409A (en) Fast page direction detection
CN112419207A (en) Image correction method, device and system
US7095893B2 (en) System and method for determining an image decimation range for use in a machine vision system
CN107992869A (en) For tilting the method, apparatus and electronic equipment of word correction
JP3099771B2 (en) Character recognition method and apparatus, and recording medium storing character recognition program
JPH07192088A (en) Method and device for processing picture
JPH07220026A (en) Method and device for picture processing
JPH08320990A (en) Vehicle number reader
JP2637591B2 (en) Position recognition apparatus and method
CN113903038B (en) Text correction method and system based on bounding box
CN116563857A (en) A method, device, equipment, medium and product for identifying signs
JPH06150067A (en) On-line handwritten character recognizing method
JP3356819B2 (en) Mark recognition device
CN111161247B (en) Detection method for variable code reading character quality verification
WO1996030860A2 (en) Method and apparatus for removing superimposed lines and restoring pixel values in images containing recurring patterns
CN118887672B (en) A method and device for detecting missing printed text on a card with a template image
JPH0338789A (en) Pattern matching system
JP3196755B2 (en) Character inclination detection correction method and apparatus
JPH09147056A (en) Mark appearance inspection method and its equipment
JPH0991376A (en) Image data input processing method and apparatus thereof
JP4785158B2 (en) Image data tilt correction method and image input apparatus
JP2000348138A (en) Blurring correction device, blurring correction method, and recording medium
JP2004171337A (en) Image photographing unit