JPH03182981A - Address reading and classifying machine - Google Patents
Address reading and classifying machineInfo
- Publication number
- JPH03182981A JPH03182981A JP1320614A JP32061489A JPH03182981A JP H03182981 A JPH03182981 A JP H03182981A JP 1320614 A JP1320614 A JP 1320614A JP 32061489 A JP32061489 A JP 32061489A JP H03182981 A JPH03182981 A JP H03182981A
- Authority
- JP
- Japan
- Prior art keywords
- area
- address
- image data
- postal
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 239000000872 buffer Substances 0.000 abstract description 30
- 238000007781 pre-processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- IGRCWJPBLWGNPX-UHFFFAOYSA-N 3-(2-chlorophenyl)-n-(4-chlorophenyl)-n,5-dimethyl-1,2-oxazole-4-carboxamide Chemical compound C=1C=C(Cl)C=CC=1N(C)C(=O)C1=C(C)ON=C1C1=CC=CC=C1Cl IGRCWJPBLWGNPX-UHFFFAOYSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
Landscapes
- Sorting Of Articles (AREA)
- Character Input (AREA)
- Character Discrimination (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的コ
(産業上の利用分野)
この発明は、搬送される郵便物からその上に記載されて
いる住所等の宛名を読取り、この読取った宛名を用いて
区分を行う宛名読取区分機に関する。[Detailed Description of the Invention] [Purpose of the Invention (Industrial Application Field) This invention reads the address or other address written on the mail being transported, and uses the read address. This article relates to an address reading and sorting machine that sorts addresses.
(従来の技術)
郵便区分業務を大別すると、取集めた郵便物を相手先の
郵便局に送るための区分作業である差立区分業務と、到
着した郵便物を配達するための区分業務である配達区分
業務がある。(Prior art) Postal sorting operations can be roughly divided into dispatch sorting operations, which are the sorting operations for sending the collected mail to the destination post office, and sorting operations, which are the sorting operations for delivering the arrived mail. There is a certain delivery classification business.
従来、差立区分業務については、郵便番号自動読取区分
機により大幅に自動化が図られてきたが、配達区分業務
については自動化が遅れていた。In the past, dispatch sorting operations have been largely automated using automatic postal code reading and sorting machines, but delivery sorting operations have lagged behind in automation.
ところが近年、宛名つまり住所を読取ることによって、
郵便物を配達区レベルまでの区分を自動化(配達区分業
務の自動化)しようとする動きが各国郵便省の間に高ま
っている。However, in recent years, by reading the recipient's address,
There is a growing movement among postal ministries in various countries to automate the sorting of mail down to the delivery district level (automation of delivery sorting operations).
しかし、郵便番号で区分され送達された配達扁において
は、上記郵便番号自動読取区分機を通ったもの、手区分
によって区分されたもの、市内特別郵便等受信局で配達
するものなど、種種の郵便物が混在している。However, there are various kinds of delivery boxes that are sorted by postal code and delivered, such as those that pass through the automatic postal code reading and sorting machine mentioned above, those that are sorted manually, and those that are delivered at special mail receiving stations in the city. Mail is mixed.
この場合、宛名読取区分機に混在郵便物の先端方向を取
り揃えて入力されない場合には、宛名の記載方向が固定
できず、領域内の文字読取順序、文字識別の回転補正に
よる識別候補の1曽大による読取不能、誤読が発生する
可能性があり、読取性能が安定しないという問題がある
ので、宛名読取区分機に入力する場合は、これら混在郵
便物の先端方向をオペレータの手操作により揃えて人力
されている。In this case, if the leading edge directions of mixed mail pieces are not input into the address reading and sorting machine, the direction in which the addresses are written cannot be fixed, and the number of identification candidates is determined by correcting the reading order of characters within the area and the rotation of character recognition. There is a possibility of unreadability or misreading due to large size, and unstable reading performance. Therefore, when inputting addresses into the address reading and sorting machine, the leading edge of these mixed mail pieces must be aligned manually by the operator. It is man-powered.
このため、操作性が悪いという欠点がある。For this reason, it has the disadvantage of poor operability.
(発明が解決しようとする課題)
上記したように、混在郵便物の先端方向を取り揃えて入
力しなければならず、操作性が悪し)という欠点を除去
するもので、混在郵便物の先端方向を取り揃えて人力す
る必要がなく、大変操作性の良い宛名読取区分機を提供
することを目的とする。(Problems to be Solved by the Invention) As mentioned above, this method eliminates the drawback that the leading directions of mixed mail must be aligned and input, resulting in poor operability. To provide an address reading and sorting machine that does not require manual labor to assemble and is very easy to operate.
[発明の構成]
(課題を解決するための手段)
この発明の宛名読取区分機は、搬送される郵便物からそ
の上に記載されている宛名を読取り、この読取った宛名
を用いて区分を行うものにおいて、上記郵便物の表面を
走査することにより、パターン信号を得る走査手段、こ
の走査手段により得られたパターン信号をイメージデー
タに変換する変換手段、この変換手段からのイメージデ
ータに応じて郵便番号領域、料額印面領域の検出を行う
検出手段、この検出手段の検出結果に基づいて上記領域
内を判別することにより上記郵便物の搬送方向を判定す
る判定手段、この判定手段により判定された上記郵便物
の搬送方向に応じて、上記第1の変換手段からのイメー
ジデータを用いて宛名を読取る読取手段、この読取手段
により読取つた宛名に応じて区分を行う区分手段から構
成されている。[Structure of the Invention] (Means for Solving the Problems) The address reading and sorting machine of the present invention reads the address written on the mail to be transported, and sorts the mail using the read address. A scanning means for obtaining a pattern signal by scanning the surface of the above-mentioned mail piece, a converting means for converting the pattern signal obtained by the scanning means into image data, and a converting means for converting the postal item according to the image data from the converting means. a detection means for detecting a number area and a postal stamp face area; a determination means for determining the conveyance direction of the mail by determining the inside of the area based on the detection result of the detection means; The apparatus is comprised of a reading means for reading the address using the image data from the first converting means according to the transport direction of the mail, and a sorting means for sorting according to the address read by the reading means.
(作用)
この発明は、搬送される郵便物からその上に記載されて
いる宛名を読取り、この読取った宛名を用いて区分を行
うものにおいて、上記郵便物の表面を走査することによ
り、パターン信号を得、この得られたパターン信号を変
換手段でイメージデータに変換し、この変換されたイメ
ージデータに応じて郵便番号領域、料額印面領域を検出
し、この検出結果に基づいて上記領域内を判別すること
により上記郵便物の搬送方向を判定し、この判定された
上記郵便物の搬送方向に応じて、上記第1の変換手段か
らのイメージデータを用いて宛名を読取り、この読取っ
た宛名に応じて区分を行うようにしたものである。(Function) The present invention reads the address written on the mail being conveyed and sorts it using the read address, and by scanning the surface of the mail, a pattern signal is generated. The obtained pattern signal is converted into image data by a converting means, the postal code area and the postage stamp area are detected according to the converted image data, and the area within the above area is detected based on the detection result. The direction of conveyance of the mail is determined by this determination, and the address is read using the image data from the first converting means according to the determined direction of conveyance of the mail. The classification is done accordingly.
(実施例)
以下、この発明の一実施例について図面を参照して説明
する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第2図(a)(b)はこの発明に係わる被読取物たとえ
ば郵便物Pの一例を示すもので、その表面には住所等の
宛名が記載される宛名領域Pa、郵便番号が記入される
郵便番号領域Pb1別納印、後納用、切手などの料額印
面が記載される料額印面領域Pc等によって構成されて
いる。FIGS. 2(a) and 2(b) show an example of an object to be read, such as a mail P, according to the present invention, on the surface of which an address area Pa in which an address and other address are written, and a postal code are written. It is composed of a postal code area Pb1, a postage stamp area Pc, etc., in which the postage stamp face of separate payment stamps, deferred payment stamps, stamps, etc. is written.
第1図は、宛先自動読取区分機に用いられる宛名読取装
置を概略的に示すものである。すなわち、11は走査部
(光電変換部)で、矢印a方向に搬送される郵便物Pの
搬送路(図示しない)に沿って設けられている。この走
査部11は、郵便物P上を光学的に走査して光電変換す
ることによりパターン信号を得るものであり、たとえば
郵便物P上に光を照射する光源、およびその反射光を受
けて電気信号に変換する自己走査形のCCDCアイセン
サ等によって構成される。上記走査部11は図示しない
発振器からのライン同期信号に同期して1ライン分ずつ
の電気信号を出力するようになっている。FIG. 1 schematically shows an address reading device used in an automatic address reading and sorting machine. That is, reference numeral 11 denotes a scanning section (photoelectric conversion section), which is provided along a transport path (not shown) for mail P that is transported in the direction of arrow a. This scanning unit 11 obtains a pattern signal by optically scanning the postal item P and photoelectrically converting it. It is composed of a self-scanning type CCDC eye sensor that converts into a signal. The scanning section 11 is configured to output electrical signals for each line in synchronization with a line synchronization signal from an oscillator (not shown).
上記走査部11の出力は宛名領域検出部12に供給され
るようになっている。この宛名領域検出部12は、上記
郵便物Pのイメージデータから郵便番号領域pbと料額
印面領域Pcを検出するとともに、郵便番号領域pbと
料額印面領域Pcを除いた住所等のみが記載されている
宛名領域Paのイメージデータを抽出するものである。The output of the scanning section 11 is supplied to an address area detection section 12. The address area detection unit 12 detects the postal code area pb and the postage stamp area Pc from the image data of the postal item P, and also detects only the address etc. excluding the postal code area pb and the postage stamp area Pc. This is to extract image data of the address area Pa.
たとえば、2値化回路20、前処理部21、特徴パター
ンバッファ22、イメージバッファ23、および制御プ
ロセッサ24によって構成されている。For example, it includes a binarization circuit 20, a preprocessing section 21, a feature pattern buffer 22, an image buffer 23, and a control processor 24.
2値化回路20は図示しない発振器からのライン同期信
号に同期して上記走査部11からの1ライン分ごとの電
気信号を2値化する回路であり、この2値化信号は前処
理部21およびイメージバッファ23に出力される。ま
た、2値化回路20からは、上記走査部11からの電気
信号により上記郵便物Pの長さに対応したマスク信号M
aが前処理部21、特徴パターンバッファ22、イメー
ジバッファ23、および制御プロセッサ24に出力され
ている。上記全体マスク信号Maは上記郵便物Pの長さ
に対応したマスク信号であり、上記ライン同期信号に同
期して出力されるようになっている。The binarization circuit 20 is a circuit that binarizes the electric signal for each line from the scanning section 11 in synchronization with a line synchronization signal from an oscillator (not shown), and this binarization signal is sent to the preprocessing section 21. and is output to the image buffer 23. Further, from the binarization circuit 20, a mask signal M corresponding to the length of the above-mentioned mail P is generated by the electric signal from the above-mentioned scanning section 11.
a is output to the preprocessing section 21, feature pattern buffer 22, image buffer 23, and control processor 24. The overall mask signal Ma is a mask signal corresponding to the length of the mail P, and is output in synchronization with the line synchronization signal.
前処理部21は、上記2値化回路20からの8本/ m
mの解像度のイメージデータを2本/ m mの解像
度(粗)のイメージデータに2次元的に圧縮することに
より、特徴抽出を行うものである。The preprocessing unit 21 processes 8 lines/m from the binarization circuit 20.
Feature extraction is performed by two-dimensionally compressing image data with a resolution of m into image data with a resolution (coarse) of 2 lines/mm.
特徴パターンバッファ22は、上記郵便物Pの全体に対
して上記前処理部21により圧縮されたイメージデータ
が順次記憶されることにより、郵便物全体の2次元的な
特徴パターンが記憶されるものである。The feature pattern buffer 22 stores the two-dimensional feature pattern of the entire postal item by sequentially storing image data compressed by the preprocessing unit 21 for the entire postal item P. be.
イメージバッファ23はそれぞれ上記2値化回路20か
らの8本/ m mの解像度のイメージデータを上記郵
便物Pの全領域性、記憶するものである。The image buffers 23 each store image data of a resolution of 8 lines/mm from the binarization circuit 20 for the entire area of the mail P.
制御プロセッサ24は特徴パターンバッファ22から供
給される2次元的な特徴パターンを内蔵する制御プログ
ラムによって解析することにより、郵便物P上の郵便番
号領域Pb1料額印面領域Pcの座標を検出し、郵便物
Pの搬送方向を検出するとともに、宛名領域Paを検出
するものである。The control processor 24 detects the coordinates of the postal code area Pb1 and the postage stamp area Pc on the postal item P by analyzing the two-dimensional feature pattern supplied from the feature pattern buffer 22 using a built-in control program. It detects the transport direction of the object P and also detects the address area Pa.
上記前処理部21は、第3図に示すように、垂直方向3
ライン分の遅延用のシフトレジスタ31a、31b、3
1c、各ラインごとの4画素分のデータが記憶されるシ
フトレジスタ32a132b、32c、32d、セレク
タ33、およびRAM34によって構成されている。As shown in FIG.
Shift registers 31a, 31b, 3 for line delay
1c, shift registers 32a, 132b, 32c, and 32d in which data for four pixels of each line is stored, a selector 33, and a RAM 34.
すなわち、現在読取中のラインのパターンデータが1画
素ごとにシフトレジスタ32aに順次供給されており、
シフトレジスタ31aには現在読取中のラインの1ライ
ン前の1ライン分のパターンデータが記憶され、シフト
レジスタ31bには現在読取中のラインの2ライン前の
1ライン分のパターンデータが記憶され、シフトレジス
タ31cには現在読取中のラインの3ライン前の1ライ
ン分のパターンデータが記憶されており、シフトレジス
タ32aには現在読取った画素のパターンデータと3画
素前のパターンデータとが記憶され、シフトレジスタ3
2bにはシフトレジスタ32aと同一画素の1ライン前
の4画素分のパタ−ンデータが記憶され、シフトレジス
タ32cにはシフトレジスタ32aと同一画素の2ライ
ン前の4画素分のパターンデータが記憶され、シフトレ
ジスタ32dにはシフトレジスタ32aと同一画素の3
ライン前の4画素分のパターンデータが記憶されている
。これにより、2値化回路20から供給されたパターン
データを含む4X4画素(16ビツト)のデータがセレ
クタ33に出力される。また、セレクタ33には上記制
御プロセッサ27からの記録アドレスが供給されるよう
になっている。このセレクタ33は4×4画素(16ビ
ツト)のデータあるいは上記制御プロセッサ24からの
記録アドレスを選択的にRAM34へ出力するものであ
る。RAM34には4×4画素(16ビツト)のデータ
に応じたデータつまり特徴パターンをデータ端子から出
力する、つまり8本/ m mの解像度のデータを2本
/ m mの解像度のデータに変換する変換テーブルが
記憶されるようになっている。このRAM34の変換テ
ーブルは上記セレクタを介して供給される上記制御プロ
0
セッサ24からの記録アドレスに、上記制御プロセッサ
24からデータ端子に供給されているデータを記憶する
ことにより設定されるようになっている。That is, the pattern data of the line currently being read is sequentially supplied to the shift register 32a pixel by pixel,
The shift register 31a stores pattern data for one line one line before the line currently being read, and the shift register 31b stores pattern data for one line two lines before the line currently being read. The shift register 31c stores pattern data for one line three lines before the line currently being read, and the shift register 32a stores pattern data for the currently read pixel and pattern data for three pixels before. , shift register 3
2b stores pattern data for four pixels one line before the same pixel as the shift register 32a, and pattern data for four pixels two lines before the same pixel as the shift register 32a is stored in the shift register 32c. , the shift register 32d has the same pixel as the shift register 32a.
Pattern data for four pixels before the line is stored. As a result, 4×4 pixel (16 bit) data including the pattern data supplied from the binarization circuit 20 is output to the selector 33. Further, the selector 33 is supplied with a recording address from the control processor 27. This selector 33 selectively outputs 4×4 pixel (16 bit) data or the recording address from the control processor 24 to the RAM 34. Data corresponding to 4 x 4 pixel (16 bit) data, that is, a characteristic pattern, is output from the data terminal to the RAM 34. In other words, data with a resolution of 8 lines/mm is converted to data with a resolution of 2 lines/mm. Conversion tables are now stored. The conversion table of the RAM 34 is set by storing the data supplied from the control processor 24 to the data terminal at the recording address from the control processor 24 supplied via the selector. ing.
制御プロセッサ24は、上記特徴パターンバッファ22
をその画素単位にアクセス可能となっており、あらかじ
め定められた矩形領域、つまり第4図のA領域、C領域
内を走査して、第5図に示すように、垂直、水平方向の
射影情報を抽出し、それぞれの軸において、最大値を検
出し、その1/2値をしきい値とした2値パターンによ
って標準的な郵便番号領域pb、パターン特徴としての
絶対位置情報、ピッチ情報などによって記入枠pbの判
定を行うものである。郵便番号領域pbの検出は、垂直
軸への射影を最初に検出し、次にY方向の検出領域を上
記領域に限定して水平方向射影の検出して行うものであ
る。The control processor 24 controls the feature pattern buffer 22.
can be accessed pixel by pixel, and by scanning predetermined rectangular areas, that is, areas A and C in Figure 4, projection information in the vertical and horizontal directions is obtained as shown in Figure 5. , detect the maximum value on each axis, and use the standard postal code area pb as a binary pattern with 1/2 value as the threshold value, absolute position information, pitch information, etc. as pattern features. This is for determining the entry frame pb. The detection of the postal code area pb is performed by first detecting the projection onto the vertical axis, and then by limiting the detection area in the Y direction to the above area and detecting the horizontal projection.
第6図は料額印面領域Pcにおける別納印マークの検出
を説明するためのものである。すなわち、郵便番号領域
pbと同様に、あらかじめ定められ1ま
た矩形領域、つまり第4図のB領域、D領域を図示のよ
うにラスク走査し、X軸上への黒画素の論理和をとった
射影を生成する。郵便物Pの左端よりあらかじめ定めた
範囲(約25〜30mm分の)の射影を検出しく別納印
、後納印等は、その外周円が25〜30mmの範囲にあ
るよう規格化されている)、同様にして、上記検出領域
内のY射影を同一手段によって算出し、上端より最初に
検出された射影ブロックをもって、外接矩形とし、Xc
、Ycとの比が0.9〜1.1の範囲(検出誤差)にあ
り、かつ検出された矩形の頂点から対角線上、中心に向
けて(約45度)R初に黒か検出されるまでの画素数が
r (X c +Y c ) / 2 Xo、2」の値
の110%以内であるかを判定する。FIG. 6 is for explaining the detection of the separate payment stamp mark in the charge stamp face area Pc. That is, similar to the postal code area pb, a predetermined rectangular area, that is, areas B and D in FIG. 4, was scanned as shown in the figure, and the logical sum of black pixels on the Generate a projection. To detect the projection of a predetermined range (approximately 25 to 30 mm) from the left end of the postal item P, separate payment stamps, deferred payment stamps, etc. are standardized so that their outer circumference is within the range of 25 to 30 mm), Similarly, the Y projection within the detection area is calculated by the same means, and the projection block detected first from the upper end is defined as a circumscribing rectangle, and Xc
, the ratio with Yc is in the range of 0.9 to 1.1 (detection error), and black is detected first in R on the diagonal from the vertex of the detected rectangle toward the center (approximately 45 degrees). It is determined whether the number of pixels up to is within 110% of the value of "r (X c + Y c ) / 2 Xo, 2".
そして、4つの頂点よりの上記黒画素検出距離が2頂点
以上満足することによって円であることを満足するかを
判定する。(外にこのような形状を満足する料額印面領
域Pcはない)。これらの判定により、郵便物Pの中で
も特に物量の多い別納印、後納印の有無つまり料額印面
領域Pcの有無2
を検出することができる。Then, it is determined whether the black pixel detection distance from the four vertices satisfies two or more vertices, thereby satisfying the condition of a circle. (There is no other charge stamp face area Pc that satisfies this shape). By these determinations, it is possible to detect the presence or absence of separate payment stamps and deferred payment stamps, which are especially large in quantity among the mail P, that is, the presence or absence of the postage stamp surface area Pc.
郵便番号領域pbの検出、別納印、後納印っまり料額印
面領域Pcの検出によって、これらの検出位置から第5
図に示す郵便番号領域pbの領域XAc5YAoで囲わ
れる領域と、第6図に示す料額印面領域Pcの領域X5
SYsで囲われる領域が宛名領域Paを検出する際に外
される。By detecting the postal code area pb, separate payment stamp, deferred payment stamp, fee amount stamp area Pc, the fifth
The area surrounded by the area XAc5YAo of the postal code area pb shown in the figure and the area X5 of the postal stamp face area Pc shown in FIG.
The area surrounded by SYs is excluded when detecting the address area Pa.
第6図で説明したのは、別納印、後納印の検出の例であ
るが、切手、受取人払い、料金計器等地のマークについ
ても同様にその特徴を検出することができる。What has been explained in FIG. 6 is an example of detecting separate payment stamps and deferred payment stamps, but the characteristics can be similarly detected for marks such as stamps, payee stamps, and toll meters.
したがって、上記制御プロセッサ24は検出した郵便番
号領域pb、料額印面領域Pcを除いた残りのイメージ
データを特徴パターンバッファ22から抽出し、この抽
出したイメージデータから垂直、水平方向の射影情報を
抽出し、これらの射影情報により宛名領域Paの座標を
判断し、この宛名領域Paの座標に対応するイメージデ
ータのみを上記イメージバッファ23から読出して次段
の宛名認識部13に出力させるとともに、上記] 3
郵便番号領域Pb1料額印面領域Pcの検出位置に応じ
て郵便物Pの搬送方向を出力するようになっている。Therefore, the control processor 24 extracts the remaining image data excluding the detected postal code area pb and stamp face area Pc from the feature pattern buffer 22, and extracts vertical and horizontal projection information from the extracted image data. Then, the coordinates of the address area Pa are determined based on these projection information, and only the image data corresponding to the coordinates of the address area Pa is read out from the image buffer 23 and output to the address recognition unit 13 at the next stage, and the above] 3. The conveyance direction of the postal item P is output according to the detected position of the postal code area Pb1 postage stamp area Pc.
上記宛名認識部13は、上記宛名領域検出部12からの
郵便物Pの搬送方向と宛名領域Pa内のイメージデータ
に応じて、宛名を認識し、宛名に対する区分指定データ
つまり後段の区分部における区分ポケットを示すデータ
を出力するものである。上記宛名認識部13は、上記宛
名領域検出部12からの郵便物Pの搬送方向により、領
域内の文字読取順序の決定、文字識別の回転補正を行う
ようになっている。The address recognition unit 13 recognizes the address according to the transport direction of the mail P and the image data in the address area Pa from the address area detection unit 12, and uses classification designation data for the address, that is, the classification in the subsequent sorting unit. This outputs data indicating pockets. The addressee recognition unit 13 determines the character reading order within the area and corrects the rotation of character identification based on the transport direction of the mail P from the addressee area detection unit 12.
次に、このような構成において動作を説明する。Next, the operation in such a configuration will be explained.
たとえば今、第2図(a)あるいは(b)に示す郵便物
Pが矢印a方向に搬送され、走査部11に到達する。す
ると、この走査部11はその郵便物P上を光学的に走査
して光電変換し、その光電変換データが宛名領域検出部
12に供給される。すると、宛名領域検出部12は、上
記郵便物Pのイメージデータから郵便番号領域pbと料
額印面領4
域Pcの座標を検出し、郵便番号領域Pbと料額印面領
域Pcの位置、形から郵便物Pの搬送方向を判定すると
ともに、郵便番号領域pbと料額印面領域Pcを除いた
宛名領域Paのイメージデータを抽出する。For example, now, the mail P shown in FIG. 2(a) or (b) is conveyed in the direction of arrow a and reaches the scanning section 11. Then, the scanning unit 11 optically scans the mail P and performs photoelectric conversion, and the photoelectric conversion data is supplied to the address area detection unit 12. Then, the address area detection unit 12 detects the coordinates of the postal code area pb and the postage stamp area Pc from the image data of the postal item P, and calculates the coordinates from the position and shape of the postal code area Pb and the postage stamp area Pc. The transport direction of the postal item P is determined, and image data of the address area Pa excluding the postal code area pb and the postage stamp area Pc is extracted.
すなわち、上記走査部11からの光電変換データが2値
化回路20に供給されると、2値化回路20からマスク
信号Maが出力され、前処理部21、特徴パターンバッ
ファ22、イメージバッファ23、および制御プロセッ
サ24に供給される。That is, when the photoelectric conversion data from the scanning section 11 is supplied to the binarization circuit 20, the mask signal Ma is output from the binarization circuit 20, and the mask signal Ma is outputted from the binarization circuit 20, and the data is sent to the preprocessing section 21, the feature pattern buffer 22, the image buffer 23, and to control processor 24.
また、上記走査部11からの光電変換データは2値化回
路20で2値化信号つまり8本/ m mの解像度のイ
メージデータに変換される。この2値化回路20からの
イメージデータは、イメージバッファ25(あるいは2
6) および前処理部21に供給される。この前処理部
21により2値化回路20からのイメージデータは2本
/ m mの解像度(粗)のイメージデータに圧縮され
、特徴パターンバッファ22に記憶される。Further, the photoelectric conversion data from the scanning section 11 is converted into a binary signal, that is, image data with a resolution of 8 lines/mm by a binarization circuit 20. The image data from this binarization circuit 20 is transferred to an image buffer 25 (or 2
6) and supplied to the preprocessing section 21. The preprocessing unit 21 compresses the image data from the binarization circuit 20 into image data with a resolution (coarse) of 2 lines/mm, and stores it in the feature pattern buffer 22.
5
そして、郵便物Pの全体に対する各バッファへの記憶処
理が終了した際に、マスク信号Maが停止され、制御プ
ロセッサ24に割込信号が供給される。すると、制御プ
ロセッサ24は特徴パターンバッファ22への上記郵便
物Pの全体に対する圧縮されたイメージデータの記憶が
終了したことを判断し、内蔵プログラムを起動する。こ
れにより、制御プロセッサ24は特徴パターンバッファ
23内の所定領域、つまり第4図のA領域、C領域内を
走査して、垂直、水平方向の射影情報を抽出し、それぞ
れの軸において、最大値を検出し、その1/2値をしき
い値とした2値パターンによって標準的な郵便番号領域
Pb、パターン特徴としての絶対位置情報、ピッチ情報
などによって郵便番号領域pbの判定を行う。5. Then, when the storage process for the entire mail P in each buffer is completed, the mask signal Ma is stopped and an interrupt signal is supplied to the control processor 24. Then, the control processor 24 determines that the storage of the compressed image data for the entire postal item P into the feature pattern buffer 22 is completed, and starts the built-in program. Thereby, the control processor 24 scans the predetermined areas in the feature pattern buffer 23, that is, areas A and C in FIG. 4, extracts vertical and horizontal projection information, and extracts the maximum value in each axis. is detected, and the standard postal code area Pb is determined using a binary pattern using the 1/2 value as a threshold, and the postal code area pb is determined based on absolute position information, pitch information, etc. as pattern features.
また、制御プロセッサ24は特徴パターンバッファ23
内の所定領域、つまり第4図のB領域、D領域をラスタ
走査し、X軸上への黒画素の論理和をとった射影を生成
することにより、郵便物Pの左端よりあらかじめ定めた
範囲の射影を検出し、 6
同様にして、上記検出領域内のY射影を同一手段によっ
て算出し、上端より最初に検出された射影ブロックをも
って、外接矩形とし、Xc、Ycとの比が0.9〜1.
1の範囲(検出誤差)にあり、かつ検出された矩形の頂
点から対角線上、中心に向けて(約45度)最初に黒が
検出されるまでの画素数がr (Xc+Yc)/2XO
,2Jの値の±10%以内であるかを判定する。そして
、4つの頂点よりの上記黒画素検出距離が2頂点以上満
足することによって円であることを満足するかを判定す
る。これらの判定により、郵便物Pの中でも特に物量の
多い別納中、後納中の有無つまり料額印面領域Pcの有
無を検出する。The control processor 24 also controls the feature pattern buffer 23.
A predetermined range from the left end of the postal item P is created by raster scanning the predetermined areas within the area, that is, areas B and D in FIG. 6 Similarly, calculate the Y projection in the detection area using the same means, and define the projection block detected first from the upper end as a circumscribed rectangle, and the ratio of Xc and Yc is 0.9. ~1.
1 (detection error), and the number of pixels diagonally from the vertex of the detected rectangle toward the center (approximately 45 degrees) until black is first detected is r (Xc + Yc) / 2XO
, 2J is within ±10% of the value. Then, it is determined whether the black pixel detection distance from the four vertices satisfies two or more vertices, thereby satisfying the condition of a circle. Through these determinations, the presence or absence of separate delivery or deferred delivery, which has a particularly large amount of mail P, is detected, that is, the presence or absence of the postage stamp area Pc.
なお、上記郵便番号領域Pb1料額印面領域Pcの検出
動作を、第7図のフローチャートに示す。Incidentally, the detection operation of the postal code area Pb1 postage stamp area Pc is shown in the flowchart of FIG.
次に、制御プロセッサ24は検出した郵便番号領域Pb
1料額印面領域Pcを除いた残りのイメージデータを特
徴パターンバッファ22から抽出し、この抽出したイメ
ージデータから垂直、水平7
方向の射影情報を抽出し、これらの射影情報により宛名
領域Paの座標を判断し、この宛名領域Paの座標に対
応するイメージデータのみを上記イメージバッファ23
から読出して次段の宛名認識部13に出力させる。Next, the control processor 24 detects the detected postal code area Pb.
The remaining image data excluding the stamp area Pc is extracted from the feature pattern buffer 22, projection information in 7 vertical and horizontal directions is extracted from the extracted image data, and the coordinates of the address area Pa are determined using these projection information. is determined, and only the image data corresponding to the coordinates of this destination area Pa is stored in the image buffer 23.
The address recognition unit 13 of the next stage reads out the information and outputs it to the address recognition unit 13 at the next stage.
この宛名認識部13は、上記宛名領域検出部12からの
郵便物Pの搬送方向と宛名領域Pa内のイメージデータ
に応じて、宛名を認識し、宛名に対する区分指定データ
つまり後段の区分部における区分ポケットを示すデータ
を出力する。この結果、後段の区分部は、その区分指定
データに応じた区分ポケットに対応する郵便物Pを区分
する。The address recognition unit 13 recognizes the address according to the transport direction of the mail P and the image data in the address area Pa from the address area detection unit 12, and uses classification designation data for the address, that is, the classification in the subsequent sorting unit. Outputs data indicating pockets. As a result, the subsequent sorting section sorts the mail P corresponding to the sorting pocket according to the sorting designation data.
上記したように、搬送される郵便物からその上に記載さ
れている宛名を読取り、この読取った宛名を用いて区分
を行うものにおいて、上記郵便物の表面の画像を走査部
で撮像し、2値化回路によってイメージデータに変換し
てイメージバッファに記憶し、この変換されたイメージ
データの解像度を粗の解像度のイメージデータに変換し
、この粗のH像度のイメージデータを郵便物の全体が記
]8
憶される特徴パターンバッファに記憶し、特徴パターン
バッファに記憶された粗の解像度のイメージデータを用
いて郵便番号領域、料額印面領域を検出するとともに郵
便物の搬送方向を検出し、上記郵便番号領域、料額印面
領域の検出結果に応じて上記郵便物の郵便番号領域、料
額印面領域を除去したイメージデータを特徴パターンバ
ッファから抽出し、この抽出したイメージデータから宛
名領域を検出し、この検出された宛名領域に対応する上
記イメージバッファからのイメージデータを用いて宛名
を読取り、この読取った宛名に応じて区分を行うように
したものである。As described above, in a system that reads the address written on the mail being transported and sorts it using the read address, an image of the surface of the mail is taken by a scanning unit, and 2 It is converted into image data by a value conversion circuit and stored in an image buffer, and the resolution of this converted image data is converted into image data with a coarse resolution. [8] Detecting the postal code area and postage stamp area and detecting the transport direction of the mail piece using the rough resolution image data stored in the feature pattern buffer, According to the detection results of the postal code area and postal stamp area, image data from which the postal code area and postal stamp area of the postal item have been removed is extracted from the feature pattern buffer, and the address area is detected from this extracted image data. Then, the image data from the image buffer corresponding to the detected address area is used to read the address, and classification is performed according to the read address.
したがって、郵便物の搬送方向を容易に検出することが
でき、この検出結果から宛名領域とその記載方向が高い
角度で固定できることになる。これにより、あいまいさ
を持ったままでの領域内の文字読取順序、また文字識別
の回転補正による識別候補の増大による読取不能、誤読
を低減することができる。この結果、混在郵便物の先端
方向つまり上下方向を取り揃えて人力する必要がなく、
9
大変操作性の良いものとなる。Therefore, the conveying direction of the mail can be easily detected, and from this detection result, the address area and its writing direction can be fixed at a high angle. Thereby, it is possible to reduce unreadability and misreading due to the character reading order within the area that remains ambiguous, and the increase in identification candidates due to rotation correction of character identification. As a result, there is no need for manual labor to align the leading edge of mixed mail, that is, the top and bottom directions.
9 It becomes very easy to operate.
[発明の効果]
以上詳述したように、この発明によれば、混在郵便物の
先端方向を取り揃えて入力する必要がなく、大変操作性
の良い宛名読取区分機を提供できる。[Effects of the Invention] As described in detail above, according to the present invention, it is not necessary to align and input the leading directions of mixed mail pieces, and it is possible to provide an address reading and sorting machine with very good operability.
図面はこの発明の一実施例を示すもので、第1図は全体
の構成を概略的に示す図、第2図は郵便物の一例を示す
平面図、第3図は前処理部の構成を示すブロック図、第
4図は特徴検出領域を示す図、第5図は郵便番号領域の
検出を説明するための図、第6図は料額印面領域の検出
を説明するための図、第7図は郵便番号領域、料額印面
領域の検出動作を説明するためのフローチャートである
。
P・・・郵便物、Pa・・・宛名領域、pb・・・郵便
番号領域、Pc・・・料額印面領域、11・・・走査部
(走査手段)、12・・・宛名領域検出部、13・・・
宛名認識部(読取手段) 20・・・2値化回路0
(第1の変換手段) 21・・・前処理部(第2の変換
手段) 22・・・特徴パターンバッファ、23・・・
イメージバッファ、24・・・制御プロセッサ(検出手
段、判定手段) 、31 a s〜 32a1〜・・・
シフトレジスタ、33・・・セレクタ、34・・・RA
M。The drawings show an embodiment of the present invention; FIG. 1 is a diagram schematically showing the overall configuration, FIG. 2 is a plan view showing an example of mail, and FIG. 3 is a diagram showing the configuration of the preprocessing section. FIG. 4 is a diagram showing the characteristic detection area, FIG. 5 is a diagram for explaining the detection of the postal code area, FIG. 6 is a diagram for explaining the detection of the postage stamp area, The figure is a flowchart for explaining the detection operation of the postal code area and the postage stamp area. P... Postal item, Pa... Address area, pb... Postal code area, Pc... Postage stamp area, 11... Scanning unit (scanning means), 12... Address area detection unit , 13...
Address recognition section (reading means) 20... Binarization circuit 0 (first conversion means) 21... Preprocessing section (second conversion means) 22... Characteristic pattern buffer, 23...
Image buffer, 24... Control processor (detection means, determination means), 31a s~32a1~...
Shift register, 33...Selector, 34...RA
M.
Claims (1)
取り、この読取った宛名を用いて区分を行う宛名読取区
分機において、 上記郵便物の表面を走査することにより、パターン信号
を得る走査手段と、 この走査手段により得られたパターン信号をイメージデ
ータに変換する変換手段と、 この変換手段からのイメージデータに応じて郵便番号領
域、料額印面領域の検出を行う検出手段と、 この検出手段の検出結果に基づいて上記領域内を判別す
ることにより上記郵便物の搬送方向を判定する判定手段
と、 この判定手段により判定された上記郵便物の搬送方向に
応じて、上記第1の変換手段からのイメージデータを用
いて宛名を読取る読取手段と、この読取手段により読取
った宛名に応じて区分を行う区分手段と、 を具備したことを特徴とする宛名読取区分機。[Claims] An address reading and sorting machine that reads the address written on the mail being transported and sorts it using the read address, by scanning the surface of the mail, scanning means for obtaining a pattern signal; conversion means for converting the pattern signal obtained by the scanning means into image data; and detection for detecting a postal code area and a postage stamp area according to the image data from the conversion means. means, determining means for determining the conveying direction of the mail by determining the inside of the area based on the detection result of the detecting means, and according to the conveying direction of the mail determined by the determining means, An address reading and sorting machine comprising: a reading means for reading addresses using the image data from the first converting means; and a sorting means for sorting addresses according to the addresses read by the reading means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1320614A JPH03182981A (en) | 1989-12-12 | 1989-12-12 | Address reading and classifying machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1320614A JPH03182981A (en) | 1989-12-12 | 1989-12-12 | Address reading and classifying machine |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03182981A true JPH03182981A (en) | 1991-08-08 |
Family
ID=18123376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1320614A Pending JPH03182981A (en) | 1989-12-12 | 1989-12-12 | Address reading and classifying machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03182981A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019062380A (en) * | 2017-09-26 | 2019-04-18 | 株式会社リコー | Image processing apparatus, image processing method, and program |
-
1989
- 1989-12-12 JP JP1320614A patent/JPH03182981A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019062380A (en) * | 2017-09-26 | 2019-04-18 | 株式会社リコー | Image processing apparatus, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4516265A (en) | Optical character reader | |
JP2713911B2 (en) | Mail handling equipment | |
US7436979B2 (en) | Method and system for image processing | |
EP0281007B1 (en) | Mail processing machine and method of sorting mails | |
JP3388829B2 (en) | Character reader | |
US4736441A (en) | Postal material reading apparatus | |
WO1996032692A1 (en) | Two-camera system for locating and storing indicia on conveyed items | |
US4783825A (en) | Postal material reading apparatus | |
JPH07265807A (en) | Address region detector | |
JPS63319180A (en) | Mail matter arranging device | |
JPH03182981A (en) | Address reading and classifying machine | |
EP0076332B1 (en) | Optical character reader with pre-scanner | |
JP3268552B2 (en) | Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus | |
KR20010064264A (en) | System and Method for Processing of Returned Mail | |
JP2002032711A (en) | Form recognition device and form recognition method | |
JP3028849B2 (en) | Mail address automatic reading sorting machine and mail address automatic reading method | |
JP3571781B2 (en) | Mail processing apparatus and mail processing method | |
JPH04326187A (en) | Mail address reader | |
JPH03182983A (en) | Address reading and classifying machine | |
JPH051074B2 (en) | ||
JP3715473B2 (en) | Address reader | |
JP3015448B2 (en) | Address area detection device | |
JPH0793474A (en) | Character area detector | |
JPH0739821A (en) | Address reading device and address reading and classifying machine | |
JP3660404B2 (en) | Address area detecting device, address reading device, sorting machine, and address reading method |