JPS6262391B2 - - Google Patents
Info
- Publication number
- JPS6262391B2 JPS6262391B2 JP56028813A JP2881381A JPS6262391B2 JP S6262391 B2 JPS6262391 B2 JP S6262391B2 JP 56028813 A JP56028813 A JP 56028813A JP 2881381 A JP2881381 A JP 2881381A JP S6262391 B2 JPS6262391 B2 JP S6262391B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- character string
- pixels
- image
- document
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/146—Aligning or centring of the image pick-up or image-field
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Character Input (AREA)
- Character Discrimination (AREA)
Description
【発明の詳細な説明】
本発明は任意の帳票、本等の文書中の文字を自
動的に読み取る装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a device that automatically reads characters in documents such as arbitrary forms and books.
従来のこの種装置は読み取ることが可能な文書
としてレフアレンスマークを予め印刷しておいた
もの、あるいは指定枠を印刷しておきその中に正
しく文字が書かれたものなど、その書式、形式が
限定されており、任意の帳票、本等の文書につい
ては文字読取がまつたく不可能であるという欠点
があつた。 Conventional devices of this kind have a readable document with a reference mark printed in advance, or a specified frame with characters written correctly in it, etc. However, there was a drawback that it was impossible to read characters from arbitrary documents such as forms and books.
本発明は上記従来の欠点を除去するため、帳
票、本等の文書を白画素、黒画素の2値画像とし
て取込み、その全画面を走査し、白画素を検出し
た際にはその周囲の画素に含まれる黒画素数を調
べその数に応じて黒画素に変更する処理を行つて
文字列をパターン化したボカシ画像となし、該ボ
カシ画像を走査して文字列の位置、長さ等を認識
し、この認識結果にしたがつて個々の文字を読取
るようにしたもので、その目的とするところは任
意の文書から正確にかつ短時間で文字を自動的に
読取る装置を提供することにある。以下、図面に
ついて本発明を詳細に説明する。 In order to eliminate the above-mentioned conventional drawbacks, the present invention captures a document such as a form or book as a binary image of white pixels and black pixels, scans the entire screen, and when a white pixel is detected, surrounding pixels are scanned. The number of black pixels contained in the image is determined, and processing is performed to change the pixels to black pixels according to the number, creating a patterned blurred image of the character string.The blurred image is scanned to recognize the position, length, etc. of the character string. However, each character is read according to the recognition result, and its purpose is to provide a device that can automatically read characters from any document accurately and in a short time. The invention will now be explained in detail with reference to the drawings.
第1図は本発明の文字自動読取装置の一実施例
を示す概略構成図で、図中1は文書、2は撮像
部、3はボカシ画像作成部、4は文字列認識部、
9は読取ヘツド駆動部5、読取ヘツド6、文字切
出部7、文字認識部8より構成される文字読取り
手段であり、この装置の動作概要は次のとおりで
ある。すなわちボカシ画像作成部3からTVカメ
ラを備えた撮像部2へ画像取込みの指令が出され
ると、撮像部2は文書1の書面にTVカメラの焦
点を合わせた状態で該文書1を白画素・黒画素の
2値画像として撮影し、該画像はボカシ画像作成
部3にて全画面が走査され白画素が検出された場
合にはその周囲の画素に含まれる黒画素数が調べ
られその数に応じて黒画素に変更する処理がなさ
れ文字列をパターン化したボカシ画像とし、文字
列認識部4にて文字列の位置、長さ等が認識さ
れ、この認識結果に基づく読取ヘツド駆動部5の
動作によつて読取ヘツド6が文書1の文字列に沿
つて走査し1列毎の文字情報が取り出され、該文
字情報は文字切出部7で1文字ずつ切り出され文
字認識部8で文字認識されコード化される如くな
つている。 FIG. 1 is a schematic configuration diagram showing an embodiment of an automatic character reading device of the present invention, in which 1 is a document, 2 is an imaging section, 3 is a blurred image creation section, 4 is a character string recognition section,
Reference numeral 9 denotes a character reading means consisting of a reading head drive section 5, a reading head 6, a character cutting section 7, and a character recognition section 8. The operation of this device is summarized as follows. That is, when a command to capture an image is issued from the blurred image creation section 3 to the imaging section 2 equipped with a TV camera, the imaging section 2 focuses the document 1 on the document 1 with white pixels. The image is captured as a binary image of black pixels, and the entire screen of the image is scanned by the blur image creation unit 3. When a white pixel is detected, the number of black pixels included in the surrounding pixels is checked and the number is calculated. Accordingly, the character string is changed to black pixels to form a patterned blurred image, and the character string recognition unit 4 recognizes the position, length, etc. of the character string, and the reading head drive unit 5 operates based on this recognition result. As a result of the operation, the reading head 6 scans along the character strings of the document 1 and character information for each row is extracted.The character information is cut out character by character in the character cutting section 7 and character recognized in the character recognition section 8. It is becoming like being encoded as a code.
次に上記ボカシ画像作成の原理を第2図を用い
て説明する。第2図は焦点位置の制御による画像
及びその濃度の変化のようすを示したもので、撮
像部2のTVカメラの焦点が文書1の書面に合つ
た状態で取込んだ文字の一部分の濃度分布21は
焦点を書面よりずらしてボカシ画像にすると濃度
分布22のように変化する。ここで白・黒の2値
画像に変換する濃度を閾値23に設定すると、濃
度分布22に対応するボカシ画像のパターン25
は原文字のパターン24より広くなる。ところ
で、x−y面上の点光源の焦点のずれによる像は
結像面ξ−η上の半径pの明るさ一様の錯乱円と
なる。すなわち広がり関数h(ξ,η)は
(ただしaは定数)
となる。強度分布をそれぞれg(x,y)、
g′(ξ,η)とすると、
g′(ξ,η)=〓∞ −∞g(x,y)
h(ξ−x,η−y)dxdy …(2)
が成り立つ。式(1),(2)より点(ξ,η)の濃度を
計算するためには点(ξ,η)を中心とする半径
pの円内の点についてのみ式(2)の被積分関数を計
算すればよい。この性質を利用して錯乱円に対応
した画素範囲を考えボカシ処理を行なう。第3図
aにp=1画素、第3図bにp=2画素の錯乱円
に対応した画素範囲の例を示す。第3図aまたは
bにおいて中心の画素Aが黒の時まそのままと
し、白の時は画素Aの周囲の画素B1〜B8(また
はB1〜B20)中の黒画素数を調べる。ここで前記閾
値23に対応する黒画素数の閾値Nをpの値に従
つて設定し、画素B1〜B8(またはB1〜B20)中の
黒画素数がN以上なら画素Aを黒に変更する。こ
のボカシ処理を2値画像の全画面にわたつて行な
うことによりボカシ画像を作成する。 Next, the principle of creating the blurred image will be explained using FIG. 2. Figure 2 shows an image and how its density changes due to focus position control, and shows the density distribution of a portion of a character captured when the TV camera of the imaging unit 2 is focused on the document 1. 21 changes as shown in density distribution 22 when the focus is shifted from the document to create a blurred image. Here, if the density for converting into a white/black binary image is set to the threshold value 23, the pattern 25 of the blurred image corresponding to the density distribution 22
is wider than the original character pattern 24. Incidentally, an image due to a shift in focus of a point light source on the x-y plane becomes a circle of confusion with uniform brightness and a radius p on the imaging plane ξ-η. In other words, the spread function h(ξ, η) is (However, a is a constant). Let the intensity distribution be g(x, y),
If g′(ξ, η), g′(ξ, η)=〓 ∞ −∞ g(x, y) h(ξ−x, η−y) dxdy …(2) holds. In order to calculate the concentration of point (ξ, η) from equations (1) and (2), we need to calculate the integrand of equation (2) only for points within a circle with radius p centered at point (ξ, η). All you have to do is calculate. Utilizing this property, a pixel range corresponding to the circle of confusion is considered and blurring processing is performed. An example of a pixel range corresponding to a circle of confusion is shown in FIG. 3a for p=1 pixel and in FIG. 3b for p=2 pixels. In FIG. 3a or b, when the central pixel A is black, it is left as is, and when it is white, the number of black pixels in pixels B 1 to B 8 (or B 1 to B 20 ) surrounding pixel A is checked. Here, a threshold N for the number of black pixels corresponding to the threshold 23 is set according to the value of p, and if the number of black pixels in pixels B 1 to B 8 (or B 1 to B 20 ) is N or more, pixel A is Change to black. A blurred image is created by performing this blurring process over the entire screen of the binary image.
第4図はボカシ画像作成部3の構成図で、図中
30は撮像部2より送られる文書1の画像を白画
素を“0”、黒画素を“1”に対応させて格納す
る画像メモリ、31は画像メモリ30を走査する
アドレス・レジスタ、32は画素範囲の指示情
報、33は指示情報32に従つて画像メモリ30
内の画素を読出すアドレス・レジスタ、34は画
像メモリ30から読出された画素を“1”と比較
する比較器、35は比較器34で検出した黒画素
数を計数するカウンタ、36はカウンタ35の数
値と前記指示情報32によつて決定される閾値N
とを比較する比較器、37は“1”を格納したメ
モリ、38は“1”情報を一旦格納しておくバツ
フアメモリ、39は画素範囲内の画素の読出し終
了信号である。画素範囲の指示情報32は文書1
の文書サイズ、文字サイズ及び文字認識部の認識
結果のフイードバツク情報等よりpの値をいくら
にするかを決定するもので、人手を介してもしく
は図示しない制御回路より与えられるものであ
る。 FIG. 4 is a block diagram of the blurred image creation unit 3, and 30 in the figure is an image memory that stores the image of the document 1 sent from the imaging unit 2, with white pixels corresponding to “0” and black pixels corresponding to “1”. , 31 is an address register for scanning the image memory 30, 32 is instruction information of a pixel range, and 33 is an address register for scanning the image memory 30 according to the instruction information 32.
34 is a comparator that compares the pixel read from the image memory 30 with "1"; 35 is a counter that counts the number of black pixels detected by the comparator 34; 36 is a counter 35; threshold value N determined by the numerical value of and the instruction information 32
37 is a memory that stores "1", 38 is a buffer memory that temporarily stores "1" information, and 39 is a read end signal for pixels within the pixel range. The pixel range instruction information 32 is in document 1
The value of p is determined based on the document size, character size, feedback information of the recognition result of the character recognition unit, etc., and is given manually or by a control circuit (not shown).
画像メモリ30はアドレス・レジスタ31によ
り全画面の画素が走査される。“1”(黒画素)は
そのまま保存されるが、“0”(白画素)を検出す
るとアドレス・レジスタ31の走査は停止し、指
示情報32に従つて該“0”を中心画素とする画
素範囲の画素がアドレス・レジスタ33により読
出され、比較器34で順次“1”と比較される。
比較器34は読出される画素が“1”の都度、カ
ウンタ35を歩進し、該カウンタ35の内容は読
出し終了信号39が発せられた時点で比較器36
にて閾値Nと比較され閾値N以上であればメモリ
37を駆動して“1”をバツフアメモリ38に格
納し、閾値Nより小さければそのままアドレス・
レジスタ31を再起動させ次の走査を行なわせ
る。バツフアメモリ38内の情報は適宜、画像メ
モリ30の内容と論理和をとることにより画像メ
モリ30内に移される。このような処理が全画面
にわたつて施こされ画像メモリ30内の文書の文
字列がパターン化されボカシ画像に変換され、文
字列認識部4に送出される。 The image memory 30 is scanned by an address register 31 to scan the pixels of the entire screen. “1” (black pixel) is stored as is, but when “0” (white pixel) is detected, scanning of the address register 31 is stopped, and according to the instruction information 32, the pixel with “0” as the center pixel is The pixels in the range are read out by the address register 33 and compared with "1" in the comparator 34 one after another.
The comparator 34 increments a counter 35 each time the read pixel is "1", and the contents of the counter 35 are transferred to the comparator 36 when the read end signal 39 is issued.
is compared with the threshold value N, and if it is greater than or equal to the threshold value N, the memory 37 is driven and "1" is stored in the buffer memory 38, and if it is smaller than the threshold value N, the address is directly changed.
The register 31 is restarted to perform the next scan. Information in buffer memory 38 is transferred into image memory 30 by ORing with the contents of image memory 30, as appropriate. Such processing is performed over the entire screen, and the character strings of the document in the image memory 30 are patterned and converted into a blurred image, which is sent to the character string recognition section 4.
第5図は文字列認識部4の構成図で、図中41
はボカシ画像作成部3より送出されるボカシ画像
を格納する画像メモリ、42はボカシ画像より文
書中の「付表、図面」等を除いた文字領域のみを
取り出す文字領域切出回路、43は画像メモリ4
1内の画像の傾きを検出しTVカメラの回転等に
より補正する傾き補正回路、44は文字列のボカ
シパターンの幅の平均値m及びその標準偏差σを
算出するm,σ算出回路、45は文字列のボカシ
パターンの中点を平均した文字列線を抽出する文
字列線抽出回路、46は文字列のボカシパターン
の上下左右端を検出する文字列端検出回路であ
る。文字領域切出回路42及び傾き補正回路43
は読取対象が文字のみから構成される文書の場
合、及び文書ガイド等により文書の傾きが無い場
合においてはそれぞれ不要である。 FIG. 5 is a block diagram of the character string recognition unit 4.
4 is an image memory that stores the blurred image sent from the blurred image creation unit 3; 42 is a character area extraction circuit that extracts only the character area excluding "appendices, drawings", etc. from the blurred image; 43 is an image memory 4
1, a tilt correction circuit that detects the tilt of the image and corrects it by rotating the TV camera, etc., 44 is an m, σ calculation circuit that calculates the average value m of the width of the blur pattern of the character string and its standard deviation σ; A character string line extraction circuit extracts a character string line by averaging the midpoints of the blur pattern of a character string, and 46 is a character string end detection circuit that detects the upper, lower, left, and right ends of the blur pattern of a character string. Character area extraction circuit 42 and tilt correction circuit 43
is unnecessary when the object to be read is a document consisting only of characters, and when the document is not tilted due to a document guide or the like.
第6図は画像メモリ41に格納されたボカシ画
像の一例を示すもので、図中101は文字列のボ
カシパターン、102はボカシパターン101の
幅、103は幅102の中点、104はボカシパ
ターン101の切れ目、105はボカシパターン
101の改行部、106はボカシパターン101
のくびれ、107はボカシパターン101の端部
の凹凸、108は紙面の汚れ等がパターン化した
ノイズ、109,110,111,112はボカ
シパターン101の中点103の座標を平均して
求めた文字列線、113及び114は文字列に平
行なx座標及び垂直なy座標を表わす矢印、11
5はy座標方向の走査線である。 FIG. 6 shows an example of a blurred image stored in the image memory 41, in which 101 is a character string blurring pattern, 102 is the width of the blurring pattern 101, 103 is the midpoint of the width 102, and 104 is the blurring pattern. 101 is the break, 105 is the line break of the blur pattern 101, 106 is the blur pattern 101
107 is the unevenness of the edge of the blur pattern 101, 108 is noise patterned from dirt on the paper surface, etc., and 109, 110, 111, 112 are characters obtained by averaging the coordinates of the midpoint 103 of the blur pattern 101. Column lines 113 and 114 are arrows 11 representing x-coordinates parallel to the character strings and y-coordinates perpendicular to them.
5 is a scanning line in the y-coordinate direction.
次に文字列認識の動作について述べる。まず、
m,σ算出回路44で画面全体を走査線115の
方向に走査し、ボカシパターン101の幅102
の平均値m及びその標準偏差σを算出し文字列線
抽出回路45に送出する。次に文字列線抽出回路
45ではy方向を主走査とする走査を各ボカシパ
ターン毎に行ない第7図に示すフローチヤートに
従つてボカシパターンの中点の座標を求め、それ
を平均化して文字列線の座標を決定する。いま、
文字列線109の座標l(k−1)が既に求めら
れており、新たに文字列線110の座標l(k)
を求めようとする場合、走査開始の指令により文
字列線109のy座標を開始点としてy方向の走
査を行ない、最初に交叉したボカシパターンの中
点C(n)(nはx方向の走査番号を表わす。)及
び幅dを算出する。判断1では幅dとm,σ算出
回路44で求めた平均値m及び標準偏差σより端
部の凹凸107とノイズ108を除去する判断を
行ない、yesの場合はそのC(n),dを消去し
て更にy方向の走査を続行し、NOの場合は判断
2へ進む。判断2では前回の走査時に得た中点の
座標C(n−1)を利用して切れ目104を通過
したか否かの判断を行ない、yesの場合はそのC
(n),dを消去して次の走査を開始させ、NOの
場合は判断3へ進む。判断3は改行部105また
はくびれ106を通過したか否かの判断を行な
い、NOの場合はC(n)が求める文字列線11
0のボカシパターンに属すると判断してこれを記
憶し次の走査を開始させ、Yesの場合は判断4へ
進む。判断4は通過したのが改行部105、また
はくびれ106のどちらであるかを前回の文字列
線109のy座標l(k−1)を利用して判断
し、Yesの場合はくびれ106と判断してそのC
(n),dを消去し更にy方向の走査を続行し、
NOの場合は改行部105を通過したと判断しC
(n)が求める文字列線110に属する最初の中
点であると判定してそれ以前の中点の座標を消去
し次の走査に進ませる。y方向の走査が画面の右
端まで完了した時点で、文字列線110のボカシ
パターンに属すると判断された中点座標C(n)
を平均し文字列線110のy座標l(k)を算出
する。同様にして文字列線111以下の座標を求
めることができる。 Next, the operation of character string recognition will be described. first,
The m,σ calculation circuit 44 scans the entire screen in the direction of the scanning line 115, and calculates the width 102 of the blur pattern 101.
The average value m and its standard deviation σ are calculated and sent to the character string line extraction circuit 45. Next, the character string line extraction circuit 45 performs scanning with the y direction as the main scan for each blur pattern, determines the coordinates of the midpoint of the blur pattern according to the flowchart shown in FIG. Determine the coordinates of the column lines. now,
The coordinate l(k-1) of the character string line 109 has already been obtained, and the coordinate l(k) of the character string line 110 is newly calculated.
When trying to find the , the scan start command is used to scan in the y direction with the y coordinate of the character string line 109 as the starting point, and the middle point C(n) of the blur pattern that first intersects (n is the scan in the x direction). ) and the width d are calculated. In judgment 1, a judgment is made to remove the unevenness 107 and noise 108 at the edge based on the widths d and m, the average value m and standard deviation σ obtained by the σ calculation circuit 44, and if yes, the C(n) and d are After erasing, scanning in the y direction is continued, and if NO, proceed to judgment 2. In judgment 2, it is judged whether or not the cut 104 has been passed using the coordinates C(n-1) of the midpoint obtained during the previous scan, and if yes, the coordinates C(n-1) of the midpoint are used.
(n) and d are deleted to start the next scan, and if NO, proceed to decision 3. In judgment 3, it is judged whether or not the line feed part 105 or the constriction 106 has been passed, and if NO, the character string line 11 required by C(n) is
It is determined that it belongs to the blur pattern of 0, this is stored, and the next scan is started, and if Yes, proceed to determination 4. Judgment 4 uses the y-coordinate l(k-1) of the previous character string line 109 to determine whether it is the line break 105 or the constriction 106 that has passed, and if Yes, it is determined that it is the constriction 106. Then that C
(n), erase d and continue scanning in the y direction,
If NO, it is determined that the line feed section 105 has been passed and C
It is determined that (n) is the first midpoint belonging to the desired character string line 110, the coordinates of the previous midpoint are deleted, and the next scan is performed. When scanning in the y direction is completed to the right end of the screen, the midpoint coordinate C(n) is determined to belong to the blur pattern of the character string line 110.
is averaged to calculate the y-coordinate l(k) of the character string line 110. Similarly, the coordinates below the character string line 111 can be determined.
文字列端検出回路46は第8図に示すように前
記求めた文字列線、例えば110の座標l(k)
を基準としてその上下方向の走査116,117
を文字列線110の左端から右端まで行ないボカ
シパターンの上下方向の最大値を検出し上端11
8、下端119の座標を検出し、文字列線110
を中心とする所定幅、左右方向の走査120,1
21を行ないボカシパターンの左右方向の最大値
を検出して左端122、右端123の座標を検出
する。 As shown in FIG.
Scanning 116, 117 in the vertical direction based on
is performed from the left end to the right end of the character string line 110 to detect the maximum value in the vertical direction of the blur pattern, and the upper end 11
8. Detect the coordinates of the bottom edge 119 and select the character string line 110
Scanning 120,1 in the horizontal direction with a predetermined width centered on
21 is performed to detect the maximum value in the horizontal direction of the blur pattern, and the coordinates of the left end 122 and right end 123 are detected.
前記の如くして求められた文字列の位置、長
さ、幅の認識結果は読取ヘツド駆動部5に送出さ
れ、前述したように読取ヘツド6が駆動され、以
下、文書1の個々の文字認識がなされる。なお、
撮像部2、文字読取り手段9を構成する読取ヘツ
ド駆動部5、読取ヘツド6、文字切出部7、文字
認識部8については従来の文字読取装置等で用い
られていたものをそのまま使用できるので、特に
言及しない。また読取ヘツド駆動部5、読取ヘツ
ド6の代りに撮像部2のTVカメラを走査及びズ
ーミング可能としてこれを制御して文字列の個々
の文字の読取りを行なうようにしてもよい。 The recognition results of the position, length, and width of the character string obtained as described above are sent to the reading head drive unit 5, and the reading head 6 is driven as described above. will be done. In addition,
As for the image pickup section 2, the reading head drive section 5, the reading head 6, the character cutting section 7, and the character recognition section 8 that constitute the character reading means 9, those used in conventional character reading devices can be used as they are. , not specifically mentioned. Furthermore, instead of the reading head driving section 5 and the reading head 6, the TV camera of the imaging section 2 may be configured to be capable of scanning and zooming, and this may be controlled to read each character of the character string.
以上説明したように本発明によれば帳票、本等
の文書を白画素、黒画素の2値画像として取込む
撮像部と、前記2値画像の全画面を走査し白画素
を検出した際にはその周囲の画素に含まれる黒画
素数を調べその数に応じて該白画素を黒画素に変
更する処理を行なつて文字列をパターン化したボ
カシ画像に変換するボカシ画像作成部と、前記パ
ターン化したボカシ画像を走査し文字列の位置、
長さ等を認識する文字列認識部と、前記文字列の
位置、長さ等の認識結果にしたがつて文字列中の
個々の文字を読取る文字読取り手段とよりなるの
で、文書の画像をそのまま2値画像として取込
み、走査し、白画素についてその周囲の画素中の
黒画素数によつて黒画素に変換するだけで文字列
を原文字の高周波成分を除去したパターンとする
ボカシ画像になし得るため、その処理時間を短縮
することができ、あらゆる書式、形式の文字の文
字列を正しく認識でき正確な文字の読取りができ
る。また文書の撮像部や、個々の文字の読取り手
段として従来の文字読取装置等の部品をそのまま
使用し得るため装置のコスト低減をなし得る。更
に文書の2値画像中の黒画素はそのまま保存する
ので撮像部のカメラの焦点制御によるボカシ処理
を行なつた場合に起る低密度の文字の消失がな
く、また視野の変化がないためその補正回路も必
要とせず装置が簡略化される。また従来では任意
の書式、形式を有する文書の内容はキーボード等
により人手を介して各種処理装置へ入力されてい
たが、本装置によれば、そのまま読み取ることが
できるため、その入力処理に関する時間を大幅に
削減することができ、大量の既存文書よりデータ
ベースを作成する際の自動入力装置及びデータ通
信における端末の入出力装置として利用し得る等
の利点がある。 As explained above, according to the present invention, there is an imaging unit that captures a document such as a form or a book as a binary image of white pixels and black pixels, and an imaging unit that scans the entire screen of the binary image and detects white pixels. a blurring image creation unit that converts the character string into a patterned blurred image by checking the number of black pixels included in the surrounding pixels and converting the white pixel into a black pixel according to the number; Scan the patterned blurred image to determine the position of the character string,
It consists of a character string recognition unit that recognizes the length, etc., and a character reading means that reads each character in the character string according to the recognition results such as the position and length of the character string, so it can read the image of the document as it is. By simply importing a binary image, scanning it, and converting white pixels to black pixels based on the number of black pixels in the surrounding pixels, it is possible to create a blurred image of a character string with a pattern that removes the high frequency components of the original character. Therefore, the processing time can be shortened, character strings of all formats and formats can be correctly recognized, and characters can be read accurately. Furthermore, the cost of the device can be reduced because parts of a conventional character reading device can be used as they are as a document imaging unit and means for reading individual characters. Furthermore, since the black pixels in the binary image of the document are preserved as they are, there is no loss of low-density characters, which occurs when blurring is performed by controlling the focus of the camera in the imaging unit, and there is no change in the field of view. No correction circuit is required, simplifying the device. In addition, conventionally, the contents of documents with arbitrary formats and formats were manually input into various processing devices using keyboards, etc., but with this device, it is possible to read them as is, so the input processing time is reduced. It has the advantage that it can be used as an automatic input device when creating a database from a large amount of existing documents and as an input/output device for a terminal in data communication.
図面は本発明の実施例を示すもので、第1図は
本発明の文字自動読取装置の概略構成図、第2図
は焦点位置の制御による画像及びその濃度の変化
の説明図、第3図a,bはp=1画素、p=2画
素の錯乱円にそれぞれ対応した画素範囲の説明
図、第4図はボカシ画像作成部の構成図、第5図
は文字列認識部の構成図、第6図はボカシ画像の
一例を示す説明図、第7図は文字列線抽出回路の
フローチヤート、第8図はボカシパターンの上下
左右端の検出の説明図である。
1……文書、2……撮像部、3……ボカシ画像
作成部、4……文字列認識部、9……読取ヘツド
駆動部5、読取ヘツド6、文字切出部7、文字認
識部8よりなる文字読取り手段。
The drawings show embodiments of the present invention, and FIG. 1 is a schematic diagram of the automatic character reading device of the present invention, FIG. 2 is an explanatory diagram of an image and its density change by controlling the focal position, and FIG. a, b are explanatory diagrams of pixel ranges corresponding to circles of confusion of p=1 pixel and p=2 pixels, respectively, FIG. 4 is a block diagram of the blurred image creation section, FIG. 5 is a block diagram of the character string recognition section, FIG. 6 is an explanatory diagram showing an example of a blurred image, FIG. 7 is a flowchart of a character string line extraction circuit, and FIG. 8 is an explanatory diagram of detection of the top, bottom, left and right ends of a blur pattern. DESCRIPTION OF SYMBOLS 1...Document, 2...Imaging unit, 3...Blurred image creation unit, 4...Character string recognition unit, 9...Reading head drive unit 5, reading head 6, character cutting unit 7, character recognition unit 8 A means of reading characters.
Claims (1)
像として取込む撮像部と、前記2値画像の全画面
を走査し白画素を検出した際にはその周囲の画素
に含まれる黒画素数を調べその数に応じて該白画
素を黒画素に変更する処理を行なつて文字列をパ
ターン化したボカシ画像に変換するボカシ画像作
成部と、前記パターン化したボカシ画像を走査し
文字列の位置、長さ等を認識する文字列認識部
と、前記文字列の位置、長さ等の認識結果にした
がつて文字列中の個々の文字を読取る文字読取り
手段とよりなることを特徴とする文字自動読取装
置。1. An imaging unit that captures documents such as forms and books as a binary image of white pixels and black pixels; A blur image creation unit that converts a character string into a patterned blur image by checking the number of pixels and changing the white pixels to black pixels according to the number; It is characterized by comprising a character string recognition unit that recognizes the position, length, etc. of a string, and a character reading means that reads each character in the character string according to the recognition results such as the position, length, etc. of the character string. Automatic character reading device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56028813A JPS57143679A (en) | 1981-02-28 | 1981-02-28 | Automatic character reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56028813A JPS57143679A (en) | 1981-02-28 | 1981-02-28 | Automatic character reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57143679A JPS57143679A (en) | 1982-09-04 |
| JPS6262391B2 true JPS6262391B2 (en) | 1987-12-25 |
Family
ID=12258842
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56028813A Granted JPS57143679A (en) | 1981-02-28 | 1981-02-28 | Automatic character reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57143679A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6097772A (en) * | 1983-11-02 | 1985-05-31 | Canon Inc | Character line processing device |
| JPS6097773A (en) * | 1983-11-02 | 1985-05-31 | Canon Inc | Image forming device |
-
1981
- 1981-02-28 JP JP56028813A patent/JPS57143679A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57143679A (en) | 1982-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100792106B1 (en) | Captured Image Projector and Captured Image Correction Method | |
| JP3904840B2 (en) | Ruled line extraction device for extracting ruled lines from multi-valued images | |
| JP2005173646A (en) | Code type discrimination method and code boundary detection method | |
| JPH08123900A (en) | Position determination method and apparatus for line scan image | |
| JP2768786B2 (en) | Image reading device | |
| US20060067588A1 (en) | Imaging apparatus, image processing method for imaging apparatus and recording medium | |
| US20100165417A1 (en) | Image processing method, image processing apparatus, and computer-readable storage medium | |
| JPS6262391B2 (en) | ||
| JPH04302375A (en) | Image binarizing device | |
| CN112997217A (en) | Document detection from video images | |
| JP3983721B2 (en) | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program | |
| JP2871601B2 (en) | Character string detecting apparatus and method | |
| JPH10283475A (en) | Image processing method and device | |
| JP2001109887A (en) | Area extracting method, method and device for extracting address area, and image processor | |
| JPS6262390B2 (en) | ||
| JP2003317107A (en) | Ruled line extraction method and apparatus | |
| JPS6262389B2 (en) | ||
| JP2885969B2 (en) | Micro film reader | |
| JPH10285391A (en) | Image-processing unit | |
| JP4439054B2 (en) | Character recognition device and character frame line detection method | |
| JP3275475B2 (en) | Character string recognition device with known character sequence | |
| JP3264547B2 (en) | Micro film reader and image reading method thereof | |
| JPH0660226A (en) | Character reader | |
| JP2551383B2 (en) | Straight line detection and correction device | |
| JPH1196338A (en) | Image reader |