JP3724906B2 - Character direction determination device - Google Patents

Character direction determination device Download PDF

Info

Publication number
JP3724906B2
JP3724906B2 JP01191697A JP1191697A JP3724906B2 JP 3724906 B2 JP3724906 B2 JP 3724906B2 JP 01191697 A JP01191697 A JP 01191697A JP 1191697 A JP1191697 A JP 1191697A JP 3724906 B2 JP3724906 B2 JP 3724906B2
Authority
JP
Japan
Prior art keywords
character
image
zip code
direction determination
writing
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 - Fee Related
Application number
JP01191697A
Other languages
Japanese (ja)
Other versions
JPH10192790A (en
Inventor
幸央 内山
俊博 鈴木
秀明 山形
忍 山本
利夫 宮澤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP01191697A priority Critical patent/JP3724906B2/en
Publication of JPH10192790A publication Critical patent/JPH10192790A/en
Application granted granted Critical
Publication of JP3724906B2 publication Critical patent/JP3724906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Sorting Of Articles (AREA)
  • Character Input (AREA)

Description

【0001】
【発明が属する技術分野】
本発明は,郵便物に記載された郵便番号を読み取り,該郵便番号の記載方向を判定し,必要に応じて郵便番号を回転するなどの画像整形処理を実行する文字方向判定装置に関する。
【0002】
【従来の技術】
従来より,郵便物を区分する際に,その郵便物に記載されている郵便番号を読み取り,該読取情報から郵便番号を認識し,高速に区分する自動区分装置が知られている。また,近い将来には,郵便番号を現行の5桁の桁数からさらに増やす新しい郵便番号制度が予定されている。
【0003】
また,上記の新しい郵便番号制度が実施された場合には,郵便番号を読み取った後,対応するバーコードを郵便物上に印字する方式が検討されている。このように,郵便番号による郵便物区分け処理の自動化がさらに進み,その果たす役割は大いに期待されている。
【0004】
【発明が解決しようとする課題】
しかしながら,上記に示されるような従来の技術にあっては,現行の区分装置を用いて郵便番号による郵便物の区分処理を行うためには,郵便番号を横書きで記載しなければならないという制約があるため,郵便番号が縦書きで記載された場合には手作業による区分けを行わなければならず,区分作業の効率を阻害するという問題点があった。
【0005】
さらに,上記問題点を詳述する。特に日本語ワードプロセッサを利用して宛名を印字する場合には,縦書き郵便番号で印字される場合が多い。たとえば宛名印字機能がない(文書全体を横書き,あるいは縦書きで印字で印字する)ワードプロセッサを使用しているが,住所を手書き風フォントで印字したいなどの理由で,郵便番号ごと宛名全体を縦書きで印字するケースがある。
【0006】
また,宛名印字機能がある(郵便番号を横書き,住所を縦書きで印字できる)ワードプロセッサを使用しているものの,郵便番号の入力桁数が5に固定されており,桁数が増える新制度には対応することができない。そこで,住所部分の先頭行に郵便番号を入力し,住所の一部として縦書きで印字する他のケースもある。
【0007】
上記いずれのケースにおいても,その印字結果は,たとえば図5に示すようなものとなるため,手作業で区分しなければならず,作業効率を低下させていた。
【0008】
本発明は,上記に鑑みてなされたものであって,現行の郵便番号による郵便物区分装置の前処理として利用可能で,縦書きの郵便番号の読み取りを実現し,郵便番号の方向性が異なった場合であっても,郵便番号による区分作業の効率向上を図ることを目的とする。
【0009】
【課題を解決するための手段】
上記の目的を達成するために,請求項1に係る文字方向判定装置は,郵便番号を読み取り,該郵便番号の記載方向を判定し,必要に応じて前記郵便番号を回転する文字方向判定装置であって,郵便物に記載された郵便番号部分の文字画像を所定方向に読み取る画像読取手段と,前記画像読取手段で読み取った画像を格納する画像格納手段と,前記画像格納手段に格納されている画像を読み出し,該文字画像から郵便番号を一文字ずつ切り出す文字切り出し手段と,前記文字切り出し手段で切り出された各文字画像の縦横比に基づいて,文字方向を判定する文字方向判定手段と,前記文字方向判定手段の判定結果に基づいて,前記文字切り出し手段で切り出された各文字画像を回転する画像回転手段と,を備え,前記文字方向判定手段は,郵便番号の所定の桁を文字方向の判定情報として使用しないことを特徴とする
【0010】
すなわち,郵便物に記載された郵便番号部分の文字画像を所定方向に読み取って一時的に格納した後に,その画像を読み出し,該画像から郵便番号を一文字ずつ切り出し,切り出された各文字画像の縦横比から文字方向が縦であるか横であるかを判定すると共に,文字方向の判定結果に応じて判定された文字を回転する。これにより,たとえば郵便番号が縦書きで記載された場合,該縦書きと判定した後に,横書きに回転し,文字方向を変えることにより,現行の郵便番号による郵便物区分装置の前処理として利用可能な装置の提供が可能となる。また、郵便番号の所定の桁を文字方向の判定情報として使用しないことにより,たとえば郵便番号部分に存在する区切り文字を判定用文字に含む場合に生じる縦横比の逆転を回避し,その誤判定を排除することができる。
【0011】
また,請求項2に係る文字方向判定装置は,郵便番号を読み取り,該郵便番号の記載方向を判定し,必要に応じて前記郵便番号を回転する文字方向判定装置であって,郵便物に記載された郵便番号部分の文字画像を水平方向に読み取る画像読取手段と,前記画像読取手段で読み取った画像を格納する画像格納手段と,前記画像格納手段に格納されている画像を読み出し,該文字画像から郵便番号を一文字ずつ切り出す文字切り出し手段と,前記文字切り出し手段で切り出された各文字画像の縦横比が予め決められた基準値に対し,縦横比が大きければ縦書き,小さければ横書きであるとして,文字方向を判定する文字方向判定手段と,前記文字方向判定手段の判定結果が,縦書きであると判定された各文字画像を90度回転する画像回転手段と,を備え,前記文字方向判定手段は,郵便番号の所定の桁を文字方向の判定情報として使用しないことを特徴とする
【0012】
すなわち,郵便物に記載された郵便番号部分の文字画像を水平方向に読み取って一時的に格納した後に,その画像を読み出し,該画像から郵便番号を一文字ずつ切り出し,切り出された各文字画像の縦横比から文字方向が縦であるか横であるかを判定し,文字方向の判定結果が縦書きであると判定された文字を90度回転回転することにより,郵便番号が縦書きで記載された郵便番号を横書きに並び変えることができ,現行の郵便番号による郵便物区分装置の前処理として利用可能な装置の提供が可能となる。また、郵便番号の所定の桁を文字方向の判定情報として使用しないことにより,たとえば郵便番号部分に存在する区切り文字を判定用文字に含む場合に生じる縦横比の逆転を回避し,その誤判定を排除することができる。
【0015】
【発明の実施の形態】
以下,本発明の文字方向判定装置について添付図面を参照し,〔実施の形態1〕,〔実施の形態2〕の順に詳細に説明する。
【0016】
〔実施の形態1〕
(実施の形態1の構成)
図1は,実施の形態1に係るシステム構成を示すブロック図である。図において,101は光学センサ101で構成され,紙面上の郵便番号部分を画像パターンとして読み取る画像読取手段としての画像読取部,102は画像読取部101で読み取られた画像を記憶する画像格納手段としての画像記憶部,103は上記画像に含まれる個々の文字を切り出す文字切り出し手段としての文字切り出し部,104は文字切り出し部103により切り出された個々の文字の矩形情報における高さと幅の比(縦横比)に基づいて,文字方向を判定する文字方向判定手段としての文字方向判定部,105は必要に応じ,上記切り出された文字画像を回転し,次工程(自動区分装置)へ出力する画像回転手段としての画像回転部である。
【0017】
(実施の形態1の動作)
上記の構成において,まず,画像読取部101により紙面上の郵便番号部分を画像パターンとして読み取る。この読み取られた画像は画像記憶部102に一時的に記憶される。さらに,文字切り出し部103は上記画像から画像中に含まれる個々の文字を切り出し,この結果を文字方向判定部104に送る。
【0018】
文字方向判定部104では,上記切り出された個々の矩形情報(高さ,幅)から,文字の高さと幅の比(縦横比)に基づいて,文字方向を判定する。画像回転部105では,必要に応じて切り出された文字画像を回転し,次工程(図示せず)へ出力する。たとえば文字画像を区分装置内の画像記憶部に直接送ってもよい。また,一旦,紙上に印字させるようにしてもよい。
【0019】
ここで,上記構成・動作を踏まえ,実施の形態1の特徴となる動作について説明する。まず,郵便物上の郵便番号部分を,所定の方向に読み取る。この場合,たとえば水平行となる向きに読み取る。このようにして読み取られる画像パターンは,横書きか縦書きかによって,図2の(a),(b)に示すようなパターンとなる。
【0020】
なお,上記の段階では文字方向を決定せず,このまま個々の文字を切り出し,それぞれの文字について得られた高さと幅とから,縦横比(幅/高さ)を算出する。一般に,数字パターンは高さに比べて幅が小さいので,縦横比が大きければ縦書き,小さければ横書きであるとする。
【0021】
したがって,この実施の形態では各文字の縦横比の算術平均が,あるしきい値Tよりも大きい場合に縦書きと判定する。たとえば図2(a)に示すように,回転しないときの数字パターン「2」「0」の縦横比をすべて2/3とすると,この場合の縦横比平均は2/3となる。一方,図2(b)に示すように,90度回転したときの数字パターン「2」「0」の縦横比をすべて3/2とすると,この場合の縦横比平均は3/2となる。ここで,しきい値T=1とすれば,前者は横書きの並び,後者は縦書きの並びであると判定することができる。
【0022】
また,上記において,文字方向の判定,つまり,縦書きか横書きかの判定に縦横比平均以外の基準を用いてもよい。また,たとえば縦横比の最小値や最大値,あるいはメジアンに対するしきい値を設け,該しきい値に基づいて縦書きか横書きかの判定する処理に適用することもできる。
【0023】
続いて,縦書きの並びであると判定された場合に,切り出された各文字画像を90度回転させる。つまり,この処理により,図3に示すように,縦書きを横書きの並びへと変換することができる。これにより,縦書きの郵便番号を横書きの並びに変換すれば,次工程の区分装置で自動区分させることが可能となる。
【0024】
(実施の形態1の効果〕
したがって,パターン認識手段を持たない比較的小さな構成で,郵便番号を横並びに変換する前処理手段が提供されるので,区分装置には大幅な変更を加えることなく,縦書きの郵便番号を自動処理することができる。
【0025】
〔実施の形態2〕
この実施の形態2では,郵便番号の所定の桁を文字方向の判定には用いない例について説明する。
【0026】
郵便番号の書き方によっては,4桁目に区切り文字が入ることがある。たとえば図4に示すように,マイナス記号で区切って,「222−0000」のように書く場合がある。
【0027】
マイナスの文字パターンは回転しないときに横に細長い。その縦横比を5とし,前述の実施の形態1に従えば,郵便番号全体の縦横比平均は(7×2/3+5)/8=29/24>1となるので,横書きであるにもかかわらず縦書きの並びであると誤判定されることになる。
【0028】
一方,縦書きの区切り文字は共通の書き方があるとはいえず,回転せずに「−」をそのまま印字するワードプロセッサもあれば,縦書きを考慮して回転パターン「|」を印字するワードプロセッサもある。また,手書きの場合も上記の同様の書き方が混在する。すなわち,区切り文字の縦横比は,文字方向の判定には寄与せず,ノイズ情報であるといえる。
【0029】
そこで,区切り文字が書かれ得る4桁目の文字の縦横比を文字方向判定から除外すれば,他の桁には数字しかないので,より精度良く文字方向を判定することができる。
【0030】
(実施の形態2の効果〕
したがって,郵便番号の所定の桁(この場合,マイナス記号などの区切り文字)を文字方向の判定情報として使用しないため,郵便番号部分に存在する区切り文字を判定用文字に含む場合に生じる縦横比の逆転に起因する誤判定を排除することができる。
【0031】
【発明の効果】
以上説明したように,本発明に係る文字方向判定装置(請求項1)によれば,郵便物に記載された郵便番号部分の文字画像を所定方向に読み取って一時的に格納した後に,その画像を読み出し,該画像から郵便番号を一文字ずつ切り出し,切り出された各文字画像の縦横比から文字方向が縦であるか横であるかを判定すると共に,文字方向の判定結果に応じて判定された文字を回転する。これにより,たとえば郵便番号が縦書きで記載された場合,該縦書きと判定した後に,横書きに回転し,文字方向を変えることにより,現行の郵便番号による郵便物区分装置の前処理として利用可能な装置の提供が可能となるため,郵便番号の方向性が異なっても郵便番号による区分作業の効率向上を図ることができる。また、郵便番号の所定の桁を文字方向の判定情報として使用しないことにより,たとえば郵便番号部分に存在する区切り文字を判定用文字に含む場合に生じる縦横比の逆転を回避し,その誤判定を排除することができる。
【0032】
また,本発明に係る文字方向判定装置(請求項2)によれば,郵便物に記載された郵便番号部分の文字画像を水平方向に読み取って一時的に格納した後に,その画像を読み出し,該画像から郵便番号を一文字ずつ切り出し,切り出された各文字画像の縦横比から文字方向が縦であるか横であるかを判定し,文字方向の判定結果が縦書きであると判定された文字を90度回転回転することにより,郵便番号が縦書きで記載された郵便番号を横書きに並び変えることができ,現行の郵便番号による郵便物区分装置の前処理として利用可能な装置の提供が可能となるため,郵便番号の方向性が異なっても郵便番号による区分作業の効率向上を図ることができる。また、郵便番号の所定の桁を文字方向の判定情報として使用しないことにより,たとえば郵便番号部分に存在する区切り文字を判定用文字に含む場合に生じる縦横比の逆転を回避し,その誤判定を排除することができる。
【図面の簡単な説明】
【図1】実施の形態1に係るシステム構成を示すブロック図である。
【図2】実施の形態1に係り,郵便番号を水平向きとした場合の処理例を示す説明図である。
【図3】実施の形態1に係り,縦書き並びの文字の回転例を示す説明図である。
【図4】実施の形態2に係り,区切り文字が入る場合を示す説明図である。
【図5】縦書きで印字された宛名例を示す説明図である。
【符号の説明】
101 画像読取部
102 画像記憶部
103 文字切り出し部
104 文字方向判定部
105 画像回転部
[0001]
[Technical field to which the invention belongs]
The present invention reads the zip code listed on the postal matter, to determine the direction according to該郵flight number, about the character direction determination equipment for performing image shaping process such as rotating the zip code as needed.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an automatic sorting apparatus that reads a postal code written on a postal item, recognizes the postal code from the read information, and sorts the postal item at a high speed is known. In the near future, a new postal code system is planned to further increase the postal code from the current 5-digit number.
[0003]
In addition, when the above-mentioned new postal code system is implemented, after reading the postal code, a method of printing the corresponding bar code on the postal matter is being studied. In this way, the mail sorting process by postal code is further automated, and the role it plays is highly expected.
[0004]
[Problems to be solved by the invention]
However, in the prior art as shown above, there is a restriction that the postal code must be written horizontally in order to perform the postal processing of the postal code using the current sorting device. For this reason, when postal codes are written in vertical writing, they must be manually sorted, which hinders the efficiency of sorting work.
[0005]
Furthermore, the above problems will be described in detail. In particular, when a mailing address is printed using a Japanese word processor, it is often printed with a vertical postal code. For example, if you are using a word processor that does not have an address printing function (prints the entire document in horizontal or vertical writing), but wants to print the address in a handwritten font, the entire address is written vertically for each zip code. There is a case to print with.
[0006]
In addition, while using a word processor that has a mail address printing function (prints zip codes horizontally and addresses can be printed vertically), the number of digits entered in the zip code is fixed at 5, which is a new system that increases the number of digits. Can not respond. Therefore, there are other cases in which a zip code is entered in the first line of the address part and printed vertically as part of the address.
[0007]
In any of the above cases, the printing result is as shown in FIG. 5, for example, so that it must be manually sorted, reducing the working efficiency.
[0008]
The present invention has been made in view of the above, and can be used as a pre-processing of a mail sorting apparatus based on the current postal code, realizes the reading of a vertical postal code, and the directionality of the postal code is different. The purpose is to improve the efficiency of sorting work by zip code.
[0009]
[Means for Solving the Problems]
To achieve the above object, a character direction determination apparatus according to claim 1 reads the zip code, to determine the direction described該郵flight number, a character direction determination device for rotating the postal code if necessary An image reading unit that reads a character image of a postal code portion described in a mail piece in a predetermined direction, an image storage unit that stores an image read by the image reading unit, and the image storage unit A character cutout unit that reads an image and cuts out a zip code character by character from the character image; a character direction determination unit that determines a character direction based on an aspect ratio of each character image cut out by the character cutout unit; and the character based on the determination result of the direction determination means, and an image rotation means for rotating each character image extracted by said character segmentation means, the character direction determination means, postal Characterized in that it does not use a predetermined digit No. as the determination information of the character direction.
[0010]
That is, after the character image of the zip code portion described in the mail piece is read in a predetermined direction and temporarily stored, the image is read out, the zip code is cut out from the image one character at a time, and the vertical and horizontal directions of each cut character image are extracted. Whether the character direction is vertical or horizontal is determined from the ratio, and the character determined according to the character direction determination result is rotated. As a result, for example, when a postal code is written in vertical writing, it can be used as preprocessing for a mail sorting device based on the current postal code by rotating to horizontal writing and changing the character direction after determining that the writing is vertical writing. Such a device can be provided. In addition, by not using a predetermined postal code digit as character direction judgment information, for example, the reverse of the aspect ratio that occurs when the delimiter character existing in the postal code part is included in the judgment character, the erroneous judgment is avoided. Can be eliminated.
[0011]
The character direction determination apparatus according to claim 2 reads the zip code, to determine the direction described該郵flight number, a character direction determination device for rotating the postal code if necessary, according to mailpiece An image reading means for reading the character image of the postal code portion in the horizontal direction, an image storage means for storing the image read by the image reading means, an image stored in the image storage means, and reading the character image A character cutout means for cutting out a zip code one character at a time, and the aspect ratio of each character image cut out by the character cutout means is vertical writing if the aspect ratio is large, and horizontal writing if it is small. , Character direction determining means for determining the character direction, and image rotating means for rotating each character image determined by the character direction determining means as vertical writing by 90 degrees , Wherein the character direction determination means is characterized in that it does not use a predetermined digit postal code as the determination information of the character direction.
[0012]
That is, after the character image of the zip code portion described in the mail piece is horizontally read and temporarily stored, the image is read out, the zip code is cut out from the image one character at a time, and the vertical and horizontal directions of each cut character image The postal code is written in vertical writing by determining whether the character direction is vertical or horizontal from the ratio, and rotating the character determined to be vertical writing by 90 degree rotation The postal code can be rearranged horizontally, and it is possible to provide a device that can be used as a pre-processing of the mail sorting device based on the current postal code. In addition, by not using a predetermined postal code digit as character direction judgment information, for example, the reverse of the aspect ratio that occurs when the delimiter character existing in the postal code part is included in the judgment character, the erroneous judgment is avoided. Can be eliminated.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, about the character direction determination equipment of the present invention with reference to the accompanying drawings, [Embodiment 1] will be described in detail in the order of [Embodiment 2].
[0016]
[Embodiment 1]
(Configuration of Embodiment 1)
FIG. 1 is a block diagram showing a system configuration according to the first embodiment. In the figure, reference numeral 101 denotes an optical sensor 101, an image reading unit as an image reading unit that reads a postal code portion on paper as an image pattern, and 102 an image storage unit that stores an image read by the image reading unit 101. The image storage unit 103 includes a character cutout unit serving as a character cutout unit that cuts out individual characters included in the image, and 104 represents a ratio between height and width (rectangular and horizontal) of the rectangular information of each character cut out by the character cutout unit 103. The character direction determination unit 105 serving as a character direction determination means for determining the character direction based on the ratio) rotates the clipped character image as necessary and outputs the image to the next step (automatic sorting device). An image rotation unit as means.
[0017]
(Operation of Embodiment 1)
In the above configuration, first, the postal code portion on the paper surface is read as an image pattern by the image reading unit 101. The read image is temporarily stored in the image storage unit 102. Further, the character cutout unit 103 cuts out individual characters included in the image from the image and sends the result to the character direction determination unit 104.
[0018]
The character direction determination unit 104 determines the character direction based on the ratio between the height and width (aspect ratio) of the character from the cut out pieces of rectangular information (height and width). The image rotation unit 105 rotates the character image cut out as necessary, and outputs it to the next step (not shown). For example, the character image may be sent directly to the image storage unit in the sorting apparatus. Alternatively, it may be once printed on paper.
[0019]
Here, based on the above-described configuration and operation, an operation that is a feature of the first embodiment will be described. First, the postal code portion on the mail is read in a predetermined direction. In this case, for example, the reading is performed in a horizontal direction. The image pattern read in this way is a pattern as shown in FIGS. 2A and 2B depending on whether it is horizontal writing or vertical writing.
[0020]
In the above stage, the character direction is not determined, and individual characters are cut out as they are, and the aspect ratio (width / height) is calculated from the height and width obtained for each character. In general, the number pattern has a smaller width than the height, so if the aspect ratio is large, it is written vertically, and if it is small, it is written horizontally.
[0021]
Therefore, in this embodiment, when the arithmetic average of the aspect ratio of each character is larger than a certain threshold value T, it is determined that the character is vertically written. For example, as shown in FIG. 2A, if the aspect ratios of the numeric patterns “2” and “0” when not rotating are all 2/3, the average aspect ratio in this case is 2/3. On the other hand, as shown in FIG. 2B, if the aspect ratios of the number patterns “2” and “0” when rotated 90 degrees are all 3/2, the average aspect ratio in this case is 3/2. Here, if the threshold value T = 1, it can be determined that the former is a horizontal writing sequence and the latter is a vertical writing sequence.
[0022]
In the above description, a criterion other than the aspect ratio average may be used for the determination of the character direction, that is, the determination of vertical writing or horizontal writing. Further, for example, a threshold value with respect to the minimum value or maximum value of the aspect ratio or the median may be provided, and the present invention can be applied to processing for determining whether the writing is vertical or horizontal based on the threshold.
[0023]
Subsequently, when it is determined that the vertical writing is arranged, the extracted character images are rotated by 90 degrees. That is, by this processing, as shown in FIG. 3, vertical writing can be converted into a horizontal writing sequence. As a result, if the vertically written postal code is converted into the horizontal writing sequence, it can be automatically sorted by the sorting device in the next process.
[0024]
(Effect of Embodiment 1)
Therefore, since a pre-processing means for converting side-by-side zip codes is provided with a relatively small configuration that does not have pattern recognition means, vertical zip codes are automatically processed without significant changes to the sorting device. can do.
[0025]
[Embodiment 2]
In the second embodiment, an example will be described in which a predetermined digit of a postal code is not used for character direction determination.
[0026]
Depending on how the zip code is written, a delimiter may appear in the fourth digit. For example, as shown in FIG. 4, it may be written as “222-0000” separated by a minus sign.
[0027]
The negative character pattern is elongated horizontally when it does not rotate. The aspect ratio is set to 5, and according to the first embodiment, the average aspect ratio of the entire postal code is (7 × 2/3 + 5) / 8 = 29/24> 1, so that the horizontal writing is performed. Therefore, it is erroneously determined that it is a vertical writing sequence.
[0028]
On the other hand, vertical delimiters cannot be said to have a common way of writing, and some word processors print "-" as it is without rotation, while other word processors print rotation pattern "|" considering vertical writing. is there. In addition, the same way of writing is also mixed for handwriting. That is, it can be said that the aspect ratio of the delimiter is noise information without contributing to the determination of the character direction.
[0029]
Therefore, if the aspect ratio of the fourth digit in which the delimiter can be written is excluded from the character direction determination, the character direction can be determined with higher accuracy because there are only numbers in the other digits.
[0030]
(Effect of Embodiment 2)
Therefore, since a predetermined postal code digit (in this case, a delimiter such as a minus sign) is not used as character direction judgment information, the aspect ratio generated when the delimiter existing in the postal code part is included in the judgment character It is possible to eliminate misjudgment caused by reverse rotation.
[0031]
【The invention's effect】
As described above, according to the character direction determination device (claim 1) of the present invention, after the character image of the zip code portion described in the mail is read in a predetermined direction and temporarily stored, the image The zip code is cut out from the image one character at a time, and whether the character direction is vertical or horizontal is determined from the aspect ratio of each extracted character image, and is determined according to the determination result of the character direction. Rotate characters. As a result, for example, when a postal code is written in vertical writing, it can be used as preprocessing for a mail sorting device based on the current postal code by rotating to horizontal writing and changing the character direction after determining that the writing is vertical writing. Therefore, even if the direction of the zip code is different, the efficiency of sorting work by the zip code can be improved. In addition, by not using a predetermined postal code digit as character direction judgment information, for example, the reverse of the aspect ratio that occurs when the delimiter character existing in the postal code part is included in the judgment character, the erroneous judgment is avoided. Can be eliminated.
[0032]
In addition, according to the character direction determination device of the present invention (Claim 2), the character image of the zip code portion described in the mail piece is read in the horizontal direction and temporarily stored, and then the image is read out. Cut out the zip code one by one from the image, determine whether the character direction is vertical or horizontal from the aspect ratio of each extracted character image, and determine whether the character direction determination result is vertical writing. By rotating 90 degrees, postal codes written in vertical writing can be rearranged in horizontal writing, and it is possible to provide a device that can be used as a pre-processing of mail sorting device by current postal code Therefore, even if the direction of the postal code is different, the efficiency of sorting work by the postal code can be improved. In addition, by not using a predetermined postal code digit as character direction judgment information, for example, the reverse of the aspect ratio that occurs when the delimiter character existing in the postal code part is included in the judgment character, the erroneous judgment is avoided. Can be eliminated.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration according to a first embodiment.
FIG. 2 is an explanatory diagram illustrating a processing example according to the first embodiment when the postal code is in a horizontal direction.
FIG. 3 is an explanatory diagram illustrating an example of rotation of vertically arranged characters according to the first embodiment;
FIG. 4 is an explanatory diagram illustrating a case where a delimiter is entered according to the second embodiment.
FIG. 5 is an explanatory diagram illustrating an example of an address printed in vertical writing.
[Explanation of symbols]
101 Image Reading Unit 102 Image Storage Unit 103 Character Extraction Unit 104 Character Direction Determination Unit 105 Image Rotation Unit

Claims (2)

郵便番号を読み取り,該郵便番号の記載方向を判定し,必要に応じて前記郵便番号を回転する文字方向判定装置であって,
郵便物に記載された郵便番号部分の文字画像を所定方向に読み取る画像読取手段と,
前記画像読取手段で読み取った画像を格納する画像格納手段と,
前記画像格納手段に格納されている画像を読み出し,該文字画像から郵便番号を一文字ずつ切り出す文字切り出し手段と,
前記文字切り出し手段で切り出された各文字画像の縦横比に基づいて,文字方向を判定する文字方向判定手段と,
前記文字方向判定手段の判定結果に基づいて,前記文字切り出し手段で切り出された各文字画像を回転する画像回転手段と,
を備え,
前記文字方向判定手段は,郵便番号の所定の桁を文字方向の判定情報として使用しないことを特徴とする文字方向判定装置。
A character direction determination device that reads a zip code, determines a writing direction of the zip code, and rotates the zip code as necessary.
Image reading means for reading the character image of the postal code portion described in the mail in a predetermined direction;
Image storage means for storing an image read by the image reading means;
A character cutout means for reading out an image stored in the image storage means and cutting out a zip code character by character from the character image;
A character direction determination means for determining a character direction based on an aspect ratio of each character image cut out by the character cutout means;
An image rotation means for rotating each character image cut out by the character cutout means based on a determination result of the character direction determination means;
With
The character direction determining device does not use a predetermined digit of a zip code as character direction determination information.
郵便番号を読み取り,該郵便番号の記載方向を判定し,必要に応じて前記郵便番号を回転する文字方向判定装置であって,
郵便物に記載された郵便番号部分の文字画像を水平方向に読み取る画像読取手段と,
前記画像読取手段で読み取った画像を格納する画像格納手段と,
前記画像格納手段に格納されている画像を読み出し,該文字画像から郵便番号を一文字ずつ切り出す文字切り出し手段と,
前記文字切り出し手段で切り出された各文字画像の縦横比が予め決められた基準値に対し,縦横比が大きければ縦書き,小さければ横書きであるとして,文字方向を判定する文字方向判定手段と,
前記文字方向判定手段の判定結果が,縦書きであると判定された各文字画像を90度回転する画像回転手段と,
を備え,
前記文字方向判定手段は,郵便番号の所定の桁を文字方向の判定情報として使用しないことを特徴とする文字方向判定装置。
A character direction determination device that reads a zip code, determines a writing direction of the zip code, and rotates the zip code as necessary.
Image reading means for horizontally reading a character image of a postal code portion described in a mail piece;
Image storage means for storing an image read by the image reading means;
A character cutout means for reading out an image stored in the image storage means and cutting out a zip code character by character from the character image;
A character direction determination means for determining a character direction, assuming that the aspect ratio of each character image cut out by the character cutout means is vertical writing if the aspect ratio is large and horizontal writing if the aspect ratio is small, with respect to a predetermined reference value;
Image rotation means for rotating each character image determined to be vertical writing by 90 degrees as a result of determination by the character direction determination means;
With
The character direction determining device does not use a predetermined digit of a zip code as character direction determination information.
JP01191697A 1997-01-07 1997-01-07 Character direction determination device Expired - Fee Related JP3724906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01191697A JP3724906B2 (en) 1997-01-07 1997-01-07 Character direction determination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01191697A JP3724906B2 (en) 1997-01-07 1997-01-07 Character direction determination device

Publications (2)

Publication Number Publication Date
JPH10192790A JPH10192790A (en) 1998-07-28
JP3724906B2 true JP3724906B2 (en) 2005-12-07

Family

ID=11791035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01191697A Expired - Fee Related JP3724906B2 (en) 1997-01-07 1997-01-07 Character direction determination device

Country Status (1)

Country Link
JP (1) JP3724906B2 (en)

Also Published As

Publication number Publication date
JPH10192790A (en) 1998-07-28

Similar Documents

Publication Publication Date Title
US7436979B2 (en) Method and system for image processing
US5103489A (en) Label, method and device for locating addresses on articles to be sorted
US20020029202A1 (en) System and methods for unified routing of mailpieces and processing sender notifications
US6014450A (en) Method and apparatus for address block location
US20020141660A1 (en) Document scanner, system and method
KR20010030737A (en) Method and device for recognition of delivery data on mail matter
JP2000293626A (en) Method and device for recognizing character and storage medium
JP3388867B2 (en) Address area detecting device and address area detecting method
JP3724906B2 (en) Character direction determination device
JP3160347B2 (en) Mail address reading device
JP3162552B2 (en) Mail address recognition device and address recognition method
JP2924356B2 (en) Optical character reader
JPS6394384A (en) System for deciding direction of character row
JP3725953B2 (en) Character recognition device
JP2908548B2 (en) Recognition method
JP2616995B2 (en) Character recognition device
JP3105918B2 (en) Character recognition device and character recognition method
JP3412441B2 (en) Image processing device
Downton et al. Pre-processing of envelope images for optical character recognition
JPH0737034A (en) Optical character reader
JPH10171924A (en) Character recognizing device
JPH0793466A (en) Device for discriminating character kind and method therefor
Prasanna et al. Destination address interpretation for automating the sorting process of Indian Postal System
JPS5942354B2 (en) Delivery classification method
JPH11238095A (en) Mail address reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050622

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: 20050913

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050920

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: 20080930

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110930

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120930

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130930

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees