JP2503208B2 - Business card image processing method - Google Patents
Business card image processing methodInfo
- Publication number
- JP2503208B2 JP2503208B2 JP61009454A JP945486A JP2503208B2 JP 2503208 B2 JP2503208 B2 JP 2503208B2 JP 61009454 A JP61009454 A JP 61009454A JP 945486 A JP945486 A JP 945486A JP 2503208 B2 JP2503208 B2 JP 2503208B2
- Authority
- JP
- Japan
- Prior art keywords
- business card
- horizontal
- processing method
- projection
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Description
【発明の詳細な説明】 〔技術分野〕 本発明は、名刺OCRにおいて、縦書き横書きの名刺の
区別と名刺が何度回転して置かれたか(0゜,90゜,180
゜,270゜回転等)を自動的に判定する名刺画像処理方法
に関する。Description: TECHNICAL FIELD The present invention is to distinguish between vertical and horizontal business cards and how many times the business cards are rotated (0 °, 90 °, 180 °) in a business card OCR.
Business card image processing method for automatically determining (°, 270 ° rotation, etc.).
名刺には縦書きと横書きの2つの形式が存在する。従
来、このような名刺を光学的文字読取装置(OCR)で認
識するためには、オペレータがOCRに合わせた所定の方
向に名刺を一々セットする必要があり、必ずしも使い易
いとは云えなかった。Business cards come in two formats: vertical writing and horizontal writing. Conventionally, in order to recognize such a business card with an optical character reading device (OCR), an operator needs to set the business card one by one in a predetermined direction according to the OCR, which is not necessarily easy to use.
本発明の目的は、名刺を読取るためのOCRにおいて、
縦書き横書きの名刺の区別と名刺が何度回転して置かれ
た(0゜,90゜,180゜,270゜回転等)を自動的に判定
し、この種のOCRに使い易さの向上を図ることにある。An object of the present invention is to read an OCR for reading a business card,
Vertical and horizontal business cards can be distinguished and the number of times the business card is rotated (0 °, 90 °, 180 °, 270 ° rotation, etc.) is automatically determined to improve the ease of use for this type of OCR. Is to try.
名刺には必ず電話番号が印刷してあるが、第3図
(a)および第4図(a)に示す如く、縦書き横書きの
いずれかの名刺においても、電話番号は住所と共に端に
印刷してあり、しかもそれに使用されている文字のサイ
ズは名刺の中で最も小さい。従って、第3図(b)およ
び第4図(b)に示す如く、名刺の長手方向に沿って射
影をとり、その幅が最も狭い数本の影の存在する側が電
話番号の存在する部分であると推論できる。A telephone number is always printed on the business card, but as shown in FIG. 3 (a) and FIG. 4 (a), the telephone number is printed at the end along with the address in any vertically or horizontally written business card. And the size of the letters used in it is the smallest of any business card. Therefore, as shown in FIG. 3 (b) and FIG. 4 (b), the projection is made along the longitudinal direction of the business card, and the side with the few narrowest shadows is the portion where the telephone number exists. It can be inferred that there is.
本発明はこの点に注目し、入力パターンの水平、垂直
方向に全体の射影をとって名刺の長手方向を検出して、
電話番号を含む部分の文字切出しを行う。そして、この
切り出した部分について、0゜,90゜,180゜,270゜回転
した各数字に対応する辞書を用いて認識を行い、最も類
似度の高いものが連続して出ることにより数字の回転角
を判定して、名刺の縦書き横書きの区別と180゜回転し
てセットされているか否かを判定する。The present invention pays attention to this point, detects the longitudinal direction of the business card by projecting the entire horizontal and vertical directions of the input pattern,
Cut out characters including the phone number. Then, the cut-out portion is recognized by using a dictionary corresponding to each number rotated by 0 °, 90 °, 180 °, 270 °, and the number with the highest similarity is continuously output to rotate the number. The angle is judged to distinguish between vertical writing and horizontal writing of the business card and whether it is set by rotating 180 degrees.
第1図は本発明の対象とする名刺用OCRの概略構成を
示す。第1図において、10は入力スキャナ、20はマイク
ロプロセッサ、30はビットマップメモリ、40は辞書メモ
リである。マイクロプロセッサ20は処理装置(CPU)、
プログラムメモリ(ROM)、データメモリ(RAM)等で構
成され、プログラムの支援の下に射影検出、特徴抽出、
辞書検索などの処理を実行する。マイクロプロセッサ自
体は周知であるので、その構成の詳細は省略する。辞書
メモリ40は0゜,90゜,180゜,270゜回転した数字に対応
する辞書を有す。FIG. 1 shows a schematic structure of an OCR for business cards which is the object of the present invention. In FIG. 1, 10 is an input scanner, 20 is a microprocessor, 30 is a bitmap memory, and 40 is a dictionary memory. The microprocessor 20 is a processing unit (CPU),
It consists of program memory (ROM), data memory (RAM), etc. Projection detection, feature extraction, and
Execute processing such as dictionary search. Since the microprocessor itself is well known, details of its configuration are omitted. The dictionary memory 40 has a dictionary corresponding to numbers rotated by 0 °, 90 °, 180 ° and 270 °.
いま、任意に設定した名刺について、入力スキャナ10
により名刺全体のイメージを読み取り、ビットマップメ
モリ30に書き込む。このビットマップメモリ30のイメー
ジについてマイクロプロセッサ20は以下の処理を実行す
る。For the business cards that have been set arbitrarily, input scanner 10
Reads the entire image of the business card and writes it in the bitmap memory 30. The microprocessor 20 performs the following processing on the image of the bitmap memory 30.
まず、ビットマップメモリ30の入力イメージについ
て、その水平および垂直方向に全体の射影をとり、第2
図の如くX,Yの長さの大小を判定して名刺の長手方向を
検出する。First, for the input image of the bitmap memory 30, the entire projection is taken in the horizontal and vertical directions, and the second
As shown in the figure, the length of X and Y is judged to detect the longitudinal direction of the business card.
次に、検出した長手方向の射影について、その幅が最
も狭い数本の射影が存在する側を調べる。そして、最の
幅の細い射影でかつ最も端にあるものについて、長手方
向と垂直方向に1行分の射影を取り出す。これがいわゆ
る文字の切出しであり、名刺の電話番号を含む部分が切
り出される。Next, of the detected projections in the longitudinal direction, the side where there are several projections with the smallest width is examined. Then, for the projection with the smallest width and at the end, a projection for one line is taken out in the direction perpendicular to the longitudinal direction. This is so-called character cutout, and the part of the business card including the telephone number is cut out.
次に、切り出した各文字(数字)の特徴を抽出した
後、その特徴パラメータと辞書メモリ40にあらかじめ用
意された0゜,90゜,180゜,270゜回転した数字辞書との
間の類似度(距離)を算出する。これを切り出した各文
字について繰り返し何度回転した数字辞書で最もよくマ
ッチングするかを判定して、名刺が何度回転して置かれ
たかを検出する。Next, after extracting the features of the cut-out characters (numbers), the similarity between the feature parameter and the number dictionary rotated in the dictionary memory 40 by 0 °, 90 °, 180 °, 270 ° is prepared in advance. Calculate (distance). For each character that is cut out, it is determined how many times the number dictionary is rotated and the best match is made, and the number of times the business card is rotated and placed is detected.
次に、ビットマップメモリ30の入力イメージの全ての
長手方向の各射影について文字切出しを行い、上記検出
した回転角度に従って該切り出した文字毎のイメージを
回転した後、認識処理を行う。なお、1文字毎のイメー
ジを回転して認識処理を行う代りに、辞書メモリ40に0
゜,90゜,180゜,270゜回転した文字に対応した全辞書を
持ち、検出した回転角度に対応する辞書だけを検索する
ようにしてもよい。Next, character cutting is performed on all projections of the input image in the bitmap memory 30 in the longitudinal direction, and the image for each character cut out is rotated according to the detected rotation angle, and then recognition processing is performed. Instead of rotating the image for each character and performing the recognition process, the dictionary memory 40
It is also possible to have all the dictionaries corresponding to the characters rotated by °, 90 °, 180 °, 270 ° and search only the dictionary corresponding to the detected rotation angle.
以上の説明から明らかな如く、本発明によれば、名刺
をOCRに置くとき、その方向を意識する必要がなくな
り、名刺用OCRの使い易さが向上する。As is apparent from the above description, according to the present invention, when placing a business card on the OCR, it is not necessary to be aware of the direction, and the ease of use of the business card OCR is improved.
第1図は本発明で対象とする名刺読取装置の概略構成
図、第2図はビットマップメモリの内容の水平、垂直方
向の射影を示す図、第3図及び第4図は本発明の原理を
説明する図である。 10……入力スキャナ、20……マイクロプロセッサ、30…
…ビットマップメモリ、40……辞書メモリ。FIG. 1 is a schematic configuration diagram of a business card reading device targeted by the present invention, FIG. 2 is a diagram showing horizontal and vertical projections of contents of a bitmap memory, and FIGS. 3 and 4 are principles of the present invention. It is a figure explaining. 10 ... Input scanner, 20 ... Microprocessor, 30 ...
… Bitmap memory, 40… Dictionary memory.
Claims (1)
て、縦書きあるいは横書きの名刺を読み取り、該読み取
った名刺画像について、その水平、垂直方向に全体の射
影をとって名刺の長手方向を検知し、該検知した長手方
向の射影中の最も幅の細い射影を電話番号部分の射影と
してその各文字パターンを切り出し、該切り出した各文
字パターンとあらかじめ用意した0゜,90゜,180゜,270
゜回転した文字に対応するパターンとを比較して名刺の
縦書き横書きの区別と名刺が何度回転して置かれたかを
判定することを特徴とする名刺画像処理方法。1. A vertical and horizontal business card image processing method, comprising reading a vertical or horizontal business card, and taking the entire projection of the read business card image in the horizontal and vertical directions to determine the longitudinal direction of the business card. Each character pattern is detected by using the narrowest projection in the detected projection in the longitudinal direction as the projection of the telephone number portion, and the cut-out character patterns and 0 °, 90 °, 180 ° prepared in advance, 270
A business card image processing method characterized by comparing a pattern corresponding to a rotated character to distinguish between vertical writing and horizontal writing of a business card and how many times the business card is rotated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61009454A JP2503208B2 (en) | 1986-01-20 | 1986-01-20 | Business card image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61009454A JP2503208B2 (en) | 1986-01-20 | 1986-01-20 | Business card image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62166479A JPS62166479A (en) | 1987-07-22 |
JP2503208B2 true JP2503208B2 (en) | 1996-06-05 |
Family
ID=11720735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61009454A Expired - Lifetime JP2503208B2 (en) | 1986-01-20 | 1986-01-20 | Business card image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2503208B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6436383A (en) * | 1987-07-31 | 1989-02-07 | Toshiba Corp | Character reader |
JPS6484395A (en) * | 1987-09-26 | 1989-03-29 | Toshiba Corp | Character recognizing device |
JP2716980B2 (en) * | 1988-09-16 | 1998-02-18 | 株式会社日立製作所 | Normal image determination method for image information device |
JPH02270081A (en) * | 1989-04-12 | 1990-11-05 | Fujitsu Ltd | Direction detecting system for drawing |
JPH0424781A (en) * | 1990-05-15 | 1992-01-28 | Canon Inc | Document processor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57136285A (en) * | 1981-02-17 | 1982-08-23 | Fujitsu Ltd | Character recognizing system |
-
1986
- 1986-01-20 JP JP61009454A patent/JP2503208B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
Title |
---|
信学技報Vol.80No.23PRL80−70pp.9−16(1981年1月) |
Also Published As
Publication number | Publication date |
---|---|
JPS62166479A (en) | 1987-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2503208B2 (en) | Business card image processing method | |
JP6561684B2 (en) | Scanner device and program | |
JP3122476B2 (en) | Automatic document copy machine | |
JPH0728935A (en) | Document image processor | |
JP2877380B2 (en) | Optical character reader | |
JP2868392B2 (en) | Handwritten symbol recognition device | |
JP2902694B2 (en) | Optical character reader | |
JPH0586585B2 (en) | ||
JP2972443B2 (en) | Character recognition device | |
JP3160458B2 (en) | Character reading device and character reading method | |
CN114529918A (en) | Test paper inversion identification method, device and medium | |
JPH01201789A (en) | Character reader | |
JP2925270B2 (en) | Character reader | |
JPS62206694A (en) | Drawing reader | |
JPH01269184A (en) | Intra-document area boundary extracting system | |
JP4096458B2 (en) | Image reading system | |
JPH0632074B2 (en) | Normalization method | |
JPH0433082A (en) | Document recognizing device | |
JPH08263591A (en) | Device and method for character recognition | |
JPS63136181A (en) | Character reader | |
JPH03217993A (en) | Character size recognizer | |
JPS61206088A (en) | Character reading device | |
JPH01217686A (en) | Character reader | |
JPH03250387A (en) | Character segmenting system | |
JPH01237778A (en) | Character recognizing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |