Mail processing machine and method of sorting mails

Abstract: To determine whether mail address characters are printed or handwritten by a single recognizer (OCR, 40) in a mail processing machine, the front surface of a mail is determined by the presence of a postage stamp, an address window, an address label or by comparing the character areas of both surfaces of the mail. Further, when no stamp and no address window/label are attached, the mail address character area is detected by compressing and binarizing the entire front surface image signals. Thereafter, only the address character image signals corresponding to the detected address window/label or mail address character area are processed through the recognizer.

Description: The present invention relates to a mail processing machine which in general can arrange mail pieces, cancel postage stamps and sort the mailpieces into a group of mailpieces having a printed address and into a group of mailpieces having a handwritten address. In general, known mail processing machines of the above kind comprise optical character readers (OCR) to discriminate printed mailpieces from handwritten mailpieces. From EP-A-0 078 332 an optical character reader for the processing of mailpieces is known which comprises a pre-scanner and a main scanner. The pre-scanner scans coarsely a relatively large area of the mailpiece and generates video signals. In accordance with the video signals the pattern of the mailpiece is divided into blocks, the positiones of which are detected by a coordinate detector. The main scanner scannes finely a desired one of said blocks and generates high resolution signals to be used to distinguish the postal code handwritten or typed on the mailpiece from the name and address, so that the postal code can be located. The mailpiece has to be fed to the pre-scanner and the main scanner such that both scanners face the front surface of the mailpiece carrying the address. From US-A-4 516 264 a system for scanning and analyzing mail address information is known. The systems scans the surface of a mailpiece to locate the address block and to read out information from the block sufficient to determine whether or not the address is printed or handwritten. Based on the determination, an output generated to control sorting of the mailpieces into either one group with printed or typed addresses and another group with handwritten addresses. An illuminating device and an optical system are provided on each side of the travel path of the mailpiece, whereby mail characters can be read and discriminated on either side of the mailpiece. In FR-A-2 214 592 a mail processing system is described in which the mailpieces are fed one by one by a feeding mechanism along a travel path having a stamp detecting station and cancelling station. In the stamp detecting station each mailpiece is scanned by a pair of detectors which determine the presence or the absence of a stamp at the lower end portion of both surfaces of the mailpiece. If no stamp is detected, the mailpiece is transferred to another travel path where it is reversed for rescanning. When the reversed mailpiece is fed back to the travel path, the operation of the feeding mechanism is temporally stopped to prevent the reversed mailpiece from meeting with subsequent mailpieces to be fed by the mechanism. A window recognition system for a mail address reader is described in US-A-4 158 835. The apparatus comprises an optical system, a point signal producing unit and an information position detecting unit. The mailpieces are fed along a travel path such that the front surface of the mailpieces faces the optical readers provided in the apparatus. It then detects the address described on the mailpieces. It responds to the light incident on the window area from the device and reflected therefrom. In the prior art, when only one character reader is provided as described in EP-A-0 076 332 and US-A-4 158 835 a problem arises since the mailpieces have to be fed in a readable manner. Otherwise, two optical readers are necessary as described in US-A-4 516 254. Although it is known to detect the front surface of the mailpiece by detecting the presence of a stamp, as described in FR-A- 2 214 592, this method fails if mailpieces are fed with printed indicia, however, without stamps. Optical reader devices are usually expensive pieces of equipment. On the other hand, a large number of mailpieces cannot be pre-sorted manually such that the front surfaces are arranged to face a single optical reader device. Therefore, it is the object of the present invention to provide a mail processing machine capable of determining whether a piece of mail carries a hand written address or printed address, however, employing only a single optical character reader. The above object is solved by a mail processing machine comprising (a) feeding means for feeding pieces of mail one by one, each piece having a first and a second surface, (b) first detecting means for detecting the presence of a mail address on the first surface of the piece of mail, (c) second detecting means for detecting the presence of the mail address on the second surface of the piece of mail, (d) determining means for determining the front side of the piece of mail on which the mail address is detected to be present, (e) third detecting means for detecting mail address character images on the first surface of the piece of mail, when the first surface is determined as the front side, by scanning the entire first surface of the piece of mail, (f) fourth detecting means for detecting mail address character images on the second surface of the piece of mail, when the second surface is determined as the front side, by scanning the entire second surface of the piece of mail, and (g) recognizing means for recognizing addresses of two types, including a hand written address and a printed address, and for deciding to which one of the two types the mail address detected by one of the third and the fourth detecting means belongs, the recognizing means including: (g1) storing means for storing the image of the entire surface of the piece of mail detected by any one of said third and fourth detecting means in a form of binarized entire surface image signals, (g2) address position detecting means for detecting a mail address area where the mail address is written by compressing the binarized entire surface image signals stored in said storing means; (g3) line detecting means for detecting address character lines at the detected mail address area on the basis of the mail address character image signals stored in said storing means by checking a presence or absence of a character image signal arrangement in a specific direction within the mail address area; (g4) extracting means for extracting plural character feature parameters of mail address character image signals corresponding to the detected address character lines; and (g5) discriminating means for calculating a difference in dispersion of each of the extracted character feature parameters between the detected value and a respective reference value, totalizing the calculated dispersion difference, comparing the totalzed dispersion difference with a predetermined value, and determining that the detected mail address character images are printed address characters when the totalized dispersion difference is below the predetermined value and hand-written address characters otherwise. Preferred embodiments are described in the subclaims. In the mail processing machine of the present invention, in order to minimize the quantity of mail surface image signals to be recognized by the recognizing means, (1) the front of a mailpiece on which a mail address is written is determined by the presence of a postage stamp, and an address window/label. Further, in the case where no postage stamp and no address window/label are present, the mail front is determined by comparing the character areas of both surfaces of the mailpiece (in usual, many characters are written on the front of a mailpiece); (2) an address character position is detected on the basis of a mail address window and/or label. Further, in the case where no address window/label is present, surface image signals finely scanned on a mail front are once compressed and then binarized to determined an address character area; and (3) surface image signals corresponding to only the detected address window/label or the determined address character area are recognized to determine whether address characters are printed or handwritten. In other words, the operation load applied to the recognizer can be minimized by previously detecting a mail front and an address character position or area. Since only a single recognizer is incorporated in the mail processing machine of the present invention, the mail processing speed is high and the machine cost is low as compared with the prior-art machines. BRIEF DESCRIPTION OF THE DRAWINGS The features and advantages of the mail processing machine according to the present invention will be more clearly appreciated from the following description of the preferred embodiment of the invention taken in conjunction with the accompanying drawings in which like reference numerals designate the same or similar elements or sections throughout the figures thereof and in which: Fig. 1 is an illustration for assistance in explaining four situations of mail fed through the mail processing machine; Fig. 2A is a diagrammatical view showing an embodiment of the mail processing machine according to the present invention; Fig. 2B is a block diagram showing the mail processing machine of the present invention shown in Fig. 2A; Fig. 3A is a block diagram showing an address position detector shown in Fig. 2; Fig. 3B is a graphical representation showing signal level of surface information detected by the address position detector shown in Fig. 2; Fig. 4 is a block diagram showing character detectors and a recognizer both shown in Fig. 2; and Fig. 5 is a block diagram showing an address position detector shown in Fig. 4. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the mail address processing machine according to the present invention will be described hereinbelow with reference to the attached drawings. In Fig. 2A, the mail processing machine reads a Zip code and an address written on a mailpiece, discriminates whether the address characters are written in print or in handwriting, cancels stamps, and sorts the mailpiece into two groups of printed address mailpieces and handwritten address mailpieces. A first group of mailpieces sorted as print writing is further sorted automatically by a Zip code reader; while a second group of mailpieces sorted as handwriting is further sorted by manual operation according to Zip codes. The mail processing machine shown in Figs. 2A and 2B comprises an operator panel 101, a controller 100, a mail box 1, a mail carrier 1A, two stamp detectors 3a and 3b, a non-inversion path 5 and an inversion path 7 (mail arrangement mechanism), two stamp detectors 9a and 9b, two address position detectors 20a and 20b, a branch mechanism 50, two character detectors 30a and 30b, a recognizer 40, two stamp cancellers 13a and 13b, and a sorter 15 including plural mail sorting boxes 15a to 15e. In more detail with reference to Fig. 2A, a number of mailpieces are arranged in a mail box 1. Each mailpiece arranged in the mail box 1 is fed one by one to two (postage) stamp detectors 3a and 3b in vertical mail position. In this case, when a postage stamp is attached to a corner of a mailpiece as shown by (a) in Fig. 1, four different positions (a), (b), ( a ) and ( b ) can be considered as depicted in Fig. 1, in which solid lines of a stamp indicate that a stamp is attached on the front surface side of a mailpiece and dashed lines thereof indicate that a stamp is attached on the back surface side of a mailpiece. Here, the two stamp detectors 3a and 3b are so arranged as to detect the stamp only when the stamp is located at the lower ends of the mailpiece as depicted by (a) and (b) in Fig. 1, respectively. That is, the stamp attached as (a) in Fig. 1 can be detected by the stamp detector 3a, and that attached as (b) in Fig. 1 can be detected by the stamp detector 3b. When these two detectors 3a and 3b detects the presence of a stamp, the mailpiece is fed through a non-inversion path 5. However, when these two detectors 3a and 3b cannot detect the presence of a stamp or when the stamp is located at the upper ends of the mailpiece as depicted by ( a ) and ( b ) in Fig. 1, respectively, the mailpiece is fed through an inversion path 7 to reverse the mailpiece upside down so that the mailpiece is always located as shown by (a) and (b) in Fig. 1. In more detail, when the stamp is located as ( a ) and reversed, the stamp is located as (a); when stamp is located as ( b ) and reversed, the stamp is located as (b) in Fig. 1. The mailpiece so arranged that the stamp is located on the lower side thereof is then fed to the next two stamp detectors 9a and 9b to detect the presence or absence of the stamp. Therefore, when the stamp detector 9a or 9b detects the presence of stamp, it is possible to determine that the address is written on the side on which at least one stamp is stuck. The address position detector 20a or 20b detects the address character position and the front surface of a mailpiece on which an address is written on the basis of mail surface information. That is, when the presence of stamp is detected by the stamp detector 9a or 9b, the address position detector 20a or 20b next detects the presence of an address window covered by cellophane or an address label on which an address is written in order to detect a mail address character position. When the presence of stamp is not detected by the two stamp detectors 9a and 9b, the quantity of characters or the extent of characters written on one surface of the mail is compared with that on the other surface of the same mailpiece by the two address position detectors 20a and 20b in order to determine the front surface or the back surface of the mailpiece. That is, the surface on which many characters are written is determined as the front surface of the mailpiece. On the basis of the above detected window or label position and the quantity of characters, it is possible to detect the front side or the back side of the mailpiece and the address position or area where an address is written. In other words, even when the stamp detector 9a or 9b cannot detect the presence of a postage stamp, the front surface of the mailpiece is determined on the basis of the address window, the address label, or the quantity of characters detected by the address position detector 20a or 20b. The quantity of the address characters can be determining by integrating the image signals indicative of address characters. When the address position detector 20a detects the front of a mailpiece, the branch mechanism 50 is actuated so that the mailpiece is fed to the character detector 30a. On the other hand, when the address position detector 20b detects the front of a mailpiece, the branch mechanism 50 is actuated so that the mailpiece is fed to the character detector 30b. In more detail, with reference to Fig. 3A, the address position detector 20a or 20b comprises a light source 21 for emitting a light beam toward a mailpiece fed through a carrying path for scanning, a lens 22 for focusing the light reflected from the mailpiece, a photosensitive element 23 composed of a line image sensor (e.g. charge coupled devices) for detecting characters written on the mailpiece, an amplifier 24 for amplifying the detected character image signal S, and two quantization circuits 25A and 25B. The light source 21 and the lens 22 are both disposed relative to the mailpiece in such a way the an incidence angle α is roughly equal to a reflection angle β. The quantization circuit 25A compares the image signal S detected by the photosensitive element 23 with a slice level B outputted from a controller (not shown), and outputs a window/label signal (W/L SIG) indicative of the presence of a window or label of a high reflectivity, when the level of the image signal S exceeds the slice level B as shown by S C in Fig. 3B. On the other hand, the quantization circuit 25B compares the image signal S with a slice level C also outputted from a controller (not shown) and output a paper surface signal S B indicative of the absence of characters of a middle reflectivity, when the level of the image signal S lies between the slice levels B and C. Further, when the two quantization circuits 25A and 25B generate no quantized signal, the signal S d is determined as a character signal (CHR SIG) indicative of the presence of characters of a low reflectivity. Further, in Fig. 3B, the level A of the image signal S is detected when the mail surface is deep black. In the address position detector 20a or 20b, the resolving power of scanning is not high (e.g. a single scanning line per millimeter) because this detector detects only the position of an address window/label. The window/label position can be detected in the form of (x, y) coordinates indicative of the number of the horizontal scanning line from an upper edge and a time period from an edge of the horizontal scanning line, for instance. When no postage stamp and no address window/label detected, the character signal S d outputted from the quantization circuit 25B is integrated by an integrator 26 and supplied to a comparator 27. On the other hand, other character signal S d ' outputted from another quantization circuit 25B' of the address position detector 20b is integrated by an integrator 26' and supplied to the comparator 27. The comparator 27 compares these two integrated character signals to determine the front side of a mailpiece. For instance, if the character signals integrated by the integrator 26 is large, the comparator 27 generates a command signal to the branch mechanism 50 to feed the mailpiece toward the character detector 30a. In response to this command signal, character detector 30a is activated to detect the character images. Fig. 4 shows the two character detectors 30a and 30b and the recognizer 40. Each character detector 30a or 30b comprises a fine scanner 31a or 31b and a quantization circuit 32a or 32b. The fine scanner 31a or 31b generates image signals in almost the same way as in the address position detector 20a or 20b by irradiating the mail surface with a light beam and transducing the reflected light beam by photosensitive elements into image signals. However, the resolving power of the fine scanner 31a or 31b is as high as 8 lines per millimeter because this detector detects the features of characters. The quantization circuit 32a or 32b compares the detected mail surface image signals with a predetermined slice level and outputs character image signals only when the image signal drops below a slice level (the above processing being referred to as binarization). The recognizer 40 comprises an image memory 41, an address position detector 42, a line detector 43, a parameter extractor 44, and a discriminator 45. The image memory 41 stores all the scanned and binarized character image signals detected by either one of the character detector 30a or 30b. This is because the front surface of a mailpiece has already been detected by the address position detectors 20a and 20b, and the detected mailpiece is fed to any one of the character detectors 30a and 30b. Therefore, the image memory 41 stores the character image signals corresponding to the detected front surface of a mailpiece and detected by any one of the character detectors 30a and 30b. The character line detector 43 functions as follows: The preceding processings have already detected an address position or area where an address is written. Therefore, in this step, character lines are further detected from the detected address area. That is, since an area where characters are gathered has already been determined, the succeeding step determines how the characters are arranged within the detected address area. For doing this, the number of character image signals are counted along the direction perpendicular to the character lines in order to obtain a histogram. By detecting the peaks of the histogram indicative of the distribution of the character image signals, it is possible to detect the number of lines. As to the above-mentioned character line detection, if should be nothed that the scanning operation is as fine as 8 lines per millimeter, for instance, as compared with the coarse scanning operation (e.g. 1 line per millimeter) of the address position detector 20a or 20b. The parameter extractor 44 detects character feature parameters. These parameters are dispersions of various character features such as (1) character height; (2) character lower edge position; (3) character width; (4) character pitch; (5) character area; (6) line arrangement slope; (7) leftmost character position; (8) line space, etc. To obtain character feature parameters, a reference threshold value δ₀² of each of the dispersions of the character features is previously determined. Each actual dispersion value δ² obtained by calculating image signals read from the image memory 41 is compared with this reference threshold value δ₀². The compared result (the difference between the actual dispersion and the reference dispersion) is stored in the image memory 41 and added in sequence to obtain a sum total of the differences between the two of the above-mentioned eight character features. When the discriminator 45 determines that the sum total of the dispersion differences between the actual values and the reference values exceeds a predetermined value, the characters are discriminated as a handwritten mailpiece. In contrast with this, when the discriminator 45 determines that the sum total of the dispersion differences is less than the predetermined value, the characters are discriminated as a printed mailpiece. Fig. 5 is a block diagram showing the address position detector 42, which comprises a W/L signal detector 421, a compressor 422, an address area detector 423 and an image data reader 444. When the W/L signal detector 421 detects a presence of W/L signal indicative of a window/label position (x-y coordinates), the image data reader 444 reads image data corresponding to only the window/label position from the image memory 41. When the W/L signal detector 421 detects an absence of W/L signal, the compressor 422 reads the entire image signals from the image memory 41 for compression. For instance, the resolving power of the image signals is reduced from 8 lines per mm to 1 line per mm by simply averaging the eight horizontal scanning line signal levels. The address area detector 423 compares averaged signal levels with a slice level for binarization, and determines an address character area on the basis of the binalized character image signals collected at an area on the front surface of a mailpiece. When this address character area has been detected, the image data reader 444 reads image data corresponding to only the determined address character area. When the stamp detector 9a or 9b detects the presence of a postage stamp on the mailpiece, a stamp canceller 13a or 13b corresponding to the stamp detector 9a and 9b impresses a mark on the detected postage stamp. The mailpieces thus detected are sorted and puts into five sorting boxes 15a to 15e, in such a way that mailpieces having an address written in print and detected by the character detector 30a are arranged in the box 15a; mailpieces having an address written in handwriting and detected by the character detector 30a are arranged in the box 15b; mailpieces having an address written in print and detected by the character detector 30b are arranged in the box 15c; mailpieces having an address written in handwriting and detected by the character detector 30b are arranged in the box 15d; and other mailpieces determined to be rejected are arranged in the box 15e. In the prior-art machine, when no stamp is detected, it is necessary to entirely scan both the surfaces of the mailpieces by two optical character readers. Further, even if a stamp is detected, it is necessary to scan the entire surface of the front of the mailpiece, so that the mail processing speed is relatively low. In the machine of the present invention, it should be noted that since the address position detector 20a or 20b can detect a window/label position and the front side of the mailpiece (by comparing the quantity of characters) and further the address position detector 42 can determine an address character area, character images corresponding to only the front surface of the mailpiece and only the address position (window or label) or address character area can be read from the image memory 41 for discrimination. Therefore, character image data to be discriminated are not huge, so that it is possible to increase the mail processing speed and therefore decrease the cost of the machine by providing only a single recognizer 40 including the discriminator 45. The operation of the mail processing machine of the present invention will be described hereinbelow. The mailpieces are arranged in the mail box 1 and fed one by one to the stamp detectors 3a and 3b via a path 1A in a vertically arranged position. When the stamp detector 3a or 3b detects the presence of a stamp attached to the lower side end of the mailpiece, for instance, the mailpiece is fed through the non-inversion path 5. When the stamp detector 3a or 3b detects the absence of a stamp, the mailpiece is fed through the inversion path 7. Thereafter, the stamp detector 9a or 9b detects the presence or absence of a stamp on the mailpiece. When the presence of the stamp is detected, this stamp presence signal is applied to the stamper 13a or 13b to impress a mark on the stamp of the mailpiece just before sorting the mailpieces. When no stamp is detected by the two stamp detectors 9a and 9b, the front side of the mailpiece (on which an address is written) is detected by the two addresses position detectors 20a and 20b. That is, the surface on which many characters are written is determined as the front side surface of the mailpiece. The address position (surface information) detector 20a or 20b also detects the position of a window or a label. In this process, when the address position detector 20a detects a mail front surface, the branch mechanism 50 is actuated so that the mailpiece is fed to the character detector 30a; and when the address position detector 20b detects a mail front surface, the branch mechanism 50 is actuated so that the mailpiece is fed to the character detector 30b. Since the front surface of a mailpiece has already been detected by the address position detectors 20a and 20b and the detected mailpiece is fed to any one of the character detectors 30a and 30b. The character detector 30a or 30b detects characters on the front surface of a mailpiece by scanning and quantization. The detected character image signals detected by the character detector 30a or 30b are stored in the image memory 41. Further, only the character image signals corresponding to the address position signals (window/label signal) are read from the image memory 41 by the address position detector 42 on the basis of the window/label signal detected by the address position detector 20a or 20b. The character features (e.g. arrangement order, regularity, size, density, etc.) of the read character image signals are detected by the parameter extractor 44 and discriminated as to printed mailpieces or handwritten mailpieces by comparing the extracted character futures with the stored reference character values by the discriminator 45. Further, where no window/label signal is detected, the address position detector 42 itself determines an address character area by compressing the entire surface image signals and binarizing the compressed signals. When a character area signal is detected, only the character image signals corresponding to the address area signal are read from the image memory 41 for discrimination. The mailpieces thus discriminated are stored into the five sorting boxes 15a to 15e. In the above description, the mail processing machine of the present invention has been disclosed with reference to block diagrams (i.e. hardware configuration). In practice, however, the mail processing machine is controlled by the controller 100 provided with a ROM, a ROM, a display unit, a keyboard 101, etc., which is operated in accordance with control programs (i.e. software). As described above, in the mail processing machine of the present invention, since the surface information (window or label position, quantity of characters, character block position) is first detected and then only the character image signals limited by the surface information are discriminated as to whether the address characters are written in print or handwriting it is possible to improve the sorting speed of mailpieces, while reducing the cost of the machine.

Claims: A mail processing machine, comprising: (a) feeding means for feeding pieces of mail one by one, each piece having a first and a second surface, (b) first detecting means (20a) for detecting the presence of a mail adress on the first surface of the piece of mail, (c) second detecting means (20b) for detecting the presence of the mail address on the second surface of the piece of mail, (d) determining means for determining the front side of the piece of mail on which the mail address is detected to be present, (e) third detecting means (30a) for detecting mail address character images on the first surface of the piece of mail, when the first surface is determined as the front side, by scanning the entire first surface of the piece of mail, (f) fourth detecting means (30b) for detecting mail address character images on the second surface of the piece of mail, when the second surface is determined as the front side, by scanning the entire second surface of the piece of mail, and (g) recognizing means (40) for recognizing addresses of two types, including a hand written address and a printed address, and for deciding to which one of the two types the mail address detected by one of the third and the fourth detecting means (30a, 30b) belongs, the recognizing means including: (g1) storing means (41) for storing the image of the entire surface of the piece of mail detected by any one of said third and fourth detecting means (30a, 30b) in a form of binarized entire surface image signals, (g2) address position detecting means (42) for detecting a mail address area where the mail address is written by compressing the binarized entire surface image signals stored in said storing means (41); (g3) line detecting means (43) for detecting address character lines at the detected mail address area on the basis of the mail address character image signals stored in said storing means (41) by checking a presence or absence of a character image signal arrangement in a specific direction within the mail address area; (g4) extracting means (44) for extracting plural character feature parameters of mail address character image signals corresponding to the detected address character lines; and (g5) discriminating means (45) for calculating a difference in dispersion of each of the extracted character feature parameter between the detected value and a respective reference value, totalizing the calculated dispersion difference, comparing the totalized dispersion difference with a predetermined value, and determining that the detected mail address character images are printed address characters when the totalized dispersion difference is below the predetermined value and hand-written address characters otherwise. The mail processing machine of claim 1, wherein said determining means determines the front side of the piece of mail according to presence of any one of a mail address window, a mail address label, and a number of characters in the mail address. The mail processing machine of claim 1 or 2, which further comprises: (a) first stamp detecting means (3a) for detecting the presence of a postage stamp on a half of the first surface of the piece of mail; (i) second stamp detecting means (3b) for detecting the presence of the postage stamp on the same half of the second surface of the piece of mail; (j) conveying means (5) for conveying the piece of mail as it is to the first and the second stamp detecting means (3a, 3b) detects the presence of the postage stamp; and (k) reversing means (7) for reversing the piece of mail upside-down and conveying the piece of mail to the first and the second detecting means (20a, 20b) when both of the first and the second stamp detecting means (3a, 3b) failed to detect the presence of the postage stamp. The mail processing machine of any one of claims 1 to 3, wherein said first and second detecting means (20a, 20b) each comprises: (a) light emitting means (21) for emitting light onto the surface of the piece of mail for coarse scanning; and (b) photosensitive means (23), coupled optically to said light emitting means (21) for detecting light emitted from said light emitting means (21) reflected from the piece of mail to obtain an image signal (S) for detection of the presence of a mail address window, mail address label or a number of characters in the mail address. The mail processing machine of claim 4, wherein said determining means comprises: (a) first quantizing means (25A), coupled to said photosensitive means (23) for quantising the image signal (S) in accordance with a first slice level (B) o generate a first address position signal indicative of any one of a mail address window and a mail address label; (b) second quantizing means (25B, 25B'), coupled to said photosnsitive means (23) for quantizing the image signal (S) in accordance with a second slice level (C) lower than the first slice level to generate a second address position signal indicative of charactere in the mail address; (c) integration means (26, 26'), coupled to said second quantizing means (25B, 25B') for integrating the second mail address position signal indicated of characters in the mail address; and (d) comparing means (27), coupled to said two integrating means (26, 26') for comparing the second mail address position signals from said integrating means (26 26') to determine the front side of the piece of mail on which the greater number of characters are written. The mail processing machine of any one of claims 1 to 5, wherein said third and fourth detecting means (30a, 30b) each comprises; (a) scanning means (31a, 31b) for optically scanning and finally detecting an entire surface image on the piece of mail; and (b) quantizing means (32a, 32b) for quantizing the detected entire surface image signal in accordance with a slice level to generate mail address character image signals. The mail processing machine of claim 6, wherein said address position detecting means (42) comprises: (a) W/L detecting means (421) for detecting a presence or absence of a window/label signal detected by said determining means; (b) compressing means (422), coupled to said W/L detecting means (421) and said storing means (41), for compressing mail address character image signals stored in said storing means, when said W/L detecting means detects an absence of a window/label signal; (c) address area detecting means (423) for detecting a mail address character area on the basis of the compressed mail address character image signals; and (d) reading means (444) for reading mail address character image signals corresponding to only the mail address character area corresponding to any one of the detected window/label signal and the detected mail address character area. A method of sorting pieces of mail into pieces of mail having printed address characters and pieces of mail having hand-written address characters, comprising the steps of: (a) feeding pieces of mail one by one, each piece having a first and a second surface; (b) detecting the presence of a mail address on the one of the first and the second surface of the peice of mail; (c) determining the front side of the piece of mail on which the mail address is detected at the step (b); (d) detecting mail address character images on the first surface of the piece of mail, when the first surface is determined as the front side at the step (c); (e) detecting mail address character images on the second surface of the piece of mail, when the second surface is determined as the front side at the step (c); and (f) recognizing addresses of two types, including a hand-written address and a printed address, and deciding to which one of the two types the mail address detected at any one of the steps (d) and (e) belongs, the recognizing step including the steps of: (f1) storing the mail address character images detected at any one of the steps (d) and (e) in a form of binarized mail address character image signals; (f2) detecting a mail address area where the mail address is written by obtaining an aggregation of one of the binarized mail address character image signals stored at the step (f1); (f3) detecting address character lines at the detected mail address are on the basis of the mail address character image signals stored at the step (f1) by checking a presence or absence of a character image signal arrangement in a specific direction within the mail address area; (f4) extracting plural character feature parameters of mail address character image signals corresponding to the detected address character lines; and (f5) calculating a difference in dispersion of each of the extracted character feature parameter between detected value and reference value, totalizing the calculated dispersion difference, comparing the totalized dispersion difference with a predetermined value, and determining that the detected mail address character images are printed address characters when the totalized dispersion difference is below the predetermined value and hand-written address characters otherwise.

Inventors: OKABE YOSHIE, OKABE, YOSHIE
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1988
Main classification: B07C1
IPC codes: B07C3, G06K9, H04N1, B07C1