JPH0773269A - Matching method of character recognition result - Google Patents
Matching method of character recognition resultInfo
- Publication number
- JPH0773269A JPH0773269A JP5218284A JP21828493A JPH0773269A JP H0773269 A JPH0773269 A JP H0773269A JP 5218284 A JP5218284 A JP 5218284A JP 21828493 A JP21828493 A JP 21828493A JP H0773269 A JPH0773269 A JP H0773269A
- Authority
- JP
- Japan
- Prior art keywords
- character
- recognition result
- image
- original image
- size
- 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
(57)【要約】
【目的】 余分な作業をなくし作業を簡素化して、照合
効率の向上を図る。
【構成】 保持部2に保持されている原イメージから、
文字イメージ作成部4で個々の文字を切り出し、その各
々について保持部5に保持されている表示文字フォント
の大きさと一致するように、文字イメージ縮小・拡大部
6で縮小または拡大することにより、文字認識結果に対
しこれとほぽ同じ大きさの文字イメージをCRT8の画
面上に、同時に表示して照合できるようにする。
(57) [Summary] [Purpose] Eliminate unnecessary work and simplify work to improve collation efficiency. [Structure] From the original image held in the holding unit 2,
The character image creating unit 4 cuts out individual characters, and the character image reducing / enlarging unit 6 reduces or expands each character so that the size of each character matches the size of the display character font held in the holding unit 5, thereby creating a character. A character image having the same size as the recognition result is displayed on the screen of the CRT 8 at the same time for collation.
Description
【0001】[0001]
【産業上の利用分野】この発明は、光学的文字認識装置
(OCR)の認識結果と文字の原イメージとを画面上に
同時に表示し、認識結果を原イメージと比較,照合する
ようにした照合方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a collation system for simultaneously displaying a recognition result of an optical character recognition device (OCR) and an original image of a character on a screen and comparing and collating the recognition result with the original image. Regarding the method.
【0002】[0002]
【従来の技術】従来、この種の表示手法として図5のよ
うな方法がある。図5では符合aで認識結果、bで原イ
メージ(原画像)を示す。すなわち、図5(イ),
(ロ)および(ニ)は認識結果aよりも原イメージbの
方が大きい場合、(ハ)は認識結果aの方が原イメージ
bよりも大きい場合の例である。2. Description of the Related Art Conventionally, as a display method of this kind, there is a method as shown in FIG. In FIG. 5, reference numeral a indicates a recognition result, and reference numeral b indicates an original image (original image). That is, FIG.
(B) and (D) are examples where the original image b is larger than the recognition result a, and (C) is an example where the recognition result a is larger than the original image b.
【0003】また、図5(イ),(ハ)および(ニ)は
認識結果の1行と原イメージの1行が対応する場合であ
り、図5(ロ)は認識結果の複数行(3行)と原イメー
ジの1行が対応する場合を示している。さらに、図5
(イ),(ロ)および(ハ)は認識結果と原イメージを
やゝ離して表示した例であり、(ニ)は接近して表示し
た例である。Further, FIGS. 5 (a), 5 (c) and 5 (d) show a case where one line of the recognition result corresponds to one line of the original image, and FIG. 5 (b) shows a plurality of lines (3) of the recognition result. Line) corresponds to one line of the original image. Furthermore, FIG.
(A), (b) and (c) are examples in which the recognition result and the original image are displayed slightly apart, and (d) is an example in which they are displayed close to each other.
【0004】イメージ表示の解像度としては専ら元の解
像度で表示したり、1/2倍,1/4倍などの一定の倍
率で圧縮して表示する場合が多い。また、図5(イ)に
符号cで示すようなテキストカーソルを表示したり、そ
れと対応する原イメージを枠表示dすることなども良く
行なわれている。As the resolution of image display, the original resolution is often displayed or the image is compressed and displayed at a fixed magnification such as 1/2 times or 1/4 times. It is also common to display a text cursor as shown by symbol c in FIG. 5 (a) and display an original image corresponding to the text cursor in a frame d.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記の
ような方法では、文字イメージの幅と文字フォントの幅
が一致していないことが多く、その結果、文字フォント
幅よりも文字イメージ幅の方が大きい場合は図5
(イ),(ロ),(ニ)のようになり、逆に文字フォン
ト幅の方が大きいと図5(ハ)のようになる、というわ
けである。However, in the above method, the width of the character image and the width of the character font often do not match, and as a result, the width of the character image is larger than the width of the character font. Figure 5
(A), (b), and (d), and conversely, when the character font width is larger, it becomes as shown in FIG. 5 (c).
【0006】また、図5(イ),(ハ)とも照合する文
字とイメージの位置がずれており、このような場合は、
画面上の異なる2か所を交互に確認しながら照合作業を
行なわねばならず、作業が煩わしいという問題がある。
さらに、図5(ニ)のように照合する文字とイメージを
テキストカーソル位置で接近させて表示する場合は、照
合対象文字に沿って、テキストカーソルを画面上で移動
する操作を行なわなければならない。なお、文字フォン
ト幅よりもイメージ幅の方が大きい場合は、認識結果の
イメージの一部しか表示されないので、この点からもテ
キストカーソルを照合対象文字に沿って移動させる作業
が必要になる。Further, the positions of the character and the image to be collated in FIGS. 5A and 5C are deviated, and in such a case,
There is a problem in that the collation work must be performed while alternately confirming two different places on the screen, and the work is troublesome.
Further, when the character to be collated and the image are displayed close to each other at the position of the text cursor as shown in FIG. 5D, it is necessary to move the text cursor on the screen along the character to be collated. If the image width is larger than the character font width, only a part of the recognition result image is displayed. From this point as well, the work of moving the text cursor along the collation target character is required.
【0007】つまり、従来の方法では、本来の照合の他
に位置ずれに対応する作業、または位置合わせのための
作業が必要となり負担が増加するという問題がある。し
たがって、この発明の課題は余分な作業を必要とせず短
時間に照合作業ができるようにし、照合効率を向上させ
ることにある。That is, in the conventional method, there is a problem that the work for coping with the position shift or the work for the position alignment is required in addition to the original collation, which increases the load. Therefore, an object of the present invention is to enable collation work in a short time without requiring extra work and improve collation efficiency.
【0008】[0008]
【課題を解決するための手段】このような課題を解決す
るため、この発明では、文書を認識した結果を保持して
おく一方、文書の原イメージそのものと原イメージにお
ける各文字の位置およびサイズ情報とを保持した後、原
イメージから個々の文字を切り出し、この切り出した各
文字イメージをそれぞれ予め取得している認識結果の文
字フォントサイズに一致するように縮小または拡大処理
し、これを認識結果の文字に接近させて同時に画面上に
表示することを特徴としている。In order to solve such a problem, according to the present invention, the result of recognizing a document is held, while the original image of the document itself and the position and size information of each character in the original image are stored. After holding and, individual characters are cut out from the original image, and each cut out character image is reduced or enlarged to match the character font size of the recognition result acquired in advance. The feature is that the characters are displayed close to each other and displayed on the screen at the same time.
【0009】[0009]
【作用】原画像の各文字毎にその縦,横幅を予め取得し
ている文字フォントの縦,横幅に一致させ、得られたイ
メージを認識結果の文字フォントに接近させて表示する
ことにより、照合作業を合理化し作業効率を向上させ
る。[Operation] Matching is performed by matching the height and width of each character of the original image with the height and width of the previously acquired character font and displaying the obtained image close to the character font of the recognition result. Streamline work and improve work efficiency.
【0010】[0010]
【実施例】図1はこの発明の実施例を説明するためのブ
ロック図である。同図において、1は文字認識結果保持
部、2は原イメージ保持部、3は文字位置・サイズ情報
保持部、4は文字イメージ作成部、5は文字フォント情
報保持部、6は文字イメージ縮小・拡大部、7は認識結
果・イメージ表示部、8は表示装置(CRT)をそれぞ
れ示している。1 is a block diagram for explaining an embodiment of the present invention. In the figure, 1 is a character recognition result holding unit, 2 is an original image holding unit, 3 is a character position / size information holding unit, 4 is a character image creating unit, 5 is character font information holding unit, and 6 is a character image reduction unit. An enlargement unit 7, a recognition result / image display unit, and a display device (CRT) 8 are shown.
【0011】すなわち、文字認識結果保持部1は文書を
読み取った認識結果を保持し、文字位置・サイズ情報保
持部3は認識の過程で得られた各文字の原イメージ上の
位置,大きさ等の情報を保持し、原イメージ保持部2は
入力された画像情報を2値化する等して保持している。
また、文字フォント情報保持部5には、CRT8に表示
すべき文字に関する情報が格納されている。That is, the character recognition result holding unit 1 holds the recognition result obtained by reading the document, and the character position / size information holding unit 3 holds the position, size, etc. of each character obtained in the recognition process on the original image. Of the input image information, and the original image holding unit 2 holds the input image information by binarizing it.
Further, the character font information holding unit 5 stores information regarding characters to be displayed on the CRT 8.
【0012】したがって、文字イメージ作成部4では、
原イメージ保持部2より与えられる原画像から個々の文
字を切り出し、文字イメージ縮小・拡大部6では文字フ
ォント情報保持部5から与えられる情報にもとづき、切
り出された文字イメージの大きさ(文字サイズ)を表示
文字フォントの大きさに合わせるように縮小する。通常
は縮小される場合が多いが、文字イメージの方が小さい
場合には拡大されることになる。Therefore, in the character image creating section 4,
Each character is cut out from the original image given by the original image holding unit 2, and the size (character size) of the cut out character image is cut by the character image reduction / enlargement unit 6 based on the information given by the character font information holding unit 5. Is reduced to fit the size of the display character font. Usually, it is often reduced, but if the character image is smaller, it is enlarged.
【0013】認識結果・イメージ表示部7は、文字認識
結果の情報と文字イメージ縮小・拡大部6からの文字イ
メージ情報とを受けて、これらをCRT8に表示すべく
所定の制御等を行ない、文字認識結果とそれに対応する
文字イメージを、ほぼ同じ大きさでしかも接近させた状
態でCRT8上に表示するようにする。The recognition result / image display unit 7 receives the information of the character recognition result and the character image information from the character image reduction / enlargement unit 6 and performs predetermined control to display them on the CRT 8 to The recognition result and the character image corresponding to the recognition result are displayed on the CRT 8 in the same size and close to each other.
【0014】いま、例えば原イメージを図2に示される
ものであるとし、文字イメージ作成部4でその内の1つ
CH(亜)が切り出されたものとする。また、その文字
フォントを図3のように高さH,幅Wおよび文字部分の
開始位置をSとすると、文字イメージ「亜」の大きさ
(高さH1,幅W1)を文字フォントの高さH,幅Wに
合うように圧縮する。ここでは、図2,3のように文字
フォントの方を大きく示しているが、実際は文字フォン
トの方が小さい場合が多く、したがって、大抵の場合は
文字イメージの圧縮が行なわれる。Now, for example, assume that the original image is that shown in FIG. 2, and one of the CH (sub) is cut out by the character image creating unit 4. Assuming that the character font has a height H, a width W, and a start position of a character portion as shown in FIG. 3, the size (height H1, width W1) of the character image "A" is the height of the character font. Compress to fit H and width W. Here, as shown in FIGS. 2 and 3, the character font is shown larger, but in reality, the character font is often smaller, and therefore the character image is compressed in most cases.
【0015】このようにして圧縮したイメージを図4の
ように、文字開始位置S1から図3に示す「S」だけず
らした位置にbの如く表示する。aは認識結果を示す。
こうして、縮小,拡大された原イメージを認識結果の文
字フォントに接近させて表示することで、照合作業が合
理化され作業効率が向上することになる。なお、以上で
は横書の例について説明したが、この発明は縦書きの場
合についても同様に適用することができるのは言うまで
もない。The image thus compressed is displayed as shown at b at a position shifted from the character start position S1 by "S" shown in FIG. 3, as shown in FIG. a indicates the recognition result.
Thus, by displaying the reduced and enlarged original image close to the character font of the recognition result, the collation work is rationalized and the work efficiency is improved. Although an example of horizontal writing has been described above, it goes without saying that the present invention can be similarly applied to the case of vertical writing.
【0016】[0016]
【発明の効果】この発明によれば、文字認識結果と各文
字の原イメージをほぼ同じ大きさで、しかも1対1に接
近した状態で対応させて表示できるので、照合作業を上
下左右の行または列の比較だけで済ませることができ、
その結果、照合のための作業が簡単となり、その作業時
間を著しく短縮することが可能となる利点がもたらされ
る。According to the present invention, since the character recognition result and the original image of each character can be displayed in substantially the same size and in a state where they are close to each other in a one-to-one manner, the collation work can be performed vertically and horizontally. Or you can just compare the columns,
As a result, the work for collation is simplified, and the work time can be significantly shortened.
【図1】この発明の実施例を説明するためのブロック図
である。FIG. 1 is a block diagram for explaining an embodiment of the present invention.
【図2】文書の原イメージ例を説明するための説明図で
ある。FIG. 2 is an explanatory diagram illustrating an example of an original image of a document.
【図3】文字フォントの1例を説明するための説明図で
ある。FIG. 3 is an explanatory diagram illustrating an example of a character font.
【図4】この発明による照合用画面例を説明するための
説明図である。FIG. 4 is an explanatory diagram for explaining an example of a matching screen according to the present invention.
【図5】従来方法を説明するための説明図である。FIG. 5 is an explanatory diagram for explaining a conventional method.
1…文字認識結果保持部、2…原イメージ保持部、3…
文字位置・サイズ情報保持部、4…文字イメージ作成
部、5…文字フォント情報保持部、6…文字イメージ縮
小・拡大部、7…認識結果・イメージ表示部、8…表示
装置(CRT)、a…文字認識結果、b…原イメージ。1 ... Character recognition result holding unit, 2 ... Original image holding unit, 3 ...
Character position / size information storage unit, 4 ... Character image creation unit, 5 ... Character font information storage unit, 6 ... Character image reduction / enlargement unit, 7 ... Recognition result / image display unit, 8 ... Display device (CRT), a … Character recognition result, b… Original image.
Claims (1)
方、文書の原イメージそのものと原イメージにおける各
文字の位置およびサイズ情報とを保持した後、原イメー
ジから個々の文字を切り出し、この切り出した各文字イ
メージをそれぞれ予め取得している認識結果の文字フォ
ントサイズに一致するように縮小または拡大処理し、こ
れを認識結果の文字に接近させて同時に画面上に表示す
ることを特徴とする文字認識結果の照合方法。1. The document recognition result is held, while the original image itself of the document and the position and size information of each character in the original image are held, and then individual characters are cut out from the original image, and this cutting out is performed. Characters that are displayed on the screen at the same time by reducing or enlarging each character image so that it matches the character font size of the recognition result acquired in advance, and making it closer to the character of the recognition result. How to match the recognition results.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5218284A JPH0773269A (en) | 1993-09-02 | 1993-09-02 | Matching method of character recognition result |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5218284A JPH0773269A (en) | 1993-09-02 | 1993-09-02 | Matching method of character recognition result |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0773269A true JPH0773269A (en) | 1995-03-17 |
Family
ID=16717438
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5218284A Pending JPH0773269A (en) | 1993-09-02 | 1993-09-02 | Matching method of character recognition result |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0773269A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015071923A1 (en) * | 2013-11-12 | 2015-05-21 | 三菱電機株式会社 | Driving-support-image generation device, driving-support-image display device, driving-support-image display system, and driving-support-image generation program |
| JP2021005173A (en) * | 2019-06-25 | 2021-01-14 | 富士通株式会社 | Ocr recognition result confirmation support program, ocr recognition result confirmation support method, and ocr recognition result confirmation support system |
| CN113569859A (en) * | 2021-07-27 | 2021-10-29 | 北京奇艺世纪科技有限公司 | Image processing method and device, electronic equipment and storage medium |
-
1993
- 1993-09-02 JP JP5218284A patent/JPH0773269A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015071923A1 (en) * | 2013-11-12 | 2015-05-21 | 三菱電機株式会社 | Driving-support-image generation device, driving-support-image display device, driving-support-image display system, and driving-support-image generation program |
| CN105723432A (en) * | 2013-11-12 | 2016-06-29 | 三菱电机株式会社 | Driving assistance image generating device, driving assistance image display device, driving assistance image display system, and driving assistance image generating program |
| JPWO2015071923A1 (en) * | 2013-11-12 | 2017-03-09 | 三菱電機株式会社 | Driving support image generation device, driving support image display device, driving support image display system, and driving support image generation program |
| US10061994B2 (en) | 2013-11-12 | 2018-08-28 | Mitsubishi Electric Corporation | Driving-support-image generation device, driving-support-image display device, driving-support-image display system, and driving-support-image generation program |
| JP2021005173A (en) * | 2019-06-25 | 2021-01-14 | 富士通株式会社 | Ocr recognition result confirmation support program, ocr recognition result confirmation support method, and ocr recognition result confirmation support system |
| CN113569859A (en) * | 2021-07-27 | 2021-10-29 | 北京奇艺世纪科技有限公司 | Image processing method and device, electronic equipment and storage medium |
| CN113569859B (en) * | 2021-07-27 | 2023-07-04 | 北京奇艺世纪科技有限公司 | Image processing method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2002007951A (en) | Form input method, its implementation device, and recording medium recording its processing program | |
| JP3573945B2 (en) | Format recognition device and character reading device | |
| JPH03276260A (en) | Electronic filing device with character code title processing function | |
| JP2006277001A (en) | Input image display method and input image display program | |
| JPH10312407A (en) | Drawing display device | |
| JPH0764998A (en) | Document creating apparatus and character trajectory input method | |
| JPH05303661A (en) | Acquring/displaying device for partial image data | |
| JPH0388086A (en) | Document reader | |
| JPH01292586A (en) | Back-up device for recognition of character | |
| JPH05128300A (en) | Character recognition method and device therefor | |
| JPH06180768A (en) | Code/image display system in correcting processing | |
| JP3138546B2 (en) | How to create user characters | |
| JPH0895546A (en) | Image data display device | |
| JPS6326789A (en) | Character recognizing device | |
| JPH01147593A (en) | Automatic window area setting for information retrieving screen | |
| JP4241820B2 (en) | Character recognition method and character recognition system | |
| JPH0424757A (en) | document processing device | |
| JP2005267394A (en) | Information processing device, method for changing area, and program and recording medium thereof | |
| JPH05324628A (en) | Character reader | |
| JPH07141468A (en) | Handwriting character recognition processing method in handwriting input character device | |
| JPH06118915A (en) | Character display | |
| JPH03103996A (en) | Optical character reader | |
| JPH04156694A (en) | Character recognition system | |
| JPS6398788A (en) | Recognizing device | |
| JPH0944690A (en) | Image processing device |