JP2002150218A - Name card recognition device and name card recognition method - Google Patents

Name card recognition device and name card recognition method

Info

Publication number
JP2002150218A
JP2002150218A JP2000347273A JP2000347273A JP2002150218A JP 2002150218 A JP2002150218 A JP 2002150218A JP 2000347273 A JP2000347273 A JP 2000347273A JP 2000347273 A JP2000347273 A JP 2000347273A JP 2002150218 A JP2002150218 A JP 2002150218A
Authority
JP
Japan
Prior art keywords
business card
image
name
row
read
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.)
Granted
Application number
JP2000347273A
Other languages
Japanese (ja)
Other versions
JP3815961B2 (en
Inventor
Toshio Isoe
俊雄 磯江
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000347273A priority Critical patent/JP3815961B2/en
Publication of JP2002150218A publication Critical patent/JP2002150218A/en
Application granted granted Critical
Publication of JP3815961B2 publication Critical patent/JP3815961B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a name card recognition device and a name card recognition method capable of detecting the direction even when pattern characters prepared in advance do not exist on a name card read image and shortening the processing time. SOLUTION: The number of picture elements is counted by a picture element counting section 17e, rows existing on and below a read name card image are detected, the row width is detected by a width detecting section 17f, and the upper and lower sides of the characters described on the name card are determined by a direction determining section 17g. Or, the space from both end sections of the name row to the portion where characters exist is detected, and the upper and lower sides of the characters described on the name card are determined by the size of the space. Or, the end section of the name row is compared with the end section of its proximity row, and the direction having less difference between the positions of both ends is determined as the upper direction of the characters described on the name card.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、名刺等に書かれた
文字情報を読み取って保存する情報管理装置に用いられ
る名刺認識装置および名刺認識方法に関し、特に、読み
取る名刺の記載方向を検出することができる名刺認識装
置および名刺認識方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a business card recognizing device and a business card recognizing method used for an information management device for reading and storing character information written on a business card or the like, and more particularly to detecting a writing direction of a business card to be read. And a business card recognition method.

【0002】[0002]

【従来の技術】従来から、印刷方向の判定に用いられる
文字認識を的確に行う技術としては以下のようなものが
あった。
2. Description of the Related Art Heretofore, there have been the following techniques for accurately recognizing characters used for determining a printing direction.

【0003】例えば、特開平7−21318号公報に
は、文字情報から読み取られたイメージデータより文字
単位データを切り出し、これらの文字単位データの中か
ら縦横比が1に近いものを複数選択し、これらの選択さ
れた文字単位データについて、例えば縦方向と、これを
90度回転させた横方向などの異なる方向に対してそれ
ぞれ文字認識処理を実行して、この認識結果として得ら
れる相違度(類似度)から、上記文字情報列が縦書きで
あるか、横書きであるかを判定することができるという
技術が開示されている。
For example, Japanese Patent Application Laid-Open No. Hei 7-21318 discloses that character unit data is cut out from image data read from character information, and a plurality of data having an aspect ratio close to 1 are selected from these character unit data. Character recognition processing is performed on these selected character unit data in different directions such as a vertical direction and a horizontal direction obtained by rotating the character unit data by 90 degrees. Japanese Patent Application Laid-Open No. H10-157572 discloses a technique capable of determining whether the character information string is vertical writing or horizontal writing.

【0004】また、特開平5−81464号公報には、
名刺に印刷された文字を光学的に読み取る光学文字読取
装置に、通常の名刺に必ず印刷されている郵便および電
話番号に関する記号もしくは文字を含む、限定した数の
印刷された文字の上下左右4方向を判定する認識辞書を
備え、文字単位に切り出した文字と上記認識辞書との照
合によって名刺の印刷方向を判定して印刷文字を読み取
る技術が開示されている。
[0004] Japanese Patent Application Laid-Open No. 5-81464 discloses that
An optical character reading device that optically reads characters printed on business cards, a limited number of printed characters, including symbols and characters related to postal and telephone numbers, which are always printed on ordinary business cards, in four directions: up, down, left, right There is disclosed a technology that includes a recognition dictionary for determining the printing direction of a business card and determines the printing direction of a business card by comparing characters cut out in character units with the recognition dictionary.

【0005】さらに、特開昭62−166479号公報
には、名刺の入力イメージについて、その水平、垂直方
向に全体の射影を取って長手方向を検知し、検知した長
手方向の射影中、最も幅の細い射影に注目してその各文
字パターンを切り出して、切り出した各文字パターンと
予め用意した回転文字に対応するパターンとを比較して
名刺の縦書きおよび横書きの区別と回転方向を判定する
ことにより入力イメージ全体の認識処理を行う技術が開
示されている。
Further, Japanese Patent Application Laid-Open No. Sho 62-166479 discloses that a longitudinal direction of an input image of a business card is detected by taking the entire projection in the horizontal and vertical directions, and the maximum width of the detected image in the longitudinal direction is detected. Focusing on the narrow projection of each character pattern, cut out each character pattern and compare each cut out character pattern with a pattern corresponding to a prepared rotated character to determine the distinction between vertical writing and horizontal writing of a business card and determine the rotation direction. Discloses a technique for performing recognition processing of an entire input image.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、いずれも、上下左右4方向分を用意したパ
ターン文字とのパターンマッチングにより文字の方向を
検出を行っており、方向を検出するためには4回分の処
理を行わなければならず、処理時間が長くかかるという
問題点があった。
However, in each of the above-mentioned prior arts, the direction of a character is detected by pattern matching with pattern characters prepared for four directions, up, down, left, and right. Has to perform four times of processing, and there is a problem that processing time is long.

【0007】さらに、上記従来技術では、方向判定のた
めに予め用意されたパターン文字が、読み取られた名刺
画像中に必ず存在するとは限らず、パターン文字が名刺
画像中に存在していなければ方向の検出ができないとい
う問題点があった。
Further, according to the above-mentioned prior art, a pattern character prepared in advance for the direction determination is not always present in the read business card image, and if the pattern character does not exist in the business card image, the direction is determined. There is a problem that cannot be detected.

【0008】本発明は、このような従来技術の課題を解
決するためになされたものであり、処理時間を短縮する
ことができ、予め用意したパターン文字が名刺読み取り
画像に存在していなくても名刺画像の方向を検出するこ
とができる名刺認識装置および名刺認識方法を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem of the prior art, and can reduce the processing time, so that a pattern character prepared in advance does not exist in a business card read image. An object of the present invention is to provide a business card recognition device and a business card recognition method capable of detecting the direction of a business card image.

【0009】[0009]

【課題を解決するための手段】本発明の名刺認識装置
は、名刺を画像として読み取る名刺読み取り手段と、該
名刺読み取り手段にて読み取った名刺画像に含まれる行
または列からなる画像を抽出する抽出手段と、抽出され
た行または列からなる画像の配置を予め設定された条件
を用いて判断する判断手段と、該判断手段の判断結果に
基づいて名刺画像の方向を判定する方向判定手段と、該
方向判定手段にて判定された方向を先頭として文字認識
を行う文字認識手段とを備えたことを特徴とする。
A business card recognizing device according to the present invention comprises a business card reading means for reading a business card as an image, and an extraction for extracting an image consisting of rows or columns included in the business card image read by the business card reading means. Means, determining means for determining the arrangement of the image consisting of the extracted rows or columns using a preset condition, and direction determining means for determining the direction of the business card image based on the determination result of the determining means, And character recognition means for performing character recognition with the direction determined by the direction determination means as the head.

【0010】上記構成によれば、予め設定された条件を
用いて画像の配置を判断し、その結果に基づいて名刺画
像の方向(文字の方向)を判定することが可能である。
よって、従来技術のように上下左右の4方向に対するパ
ターンマッチング処理を行って方向の検出を行う必要が
なく、また、読み取った名刺画像中に予め用意しておい
たパターン文字が存在しなくても、名刺画像の方向を判
定することが可能である。
[0010] According to the above configuration, it is possible to determine the arrangement of the images using preset conditions, and to determine the direction of the business card image (the direction of the characters) based on the result.
Therefore, it is not necessary to perform pattern matching processing in four directions of up, down, left, and right as in the related art to detect the direction, and even if there is no pattern character prepared in advance in the read business card image. It is possible to determine the direction of the business card image.

【0011】本発明の名刺認識装置は、前記画像の配置
を判断する条件が、行または列の幅方向の大きさである
ことを特徴とする。
[0011] The business card recognition device of the present invention is characterized in that the condition for judging the arrangement of the image is a size of a row or a column in a width direction.

【0012】上記構成によれば、画素数を演算して画像
において上下に存在する行(または左右に存在する列)
を検出し、この行(または列)の幅によって名刺に記載
された文字の上下(または左右)を判定することが可能
となる。
According to the above configuration, the number of pixels is calculated and the upper and lower rows (or the right and left columns) are present in the image.
Is detected, and the upper and lower sides (or left and right) of a character written on a business card can be determined based on the width of this row (or column).

【0013】本発明の名刺認識装置は、名刺を画像とし
て読み取る名刺読み取り手段と、該名刺読み取り手段に
て読み取った名刺画像に含まれる行または列からなる画
像を抽出する抽出手段と、名前に該当する行または列を
特定する名前特定手段と、該名前特定手段にて特定した
名前に該当する行または列の画像の名刺画像における両
端の空間を抽出する空間抽出手段と、該空間抽出手段に
て抽出した両端の空間の大きさを比較する比較手段と、
該比較手段にて大きいと判断した空間の方向を先頭とし
て文字認識を行う文字認識手段とを備えたことを特徴と
する。
The business card recognition device of the present invention comprises a business card reading means for reading a business card as an image, an extraction means for extracting an image consisting of rows or columns contained in the business card image read by the business card reading means, Name specifying means for specifying the row or column to be performed, space extracting means for extracting the spaces at both ends in the business card image of the image of the row or column corresponding to the name specified by the name specifying means, Comparing means for comparing the size of the space at both ends extracted,
A character recognition unit that performs character recognition with the direction of the space determined to be large by the comparison unit as a head.

【0014】上記構成によれば、名前行(または名前
列)における両端部から文字の存在する部分までの空間
を検出し、この空間の大小によって名刺に記載された文
字の上下(または左右)を判定することが可能となる。
According to the above configuration, the space from both ends in the name row (or name column) to the portion where the character exists is detected, and the size of this space is used to determine the upper and lower (or left and right) of the character written on the business card. It is possible to make a determination.

【0015】本発明の名刺認識装置は、名刺を画像とし
て読み取る名刺読み取り手段と、該名刺読み取り手段に
て読み取った名刺画像に含まれる行または列からなる画
像を抽出する抽出手段と、名前に該当する行または列を
特定する名前特定手段と、該抽出手段にて抽出された行
または列の両端を検出する端部検出手段と、該名前特定
手段にて特定した名前に該当する行または列と、他の行
または列の端部を比較する端部比較手段と、該端部比較
手段の比較結果に基づいて文字方向を特定し、文字認識
を行う文字認識手段とを備えたことを特徴とする。
The business card recognizing device of the present invention comprises: a business card reading means for reading a business card as an image; an extraction means for extracting an image consisting of rows or columns included in the business card image read by the business card reading means; Name specifying means for specifying the row or column to be performed, end detecting means for detecting both ends of the row or column extracted by the extracting means, and a row or column corresponding to the name specified by the name specifying means. An edge comparing means for comparing the ends of other rows or columns, and a character recognizing means for specifying a character direction based on a comparison result of the end comparing means and performing character recognition. I do.

【0016】上記構成によれば、名前行(または名前
列)の端部と名前の近接行(または近接列)の端部とを
比較して、端部の位置の差が少ない方向が名刺に記載さ
れた文字の上方向(または左方向)であると判定するこ
とが可能である。
According to the above configuration, the end of the name row (or name column) is compared with the end of the adjacent row (or adjacent column) of the name. It is possible to determine that the written character is upward (or leftward).

【0017】本発明の名刺認識方法は、名刺を画像とし
て読み取る名刺読み取りステップと、該名刺読み取りス
テップにて読み取った名刺画像に含まれる行または列か
らなる画像を抽出する抽出ステップと、抽出された行ま
たは列からなる画像の配置を予め設定された条件を用い
て判断する判断ステップと、該判断ステップの判断結果
に基づいて名刺画像の方向を判定する方向判定ステップ
と、該方向判定ステップにて判定された方向を先頭とし
て文字認識を行う文字認識ステップとを含むことを特徴
とする。
According to the business card recognition method of the present invention, a business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, A judging step of judging the arrangement of the image composed of rows or columns using a preset condition; a direction judging step of judging the direction of the business card image based on the judgment result of the judging step; A character recognition step of performing character recognition starting from the determined direction.

【0018】上記方法によれば、予め設定された条件を
用いて画像の配置を判断し、その結果に基づいて画像の
方向(文字の方向)を判定することが可能である。よっ
て、従来技術のように上下左右方向に対するパターンマ
ッチング処理を4回も行う必要がなく、読み取った名刺
画像中にパターン文字が存在しなくても画像の方向を判
定することが可能である。
According to the above method, it is possible to determine the arrangement of an image using preset conditions, and to determine the direction of the image (the direction of characters) based on the result. Therefore, it is not necessary to perform the pattern matching process in the up, down, left, and right directions four times as in the related art, and it is possible to determine the direction of the image even if there is no pattern character in the read business card image.

【0019】本発明の名刺認識方法は、前記画像の配置
を判断する条件が、行または列の幅方向の大きさである
ことを特徴とする。
The business card recognition method according to the present invention is characterized in that the condition for judging the arrangement of the image is a size of a row or a column in a width direction.

【0020】上記方法によれば、画素数を演算して画像
において上下に存在する行(または左右に存在する列)
を検出し、この行(または列)の幅によって名刺に記載
された文字の上下(または左右)を判定することが可能
となる。
According to the above method, the number of pixels is calculated, and the upper and lower rows (or the right and left columns) in the image are calculated.
Is detected, and the upper and lower sides (or left and right) of a character written on a business card can be determined based on the width of this row (or column).

【0021】本発明の名刺認識方法は、名刺を画像とし
て読み取る名刺読み取りステップと、該名刺読み取りス
テップにて読み取った名刺画像に含まれる行または列か
らなる画像を抽出する抽出ステップと、名前に該当する
行または列を特定する名前特定ステップと、該名前特定
ステップにて特定した名前に該当する行または列の画像
の名刺画像における両端の空間を抽出する空間抽出ステ
ップと、該空間抽出ステップにて抽出した両端の空間の
大きさを比較する比較ステップと、該比較ステップにて
大きいと判断した空間の方向を先頭として文字認識を行
う文字認識ステップとを含むことを特徴とする。
A business card recognition method according to the present invention includes a business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, A name specifying step of specifying a row or a column to be performed, a space extracting step of extracting spaces at both ends in a business card image of an image of a row or a column corresponding to the name specified in the name specifying step, It is characterized by including a comparing step of comparing the sizes of the extracted spaces at both ends, and a character recognizing step of performing character recognition starting from the direction of the space determined to be large in the comparing step.

【0022】上記方法によれば、名前行(または名前
列)における両端部から文字の存在する部分までの空間
を検出し、この空間の大小によって名刺に記載された文
字の上下(または左右)を判定することが可能となる。
According to the above method, the space from both ends of the name line (or name column) to the portion where the character exists is detected, and the size of this space is used to determine the upper and lower (or left and right) of the character written on the business card. It is possible to make a determination.

【0023】本発明の名刺認識方法は、名刺を画像とし
て読み取る名刺読み取りステップと、該名刺読み取りス
テップにて読み取った名刺画像に含まれる行または列か
らなる画像を抽出する抽出ステップと、名前に該当する
行または列を特定する名前特定ステップと、該抽出ステ
ップにて抽出された行または列の両端を検出する端部検
出ステップと、該名前特定ステップにて特定した名前に
該当する行または列と、他の行または列の端部を比較す
る端部比較ステップと、該端部比較ステップの比較結果
に基づいて文字方向を特定し、文字認識を行う文字認識
ステップとを含むことを特徴とする。
The business card recognition method according to the present invention includes a business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, A name specifying step for specifying the row or column to be performed, an end detecting step for detecting both ends of the row or column extracted in the extracting step, and a row or column corresponding to the name specified in the name specifying step. An edge comparison step of comparing the edge of another row or column, and a character recognition step of identifying a character direction based on a comparison result of the edge comparison step and performing character recognition. .

【0024】上記方法によれば、名前行(または名前
列)の端部と名前の近接行(または近接列)の端部とを
比較して、位置の差が少ないと判断された端部の方向が
名刺に記載された文字の上方向(または左方向)である
と判定することが可能である。
According to the above method, the end of the name row (or the name column) is compared with the end of the adjacent row (or the adjacent column) of the name, and the end of the end determined to have a small positional difference is determined. It is possible to determine that the direction is the upward direction (or the leftward direction) of the character written on the business card.

【0025】[0025]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて、図面を参照しながら説明する。尚、本発明はこれ
によって限定されるものではない。
Embodiments of the present invention will be described below with reference to the drawings. Note that the present invention is not limited to this.

【0026】図1は本発明に係る名刺認識装置における
撮影状態を示す図である。
FIG. 1 is a diagram showing a photographing state in the business card recognition device according to the present invention.

【0027】この図において、1は本体キャビネット部
であり、表示部2と図示していない赤外線通信部等を有
している。この本体キャビネット部1の内部には、表示
部2や赤外線通信部、インターフェース等を制御する制
御回路等の必要箇所に電源を供給するための電源部等を
内蔵している。
In FIG. 1, reference numeral 1 denotes a main body cabinet, which has a display unit 2 and an infrared communication unit (not shown). A power supply unit for supplying power to necessary parts such as a display unit 2, an infrared communication unit, a control circuit for controlling an interface, and the like is built in the main body cabinet unit 1.

【0028】3はカメラ部であり、カメラキャビネット
に収納したCCDカメラレンズ3aを備えている。この
CCDカメラレンズ3aは、回動可能に構成されてい
る。図に示す状態では手前側を撮影することができ、回
動した場合には、対面側や上方など、約180度の角度
内で撮影可能となっている。カメラ部3は本体キャビネ
ット部1に着脱自在となっており、本体キャビネット部
1の図示していないコネクタに装着することにより、本
体キャビネット部1との間で撮影画像データの送受信を
行うことができる。
Reference numeral 3 denotes a camera unit, which includes a CCD camera lens 3a housed in a camera cabinet. The CCD camera lens 3a is configured to be rotatable. In the state shown in the figure, the front side can be photographed, and when rotated, it is possible to photograph within an angle of about 180 degrees, such as the facing side or above. The camera section 3 is detachable from the main body cabinet section 1, and can transmit and receive photographed image data to and from the main body cabinet section 1 by being attached to a connector (not shown) of the main body cabinet section 1. .

【0029】4はスクロールボタンであり、このスクロ
ールボタン4を指で操作することにより、表示部2に表
示した情報を上下左右、または斜め方向に移動すること
ができる。5は決定ボタンであり、撮影中の画像を表示
中にこの決定ボタン5を押すことにより、読み取りたい
所望の画像を本体キャビネット部1の記憶領域に記憶さ
せることができる。6は戻りボタンであり、使用者によ
る諸々の操作をキャンセルしたり、表示部2に表示され
た情報を前の情報に切り換えることができる。7は電源
スイッチであり、本体キャビネット部1の電源をON、
OFFすることができる。尚、カメラ部3を駆動するた
めの電力は、本体キャビネット部1から供給されてお
り、電源OFF時には、本体キャビネット部1の電源ス
イッチ7を押すことにより、本体キャビネット部1と共
にカメラ部3にも電力が供給される。なお、スクロール
ボタン4と戻りボタン6に関しては、本発明に直接関係
しないため、詳細な説明を省略する。
Reference numeral 4 denotes a scroll button. By operating the scroll button 4 with a finger, information displayed on the display unit 2 can be moved up, down, left, right, or diagonally. Reference numeral 5 denotes a decision button. By pressing the decision button 5 while displaying an image being photographed, a desired image to be read can be stored in the storage area of the main body cabinet 1. Reference numeral 6 denotes a return button, which can cancel various operations by the user and switch information displayed on the display unit 2 to previous information. Reference numeral 7 denotes a power switch for turning on the power of the main body cabinet unit 1;
Can be turned off. The power for driving the camera unit 3 is supplied from the main body cabinet unit 1. When the power is turned off, the power switch 7 of the main body cabinet unit 1 is pressed, so that the camera unit 3 and the main body cabinet unit 1 are pressed. Power is supplied. Since the scroll button 4 and the return button 6 are not directly related to the present invention, a detailed description will be omitted.

【0030】本実施の形態の名刺認識装置においては、
カメラ部3のCCDカメラレンズ3aにより撮影した画
像を読み取って記憶し、読み取った画像を認識して認識
結果を記憶することができる。
In the business card recognition device of the present embodiment,
An image captured by the CCD camera lens 3a of the camera unit 3 can be read and stored, and the read image can be recognized and the recognition result can be stored.

【0031】図1のように表示部2が横長形状であり、
カメラ部3が装置の上部に装着されている場合に、カメ
ラ部3のCCDカメラレンズ3aを撮影したい画像の方
向に回動し、撮影画像の読み取り指示を行うと、図に示
すような状態で撮影した方向にて画像が記憶される。
As shown in FIG. 1, the display unit 2 has a horizontally long shape,
When the camera unit 3 is mounted on the upper part of the apparatus, the CCD camera lens 3a of the camera unit 3 is turned in the direction of the image to be photographed, and a reading instruction of the photographed image is issued. The image is stored in the shooting direction.

【0032】例えば名刺8のように、横向き、かつ、横
書きの名刺を撮影して読み取る場合には、図1(c)に
示すように装置の向きをそのまま(横向き)にして名刺
の方向にCCDカメラレンズ3aを向けて撮影すると、
名刺8は図に示すものと同方向の向きで読み取られて記
憶されるため、記憶された画像の方向を変えることなく
文字認識を行うことができる。
For example, when a horizontal and horizontal writing business card such as a business card 8 is photographed and read, as shown in FIG. When you shoot with the camera lens 3a facing,
Since the business card 8 is read and stored in the same direction as that shown in the figure, character recognition can be performed without changing the direction of the stored image.

【0033】しかしながら、名刺90のように、縦向
き、かつ、縦書きの名刺を撮影する場合は、名刺8の場
合のように装置を横向きのままで撮影するのではなく、
本体キャビネット部1やカメラ部3を縦向きにして撮影
を行う。本体キャビネット部1やカメラ部3を縦向きに
して撮影する場合には、図示しないモード設定手段によ
り、縦モードに設定する。
However, when photographing a vertical and vertically written business card such as the business card 90, the photographing is not performed with the apparatus kept in the horizontal position as in the case of the business card 8.
Photographing is performed with the main body cabinet unit 1 and the camera unit 3 oriented vertically. When the main body cabinet unit 1 and the camera unit 3 are photographed vertically, the mode is set to the vertical mode by a mode setting unit (not shown).

【0034】ところで、使用者によっては、装置を図1
(a)に示すように右側に回転して縦向きにする場合
と、図1(b)に示すように左側に回転して縦向きにす
る場合とが発生する。図1(a)のように装置を回転し
て縦向きにした場合に読み取り指示した画像は、名刺9
1の状態で記憶される。また、図1(b)のように装置
を回転して縦向きにした場合に読み取り指示した画像
は、名刺92の状態で記憶される。
By the way, depending on the user, the apparatus may be used as shown in FIG.
There is a case where the image is rotated rightward as shown in FIG. 1A to make it portrait, and a case where it is rotated leftward and is made vertically as shown in FIG. 1B. The image instructed to be read when the device is rotated to the portrait orientation as shown in FIG.
1 is stored. Further, the image instructed to be read when the apparatus is rotated to the portrait orientation as shown in FIG. 1B is stored in the state of the business card 92.

【0035】そこで、文字認識を行うためには、まず、
読み取った画像における文字の方向を知る必要がある。
このため、本発明では、記憶された画像を基にして文字
の方向を検出し、文字認識を行う。尚、画像の取り込み
については、スキャナーなど、他の読み取り手段を用い
て行なってもよい。また、以下の実施形態では、横型
(横長)の撮影装置を用いて、縦向き、かつ、縦書きの
名刺を読み取って文字認識を行う場合について説明を行
っているが、縦型(縦長)の撮影装置を用いて、横向
き、かつ、横書きの名刺を読み取る場合についても、本
発明は適用可能である。なお、名刺が縦書き、縦向きで
あるか、または横書き、横向きであるかについては、手
動により設定することができる。
In order to perform character recognition, first,
It is necessary to know the direction of the characters in the read image.
Therefore, in the present invention, the direction of the character is detected based on the stored image, and the character is recognized. It should be noted that the image may be captured using other reading means such as a scanner. Also, in the following embodiment, a case is described in which a horizontal (horizontal) imaging device is used to read a vertically oriented and vertically written business card to perform character recognition. The present invention is also applicable to a case where a horizontally oriented and horizontally written business card is read using an imaging device. Whether the business card is written vertically and vertically, or written horizontally and horizontally can be manually set.

【0036】以下に、記憶された画像の方向を判定する
手段および方法について、実施形態1から実施形態3に
て説明を行う。なお、以下の実施形態では行からなる画
像に対して方向判断を行っているが、列からなる画像に
ついても同様の処理により行うことが可能である。
Hereinafter, means and a method for determining the direction of a stored image will be described in Embodiments 1 to 3. In the following embodiment, the direction is determined for an image composed of rows, but the same processing can be performed for an image composed of columns.

【0037】(実施形態1)まず、本発明の請求項1、
請求項2、請求項5および請求項6に係る実施形態につ
いて、図1から図5を用いて説明を行う。
(Embodiment 1) First, claim 1 of the present invention,
Embodiments according to claims 2, 5, and 6 will be described with reference to FIGS.

【0038】図2(a)および図2(b)は、本実施形
態1による名刺画像の方向判定について説明するための
図である。
FIGS. 2A and 2B are diagrams for explaining the direction determination of the business card image according to the first embodiment.

【0039】本実施形態では、読み取った画像の画素数
を演算して、画像における上下に存在する行(先頭と末
尾)を検出し、この行の幅によって名刺に記載された文
字の上下を判定する。
In the present embodiment, the number of pixels of the read image is calculated to detect upper and lower lines (head and tail) in the image, and the width of the line is used to determine whether a character written on a business card is up or down. I do.

【0040】通常、名刺には、始めの部分に会社名、中
央部分に名前、後ろの部分に住所や電話番号が記載され
ている。各行を見てみると、会社名と電話番号では文字
の大きさが違い、行の幅も会社名の方が大きくなってい
る。このことから、縦書き、かつ、縦向きの名刺の場合
には、行の幅が大きい方が名刺記載文字の先頭方向であ
ることが分かる。
Normally, a business card has a company name at the beginning, a name at the center, and an address and a telephone number at the back. Looking at each line, the company name and the phone number are different in character size, and the line width is larger in the company name. From this, it can be seen that in the case of a vertically written and vertically oriented business card, the one with the larger line width is the leading direction of the business card written characters.

【0041】図1(a)に示したように、本体キャビネ
ット部1とカメラ部3を右方向に90度回転して撮影
し、読み取った画像は図2(a)に示す状態で記憶され
る。ここで、画像における先頭と末尾の行幅を調べる
と、末尾の行幅91bに比べて先頭の行幅91aが大き
いことから、画像情報における上部分が名刺の始めであ
るとして、画像情報を右方向に90度回転させて再記憶
し、この記憶した画像情報を基にして文字認識を行う。
As shown in FIG. 1A, the main body cabinet unit 1 and the camera unit 3 are photographed by rotating the camera unit 90 to the right by 90 degrees, and the read image is stored in the state shown in FIG. 2A. . Here, when examining the top and bottom line widths in the image, the top line width 91a is larger than the bottom line width 91b. The image is re-stored by rotating it 90 degrees in the direction, and character recognition is performed based on the stored image information.

【0042】これに対して、図1(b)に示したよう
に、本体キャビネット部1とカメラ部3を左方向に90
度回転して撮影し、読み取った画像は図2(b)に示す
状態で記憶される。ここで、画像における先頭と末尾の
行幅を調べ、先頭の行幅92aに比べて末尾の行幅92
bが大きいことから、画像情報における下部分が名刺の
始めであるとして、画像情報を左方向に90度回転させ
て再記憶し、この記憶した画像情報を基にして文字認識
を行う。
On the other hand, as shown in FIG. 1B, the main body cabinet 1 and the camera 3 are moved 90 degrees to the left.
The image taken by rotating the image by a degree and read is stored in a state shown in FIG. Here, the line widths at the beginning and end of the image are examined, and compared to the line width 92a at the beginning, the line width at the end 92
Since b is large, it is determined that the lower part of the image information is the beginning of the business card, the image information is rotated 90 degrees to the left and stored again, and character recognition is performed based on the stored image information.

【0043】図3は、本実施形態1による詳細動作を示
すブロック図である。
FIG. 3 is a block diagram showing a detailed operation according to the first embodiment.

【0044】この図において、16は液晶表示回路部で
あり、液晶を点灯させるドット位置をビットマップとし
て記憶しており、必要に応じてコモン回路14、セグメ
ント回路15に信号を送る。
In this figure, reference numeral 16 denotes a liquid crystal display circuit which stores dot positions for turning on the liquid crystal as a bit map, and sends signals to the common circuit 14 and the segment circuit 15 as necessary.

【0045】17は中央制御部であり、各種命令により
入力情報或いは出力情報を制御するものである。中央制
御部17の入力制御部17bでは、スクロールボタン
4、決定ボタン5、戻りボタン6の押圧を検出すること
により、各ボタンに対応した動作を行う。また、入力制
御部17bでは、電源スイッチ7の押圧を検出すること
により、電源部20に信号を送出し、電源をON、OF
Fする。
Reference numeral 17 denotes a central control unit for controlling input information or output information by various commands. The input control unit 17b of the central control unit 17 performs an operation corresponding to each button by detecting the pressing of the scroll button 4, the determination button 5, and the return button 6. The input control unit 17b sends a signal to the power supply unit 20 by detecting the pressing of the power switch 7 to turn on the power,
F.

【0046】18はROMであり、表示部2に表示する
文字のフォントを記憶したフォント情報エリア18a、
および上記中央制御部17の動作を示したプログラムを
記憶したプログラムエリア18bを有している。
Reference numeral 18 denotes a ROM, which is a font information area 18a storing fonts of characters to be displayed on the display unit 2,
And a program area 18b in which a program showing the operation of the central control unit 17 is stored.

【0047】19はRAMであり、使用者が図示しない
入力手段より入力した文章や図形、またはカメラ部3で
撮影した画像などの各種データを記憶するデータ記憶部
19a、記憶した画像の画素をカウントした値をそのラ
イン数(行方向および列方向)と共に記憶する画素数テ
ーブル19b、カウントした画素数から画像情報の先頭
行の幅を記憶する先頭幅メモリ19c、カウントした画
素数から画像情報の末尾行の幅を記憶する末尾幅メモリ
19dを有している。
Reference numeral 19 denotes a RAM, which is a data storage section 19a for storing various data such as a sentence or figure input by a user through input means (not shown) or an image taken by the camera section 3, and counting pixels of the stored image. The number of pixels table 19b for storing the obtained value together with the number of lines (row direction and column direction), the head width memory 19c for storing the width of the first row of image information from the number of counted pixels, and the end of image information from the number of counted pixels. It has a tail width memory 19d for storing the line width.

【0048】21は図示していない発振子からのクロッ
ク信号により時間を計時するRTCであり、現在の年月
日および時間を出力している。
Reference numeral 21 denotes an RTC for measuring time using a clock signal from an oscillator (not shown), and outputs the current date and time.

【0049】カメラ部3では、CCDカメラレンズ3a
から投影された光をCCD素子11で受光し、受光した
光情報を増幅器12により増幅して光電変換する。光電
変換されたアナログ信号はA/D変換器13に出力さ
れ、アナログ/デジタル変換される。
In the camera section 3, a CCD camera lens 3a
The light projected from the device is received by the CCD element 11, and the received light information is amplified by the amplifier 12 and photoelectrically converted. The photoelectrically converted analog signal is output to the A / D converter 13 and is subjected to analog / digital conversion.

【0050】A/D変換器13により電気信号としての
デジタル信号に変換された画像信号は、中央制御部17
の撮影画像バッファ17aに保持され、液晶表示回路部
16に出力されて表示部2に表示される。
The image signal converted into a digital signal as an electric signal by the A / D converter 13 is sent to the central control unit 17.
Is stored in the captured image buffer 17a, is output to the liquid crystal display circuit section 16, and is displayed on the display section 2.

【0051】また、撮影画像バッファ17aからの画像
信号はゲート17cにも出力されており、決定ボタン5
が押されると入力制御部17bよりゲート17cに信号
を送出し、ゲート17cを開放して撮影画像バッファ1
7aに保持された画像情報が読取画像バッファ17dに
出力される。読取画像バッファ17dに画像情報が出力
されると、画素カウント部17eにより読取画像バッフ
ァ17dに保持された画像情報の画素をカウントする。
これは、画像情報に含まれる各行幅を検出するための準
備動作であり、1ライン毎の黒ドットの数をカウントし
て合計を求め、ライン数と対応する合計ドット数をRA
M19の画素数テーブル19bに記憶する。
The image signal from the photographed image buffer 17a is also output to the gate 17c.
Is pressed, a signal is sent from the input control unit 17b to the gate 17c, and the gate 17c is opened to release the captured image buffer 1
The image information held in 7a is output to the read image buffer 17d. When the image information is output to the read image buffer 17d, the pixels of the image information held in the read image buffer 17d are counted by the pixel counting unit 17e.
This is a preparation operation for detecting each line width included in the image information. The number of black dots for each line is counted to obtain a total, and the total number of dots corresponding to the number of lines is calculated as RA.
It is stored in the pixel number table 19b of M19.

【0052】読取画像バッファ17dに保持された画像
情報に対して、全てのラインに関して画素のカウントを
終了すると、画素カウント部17eから幅検出部17f
に信号が送出される。幅検出部17fでは、変数Aと変
数Bを用いて隣合わせのライン同士の画素数(黒ドット
の数)を比べ、一定以上の画素数を有し、かつ、双方の
画素数の比率が一定の割合であれば、1つの行として幅
カウンタにより行幅のカウントを行う。そして、読取画
像バッファ17dの先頭部分から1行分の行幅を求め、
RAM19の先頭幅メモリ19cに記憶する。次に、読
取画像バッファ17dの末尾部分から1行分の行幅を求
め、RAM19の末尾幅メモリ19dに記憶する。
When the pixel count is completed for all the lines for the image information held in the read image buffer 17d, the pixel count unit 17e switches to the width detector 17f.
Is sent to The width detection unit 17f compares the number of pixels (the number of black dots) between adjacent lines using the variable A and the variable B, has a certain number of pixels or more, and has a fixed ratio of both pixels. If the ratio is one, the line width is counted by the width counter as one line. Then, the line width of one line from the head of the read image buffer 17d is obtained,
It is stored in the head width memory 19c of the RAM 19. Next, a line width of one line is obtained from the end of the read image buffer 17d and stored in the end width memory 19d of the RAM 19.

【0053】幅検出部17fの動作が終わると、幅検出
部17fから方向判定部17gに信号が送出される。方
向判定部17gでは、RAM19の先頭幅メモリ19c
と末尾幅メモリ19dを比較し、先頭幅メモリ19cの
値の方が末尾幅メモリ19dの値よりも大きい場合に
は、読取画像バッファ17dに記憶された画像情報を右
方向に90度回転して読取画像バッファ17dに再記憶
させる。なお、本実施形態では画像を回転させることに
より方向付けを行うが、文字認識部の情報を各方向毎に
準備し、文字検出方向に合わせて選択する方法も可能で
ある。
When the operation of the width detecting section 17f ends, a signal is sent from the width detecting section 17f to the direction determining section 17g. In the direction determination unit 17g, the head width memory 19c of the RAM 19 is used.
Is compared with the tail width memory 19d. If the value of the head width memory 19c is larger than the value of the tail width memory 19d, the image information stored in the read image buffer 17d is rotated rightward by 90 degrees. It is stored again in the read image buffer 17d. In this embodiment, the direction is assigned by rotating the image. However, a method of preparing information of the character recognition unit for each direction and selecting the information in accordance with the character detection direction is also possible.

【0054】一方、末尾幅メモリ19dの値の方が先頭
幅メモリ19cの値よりも大きい場合には、読取画像バ
ッファ17dに記憶された画像情報を左方向に90度回
転して読取画像バッファ17dに再記憶させる。
On the other hand, when the value of the tail width memory 19d is larger than the value of the head width memory 19c, the image information stored in the read image buffer 17d is rotated 90 degrees to the left and the read image buffer 17d is rotated. To be stored again.

【0055】方向判定部17gの動作が終わると、方向
判定部17gから文字認識部17hに信号が送出され
る。文字認識部17hでは、読取画像バッファ17dの
画像情報に基づいて文字認識動作を行い、認識結果をR
AM19のデータ記憶部19aに記憶する。文字認識部
では、予め用意した文字パターンと読取画像バッファ1
7dの画像情報とを比較する。
When the operation of the direction determining unit 17g is completed, a signal is sent from the direction determining unit 17g to the character recognizing unit 17h. The character recognition unit 17h performs a character recognition operation based on the image information in the read image buffer 17d,
The data is stored in the data storage unit 19a of the AM 19. In the character recognition unit, a character pattern prepared in advance and the read image buffer 1 are read.
Compare with the image information of 7d.

【0056】図4は、本実施形態1による画像読み取り
処理を示すフローチャートである。
FIG. 4 is a flowchart showing an image reading process according to the first embodiment.

【0057】まず、STEP1において、カメラ部3を
駆動して画像撮影モードを開始する。STEP2では画
像の撮影を行い、STEP3において撮影画像を中央制
御部17の撮影画像バッファ17aに保持する。STE
P4では撮影画像バッファ17aに保持された画像情報
を表示部2に表示する。
First, in STEP 1, the camera unit 3 is driven to start the image shooting mode. In STEP2, an image is photographed, and in STEP3, the photographed image is stored in the photographed image buffer 17a of the central control unit 17. STE
At P4, the image information held in the captured image buffer 17a is displayed on the display unit 2.

【0058】STEP5では図示しない終了手段によ
り、画像撮影モードの終了指示がなされたか否かを判断
する。画像撮影モードの終了指示がなされた場合には、
STEP13に進み、画像撮影モードを終了して、処理
を終了する。
In STEP 5, it is determined whether or not an end instruction (not shown) has given an instruction to end the image shooting mode. When an instruction to end the image shooting mode is given,
Proceeding to STEP 13, end the image shooting mode, and end the processing.

【0059】画像撮影モードの終了指示がなされていな
い場合には、STEP6において決定ボタン5が押され
たか否かを判断する。決定ボタン5が押されていない場
合には、STEP2に戻り、決定ボタン5が押された場
合には、STEP7において画像撮影モードを終了し、
STEP8において撮影画像バッファ17aの内容を読
取画像バッファ17dに記憶する。
If the end instruction of the image capturing mode has not been issued, it is determined in STEP 6 whether or not the decision button 5 has been pressed. If the determination button 5 has not been pressed, the process returns to STEP 2, and if the determination button 5 has been pressed, the image capturing mode ends in STEP 7,
In STEP 8, the contents of the captured image buffer 17a are stored in the read image buffer 17d.

【0060】次のSTEP9では、読取画像バッファ1
7dに記憶された画像情報を基に行方向の画素に存在す
る黒ドット数をカウントし、RAM19の画素数テーブ
ル19bに行方向のライン数と共にカウントした値を記
憶する。
In the next STEP 9, the read image buffer 1
The number of black dots existing in the pixels in the row direction is counted based on the image information stored in 7d, and the counted value is stored in the pixel number table 19b of the RAM 19 together with the number of lines in the row direction.

【0061】STEP10ではRAM19の画素数テー
ブル19bの内容と、読取画像バッファ17dの内容を
基に画像情報の方向判定処理を行い、判定した方向に基
づいて画像を文字認識可能な正位置に回転させ、読取画
像バッファ17dに再記憶する。尚、STEP10の方
向判定処理に関しては、以下に図5を用いて詳細な説明
を行う。
In STEP 10, the direction of the image information is determined based on the contents of the pixel number table 19b of the RAM 19 and the contents of the read image buffer 17d, and the image is rotated to a correct position for character recognition based on the determined direction. Is stored again in the read image buffer 17d. The direction determination process in STEP 10 will be described in detail below with reference to FIG.

【0062】STEP11では読取画像バッファ17d
の内容を基に文字認識を行い、STEP12では認識し
た結果である文字情報をRAM19のデータ記憶部19
aに記憶して、処理を終了する。
In STEP 11, the read image buffer 17d
In step 12, character information as a result of the recognition is stored in the data storage unit 19 of the RAM 19.
and the process ends.

【0063】次に、図5を用いて本実施形態1の方向判
定処理について説明を行う。図5は、実施形態1による
方向判定処理を示すフローチャートである。
Next, the direction determining process of the first embodiment will be described with reference to FIG. FIG. 5 is a flowchart illustrating the direction determination process according to the first embodiment.

【0064】まず、STEP101−1においてRAM
19の画素数テーブル19bを呼び出す。次に、STE
P101−2では、変数Aに画素数テーブル19bの先
頭1ラインのカウント画素数を保持し、STEP101
−3において次の1ラインのカウント画素数を変数Bに
保持する。
First, in STEP 101-1 the RAM
The 19 pixel number table 19b is called. Next, STE
In P101-2, the variable A holds the number of counted pixels of the first line of the pixel number table 19b.
In -3, the count pixel number of the next one line is held in the variable B.

【0065】STEP101−4では、変数Aと変数B
の値を比較し、変数Aの値が変数Bの10%未満である
か否かを判断する。そして、変数Aの値が変数Bの10
%以上であれば、STEP101−5において変数Bの
値を変数Aに保持し、STEP101−3に戻る。ここ
では、文字の存在する行が始まるラインを検出するま
で、STEP101−3からSTEP101−5までの
処理を繰り返す。
In STEP 101-4, variable A and variable B
Are compared to determine whether the value of the variable A is less than 10% of the variable B. And the value of variable A is 10
If it is not less than%, the value of the variable B is held in the variable A in STEP 101-5, and the process returns to STEP 101-3. Here, the processing from STEP 101-3 to STEP 101-5 is repeated until a line at which the line where the character exists is detected.

【0066】一方、変数Aの値が変数Bの10%未満で
あれば、文字の存在する行が始まるラインを検出したも
のとして、STEP101−6において幅検出部17f
の幅カウンタに”1”をセットする。そして、STEP
101−7では、変数Bの値を変数Aに保持し、STE
P101−8において次の1ラインのカウント画素数を
変数Bに保持する。
On the other hand, if the value of the variable A is less than 10% of the variable B, it is determined that the line at which the line in which the character exists starts is detected, and the width detecting unit 17f is determined in STEP101-6.
Is set to "1" in the width counter. And STEP
In 101-7, the value of the variable B is held in the variable A,
In P101-8, the count pixel number of the next one line is held in the variable B.

【0067】次のSTEP101−9では、変数Aと変
数Bの値を比較し、変数Bの値が変数Aの10%未満で
あるか否かを判断する。そして、変数Bの値が変数Aの
10%以上であれば、STEP101−10において幅
カウンタに”1”を加算し、STEP101−11にお
いて変数Bの値を変数Aに保持してSTEP101−8
に戻る。ここでは、文字の存在する1行分の検出が終わ
るまで、STEP101−8からSTEP101−11
までの処理を繰り返す。
In the next STEP 101-9, the value of the variable A is compared with the value of the variable B, and it is determined whether or not the value of the variable B is less than 10% of the variable A. If the value of the variable B is 10% or more of the variable A, "1" is added to the width counter in STEP 101-10, and the value of the variable B is stored in the variable A in STEP 101-11, and STEP 101-8 is executed.
Return to Here, from step 101-8 to step 101-11, until detection of one line in which a character exists is completed.
The process up to is repeated.

【0068】一方、変数Bの値が変数Aの10%未満で
あれば、文字の存在する1行分の検出が終わったものと
して、STEP101−12においてRAM19の先頭
幅メモリ19cに幅カウンタの値を記憶する。
On the other hand, if the value of the variable B is less than 10% of the variable A, it is determined that the detection of one line in which the character exists has been completed, and the value of the width counter is stored in the head width memory 19c of the RAM 19 in STEP 101-12. Is stored.

【0069】次のSTEP101−13では、変数Aに
画素数テーブル19bの末尾1ラインのカウント画素数
を保持し、STEP101−14において前の1ライン
のカウント画素数を変数Bに保持する。
In the next STEP 101-13, the variable A holds the count pixel number of the last line of the pixel number table 19b, and in STEP 101-14, the count pixel number of the previous line is held in the variable B.

【0070】STEP101−15では、変数Aと変数
Bの値を比較し、変数Aの値が変数Bの10%未満であ
るか否かを判断する。そして、変数Aの値が変数Bの1
0%以上であれば、STEP101−16において変数
Bの値を変数Aに保持し、STEP101−14に戻
る。ここでは、文字の存在する行が始まるラインを検出
するまで、STEP101−14からSTEP101−
16までの処理を繰り返す。
In STEP 101-15, the values of the variables A and B are compared to determine whether the value of the variable A is less than 10% of the variable B. And the value of variable A is 1 of variable B
If it is 0% or more, the value of the variable B is stored in the variable A in STEP 101-16, and the process returns to STEP 101-14. Here, until the line where the line in which the character is present starts is detected, STEP101-14 to STEP101-
The processing up to 16 is repeated.

【0071】一方、変数Aの値が変数Bの10%未満で
あれば、文字の存在する行が始まるラインを検出したと
して、STEP101−17において幅検出部17fの
幅カウンタに”1”をセットする。
On the other hand, if the value of the variable A is less than 10% of the variable B, it is determined that the line where the line where the character exists is detected, and "1" is set in the width counter of the width detection unit 17f in STEP101-17. I do.

【0072】次のSTEP101−18では、変数Bの
値を変数Aに保持し、STEP101−19において前
の1ラインのカウント画素数を変数Bに保持する。
In the next step 101-18, the value of the variable B is stored in the variable A, and in step 101-19, the count pixel number of the previous one line is stored in the variable B.

【0073】STEP101−20では、変数Aと変数
Bの値を比較し、変数Bの値が変数Aの10%未満であ
るか否かを判断する。そして、変数Bの値が変数Aの1
0%以上であれば、STEP101−21において幅カ
ウンタに”1”を加算し、STEP101−22におい
て変数Bの値を変数Aに保持してSTEP101−19
に戻る。ここでは、文字の存在する1行分の検出が終わ
るまで、STEP101−19からSTEP101−2
2までの処理を繰り返す。
In STEP 101-20, the values of the variables A and B are compared to determine whether the value of the variable B is less than 10% of the variable A. Then, the value of the variable B is 1 of the variable A.
If it is 0% or more, "1" is added to the width counter in STEP101-21, and the value of variable B is stored in variable A in STEP101-22, and STEP101-19.
Return to Here, until the detection of one line in which a character is present is completed, STEP 101-19 to STEP 101-2 are performed.
The processing up to 2 is repeated.

【0074】一方、変数Bの値が変数Aの10%未満で
あれば、文字の存在する1行分の検出が終わったものと
して、STEP101−23においてRAM19の末尾
幅メモリ19dに幅カウンタの値を記憶する。
On the other hand, if the value of the variable B is less than 10% of the variable A, it is determined that the detection of one line in which the character exists has been completed, and the value of the width counter is stored in the tail width memory 19d of the RAM 19 in STEP101-23. Is stored.

【0075】STEP101−24ではRAM19の先
頭幅メモリ19cの値と末尾幅メモリ19dの値とを比
較し、末尾幅メモリ19dの値の方が先頭幅メモリ19
cの値よりも大きいか否かを判断する。そして、頭幅メ
モリ19cの値の方が末尾幅メモリ19dの値よりも大
きい場合には、STEP101−25において読取画像
バッファ17Dに記憶された画像情報を右方向に90度
回転して再記憶させ、処理を終了する。
In STEP 101-24, the value of the head width memory 19c of the RAM 19 is compared with the value of the tail width memory 19d, and the value of the tail width memory 19d is compared with the value of the head width memory 19d.
It is determined whether the value is larger than the value of c. If the value of the head width memory 19c is larger than the value of the tail width memory 19d, the image information stored in the read image buffer 17D is rotated 90 degrees clockwise in STEP 101-25 and stored again. , And the process ends.

【0076】一方、末尾幅メモリ19dの値の方が先頭
幅メモリ19cの値よりも大きい場合には、STEP1
01−26において読取画像バッファ17dに記憶され
た画像情報を左方向に90度回転して再記憶させ、処理
を終了する。
On the other hand, if the value of the tail width memory 19d is larger than the value of the head width memory 19c, STEP1
In step 01-26, the image information stored in the read image buffer 17d is rotated 90 degrees to the left and stored again, and the process ends.

【0077】(実施形態2)次に、本発明の請求項3お
よび請求項7に係る実施形態について図1と、図6から
図9を用いて説明を行う。
(Embodiment 2) Next, an embodiment according to claims 3 and 7 of the present invention will be described with reference to FIG. 1 and FIGS.

【0078】図6(a)および図6(b)は、本実施形
態2による名刺画像の方向判定について説明するための
図である。
FIGS. 6A and 6B are diagrams for explaining the direction determination of the business card image according to the second embodiment.

【0079】本実施形態では、読み取った画像の画素数
を演算し、まず、一番幅の大きい行を検出することによ
り名前に該当する行を特定し、次に、名前行における両
端部と文字の存在する部分までの空間を検出し、この両
端空間の大小によって名刺に記載された文字の上下方向
を判定する。
In this embodiment, the number of pixels of the read image is calculated, the line corresponding to the name is specified by detecting the line having the largest width, and then both ends of the name line and the character Is detected, and the vertical direction of the character written on the business card is determined based on the size of the both end spaces.

【0080】通常、名刺では、名前部分の文字が一番大
きく記載されており、また、名前の下部よりも上部にお
いて端部との空間を大きく取っている。このことから、
縦書き、かつ、縦向きの名刺の場合には、名前行の文字
存在部分から端部までの空間のうち、大きい方が名刺記
載文字の上方向であることが分かる。
Normally, in a business card, the characters in the name portion are described in the largest size, and the space between the end and the upper part of the name is larger than that of the lower part of the name. From this,
In the case of a vertically written and vertically oriented business card, it can be seen that the larger one of the spaces from the character existing portion to the end of the name line is the upward direction of the business card written character.

【0081】図1(a)に示したように、本体キャビネ
ット部1とカメラ部3を右方向に90度回転して撮影
し、読み取った画像は図6(a)に示す状態で記憶され
る。ここで、画像における一番幅の大きい行を求めるこ
とにより名前行を検出し、この名前行において名前行の
右部と端部との空間91cよりも名前行の左部と端部と
の空間91dの方が大きいことから、画像における左部
分が名刺の上方向であるとして、画像情報を右方向に9
0度回転させて再記憶し、この記憶した画像情報を基に
して文字認識を行う。
As shown in FIG. 1A, the main body cabinet unit 1 and the camera unit 3 are photographed by rotating the camera unit 90 to the right by 90 degrees, and the read image is stored in the state shown in FIG. 6A. . Here, the name line is detected by obtaining the line having the largest width in the image. In this name line, the space between the left portion and the end portion of the name line is smaller than the space 91c between the right portion and the end portion of the name line. Since 91d is larger, it is assumed that the left part of the image is the upward direction of the business card, and the image information is
The image is rotated by 0 degrees and stored again, and character recognition is performed based on the stored image information.

【0082】これに対して、図1(b)に示したよう
に、本体キャビネット部1とカメラ部3を左方向に90
度回転して撮影し、読み取った画像は図6(b)に示す
状態で記憶される。ここで、画像における一番幅の大き
い行を求めることにより名前行を検出し、この名前行に
おいて名前行の左部と端部との空間92dよりも名前行
の右部と端部との空間92cの方が大きいことから、画
像における右部分が名刺の上方向であるとして、画像情
報を左方向に90度回転させて再記憶し、この記憶した
画像情報を基にして文字認識を行う。
On the other hand, as shown in FIG. 1B, the main body cabinet 1 and the camera 3 are moved 90 degrees to the left.
The image that has been taken by rotating the camera and read is stored in the state shown in FIG. Here, the name line is detected by obtaining the line having the largest width in the image, and the space between the right portion and the end portion of the name line is smaller than the space 92d between the left portion and the end portion of the name line. Since 92c is larger, it is assumed that the right part in the image is the upper direction of the business card, and the image information is rotated 90 degrees to the left and stored again, and character recognition is performed based on the stored image information.

【0083】図7は、本実施形態2による詳細動作を示
すブロック図である。この図において、先に説明を行っ
た図3と同じ動作を行う部分に関しては、同じ符号を付
して説明を省略する。
FIG. 7 is a block diagram showing a detailed operation according to the second embodiment. In this figure, parts that perform the same operations as in FIG. 3 described above are given the same reference numerals, and description thereof is omitted.

【0084】実施形態1と同様に、撮影画像バッファ1
7aからの画像信号はゲート17cに出力されており、
画像撮影中に決定ボタン5が押されると、入力制御部1
7bよりゲート17cに信号を送出し、ゲート17cを
開放して撮影画像バッファ17aに保持された画像情報
が読取画像バッファ17dに出力される。読取画像バッ
ファ17dに画像情報が出力されると、画素カウント部
17eにより読取画像バッファ17dに保持された画像
情報の画素をカウントする。これは、画像情報に含まれ
る各行幅を検出するための準備動作であり、1ライン毎
の黒ドットの数をカウントして合計を求め、ライン数と
対応する合計ドット数をRAM19の画素数テーブル1
9bに記憶する。
As in the first embodiment, the photographed image buffer 1
The image signal from 7a is output to the gate 17c,
When the enter button 5 is pressed during image capturing, the input control unit 1
A signal is sent from the gate 7b to the gate 17c, the gate 17c is opened, and the image information held in the captured image buffer 17a is output to the read image buffer 17d. When the image information is output to the read image buffer 17d, the pixels of the image information held in the read image buffer 17d are counted by the pixel counting unit 17e. This is a preparation operation for detecting each line width included in the image information. The number of black dots for each line is counted to obtain a total, and the total number of dots corresponding to the number of lines is stored in the pixel number table of the RAM 19. 1
9b.

【0085】読取画像バッファ17dに保持された画像
情報において、全てのラインに関して画素のカウントを
終了すると、画素カウント部17eから行抽出部17i
に信号が送出される。
In the image information held in the read image buffer 17d, when the pixel counting for all the lines is completed, the pixel counting unit 17e switches to the row extracting unit 17i.
Is sent to

【0086】行抽出部17iでは、変数AとBを用いて
隣合わせのライン同士の画素数を比べ、一定以上の画素
数を有し、かつ、双方の画素数の比率が一定の割合であ
れば、1つの行として幅カウンタにより行幅のカウント
を行う。そして、読取画像バッファ17dの先頭部分か
ら1行ずつの行幅を求め、対応するライン数と共にRA
M19の行テーブル19eに記憶する。同様に、読取画
像バッファ17dに記憶されている全てのラインに関し
て行抽出動作を行い、RAM19の行テーブル19eを
完成させる。
The row extracting unit 17i compares the number of pixels between adjacent lines using the variables A and B, and if the number of pixels is equal to or greater than a certain value and the ratio of the numbers of both pixels is a certain ratio. The row width is counted as one row by a width counter. Then, the line width of each line from the head of the read image buffer 17d is obtained, and RA is calculated together with the corresponding line number.
It is stored in the row table 19e of M19. Similarly, a row extraction operation is performed for all the lines stored in the read image buffer 17d, and the row table 19e of the RAM 19 is completed.

【0087】行抽出部17iの動作が終わると、行抽出
部17iから名前領域抽出部17jに信号が送出され
る。名前領域抽出部17jでは、RAM19の行テーブ
ル19eの値から一番幅の大きい行を検出し、一番幅の
大きい行のライン数を読み出す。次に、読み出したライ
ン数に対応するライン情報を読取画像バッファ17dか
ら読み出し、名前両端空間抽出部17kに読み出したラ
イン情報を送出する。
When the operation of the line extracting unit 17i ends, a signal is sent from the line extracting unit 17i to the name area extracting unit 17j. The name area extracting unit 17j detects the widest line from the value in the line table 19e of the RAM 19 and reads the number of the widest line. Next, the line information corresponding to the read line number is read from the read image buffer 17d, and the read line information is sent to the name both ends space extracting unit 17k.

【0088】名前両端空間抽出部17kは、図示しない
空間カウンタをクリアして、読み出したライン情報の先
頭ドットを読み出し、読み出したドットが黒ドットにな
るまでカウントした空間カウンタの値をRAM19の先
頭空間メモリ19fに記憶する。また、名前両端空間抽
出部17kは、図示しない空間カウンタをクリアして、
読み出したライン情報の末尾ドットを読み出し、読み出
したドットが黒ドットになるまでカウントした空間カウ
ンタの値をRAM19の末尾空間メモリ19gに記憶す
る。
The name both ends space extracting section 17k clears a space counter (not shown), reads the leading dot of the read line information, and counts the value of the spatial counter counted until the read dot becomes a black dot in the leading space of the RAM 19. It is stored in the memory 19f. The name both ends space extracting unit 17k clears a space counter (not shown),
The last dot of the read line information is read, and the value of the space counter counted until the read dot becomes a black dot is stored in the last space memory 19g of the RAM 19.

【0089】両端空間比較部17mでは、RAM19の
先頭空間メモリ19fの値と末尾空間メモリ19gの値
とを比較し、比較結果を方向判定部17gに送出する。
The two-end space comparison unit 17m compares the value of the head space memory 19f of the RAM 19 with the value of the tail space memory 19g, and sends the comparison result to the direction determination unit 17g.

【0090】方向判定部17gでは、上記比較結果に基
いて画像情報を正しい位置に再記憶させる。末尾空間メ
モリ19gの値の方が先頭空間メモリ19fの値よりも
大きい場合には、方向判定部17gにより、読取画像バ
ッファ17dに記憶された画像情報を左方向に90度回
転して再記憶し、方向判定部17gから文字認識部17
hに信号を送出する。
The direction determining unit 17g re-stores the image information at a correct position based on the result of the comparison. If the value of the tail space memory 19g is larger than the value of the head space memory 19f, the image information stored in the read image buffer 17d is rotated 90 degrees to the left by the direction determination unit 17g and stored again. From the direction determination unit 17g to the character recognition unit 17
h.

【0091】一方、先頭空間メモリ19fの値の方が末
尾空間メモリ19gの値よりも大きい場合には、方向判
定部17gにより、読取画像バッファ17dに記憶され
た画像情報を右方向に90度回転して再記憶し、方向判
定部17gから文字認識部17hに信号を送出する。
On the other hand, when the value of the head space memory 19f is larger than the value of the tail space memory 19g, the direction determining unit 17g rotates the image information stored in the read image buffer 17d 90 degrees clockwise. Then, the signal is sent again from the direction determination unit 17g to the character recognition unit 17h.

【0092】文字認識部17hでは、読取画像バッファ
17dの画像情報に基づいて文字認識動作を行い、認識
結果をRAM19のデータ記憶部19aに記憶する。
The character recognizing unit 17h performs a character recognizing operation based on the image information in the read image buffer 17d, and stores the recognition result in the data storage unit 19a of the RAM 19.

【0093】次に、図8を用いて図4に示した画像読み
取り処理における本実施形態2の方向判定処理について
説明を行う。図8は、実施形態2による方向判定処理を
示すフローチャートである。
Next, the direction determination processing of the second embodiment in the image reading processing shown in FIG. 4 will be described with reference to FIG. FIG. 8 is a flowchart illustrating a direction determination process according to the second embodiment.

【0094】まず、STEP102−1においては、読
取画像バッファ17dから何ライン目に行(画像)が存
在するかを求め、RAM19の行テーブル19eに記憶
する行抽出処理を行う。この行抽出処理に関しては、以
下に図9を用いて詳細に説明する。
First, in STEP 102-1 a line extracting process is performed to find out in which line (image) the line exists from the read image buffer 17d and store it in the line table 19e of the RAM 19. This row extraction processing will be described in detail below with reference to FIG.

【0095】次に、STEP102−2では、RAM1
9の行テーブル19eを呼び出す。STEP102−3
では行テーブル19eの値から一番幅の大きい行を検出
し、STEP102−4において一番幅の大きい行のラ
イン数を読み出す。STEP102−5では、STEP
102−4において読み出したライン数に対応するライ
ン情報を読取画像バッファ17dから読み出す。そし
て、STEP102−6において名前両端空間抽出部1
7kに存在する図示しない空間カウンタをクリアする。
Next, in STEP 102-2, the RAM 1
9 is called. STEP102-3
Then, the widest row is detected from the value of the row table 19e, and the number of the widest row is read in STEP 102-4. In STEP 102-5, STEP
Line information corresponding to the number of lines read in 102-4 is read from the read image buffer 17d. Then, in STEP 102-6, the name both ends space extracting unit 1
The space counter (not shown) existing at 7k is cleared.

【0096】次に、STEP102−7では、STEP
102−5において読み出したライン情報の先頭ドット
を読み出し、STEP102−8において読み出したド
ットが黒ドットであるか否かを判断する。読み出したド
ットが黒ドットでなければ、STEP102−9におい
て空間カウンタに”1”を加算し、STEP102−1
0において次のドットを読み出してSTEP102−8
に戻る。ここでは、黒ドットが検出されるまでSTEP
102−8からSTEP102−10までの処理を繰り
返す。
Next, in STEP 102-7, in STEP 102-7,
The first dot of the line information read in 102-5 is read, and it is determined in STEP 102-8 whether the read dot is a black dot. If the read dot is not a black dot, "1" is added to the space counter in STEP 102-9, and STEP 102-1
At 0, the next dot is read, and STEP102-8 is executed.
Return to Here, STEP is performed until a black dot is detected.
The processing from 102-8 to STEP 102-10 is repeated.

【0097】一方、読み出したドットが黒ドットであれ
ば、STEP102−11においてRAM19の先頭空
間メモリ19fに空間カウンタの値を記憶し、STEP
102−12において空間カウンタの値をクリアする。
On the other hand, if the read dot is a black dot, the value of the space counter is stored in the head space memory 19f of the RAM 19 in STEP 102-11, and
At 102-12, the value of the space counter is cleared.

【0098】次に、STEP102−13では、STE
P102−5において読み出したライン情報の末尾ドッ
トを読み出し、STEP102−14において読み出し
たドットが黒ドットであるか否かを判断する。読み出し
たドットが黒ドットでなければ、STEP102−15
において空間カウンタに”1”を加算し、STEP10
2−16において次のドットを読み出してSTEP10
2−14に戻る。ここでは、黒ドットが検出されるまで
STEP102−14からSTEP102−16までの
処理を繰り返す。
Next, in STEP 102-13, the STE
The last dot of the line information read in P102-5 is read, and it is determined whether or not the dot read in STEP102-14 is a black dot. If the read dot is not a black dot, STEP102-15
In step 10, "1" is added to the space counter.
In step 2-16, the next dot is read out, and the
Return to 2-14. Here, the processing from STEP 102-14 to STEP 102-16 is repeated until a black dot is detected.

【0099】一方、読み出したドットが黒ドットであれ
ば、STEP102−17のいてRAM19の末尾空間
メモリ19gに空間カウンタの値を記憶する。
On the other hand, if the read dot is a black dot, the value of the space counter is stored in the last space memory 19g of the RAM 19 in STEP 102-17.

【0100】次に、STEP102−18においてRA
M19の先頭空間メモリ19fの値と末尾空間メモリ1
9gの値とを比較し、先頭空間メモリ19fの値の方が
末尾空間メモリ19gの値よりも大きいか否かを判断す
る。そして、末尾空間メモリ19gの値の方が先頭空間
メモリ19fの値よりも大きい場合には、STEP10
2−19において読取画像バッファ17dに記憶された
画像情報を左方向に90度回転して再記憶し、処理を終
了する。
Next, in STEP 102-18, RA
The value of the head space memory 19f of M19 and the tail space memory 1
The value of the head space memory 19f is compared with the value of the head space memory 19g to determine whether or not the value of the head space memory 19f is larger than the value of the tail space memory 19g. If the value of the tail space memory 19g is larger than the value of the head space memory 19f, STEP10
In step 2-19, the image information stored in the read image buffer 17d is rotated 90 degrees to the left and stored again, and the process ends.

【0101】一方、先頭空間メモリ19fの値の方が末
尾空間メモリ19gの値よりも大きい場合には、STE
P102−20において読取画像バッファ17dに記憶
された画像情報を右方向に90度回転して再記憶し、処
理を終了する。
On the other hand, if the value of the head space memory 19f is larger than the value of the tail space memory 19g, the STE
In P102-20, the image information stored in the read image buffer 17d is rotated rightward by 90 degrees and stored again, and the process ends.

【0102】次に、図9を用いて本実施形態2の行抽出
処理について説明を行う。図9は、実施形態2による行
抽出処理を示すフローチャートである。
Next, the row extracting process according to the second embodiment will be described with reference to FIG. FIG. 9 is a flowchart illustrating a row extraction process according to the second embodiment.

【0103】まず、STEP102−21において、R
AM19の画素数テーブル19bを呼び出す。次に、S
TEP102−22では、変数Aに画素数テーブル19
bの先頭1ラインのカウント画素数を保持し、STEP
102−23において次の1ラインのカウント画素数を
変数Bに保持する。
First, in STEP 102-21, R
The pixel number table 19b of the AM 19 is called. Next, S
In the TEP 102-22, the variable A is set to the pixel number table 19
b holds the number of pixels counted in the first line of the
In 102-23, the count pixel number of the next one line is held in the variable B.

【0104】STEP102−24では、変数Aと変数
Bの値を比較し、変数Aの値が変数Bの10%未満であ
るか否かを判断する。そして、変数Aの値が変数Bの1
0%以上であれば、STEP102−25において変数
Bの値を変数Aに保持し、STEP102−23に戻
る。ここでは、文字の存在する行が始まるラインを検出
するまで、STEP102−23からSTEP102−
25までの処理を繰り返す。
In STEP 102-24, the values of the variables A and B are compared to determine whether the value of the variable A is less than 10% of the variable B. And the value of variable A is 1 of variable B
If it is 0% or more, the value of the variable B is held in the variable A in STEP 102-25, and the process returns to STEP 102-23. Here, until the line where the line in which the character is present starts is detected, the steps from STEP 102-23 to STEP 102-
The processing up to 25 is repeated.

【0105】一方、変数Aの値が変数Bの10%未満で
あれば、文字の存在する行が始まるラインを検出したも
のとして、STEP102−26において行抽出部17
iの幅カウンタ)に”1”をセットする。そして、ST
EP102−27では、変数Bの値を変数Aに保持し、
STEP102−28において次の1ラインのカウント
画素数を変数Bに保持する。
On the other hand, if the value of the variable A is less than 10% of the variable B, it is determined that the line where the line in which the character exists starts is detected, and the line extracting unit 17 is executed in STEP102-26.
i is set to "1". And ST
In EP102-27, the value of variable B is stored in variable A,
In STEP 102-28, the count pixel number of the next one line is held in the variable B.

【0106】次のSTEP102−29では、変数Aと
変数Bの値を比較し、変数Bの値が変数Aの10%未満
であるか否かを判断する。そして、変数Bの値が変数A
の10%以上であれば、STEP102−30において
幅カウンタに”1”を加算し、STEP102−31に
おいて変数Bの値を変数Aに保持してSTEP102−
28に戻る。ここでは、文字の存在する1行分の検出が
終わるまで、STEP102−28からSTEP102
−31までの処理を繰り返す。
In the next STEP 102-29, the value of the variable A is compared with the value of the variable B, and it is determined whether or not the value of the variable B is less than 10% of the variable A. And the value of variable B is variable A
If it is 10% or more, "1" is added to the width counter in STEP 102-30, and the value of variable B is stored in variable A in STEP 102-31, and
Return to 28. Here, until the detection of one line in which a character is present is completed, the processing from STEP 102-28 to STEP 102 is completed.
The process up to -31 is repeated.

【0107】一方、変数Bの値が変数Aの10%未満で
あれば、文字の存在する1行分の検出が終わったものと
して、STEP102−32においてRAM19の行テ
ーブル19eに幅カウンタの値を記憶し、STEP10
2−33において行テーブル19eに現在カウント中の
ライン数を記憶する。そして、STEP102−34に
おいて幅カウンタをクリアする。
On the other hand, if the value of the variable B is less than 10% of the variable A, it is determined that the detection of one line in which the character exists has been completed, and the value of the width counter is stored in the line table 19 e of the RAM 19 in STEP 102-32. Remember, STEP10
In step 2-33, the number of lines currently being counted is stored in the row table 19e. Then, the width counter is cleared in STEPs 102-34.

【0108】STEP102−35では変数Bの値を変
数Aに保持し、STEP102−36において次の1ラ
インのカウント画素数を変数Bに保持する。
In STEP 102-35, the value of the variable B is stored in the variable A, and in STEP 102-36, the count pixel number of the next one line is stored in the variable B.

【0109】次に、STEP102−37では読取画像
バッファ17dの全ラインに対して処理を行ったか否か
を判断する。そして、全ラインに対して処理を行ってい
ない場合には、STEP102−23に戻り、読取画像
バッファ17dの全ラインに対して処理をし終えるまで
STEP102−23からSTEP102−37までの
処理を繰り返す。
Next, in STEP 102-37, it is determined whether or not the processing has been performed on all the lines of the read image buffer 17d. If the processing has not been performed on all the lines, the process returns to STEP 102-23, and the processing from STEP 102-23 to STEP 102-37 is repeated until the processing on all the lines in the read image buffer 17d is completed.

【0110】(実施形態3)次に、本発明の請求項4お
よび請求項8に係る実施形態について図1と、図10か
ら図12を用いて説明を行う。
(Embodiment 3) Next, an embodiment according to claims 4 and 8 of the present invention will be described with reference to FIG. 1 and FIGS.

【0111】図10(a)および図10(b)は、本実
施形態3による名刺画像の方向判定について説明するた
めの図である。
FIGS. 10A and 10B are diagrams for explaining the direction determination of the business card image according to the third embodiment.

【0112】本実施形態では、読み取った画像の画素数
を演算し、まず、一番幅の大きい行を検出することによ
り名前に該当する行を特定し、次に、名前行の端部とそ
の近接行の端部を比較し、揃っている方を名刺に記載さ
れた文字の上方向であると判定する。
In the present embodiment, the number of pixels of the read image is calculated, the line corresponding to the name is specified by detecting the line having the largest width, and then the end of the name line and its end are detected. By comparing the ends of the adjacent rows, it is determined that the aligned one is the upward direction of the character written on the business card.

【0113】通常、名刺では、名前部分の文字が一番大
きく記載されており、また、名前の近接部分に名前と先
頭文字を揃えて役職名が記載されている場合がある。こ
のことから、縦書き、かつ、縦向きの名刺の場合には、
名前行の端部と名前の近接行の端部とを比較し、端部が
一致した方向(または位置の差が少ない方向)が名刺記
載文字の上方向であることが分かる。
Normally, in a business card, the character of the name portion is described in the largest size, and the post name may be described in the vicinity of the name with the name and the first character aligned. From this, in the case of vertical writing and vertical business cards,
Comparing the end of the name line with the end of the adjacent line of the name, it can be seen that the direction in which the ends coincide (or the direction in which the difference in position is small) is the upward direction of the business card written character.

【0114】図1(a)に示したように、本体キャビネ
ット部1とカメラ部3を右方向に90度回転して撮影
し、読み取った画像は図10(a)に示す状態で記憶さ
れる。ここで、画像における一番幅の大きい行を求める
ことにより名前行を検出し、この名前行の近接行を検出
する。次に、名前行の端部と近接行の端部との位置の差
を調べ、画像における左部分で端部が一致していること
から、この左部分が名刺の上方向であるとして、画像情
報を右方向に90度回転させて再記憶し、この記憶した
画像情報を基にして文字認識を行う。
As shown in FIG. 1A, the main body cabinet unit 1 and the camera unit 3 are rotated by 90 degrees to the right and photographed, and the read image is stored in the state shown in FIG. 10A. . Here, the name line is detected by finding the line having the largest width in the image, and a line adjacent to the name line is detected. Next, the difference between the position of the end of the name row and the position of the end of the adjacent row is checked. Since the left part of the image is coincident with the end, it is assumed that the left part is the upper side of the business card, The information is rotated 90 degrees clockwise and stored again, and character recognition is performed based on the stored image information.

【0115】これに対して、図1(b)に示したよう
に、本体キャビネット部1とカメラ部3を左方向に90
度回転して撮影し、読み取った画像は図10(b)に示
す状態で記憶される。ここで、画像における一番幅の大
きい行を求めることにより名前行を検出し、この名前行
の近接行を検出する。次に、名前行の端部と近接行の端
部との位置の差を調べ、画像における右部分で端部が一
致していることから、この右部分が名刺の上方向である
として、画像情報を左方向に90度回転させて再記憶
し、この記憶した画像情報を基にして文字認識を行う。
On the other hand, as shown in FIG. 1B, the main body cabinet 1 and the camera 3 are moved 90 degrees to the left.
The image taken by rotating the image by a degree and read is stored in a state shown in FIG. Here, the name line is detected by finding the line having the largest width in the image, and a line adjacent to the name line is detected. Next, the difference between the position of the end of the name line and the position of the end of the adjacent line is examined. The information is rotated 90 degrees to the left and stored again, and character recognition is performed based on the stored image information.

【0116】図11は、本実施形態3による詳細動作を
示すブロック図である。この図において、先に説明を行
った図3と同じ動作を行う部分に関しては、同じ符号を
付して説明を省略する。
FIG. 11 is a block diagram showing a detailed operation according to the third embodiment. In this figure, parts that perform the same operations as in FIG. 3 described above are given the same reference numerals, and description thereof is omitted.

【0117】実施形態1および実施形態2と同様に、撮
影画像バッファ17aからの画像信号はゲート17cに
出力されており、画像撮影中に決定ボタン5が押される
と、入力制御部17bよりゲート17cに信号を送出
し、ゲート17cを開放して撮影画像バッファ17aに
保持された画像情報が読取画像バッファ17dに出力さ
れる。読取画像バッファ17dに画像情報が出力される
と、画素カウント部17eにより読取画像バッファ17
dに保持された画像情報の画素をカウントする。これ
は、画像情報に含まれる各行幅を検出するための準備動
作であり、1ライン毎の黒ドットの数をカウントして合
計を求め、ライン数と対応する合計ドット数をRAM1
9の画素数テーブル19bに記憶する。
As in the first and second embodiments, the image signal from the photographed image buffer 17a is output to the gate 17c. When the enter button 5 is pressed during image photographing, the gate 17c is transmitted from the input control unit 17b. , The gate 17c is opened, and the image information held in the captured image buffer 17a is output to the read image buffer 17d. When the image information is output to the read image buffer 17d, the pixel count unit 17e outputs the read image buffer 17d.
The pixels of the image information held in d are counted. This is a preparation operation for detecting each line width included in the image information. The number of black dots for each line is counted to obtain a total, and the total number of dots corresponding to the number of lines is stored in the RAM 1.
9 is stored in the pixel number table 19b.

【0118】読取画像バッファ17dに保持された画像
情報において、全てのラインに関して画素のカウントを
終了すると、画素カウント部17eから行抽出部17i
に信号が送出される。
In the image information held in the read image buffer 17d, when the pixel counting for all the lines is completed, the pixel counting unit 17e switches to the row extracting unit 17i.
Is sent to

【0119】行抽出部17iの動作は、上記実施形態2
において説明を行った図7の行抽出部17iの動作と同
様であるため、ここでは詳細な説明を省略する。
The operation of the row extracting unit 17i is described in the second embodiment.
Since the operation is the same as the operation of the row extracting unit 17i of FIG. 7 described above, the detailed description is omitted here.

【0120】行抽出部17iの動作が終わると、行抽出
部17iから名前領域抽出部17jに信号が送出され
る。名前領域抽出部17jでは、RAM19の行テーブ
ル19eの値から一番幅の大きい行を検出し、一番幅の
大きい行のライン数を読み出す。次に、読み出したライ
ン数に対応するライン情報を読取画像バッファ17dか
ら読み出し、名前領域端部検出部17nに読み出したラ
イン情報を送出する。
When the operation of the line extracting unit 17i ends, a signal is sent from the line extracting unit 17i to the name area extracting unit 17j. The name area extracting unit 17j detects the widest line from the value in the line table 19e of the RAM 19 and reads the number of the widest line. Next, line information corresponding to the read line number is read from the read image buffer 17d, and the read line information is sent to the name area end detection unit 17n.

【0121】名前領域端部検出部17nでは、図示しな
い空間カウンタをクリアして、読み出したライン情報の
先頭ドットを読み出し、読み出したドットが黒ドットに
なるまでカウントした空間カウンタの値をRAM19の
名前端部空間メモリ19hに記憶する。
The name area end detecting section 17n clears a space counter (not shown), reads the first dot of the read line information, and counts the value of the space counter counted until the read dot becomes a black dot in the name of the RAM 19. It is stored in the end space memory 19h.

【0122】名前領域端部検出部17nの動作が終わる
と、近接領域端部検出部17pに信号が送出される。近
接領域端部検出部17pでは、名前領域の近接ラインの
ライン情報を読取画像バッファ17dから読み出し、図
示しない空間カウンタをクリアして、読み出したライン
情報の先頭ドットを読み出す。そして、読み出したドッ
トが黒ドットになるまでカウントした空間カウンタの値
をRAM19の近接端部空間メモリ19iに記憶する。
When the operation of the name area end detection section 17n is completed, a signal is sent to the proximity area end detection section 17p. The proximity area end detection unit 17p reads the line information of the proximity line in the name area from the read image buffer 17d, clears a space counter (not shown), and reads the leading dot of the read line information. Then, the value of the space counter counted until the read dots become black dots is stored in the near end space memory 19i of the RAM 19.

【0123】近接領域端部検出部17pの動作が終わる
と、端部比較部17qに信号が送出される。端部比較部
17qでは、RAM19の名前端部空間メモリ19hの
値と近接端部空聞メモリ19iの値とを比較し、比較結
果を方向判定部17gに送出する。
When the operation of the proximity area edge detection section 17p is completed, a signal is sent to the edge comparison section 17q. The end comparison unit 17q compares the value of the name end space memory 19h of the RAM 19 with the value of the near end air memory 19i, and sends the comparison result to the direction determination unit 17g.

【0124】方向判定部17gでは、上記比較結果に基
いて画像情報を正しい位置に再記憶させる。近接端部空
間メモリ19iの値と名前端部空間メモリ19hの値が
同じでない場合には、方向判定部17gにより、読取画
像バッファ17dに記憶された画像情報を左方向に90
度回転して再記憶し、方向判定部17gから文字認識部
17hに信号を送出する。
The direction determining unit 17g re-stores the image information at a correct position based on the result of the comparison. If the value in the near end space memory 19i and the value in the name end space memory 19h are not the same, the direction determination unit 17g transfers the image information stored in the read image buffer 17d to the left by 90 degrees.
It is rotated and stored again, and a signal is sent from the direction determining unit 17g to the character recognizing unit 17h.

【0125】一方、名前端部空間メモリ19hの値と近
接端部空間メモリ19iの値が同じであれば、方向判定
部17gにより、読取画像バッファ17dに記憶された
画像情報を右方向に90度回転して再記憶し、方向判定
部17gから文字認識部17hに信号を送出する。
On the other hand, if the value of the name end space memory 19h and the value of the near end space memory 19i are the same, the direction determination unit 17g corrects the image information stored in the read image buffer 17d by 90 degrees to the right. It rotates and stores again, and sends a signal from the direction determination unit 17g to the character recognition unit 17h.

【0126】文字認識部17hでは、読取画像バッファ
17dの画像情報に基づいて文字認識動作を行い、認識
結果をRAM19のデータ記憶部19aに記憶する。
The character recognizing section 17h performs a character recognizing operation based on the image information in the read image buffer 17d, and stores the recognition result in the data storage section 19a of the RAM 19.

【0127】次に、図12を用いて図4に示した画像読
み取り処理における本実施形態3の方向判定処理につい
て説明を行う。図12は、実施形態3による方向判定処
理を示すフローチャートである。
Next, the direction determination processing of the third embodiment in the image reading processing shown in FIG. 4 will be described with reference to FIG. FIG. 12 is a flowchart illustrating a direction determination process according to the third embodiment.

【0128】まず、STEP103−1において、読取
画像バッファ17dから何ライン目に行が存在するかを
求め、RAM19の行テーブル19eに記憶する行抽出
処理を行う。この行抽出処理に関しては、実施形態2に
おいて図9を用いて既に説明を行っているので、ここで
は説明を省略する。
First, in STEP103-1, the line number from the read image buffer 17d is determined to be present, and a line extraction process for storing the line in the line table 19e of the RAM 19 is performed. Since the row extraction processing has already been described in the second embodiment with reference to FIG. 9, the description is omitted here.

【0129】次に、STEP103−2では、RAM1
9の行テーブル19eを呼び出す。そして、STEP1
03−3において行テーブル19eの値から一番幅の大
きい行を検出し、STEP103−4において一番幅の
大きい行のライン数を読み出す。STEP103−5で
は、STEP103−4において読み出したライン数に
対応するライン情報を読取画像バッファ17dから読み
出す。そして、STEP103−6において名前領域端
部検出部17nに存在する図示しない空間カウンタをク
リアする。
Next, in STEP 103-2, the RAM 1
9 is called. And STEP1
In step 03-3, the line having the largest width is detected from the value in the line table 19e, and in step 103-4, the number of lines having the largest width is read. In STEP 103-5, line information corresponding to the number of lines read in STEP 103-4 is read from the read image buffer 17d. Then, in STEP 103-6, a space counter (not shown) existing in the name area end detection unit 17n is cleared.

【0130】次に、STEP103−7では、STEP
103−5において読み出したライン情報の先頭ドット
を読み出し、STEP103−8において読み出したド
ットが黒ドットであるか否かを判断する。読み出したド
ットが黒ドットでなければ、STEP103−9におい
て空間カウンタに”1”を加算し、STEP103−1
0において次のドットを読み出してSTEP103−8
に戻る。ここでは、黒ドットが検出されるまでSTEP
103−8からSTEP103−10までの処理を繰り
返す。
Next, in STEP 103-7, STEP 103 is executed.
The head dot of the line information read in 103-5 is read, and it is determined in STEP 103-8 whether the read dot is a black dot. If the read dot is not a black dot, “1” is added to the space counter in STEP103-9, and STEP103-1
At 0, the next dot is read out and STEP103-8 is executed.
Return to Here, STEP is performed until a black dot is detected.
The processing from 103-8 to STEP 103-10 is repeated.

【0131】一方、読み出したドットが黒ドットであれ
ば、STEP103−11においてRAM19の名前端
部空間メモリ19hに空間カウンタの値を記憶し、ST
EP103−12において近接行とそのライン数を行テ
ーブル19eから読み出す。
On the other hand, if the read dot is a black dot, the value of the space counter is stored in the name end space memory 19h of the RAM 19 in STEP 103-11, and
In EP103-12, the adjacent row and the number of the adjacent rows are read from the row table 19e.

【0132】次に、STEP103−13では、STE
P103−13において読み出したライン数に対応する
ライン情報を読取画像バッファ17dから読み出す。そ
して、STEP103−14において、近接領域端部検
出部17pに存在する図示しない空間カウンタをクリア
する。
Next, in STEP 103-13, the STE
Line information corresponding to the number of lines read in P103-13 is read from the read image buffer 17d. Then, in STEP103-14, a space counter (not shown) existing in the proximity area end detection unit 17p is cleared.

【0133】次に、STEP103−15では、STE
P103−13において読み出したライン情報の先頭ド
ットを読み出し、STEP103−16において読み出
したドットが黒ドットであるか否かを判断する。読み出
したドットが黒ドットでなければ、STEP103−1
7において空間カウンタに”1”を加算し、STEP1
03−18において次のドットを読み出してSTEP1
03−16に戻る。ここでは、黒ドットが検出されるま
でSTEP103−16からSTEP103−18まで
の処理を繰り返す。
Next, in STEP 103-15, the STE
The head dot of the line information read in P103-13 is read, and it is determined whether the read dot is a black dot in STEP103-16. If the read dot is not a black dot, STEP 103-1
In step 7, "1" is added to the space counter,
At 03-18, the next dot is read out and STEP1 is executed.
Return to 03-16. Here, the processing from STEP 103-16 to STEP 103-18 is repeated until a black dot is detected.

【0134】一方、読み出したドットが黒ドットであれ
ば、STEP103−19においてRAM19の近接端
部空間メモリ19iに空間カウンタの値を記憶する。
On the other hand, if the read dot is a black dot, the value of the space counter is stored in the near end space memory 19i of the RAM 19 in STEP103-19.

【0135】次に、STEP103−20においては、
RAM19の名前端部空間メモリ19hの値と近接端部
空間メモリ19iの値とを比較し、名前端部空間メモリ
19hの値と近接端部空間メモリ19iの値とが一致す
るか否かを判断する。そして、名前端部空間メモリ19
hの値と近接端部空間メモリ19iの値とが一致しない
場合には、STEP103−21において読取画像バッ
ファ17dに記憶された画像情報を左方向に90度回転
して再記憶し、処理を終了する。
Next, in STEP 103-20,
The value of the name end space memory 19h of the RAM 19 is compared with the value of the close end space memory 19i to determine whether the value of the name end space memory 19h matches the value of the close end space memory 19i. I do. And the name end space memory 19
If the value of h does not match the value of the near end space memory 19i, the image information stored in the read image buffer 17d is rotated 90 degrees to the left in Step 103-21 and is stored again, and the process ends. I do.

【0136】一方、名前端部空間メモリ19hの値と近
接端部空間メモリ19iの値とが一致する場合には、S
TEP103−22において読取画像バッファ17dに
記憶された画像情報を右方向に90度回転して再記憶
し、処理を終了する。
On the other hand, if the value in the name end space memory 19h and the value in the close end space memory 19i match, S
In the TEP 103-22, the image information stored in the read image buffer 17d is rotated 90 degrees clockwise and stored again, and the process is terminated.

【0137】[0137]

【発明の効果】以上詳述したように、本発明によれば、
読み取った画像の画素数を演算して画像における上下に
存在する行(または左右に存在する列)を検出し、この
行(または列)の幅によって名刺に記載された文字の上
下(または左右)を判定することができる。
As described in detail above, according to the present invention,
The number of pixels of the read image is calculated to detect upper and lower rows (or left and right columns) in the image, and the upper and lower (or left and right) of a character written on a business card is determined by the width of this row (or column). Can be determined.

【0138】或いは、名前行(または名前列)における
両端部から文字の存在する部分までの空間を検出し、こ
の空間の大小によって名刺に記載された文字の上下(ま
たは左右)を判定することができる。
Alternatively, it is possible to detect a space from both ends of the name line (or name column) to the portion where the character exists, and determine the upper and lower (or left and right) of the character written on the business card based on the size of this space. it can.

【0139】或いは、名前行(または名前列)の端部と
名前の近接行(または近接列)の端部とを比較して、比
較結果に基づいて位置の差が少ない方向を名刺に記載さ
れた文字の上方向(または左方向)であると判定するこ
とができる。
Alternatively, the end of the name row (or the name column) is compared with the end of the adjacent row (or the adjacent column) of the name, and based on the comparison result, the direction in which the position difference is small is described on the business card. It can be determined that the character is upward (or leftward).

【0140】従来は上下左右4方向を検出する必要があ
ったのに対して、本発明によれば名刺の文字の進行方向
が判明するため、2回の方向判定(文字認識)だけで済
み、処理時間を短縮することができる。例えば、横長の
名刺において、氏名の記載部分の右端に大きな空間を検
出したり、または並んだ列の未次と開始位置が近接して
いる場合には、この名刺の情報は右から左に文字が印刷
されていることが分かる。このとき、縦型の名刺である
か、または横型の名刺であるかまでは検出できないが、
少なくとも縦型の名刺の場合には右側が上、横型の名刺
の場合には下側が上であることが想定できるため、これ
らの方向に対して文字認識を行って認識の一致度が高い
方(位置の差が少ない方)の方向を採用することによ
り、最終的な方向を検出することができる。従って、2
回の文字認識により文字の方向を検出することができ
る。さらに、縦型または横型を使用者が選択することに
より、名刺の上方向を特定するだけで文字の方向を自動
的に特定することができる。
Conventionally, four directions (up, down, left, and right) had to be detected. However, according to the present invention, the traveling direction of the characters on the business card can be determined, so only two direction determinations (character recognition) are required. Processing time can be reduced. For example, in a horizontally long business card, if a large space is detected at the right end of the part where the name is written, or if the start position is close to the next row, the information on this business card is written from right to left. It can be seen that is printed. At this time, it is not possible to detect whether it is a vertical business card or a horizontal business card,
At least in the case of a vertical business card, it can be assumed that the right side is up, and in the case of a horizontal business card, it is possible to assume that the lower side is up. The final direction can be detected by adopting the direction with the smaller position difference). Therefore, 2
The direction of a character can be detected by performing character recognition twice. Further, when the user selects the vertical type or the horizontal type, the character direction can be automatically specified only by specifying the upper direction of the business card.

【0141】さらに、従来は方向判定のために予め用意
するパターン文字が必ず名刺読取り画像に存在している
とは限らず、方向判定を行えないおそれがあったのに対
して、本発明によればより多くの名刺読み取り画像に対
応することができる。
Furthermore, the pattern characters prepared in advance for the direction determination are not always present in the business card read image, and the direction determination may not be performed. Thus, more business card read images can be handled.

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

【図1】(a)〜(c)は本発明に係る名刺認識装置の
撮影状態を示す図である。
FIGS. 1A to 1C are diagrams showing a shooting state of a business card recognition device according to the present invention.

【図2】(a)および(b)は実施形態1による名刺画
像の方向判定を説明するための図である。
FIGS. 2A and 2B are diagrams for explaining direction determination of a business card image according to the first embodiment.

【図3】実施形態1の名刺認識装置による詳細動作を説
明するためのブロック図である。
FIG. 3 is a block diagram illustrating a detailed operation performed by the business card recognition device according to the first embodiment.

【図4】本発明に係る名刺認識処理を説明するためのフ
ローチャートである。
FIG. 4 is a flowchart illustrating a business card recognition process according to the present invention.

【図5】実施形態1による方向判定処理を説明するため
のフローチャートである。
FIG. 5 is a flowchart illustrating a direction determination process according to the first embodiment.

【図6】(a)および(b)は実施形態2による名刺画
像の方向判定を説明するための図である。
FIGS. 6A and 6B are diagrams for explaining direction determination of a business card image according to the second embodiment.

【図7】実施形態2の名刺認識装置による詳細動作を説
明するためのブロック図である。
FIG. 7 is a block diagram illustrating a detailed operation of the business card recognition device according to the second embodiment.

【図8】実施形態2による方向判定処理を説明するため
のフローチャートである。
FIG. 8 is a flowchart illustrating a direction determination process according to the second embodiment.

【図9】実施形態2および実施形態3による行抽出処理
を説明するためのフローチャートである。
FIG. 9 is a flowchart illustrating a row extraction process according to the second and third embodiments.

【図10】(a)および(b)は実施形態3による名刺
画像の方向判定を説明するための図である。
FIGS. 10A and 10B are diagrams for explaining a direction determination of a business card image according to the third embodiment.

【図11】実施形態3の名刺認識装置による詳細動作を
説明するためのブロック図である。
FIG. 11 is a block diagram illustrating a detailed operation of the business card recognition device according to the third embodiment.

【図12】実施形態2による方向判定処理を説明するた
めのフローチャートである。
FIG. 12 is a flowchart illustrating a direction determination process according to the second embodiment.

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

1 本体キャビネット部 2 表示部 3 カメラ部 3a CCDカメラレンズ 4 スクロールボタン 5 決定ボタン 6 戻りボタン 7 電源スイッチ 8、90、91、92 名刺 11 CCD素子 12 増幅器 13 A/D変換器 14 コモン回路 15 セグメント回路 16 液晶表示回路部 17 中央制御部 17a 撮影画像バッファ 17b 入力制御部 17c ゲート 17d 読取画像バッファ 17e 画素カウント部 17f 幅検出部 17g 方向判定部 17h 文字認識部 17i 行抽出部 17j 名前領域抽出部 17k 名前両端空間抽出部 17m 両端空間比較部 17n 名前領域端部検出部 17p 近接領域端部検出部 17q 端部比較部 18 ROM 18a フォント情報エリア 18b プログラムエリア 19 RAM 19a データ記憶部 19b 画素数テーブル 19c 先頭幅メモリ 19d 末尾幅メモリ 19e 行テーブル 19f 先頭空間メモリ 19g 末尾空間メモリ 19h 名前端部空間メモリ 19i 近接端部空間メモリ 20 電源部 21 RTC 91a、92a 先頭の行幅 91b、92b 末尾の行幅 91c、92c 名前行の右部と端部との空間 91d、92d 名前行の左部と端部との空間 DESCRIPTION OF SYMBOLS 1 Main body cabinet part 2 Display part 3 Camera part 3a CCD camera lens 4 Scroll button 5 Enter button 6 Return button 7 Power switch 8, 90, 91, 92 Business card 11 CCD element 12 Amplifier 13 A / D converter 14 Common circuit 15 segment Circuit 16 Liquid crystal display circuit unit 17 Central control unit 17a Captured image buffer 17b Input control unit 17c Gate 17d Read image buffer 17e Pixel count unit 17f Width detection unit 17g Direction determination unit 17h Character recognition unit 17i Line extraction unit 17j Name area extraction unit 17k Name end space extraction unit 17m End space comparison unit 17n Name area end detection unit 17p Proximity area end detection unit 17q End comparison unit 18 ROM 18a Font information area 18b Program area 19 RAM 19a Data storage unit 19b Pixel Number table 19c Start width memory 19d End width memory 19e Row table 19f Start space memory 19g End space memory 19h Name end space memory 19i Proximity end space memory 20 Power supply 21 RTC 91a, 92a Head line width 91b, 92b End space Line width 91c, 92c Space between right and end of name line 91d, 92d Space between left and end of name line

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 名刺を画像として読み取る名刺読み取り
手段と、 該名刺読み取り手段にて読み取った名刺画像に含まれる
行または列からなる画像を抽出する抽出手段と、 抽出された行または列からなる画像の配置を予め設定さ
れた条件を用いて判断する判断手段と、 該判断手段の判断結果に基づいて名刺画像の方向を判定
する方向判定手段と、 該方向判定手段にて判定された方向を先頭として文字認
識を行う文字認識手段とを備えたことを特徴とする名刺
認識装置。
1. A business card reading means for reading a business card as an image, an extraction means for extracting an image consisting of rows or columns included in the business card image read by the business card reading means, and an image consisting of the extracted rows or columns Determining means for determining the arrangement of the business card image using a preset condition; direction determining means for determining the direction of the business card image based on the determination result of the determining means; And a character recognition means for performing character recognition.
【請求項2】 前記画像の配置を判断する条件が、行ま
たは列の幅方向の大きさであることを特徴とする請求項
1に記載の名刺認識装置。
2. The business card recognition device according to claim 1, wherein the condition for determining the arrangement of the image is a size of a row or a column in a width direction.
【請求項3】 名刺を画像として読み取る名刺読み取り
手段と、 該名刺読み取り手段にて読み取った名刺画像に含まれる
行または列からなる画像を抽出する抽出手段と、 名前に該当する行または列を特定する名前特定手段と、 該名前特定手段にて特定した名前に該当する行または列
の画像の名刺画像における両端の空間を抽出する空間抽
出手段と、 該空間抽出手段にて抽出した両端の空間の大きさを比較
する比較手段と、 該比較手段にて大きいと判断した空間の方向を先頭とし
て文字認識を行う文字認識手段とを備えたことを特徴と
する名刺認識装置。
3. A business card reading means for reading a business card as an image, an extraction means for extracting an image consisting of rows or columns included in the business card image read by the business card reading means, and specifying a row or column corresponding to the name. Name specifying means, and a space extracting means for extracting spaces at both ends in a business card image of a row or column image corresponding to the name specified by the name specifying means; A business card recognition device, comprising: comparison means for comparing sizes; and character recognition means for performing character recognition starting from the direction of the space determined to be large by the comparison means.
【請求項4】 名刺を画像として読み取る名刺読み取り
手段と、 該名刺読み取り手段にて読み取った名刺画像に含まれる
行または列からなる画像を抽出する抽出手段と、 名前に該当する行または列を特定する名前特定手段と、 該抽出手段にて抽出された行または列の両端を検出する
端部検出手段と、 該名前特定手段にて特定した名前に該当する行または列
と、他の行または列の端部を比較する端部比較手段と、 該端部比較手段の比較結果に基づいて文字方向を特定
し、文字認識を行う文字認識手段とを備えたことを特徴
とする名刺認識装置。
4. A business card reading means for reading a business card as an image, an extraction means for extracting an image composed of rows or columns included in the business card image read by the business card reading means, and specifying a row or column corresponding to the name. Name specifying means, end detecting means for detecting both ends of the row or column extracted by the extracting means, a row or column corresponding to the name specified by the name specifying means, and another row or column 1. A business card recognition device comprising: an end comparison means for comparing the end parts;
【請求項5】 名刺を画像として読み取る名刺読み取り
ステップと、 該名刺読み取りステップにて読み取った名刺画像に含ま
れる行または列からなる画像を抽出する抽出ステップ
と、 抽出された行または列からなる画像の配置を予め設定さ
れた条件を用いて判断する判断ステップと、 該判断ステップの判断結果に基づいて名刺画像の方向を
判定する方向判定ステップと、 該方向判定ステップにて判定された方向を先頭として文
字認識を行う文字認識ステップとを含むことを特徴とす
る名刺認識方法。
5. A business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, and an image consisting of the extracted rows or columns. A determination step of determining the location of the business card image using a preset condition; a direction determination step of determining the direction of the business card image based on the determination result of the determination step; And a character recognition step of performing character recognition.
【請求項6】 前記画像の配置を判断する条件が、行ま
たは列の幅方向の大きさであることを特徴とする請求項
5に記載の名刺認識方法。
6. The business card recognition method according to claim 5, wherein the condition for judging the arrangement of the image is a size of a row or a column in a width direction.
【請求項7】 名刺を画像として読み取る名刺読み取り
ステップと、 該名刺読み取りステップにて読み取った名刺画像に含ま
れる行または列からなる画像を抽出する抽出ステップ
と、 名前に該当する行または列を特定する名前特定ステップ
と、 該名前特定ステップにて特定した名前に該当する行また
は列の画像の名刺画像における両端の空間を抽出する空
間抽出ステップと、 該空間抽出ステップにて抽出した両端の空間の大きさを
比較する比較ステップと、 該比較ステップにて大きいと判断した空間の方向を先頭
として文字認識を行う文字認識ステップとを含むことを
特徴とする名刺認識方法。
7. A business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, and specifying a row or column corresponding to the name. A name specifying step, a space extracting step of extracting a space at both ends in a business card image of an image of a row or a column corresponding to the name specified in the name specifying step, A business card recognition method, comprising: a comparison step of comparing sizes; and a character recognition step of performing character recognition starting from a direction of a space determined to be large in the comparison step.
【請求項8】 名刺を画像として読み取る名刺読み取り
ステップと、 該名刺読み取りステップにて読み取った名刺画像に含ま
れる行または列からなる画像を抽出する抽出ステップ
と、 名前に該当する行または列を特定する名前特定ステップ
と、 該抽出ステップにて抽出された行または列の両端を検出
する端部検出ステップと、 該名前特定ステップにて特定した名前に該当する行また
は列と、他の行または列の端部を比較する端部比較ステ
ップと、 該端部比較ステップの比較結果に基づいて文字方向を特
定し、文字認識を行う文字認識ステップとを含むことを
特徴とする名刺認識方法。
8. A business card reading step for reading a business card as an image, an extraction step for extracting an image consisting of rows or columns included in the business card image read in the business card reading step, and specifying a row or column corresponding to the name. A name specifying step, an end detecting step of detecting both ends of the row or column extracted in the extracting step, a row or column corresponding to the name specified in the name specifying step, and another row or column And a character recognition step of identifying a character direction based on a comparison result of the edge comparison step and performing character recognition.
JP2000347273A 2000-11-14 2000-11-14 Business card recognition method Expired - Fee Related JP3815961B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000347273A JP3815961B2 (en) 2000-11-14 2000-11-14 Business card recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000347273A JP3815961B2 (en) 2000-11-14 2000-11-14 Business card recognition method

Publications (2)

Publication Number Publication Date
JP2002150218A true JP2002150218A (en) 2002-05-24
JP3815961B2 JP3815961B2 (en) 2006-08-30

Family

ID=18821035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000347273A Expired - Fee Related JP3815961B2 (en) 2000-11-14 2000-11-14 Business card recognition method

Country Status (1)

Country Link
JP (1) JP3815961B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259326B2 (en) 2006-09-14 2012-09-04 Sharp Kabushiki Kaisha Image readout system, server apparatus, image readout apparatus, and terminal apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259326B2 (en) 2006-09-14 2012-09-04 Sharp Kabushiki Kaisha Image readout system, server apparatus, image readout apparatus, and terminal apparatus

Also Published As

Publication number Publication date
JP3815961B2 (en) 2006-08-30

Similar Documents

Publication Publication Date Title
KR20060050729A (en) Method and apparatus for processing document image captured by camera
US9729737B2 (en) Image reading apparatus and computer-readable storage medium
KR20010085741A (en) Pen type input device with camera
JP2001043310A (en) Device and method for correcting document picture
JPH10334213A (en) Image processing unit and medium storing image processing unit control program
US9092669B2 (en) Image processing apparatus for processing photographed images
JP3563911B2 (en) Character recognition device
JP4155875B2 (en) Imaging device
KR102151474B1 (en) Non contract fingerprint recognition method using smart terminal
JP2002150218A (en) Name card recognition device and name card recognition method
JP4103909B2 (en) Portable information terminal and image processing method
JP4148903B2 (en) Image processing apparatus, image processing method, and digital camera
JP6563084B1 (en) Card number recognition apparatus and card number recognition method
CN115457585A (en) Processing method and device for homework correction, computer equipment and readable storage medium
JP2009205203A (en) Iris authentication device
JP4385873B2 (en) Electronic camera and program
JP4929572B2 (en) Image projection apparatus, image projection method, and image position correction program
JP2002298078A (en) Character display, its control method, record medium, and program
CN116229472B (en) Intelligent pen, written information acquisition system and correction processing system
JP6128358B2 (en) Image reading apparatus, image reading method, and program
JP2005311924A (en) Electronic camera and program
KR20190034812A (en) Acquisition of images for character recognition
JP4694389B2 (en) Character recognition method and photographing apparatus
JPH11239313A (en) Image output processing unit
JP5962975B2 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060512

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060606

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060606

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120616

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120616

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130616

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees