JP2010182219A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2010182219A
JP2010182219A JP2009027013A JP2009027013A JP2010182219A JP 2010182219 A JP2010182219 A JP 2010182219A JP 2009027013 A JP2009027013 A JP 2009027013A JP 2009027013 A JP2009027013 A JP 2009027013A JP 2010182219 A JP2010182219 A JP 2010182219A
Authority
JP
Japan
Prior art keywords
recognition
barcode
unit
image
character
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.)
Withdrawn
Application number
JP2009027013A
Other languages
Japanese (ja)
Inventor
Yuihiko Masuda
唯彦 舛田
Yasuyuki Takahashi
康幸 高橋
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 Solutions Technology Ltd
Original Assignee
Hitachi ULSI Systems 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 ULSI Systems Co Ltd filed Critical Hitachi ULSI Systems Co Ltd
Priority to JP2009027013A priority Critical patent/JP2010182219A/en
Publication of JP2010182219A publication Critical patent/JP2010182219A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character recognition technique for a form for achieving an increased recognition rate of bar codes while preventing deterioration of performance such as character recognition speed by discriminating image processings in character recognition and in bar code recognition. <P>SOLUTION: An image processing apparatus includes an image binarization part 101 for binarizing a color or grayscale image of a bar-coded form such as a bar-coded slip, a character recognition part 102 for character-recognizing the binary image of the bar-coded form, a bar code recognition part 103 for bar-code-recognizing the color or grayscale image of the bar-coded form, and a recognition result combination part 104 for combining the result of character recognition by the character recognition part and the result of bar code recognition by the bar code recognition part. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置に関し、特に、バーコード付き伝票などの帳票の文字認識技術に適用して有効な技術に関する。   The present invention relates to an image processing apparatus, and more particularly to a technique effective when applied to a character recognition technique for a form such as a slip with a barcode.

本発明者が検討したところによれば、帳票などの文字認識技術としては、例えば特許文献1〜3に記載される技術などが挙げられる。   According to a study by the present inventor, examples of character recognition technology for forms and the like include technologies described in Patent Documents 1 to 3, for example.

特許文献1には、銀行為替および小切手などの文書に記録されたバーコード文字の光学的走査および認識システムの技術が開示されている。   Patent Document 1 discloses a technique of an optical scanning and recognition system for bar code characters recorded in documents such as bank exchanges and checks.

特許文献2には、小切手などの文書上のバーコード文字の光学的走査と認識を行う方法とシステムの技術が開示されている。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a method and system technique for optically scanning and recognizing barcode characters on a document such as a check.

特許文献3には、バーコード付き原稿を電子文書化する際に、バーコードの画像が劣化しないようにする技術が開示されている。   Patent Document 3 discloses a technique for preventing the barcode image from being deteriorated when an original with a barcode is converted into an electronic document.

特開平5−12487号公報JP-A-5-12487 特開平5−250515号公報Japanese Patent Laid-Open No. 5-250515 特開2008−167314号公報JP 2008-167314 A

ところで、上述した前記特許文献1および2の技術は、バーコード文字の認識が課題であり、本発明のように、文字認識の速度などの性能劣化を防ぎながら、バーコードの認識率向上を目指すものではない。前記特許文献3の技術は、バーコード付き原稿を電子文書化する際に、バーコードの画像が劣化しないようにすることが課題であり、本発明のように、文字認識の速度などの性能劣化を防ぎながら、バーコードの認識率向上を目指すものではない。   By the way, the techniques of the above-mentioned Patent Documents 1 and 2 have a problem of barcode character recognition, and aim to improve the barcode recognition rate while preventing performance degradation such as character recognition speed as in the present invention. It is not a thing. The technique of Patent Document 3 is to prevent the barcode image from deteriorating when an original document with a barcode is converted into an electronic document. As in the present invention, performance degradation such as character recognition speed is a problem. It is not intended to improve the barcode recognition rate while preventing the problem.

また、帳票などの文字認識技術には、例えば、白黒二値画像に対して文字認識を行う従来技術1や、この技術にバーコード認識を行うためのオプション機能を付加した従来技術2などがある。   Further, as a character recognition technique such as a form, there are, for example, the conventional technique 1 for performing character recognition on a black and white binary image, and the conventional technique 2 to which an optional function for performing barcode recognition is added to this technique. .

前記従来技術1は、スキャナから入力した白黒二値画像に対し、罫線情報や文字情報を抽出し、文字を認識し、その結果をテキストファイルに出力するものである。前記従来技術2は、バーコードを認識するオプション製品であり、バーコード認識処理は白黒二値画像だけではなく、グレースケール画像での認識が可能である。しかし、文字認識が白黒二値で処理を行っているため、バーコード認識も白黒二値で処理を行っている。   The prior art 1 extracts ruled line information and character information from a monochrome binary image input from a scanner, recognizes characters, and outputs the result to a text file. The prior art 2 is an optional product that recognizes a barcode, and the barcode recognition process can recognize not only a monochrome binary image but also a gray scale image. However, since character recognition is processed in monochrome binary, barcode recognition is also processed in monochrome binary.

よって、前記従来技術2を用いた場合には、バーコードの印刷状態によるバーコード認識への影響を受け難くするために、グレースケールで画像を入力する必要がある。しかし、文字認識は処理速度を向上させるために、白黒二値画像に対して罫線情報や文字情報を抽出および文字の認識の処理を行っている。このため、文字認識を行う場合には、バーコードの認識ができない場合が予想されるにも関わらず、グレースケール画像を使用せずに白黒二値画像を使用している。   Therefore, when the conventional technique 2 is used, it is necessary to input an image in gray scale in order to make it difficult to be affected by the barcode recognition by the barcode printing state. However, in order to improve the processing speed of character recognition, ruled line information and character information are extracted from a black and white binary image and character recognition processing is performed. For this reason, when character recognition is performed, a black and white binary image is used without using a grayscale image, although a case where a barcode cannot be recognized is expected.

そこで、本発明の目的は、文字認識とバーコード認識の画像処理を区別して、文字認識の速度などの性能劣化を防ぎながら、バーコードの認識率向上を実現する帳票の文字認識技術を提供することにある。   Accordingly, an object of the present invention is to provide a form character recognition technology that realizes an improvement in barcode recognition rate while distinguishing between character recognition and barcode recognition image processing and preventing performance degradation such as character recognition speed. There is.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

すなわち、代表的なものの概要は、バーコード付き伝票などのバーコード付き帳票のカラーまたはグレースケール画像を二値化する画像二値化部と、バーコード付き帳票の二値画像を文字認識する文字認識部と、バーコード付き帳票のカラーまたはグレースケール画像をバーコード認識するバーコード認識部と、文字認識部の文字認識結果とバーコード認識部のバーコード認識結果とを合成する認識結果合成部とを有することを特徴とする。   That is, the outline of a typical one is an image binarization unit that binarizes a color or gray scale image of a barcoded form such as a slip with a barcode, and a character that recognizes a binary image of a barcoded form. A recognition unit, a barcode recognition unit that recognizes a color or grayscale image of a form with a barcode, and a recognition result composition unit that synthesizes the character recognition result of the character recognition unit and the barcode recognition result of the barcode recognition unit. It is characterized by having.

このような構成において、まず、認識の対象となるバーコード付き帳票をスキャナやファイルなどからカラーまたはグレースケール画像入力する。入力したカラーまたはグレースケール画像をメモリやハードディスクなどの記憶装置に保存する。そのカラーまたはグレースケール画像を二値画像化するが、二値画像化した画像はカラーまたはグレースケール画像とは別に保存する。認識の対象となる帳票内のバーコード部分はカラーまたはグレースケール画像でバーコードの認識を実行する。そして、認識の対象となる帳票内の文字認識は、二値画像で行う。最後にバーコードの認識結果と文字認識の結果を合成する。   In such a configuration, first, a color-added or gray-scale image is input from a scanner or a file as a barcode-added form to be recognized. The input color or grayscale image is saved in a storage device such as a memory or a hard disk. The color or grayscale image is converted into a binary image, and the binary image is stored separately from the color or grayscale image. The barcode portion in the form to be recognized is recognized as a color or gray scale image. Character recognition in a form to be recognized is performed using a binary image. Finally, the barcode recognition result and the character recognition result are combined.

本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。   Among the inventions disclosed in the present application, effects obtained by typical ones will be briefly described as follows.

すなわち、代表的なものによって得られる効果は、白黒二値画像で文字認識を実行し、さらにバーコードをカラーまたはグレースケール画像で認識することで、文字認識の処理時間を増大させることなく、バーコードを印刷する台紙や印字方法が原因で、バーコードに滲みがあるような場合に、バーコードの認識率の向上を見込むことができる。この結果、バーコードの認識率が向上することで、誤りを修正する校正を行う時間が短縮できる。   In other words, the effect obtained by a typical one is that character recognition is performed on a black-and-white binary image, and the barcode is recognized on a color or grayscale image, so that the processing time for character recognition is not increased. When the barcode is blurred due to the mount for printing the code or the printing method, the barcode recognition rate can be improved. As a result, since the barcode recognition rate is improved, the time for performing calibration for correcting errors can be shortened.

本発明の実施の形態1の画像処理装置の構成および動作を説明するための図である。It is a figure for demonstrating the structure and operation | movement of an image processing apparatus of Embodiment 1 of this invention. 本発明の実施の形態1の画像処理装置において、グレースケール画像および白黒二値画像にてバーコードを入力した例を説明するための図である。FIG. 5 is a diagram for explaining an example in which a barcode is input as a grayscale image and a monochrome binary image in the image processing apparatus according to the first embodiment of the present invention. 本発明の実施の形態2の画像処理装置の構成および動作を説明するための図である。It is a figure for demonstrating the structure and operation | movement of an image processing apparatus of Embodiment 2 of this invention. 本発明の実施の形態2の画像処理装置において、位置算出部の処理手順を説明するための図である。In the image processing apparatus of Embodiment 2 of this invention, it is a figure for demonstrating the process sequence of a position calculation part. 本発明の実施の形態2の画像処理装置において、認識情報定義ファイルの例を説明するための図である。It is a figure for demonstrating the example of a recognition information definition file in the image processing apparatus of Embodiment 2 of this invention. 本発明の実施の形態3の画像処理装置の構成および動作を説明するための図である。It is a figure for demonstrating the structure and operation | movement of an image processing apparatus of Embodiment 3 of this invention.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

また、以下の実施の形態においては、認識の対象となるバーコード付き帳票として、バーコード付き伝票を例に説明するが、これに限定されるものではない。   In the following embodiments, a barcoded slip will be described as an example of a barcoded form to be recognized. However, the present invention is not limited to this.

(実施の形態1)
本発明の実施の形態1の画像処理装置を、図1および図2を用いて説明する。図1は、本実施の形態1の画像処理装置の構成および動作を説明するための図である。図2は、グレースケール画像および白黒二値画像にてバーコードを入力した例を説明するための図である。
(Embodiment 1)
An image processing apparatus according to Embodiment 1 of the present invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a diagram for explaining the configuration and operation of the image processing apparatus according to the first embodiment. FIG. 2 is a diagram for explaining an example in which a barcode is input in a grayscale image and a monochrome binary image.

まず、本実施の形態1の画像処理装置の構成を、図1を用いて説明する。   First, the configuration of the image processing apparatus according to the first embodiment will be described with reference to FIG.

本実施の形態1の画像処理装置は、バーコード付き伝票のカラーまたはグレースケール画像を二値化する画像二値化部101と、バーコード付き伝票の二値画像を文字認識する文字認識部102と、バーコード付き伝票のカラーまたはグレースケール画像をバーコード認識するバーコード認識部103と、文字認識結果とバーコード認識結果を合成する認識結果合成部104から構成される。これらの各機能部は、画像処理装置内のCPU(図示せず)により実行されるプログラムにより実現され、ソフトウェアによる機能ブロックである。   The image processing apparatus according to the first embodiment includes an image binarization unit 101 that binarizes a color or grayscale image of a barcoded slip, and a character recognition unit 102 that recognizes characters of the binary image of a barcoded slip. And a barcode recognition unit 103 that recognizes a color or grayscale image of a slip with a barcode, and a recognition result synthesis unit 104 that synthesizes a character recognition result and a barcode recognition result. Each of these functional units is realized by a program executed by a CPU (not shown) in the image processing apparatus, and is a functional block by software.

また、画像処理装置には、スキャナ300から入力されるデータや、画像二値化部101、文字認識部102、バーコード認識部103、および、認識結果合成部104の各機能部による処理結果のデータなどを保存するメモリやハードディスクなどの記憶装置150(150a〜150d)も備えられている。   In addition, the image processing apparatus includes data input from the scanner 300 and processing results obtained by the functional units of the image binarization unit 101, the character recognition unit 102, the barcode recognition unit 103, and the recognition result synthesis unit 104. A storage device 150 (150a to 150d) such as a memory or a hard disk for storing data is also provided.

次に、本実施の形態1の画像処理装置の動作を、図1を用いて説明する。   Next, the operation of the image processing apparatus according to the first embodiment will be described with reference to FIG.

始めに、バーコード付き伝票をスキャナ300から入力し、カラーまたはグレースケール画像を記憶装置150a上に作成する。この時、入力方法はスキャナ300でなく、画像ファイルからの入力でも良い。   First, a slip with a barcode is input from the scanner 300, and a color or gray scale image is created on the storage device 150a. At this time, the input method may be input from an image file instead of the scanner 300.

続いて、バーコード付き伝票のカラーまたはグレースケール画像を画像二値化部101により二値化を行う。このとき、バーコード付き伝票の二値画像と、カラーまたはグレースケール画像は記憶装置150b,150cに別々に格納する。なお、画像二値化部101による画像の二値化に関し、その処理方法はどのような方法でも良い。   Subsequently, the image binarization unit 101 binarizes the color or grayscale image of the slip with barcode. At this time, the binary image of the slip with barcode and the color or grayscale image are stored separately in the storage devices 150b and 150c. In addition, regarding the binarization of the image by the image binarization unit 101, any processing method may be used.

そして、バーコード付き伝票の白黒二値画像に対し、文字認識部102により文字認識を行う。   Then, the character recognition unit 102 performs character recognition on the black and white binary image of the barcode attached slip.

一方、バーコード認識部103にて、バーコード付き伝票のカラーまたはグレースケール画像に対し、バーコードの認識を行う。二値画像に対して情報量の多い、カラーまたはグレースケール画像を使用することにより、バーコードの認識率の向上が見込まれる。なお、バーコード認識部103のバーコード認識の処理方式に関しては、どのような方法を使用しても良い。   On the other hand, the barcode recognition unit 103 recognizes the barcode on the color or gray scale image of the slip with barcode. By using a color or grayscale image having a large amount of information for the binary image, an improvement in the barcode recognition rate is expected. Note that any method may be used for the barcode recognition processing method of the barcode recognition unit 103.

最後に、文字認識部102で得られた文字認識結果と、バーコード認識部103で得られたバーコード認識結果を、認識結果合成部104にて認識結果を合成して記憶装置150dに格納し、この認識結果を出力する。認識結果はテキスト形式でも良いし、認識結果以外に位置情報などを保持したXML形式などでも良い。   Finally, the character recognition result obtained by the character recognition unit 102 and the barcode recognition result obtained by the barcode recognition unit 103 are combined with the recognition result by the recognition result synthesis unit 104 and stored in the storage device 150d. This recognition result is output. The recognition result may be in a text format, or may be in an XML format that holds position information in addition to the recognition result.

ここで、バーコード認識をカラーまたはグレースケール画像に対して行うことによる効果を、図2を用いて説明する。図2は、グレースケール画像および白黒二値画像にてバーコードを入力した例を示し、(a)はグレースケール画像による入力例、(b)は白黒二値画像による入力例である。   Here, the effect of performing barcode recognition on a color or gray scale image will be described with reference to FIG. FIG. 2 shows an example in which a barcode is input as a grayscale image and a black and white binary image. (A) is an input example using a grayscale image, and (b) is an input example using a black and white binary image.

図2において、(a)のグレースケール画像と(b)の白黒二値画像とを比較すると、(a)に比べて(b)の方が、幅が均等ではなく、ギザギザになっていることが分かる。このため、白黒二値画像で入力された場合は、グレースケール画像で入力された場合に比べてバーコードの認識率が低下する。よって、本実施の形態1においては、カラーまたはグレースケール画像で入力される場合を適用して、バーコードの認識率を向上させている。   In FIG. 2, when comparing the grayscale image of (a) and the black and white binary image of (b), the width of (b) is not uniform and jagged compared to (a). I understand. For this reason, when a monochrome binary image is input, the barcode recognition rate is lower than when a grayscale image is input. Therefore, in the first embodiment, the barcode recognition rate is improved by applying a case where a color or grayscale image is input.

以上説明したように、本実施の形態1の画像処理装置によれば、画像二値化部101、文字認識部102、バーコード認識部103、認識結果合成部104などから構成され、白黒二値画像で文字認識を実行し、さらにバーコードをカラーまたはグレースケール画像で認識することで、文字認識の処理時間を増大させることなく、バーコード付き伝票の印字方法などが原因で、バーコードに滲みがあるような場合に、バーコードの認識率の向上を見込むことができる。この結果、バーコードの認識率が向上することで、誤りを修正する校正を行う時間が短縮できる。   As described above, according to the image processing apparatus of the first embodiment, the image binarizing unit 101, the character recognizing unit 102, the barcode recognizing unit 103, the recognition result synthesizing unit 104, and the like are configured. Character recognition is performed on images, and barcodes are recognized on color or grayscale images, so that the barcodes are blurred due to the printing method of slips with barcodes without increasing the character recognition processing time. In such a case, an improvement in the barcode recognition rate can be expected. As a result, since the barcode recognition rate is improved, the time for performing calibration for correcting errors can be shortened.

(実施の形態2)
本発明の実施の形態2の画像処理装置を、図3〜図5を用いて説明する。図3は、本実施の形態2の画像処理装置の構成および動作を説明するための図である。図4は、位置算出部の処理手順を説明するための図である。図5は、認識情報定義ファイルの例を説明するための図である。
(Embodiment 2)
An image processing apparatus according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 3 is a diagram for explaining the configuration and operation of the image processing apparatus according to the second embodiment. FIG. 4 is a diagram for explaining the processing procedure of the position calculation unit. FIG. 5 is a diagram for explaining an example of the recognition information definition file.

まず、本実施の形態2の画像処理装置の構成を、図3を用いて説明する。   First, the configuration of the image processing apparatus according to the second embodiment will be described with reference to FIG.

本実施の形態2の画像処理装置は、前記実施の形態1に対して、文字を認識する位置とバーコードの認識する位置を算出する位置算出部105が追加されている点が異なる。すなわち、本実施の形態2の画像処理装置は、画像二値化部101、文字認識部102、バーコード認識部103、および、認識結果合成部104に加えて、バーコード付き伝票の二値画像と、文字の認識位置およびバーコードの認識位置などを定義した認識情報定義ファイル(記憶装置150eに格納)を入力し、文字を認識する位置とバーコードの認識する位置を算出する位置算出部105を含んで構成される。この位置算出部105も、ソフトウェアによる機能ブロックである。   The image processing apparatus according to the second embodiment is different from the first embodiment in that a position calculating unit 105 that calculates a character recognition position and a barcode recognition position is added. In other words, the image processing apparatus according to the second embodiment includes a binary image of a slip with a barcode in addition to the image binarization unit 101, the character recognition unit 102, the barcode recognition unit 103, and the recognition result synthesis unit 104. Then, a recognition information definition file (stored in the storage device 150e) that defines character recognition positions, barcode recognition positions, and the like is input, and a position calculation unit 105 that calculates a character recognition position and a barcode recognition position. It is comprised including. This position calculation unit 105 is also a functional block by software.

次に、本実施の形態2の画像処理装置の動作を、図3を用いて説明する。   Next, the operation of the image processing apparatus according to the second embodiment will be described with reference to FIG.

始めに、バーコード付き伝票をスキャナ300から入力し、カラーまたはグレースケール画像を記憶装置150a上に作成する。この時、入力方法はスキャナ300でなく、画像ファイルからの入力でも良い。   First, a slip with a barcode is input from the scanner 300, and a color or gray scale image is created on the storage device 150a. At this time, the input method may be input from an image file instead of the scanner 300.

続いて、バーコード付き伝票のカラーまたはグレースケール画像を画像二値化部101により二値化を行う。このとき、バーコード付き伝票の二値画像と、カラーまたはグレースケール画像は記憶装置150b,150cに別々に格納する。なお、画像二値化部101による画像の二値化に関し、その処理方法はどのような方法でも良い。   Subsequently, the image binarization unit 101 binarizes the color or grayscale image of the slip with barcode. At this time, the binary image of the slip with barcode and the color or grayscale image are stored separately in the storage devices 150b and 150c. In addition, regarding the binarization of the image by the image binarization unit 101, any processing method may be used.

さらに、バーコード付き伝票の二値画像と、文字の認識位置およびバーコードの認識位置などを定義した認識情報定義ファイルを記憶装置150eから入力し、位置算出部105によって、文字を認識する位置とバーコードの認識する位置を算出する。認識情報定義ファイルに格納する文字およびバーコードの認識位置情報は、バーコード付き伝票の二値画像の左上などを原点とした絶対的な位置情報でも良いが、この位置情報の表現方法はどのような方法でもかまわない。位置を算出する方法は、二値画像の左上などを原点とした絶対的な位置情報でも良いが、算出方法はどのような方法でもかまわない。   Further, a binary image of a slip with a barcode and a recognition information definition file that defines a character recognition position, a barcode recognition position, and the like are input from the storage device 150e. The position recognized by the barcode is calculated. The recognition position information of characters and barcodes stored in the recognition information definition file may be absolute position information with the origin at the top left of the binary image of the barcoded slip, etc., but how is this position information expressed? It doesn't matter if you use any method. The method for calculating the position may be absolute position information with the origin at the upper left of the binary image, but any calculation method may be used.

この認識情報定義ファイルの例を、図5を用いて説明する。認識情報定義ファイルには、文字やバーコードといった認識対象、認識を実施する矩形領域の位置、矩形領域の上下左右の線種情報からなる認識情報および、位置のずれを検出するための情報を認識情報に追加した基準領域情報などを格納する。   An example of this recognition information definition file will be described with reference to FIG. The recognition information definition file recognizes recognition targets such as characters and barcodes, the position of the rectangular area to be recognized, the recognition information consisting of line type information on the top, bottom, left and right of the rectangular area, and information for detecting displacement The reference area information added to the information is stored.

ここで、位置算出部105の処理手順を、図4を用いて説明する。この位置算出部105は、認識情報定義ファイル入力部201と、基準領域検出部202と、認識情報移動部203から構成される。   Here, the processing procedure of the position calculation unit 105 will be described with reference to FIG. The position calculation unit 105 includes a recognition information definition file input unit 201, a reference area detection unit 202, and a recognition information movement unit 203.

認識情報定義ファイル入力部201にて、図5で示した認識情報定義ファイルから認識情報を入力し、バーコード付き伝票の二値画像に重ね合わせる。   The recognition information definition file input unit 201 inputs the recognition information from the recognition information definition file shown in FIG. 5 and superimposes it on the binary image of the barcoded slip.

基準領域検出部202にて、認識情報定義ファイル内の基準領域に関する情報を使用して、バーコード付き伝票の二値画像内の基準領域を検出する。   The reference area detection unit 202 detects the reference area in the binary image of the barcoded slip using information on the reference area in the recognition information definition file.

認識情報移動部203にて、認識情報定義ファイルの認識情報の位置情報に、認識情報定義ファイル内の基準領域の位置情報とバーコード付き伝票の二値画像内の基準領域の検出結果の位置情報の差分を加算し、バーコード付き伝票の二値画像用の認識情報を算出する。   In the recognition information moving unit 203, the position information of the recognition information in the recognition information definition file includes the position information of the reference area in the recognition information definition file and the position information of the detection result of the reference area in the binary image of the slip with barcode. Are added to calculate the recognition information for the binary image of the barcoded slip.

この基準領域は複数個設定しても良い。複数個の基準領域を設定した場合には、各々の位置情報のずれ量を勘案し、認識領域の拡大や縮小を行うこともできる。   A plurality of reference areas may be set. When a plurality of reference areas are set, the recognition area can be enlarged or reduced in consideration of the shift amount of each position information.

なお、処理時間を短縮する必要がない場合や、認識情報定義ファイルがない場合、バーコードの認識位置をバーコード付き伝票の二値画像の全体としても良い。   If it is not necessary to shorten the processing time or there is no recognition information definition file, the barcode recognition position may be the entire binary image of the barcoded slip.

以上のようにして、位置算出部105の処理が実行される。   As described above, the processing of the position calculation unit 105 is executed.

図3に戻り、文字認識部102にて、位置算出部105の算出結果に基づいて、バーコード付き伝票の二値画像に対して、文字認識を行う。認識情報定義ファイルがない場合や、認識する文字がない場合は文字認識を実施しなくても良い。   Returning to FIG. 3, the character recognition unit 102 performs character recognition on the binary image of the barcoded slip based on the calculation result of the position calculation unit 105. If there is no recognition information definition file or there is no character to be recognized, character recognition need not be performed.

一方、バーコード認識部103にて、位置算出部105の算出結果に基づいて、バーコード付き伝票のカラーまたはグレースケール画像に対し、位置算出部105で得られたバーコードの認識位置を使用して、バーコードの認識を行う。二値画像に対して情報量の多い、カラーまたはグレースケール画像を使用することにより、バーコードの認識率の向上が見込まれる。なお、バーコード認識部103のバーコード認識の処理方式に関しては、どのような方法を使用しても良い。   On the other hand, the barcode recognition unit 103 uses the barcode recognition position obtained by the position calculation unit 105 for the color or gray scale image of the slip with barcode based on the calculation result of the position calculation unit 105. To recognize the barcode. By using a color or grayscale image having a large amount of information for the binary image, an improvement in the barcode recognition rate is expected. Note that any method may be used for the barcode recognition processing method of the barcode recognition unit 103.

最後に、文字認識部102で得られた文字認識結果と、バーコード認識部103で得られたバーコード認識結果を、認識結果合成部104にて認識結果を合成して記憶装置150dに格納し、認識結果を出力する。認識結果はテキスト形式でも良いし、認識結果以外に位置情報などを保持したXML形式などでも良い。   Finally, the character recognition result obtained by the character recognition unit 102 and the barcode recognition result obtained by the barcode recognition unit 103 are combined with the recognition result by the recognition result synthesis unit 104 and stored in the storage device 150d. , Output the recognition result. The recognition result may be in a text format, or may be in an XML format that holds position information in addition to the recognition result.

以上説明したように、本実施の形態2の画像処理装置によれば、前記実施の形態1と同様に、文字認識の処理時間を増大させることなく、バーコードの認識率の向上を見込むことができ、この結果、誤りを修正する校正を行う時間が短縮できる。さらに、本実施の形態2によれば、位置算出部105が追加され、位置算出部105で得られたバーコードの認識位置を使用してバーコード認識を行うことで、より一層、バーコードの認識率を向上させることが可能となる。   As described above, according to the image processing apparatus of the second embodiment, as in the first embodiment, an improvement in the barcode recognition rate can be expected without increasing the character recognition processing time. As a result, the time for performing calibration to correct errors can be shortened. Furthermore, according to the second embodiment, the position calculation unit 105 is added, and the barcode recognition is performed using the barcode recognition position obtained by the position calculation unit 105, thereby further improving the barcode. The recognition rate can be improved.

(実施の形態3)
本発明の実施の形態3の画像処理装置を、図6を用いて説明する。図6は、本実施の形態3の画像処理装置の構成および動作を説明するための図である。
(Embodiment 3)
An image processing apparatus according to Embodiment 3 of the present invention will be described with reference to FIG. FIG. 6 is a diagram for explaining the configuration and operation of the image processing apparatus according to the third embodiment.

本実施の形態3の画像処理装置は、前記実施の形態2に対して、画像二値化部101を省略している点が異なる。すなわち、本実施の形態3の画像処理装置は、文字認識部102、バーコード認識部103、認識結果合成部104、および、位置算出部105から構成される。   The image processing apparatus according to the third embodiment is different from the second embodiment in that the image binarization unit 101 is omitted. That is, the image processing apparatus according to the third embodiment includes a character recognition unit 102, a barcode recognition unit 103, a recognition result synthesis unit 104, and a position calculation unit 105.

そして、本実施の形態3の画像処理装置の動作において、バーコード付き伝票をスキャナ300から入力し、カラーまたはグレースケール画像を記憶装置150a上に作成する。この時、スキャナ300に二値画像を同時に出力する機能がある場合、前記実施の形態2で示した画像二値化部101を省略できる。以降は、記憶装置150b,150cに別々に格納されたバーコード付き伝票の二値画像と、カラーまたはグレースケール画像に基づいて、前記実施の形態2で示した位置算出部105による処理以降を同様に実施する。   In the operation of the image processing apparatus according to the third embodiment, a barcoded slip is input from the scanner 300, and a color or grayscale image is created on the storage device 150a. At this time, if the scanner 300 has a function of outputting binary images at the same time, the image binarization unit 101 shown in the second embodiment can be omitted. Thereafter, the processing after the processing by the position calculation unit 105 shown in the second embodiment is similarly performed based on the binary image of the barcoded slip stored separately in the storage devices 150b and 150c and the color or gray scale image. To implement.

以上説明したように、本実施の形態3の画像処理装置によれば、前記実施の形態1と同様に、文字認識の処理時間を増大させることなく、バーコードの認識率の向上を見込むことができ、この結果、誤りを修正する校正を行う時間が短縮できる。さらに、本実施の形態3によれば、画像二値化部101を省略することができるので、より一層、処理時間を短縮することが可能となる。   As described above, according to the image processing apparatus of the third embodiment, as in the first embodiment, an improvement in the barcode recognition rate can be expected without increasing the character recognition processing time. As a result, the time for performing calibration to correct errors can be shortened. Furthermore, according to the third embodiment, since the image binarization unit 101 can be omitted, the processing time can be further shortened.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

例えば、前記各実施の形態においては、認識の対象となるバーコード付き帳票として、バーコード付き伝票を例に説明したが、本発明はこれに限定されるものではなく、バーコード付き帳簿などの他の帳票や、バーコード付き印刷物全般に広く適用可能である。   For example, in each of the embodiments described above, a barcoded slip has been described as an example of a barcoded document to be recognized. However, the present invention is not limited to this, and a barcoded book, etc. It is widely applicable to other forms and printed materials with barcodes.

本発明は、画像処理装置に関し、特にバーコード付き伝票やバーコード付き帳簿などの帳票の文字認識技術に好適であり、さらに、バーコード付き印刷物全般に広く適用可能である。また、入力したカラーまたはグレースケール画像を画像ファイルとして出力し、バーコードや文字情報などの認識結果と関連付けてデータベース等に保存することで、画像ファイリングを可能とする画像処理技術全般に利用可能である。   The present invention relates to an image processing apparatus, and is particularly suitable for character recognition technology for forms such as slips with barcodes and books with barcodes, and is widely applicable to all printed matter with barcodes. In addition, the input color or grayscale image is output as an image file and saved in a database or the like in association with recognition results such as barcodes and character information, so that it can be used for all image processing technologies that enable image filing. is there.

101…画像二値化部、102…文字認識部、103…バーコード認識部、104…認識結果合成部、105…位置算出部、
150…記憶装置、
201…認識情報定義ファイル入力部、202…基準領域検出部、203…認識情報移動部、
300…スキャナ。
DESCRIPTION OF SYMBOLS 101 ... Image binarization part, 102 ... Character recognition part, 103 ... Bar code recognition part, 104 ... Recognition result synthetic | combination part, 105 ... Position calculation part,
150 ... storage device,
201 ... Recognition information definition file input unit, 202 ... Reference region detection unit, 203 ... Recognition information moving unit,
300: Scanner.

Claims (4)

バーコード付き帳票のカラーまたはグレースケール画像を二値化する画像二値化部と、
前記バーコード付き帳票の二値画像を文字認識する文字認識部と、
前記バーコード付き帳票のカラーまたはグレースケール画像をバーコード認識するバーコード認識部と、
前記文字認識部の文字認識結果と前記バーコード認識部のバーコード認識結果とを合成する認識結果合成部とを有することを特徴とする画像処理装置。
An image binarization unit for binarizing a color or grayscale image of a form with a barcode;
A character recognizing unit for recognizing a binary image of the barcoded form;
A barcode recognition unit that recognizes the barcode or color or grayscale image of the form with the barcode;
An image processing apparatus comprising: a recognition result combining unit that combines a character recognition result of the character recognition unit and a barcode recognition result of the barcode recognition unit.
請求項1記載の画像処理装置において、
前記バーコード付き帳票の二値画像と、文字の認識位置およびバーコードの認識位置を定義した認識情報定義ファイルと、
前記認識情報定義ファイルを入力し、文字を認識する位置とバーコードの認識する位置を算出する位置算出部とをさらに有し、
前記文字認識部は、前記位置算出部の算出結果に基づいて文字認識し、
前記バーコード認識部は、前記位置算出部の算出結果に基づいてバーコード認識することを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
A binary image of the form with a barcode, a recognition information definition file defining a character recognition position and a barcode recognition position;
The recognition information definition file is input, and further includes a position for recognizing characters and a position calculation unit for calculating a position for recognizing a barcode.
The character recognition unit recognizes a character based on the calculation result of the position calculation unit,
The bar code recognition unit recognizes a bar code based on a calculation result of the position calculation unit.
請求項2記載の画像処理装置において、
前記位置算出部は、
前記認識情報定義ファイルから認識情報を入力し、前記バーコード付き帳票の二値画像に重ね合わせる認識情報定義ファイル入力部と、
前記認識情報定義ファイル内の基準領域に関する情報を使用して、前記バーコード付き帳票の二値画像内の基準領域を検出する基準領域検出部と、
前記認識情報定義ファイルの認識情報の位置情報に、前記認識情報定義ファイル内の基準領域の位置情報と前記バーコード付き帳票の二値画像内の基準領域の検出結果の位置情報の差分を加算し、前記バーコード付き帳票の二値画像用の認識情報を算出する認識情報移動部とを有することを特徴とする画像処理装置。
The image processing apparatus according to claim 2.
The position calculation unit
A recognition information definition file input unit that inputs recognition information from the recognition information definition file and superimposes it on a binary image of the barcoded form,
A reference area detection unit that detects a reference area in a binary image of the barcode-added form using information on the reference area in the recognition information definition file;
The position information of the recognition information in the recognition information definition file is added with the difference between the position information of the reference area in the recognition information definition file and the position information of the detection result of the reference area in the binary image of the barcoded form. An image processing apparatus comprising: a recognition information moving unit that calculates recognition information for a binary image of the form with a barcode.
バーコード付き帳票の二値画像と、文字の認識位置およびバーコードの認識位置を定義した認識情報定義ファイルと、
前記認識情報定義ファイルを入力し、文字を認識する位置とバーコードの認識する位置を算出する位置算出部と、
前記位置算出部の算出結果に基づいて、前記バーコード付き帳票の二値画像を文字認識する文字認識部と、
前記位置算出部の算出結果に基づいて、前記バーコード付き帳票のカラーまたはグレースケール画像をバーコード認識するバーコード認識部と、
前記文字認識部の文字認識結果と前記バーコード認識部のバーコード認識結果とを合成する認識結果合成部とを有することを特徴とする画像処理装置。
A binary image of a form with a barcode, a recognition information definition file that defines character recognition positions and barcode recognition positions,
A position calculator that inputs the recognition information definition file and calculates a position for recognizing characters and a position for recognizing barcodes;
Based on the calculation result of the position calculation unit, a character recognition unit for recognizing the binary image of the form with barcode,
Based on the calculation result of the position calculation unit, a barcode recognition unit that recognizes the barcode or color or grayscale image of the barcoded form,
An image processing apparatus comprising: a recognition result combining unit that combines a character recognition result of the character recognition unit and a barcode recognition result of the barcode recognition unit.
JP2009027013A 2009-02-09 2009-02-09 Image processing apparatus Withdrawn JP2010182219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009027013A JP2010182219A (en) 2009-02-09 2009-02-09 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009027013A JP2010182219A (en) 2009-02-09 2009-02-09 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2010182219A true JP2010182219A (en) 2010-08-19

Family

ID=42763765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009027013A Withdrawn JP2010182219A (en) 2009-02-09 2009-02-09 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2010182219A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012023595A1 (en) 2010-08-17 2012-02-23 Yazaki Corporation Ground fault detection circuit for ungrounded power source
US10778872B2 (en) 2017-12-22 2020-09-15 Toshiba Tec Kabushiki Kaisha Image processing apparatus and method
CN111881769A (en) * 2020-07-03 2020-11-03 苏州开心盒子软件有限公司 Method and system for table labeling

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012023595A1 (en) 2010-08-17 2012-02-23 Yazaki Corporation Ground fault detection circuit for ungrounded power source
US10778872B2 (en) 2017-12-22 2020-09-15 Toshiba Tec Kabushiki Kaisha Image processing apparatus and method
CN111881769A (en) * 2020-07-03 2020-11-03 苏州开心盒子软件有限公司 Method and system for table labeling

Similar Documents

Publication Publication Date Title
US11676238B2 (en) Detecting conflicts between multiple different signals within imagery
JP4911340B2 (en) Two-dimensional code detection system and two-dimensional code detection program
US20220392244A1 (en) Decoding 1d-barcodes in digital capture systems
US10506128B1 (en) Encoded signal systems and methods to ensure minimal robustness
US8430301B2 (en) Document authentication using hierarchical barcode stamps to detect alterations of barcode
JP5262869B2 (en) Image processing system, image processing server, MFP, and image processing method
TWI606406B (en) Methods, apparatus, and tangible computer readable storage media to extract text from imaged documents
US20150030201A1 (en) Feature-based watermark localization in digital capture systems
US11336795B2 (en) Encoded signal systems and methods to ensure minimal robustness
JP2010016816A (en) Method of self-authenticating document while preserving critical content in authentication data
JP2014225932A (en) Method of detecting document alteration by comparing characters using shape features of characters
JP2010182219A (en) Image processing apparatus
US10936837B1 (en) 2D barcode overlays
CN107609450B (en) Bar code identification method
JP5291387B2 (en) Number recognition apparatus and number recognition method
KR102393764B1 (en) Method and device for identification barcode image
CN112949514A (en) Scanned document information processing method and device, electronic equipment and storage medium
JP5003379B2 (en) Image processing apparatus and program
Patil et al. QR code approach for examination process
JP5871116B2 (en) Image processing apparatus, method, and program
JP2007213358A (en) Two-dimensional code detection system and two-dimensional code detection program
CN111681161B (en) Restoration method and device for folded two-dimensional code image and computer readable storage medium
JP5092732B2 (en) Code recognition apparatus and program
JP2007279813A (en) Image processor and program
KR20230028126A (en) Method and device for identification barcode image

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120501