WO2004008380A1 - Recognition of banknote denominations in automatic money processing - Google Patents

Recognition of banknote denominations in automatic money processing Download PDF

Info

Publication number
WO2004008380A1
WO2004008380A1 PCT/IL2003/000567 IL0300567W WO2004008380A1 WO 2004008380 A1 WO2004008380 A1 WO 2004008380A1 IL 0300567 W IL0300567 W IL 0300567W WO 2004008380 A1 WO2004008380 A1 WO 2004008380A1
Authority
WO
WIPO (PCT)
Prior art keywords
captured image
pixels
mask
matching scores
currency
Prior art date
Application number
PCT/IL2003/000567
Other languages
French (fr)
Inventor
Ilya Badaev
Ioulia Eisenberg
Leonid Kogan
Alexander Kugel
Alexander Sterkin
Lev Potikha
Edward Slepyan
Michael Zakharov
Original Assignee
Digital Verification 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 Digital Verification Ltd. filed Critical Digital Verification Ltd.
Priority to AU2003237591A priority Critical patent/AU2003237591A1/en
Publication of WO2004008380A1 publication Critical patent/WO2004008380A1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation
    • G07D7/121Apparatus characterised by sensor details

Definitions

  • the invention relates to banknote identification. More particularly, this invention relates to optical methods and systems for the automatic identification of paper currency from different issuers and in different denominations. A variety of optical systems for automatic currency discrimination are used in conjunction with currency counting machines. Pattern recognition techniques have been proposed, based on reflectance or transmittance images, typically including correlation of an unknown pattern with a reference pattern.
  • a common feature of existing algorithms for currency identification is the use of prede- fined strips selected on a banknote image.
  • the strips may be extracted from different regions of the banknote, e.g., edges, central areas, or areas having particular ranges of reflectance or transmittance. While such algorithms are effective and robust, they require research of banknote properties, and must take into account subtle differences among the banknotes from different issues of the same denomination. For example, the algorithms must meet permit identi- fication of mutilated, but still acceptable banknote, etc.
  • denomination algorithms use reflectance data in grey-scale or color formats at high spatial resolution, which requires large amounts of memory. Processing such data requires the inclusion of a computer, in the currency counting machine having large amounts of memory, both RAM and EPROM, and a powerful processor.
  • U.S. Patent No. 5,680,472 proposes a currency recognition system, which consists of defining a side edge and a top edge of a banknote that is being scanned and obtaining a deskewed image, and a recognition algorithm is applied, relying on edge detection routines to determine the printing edges of the node, and the application of linear discriminant functions and correlation measurements with known patterns to classify the banknote.
  • U.S. Patent No. 5,467,405 proposes a currency classification technique, in which banknotes are scanned along their narrow dimension, and analog reflec- tance images obtained. The analog images are subjected to digital processing.
  • a normalization process is then applied, in order to deaccentuate contrast variations in the printed pattern of the banknote being scanned.
  • Reference patterns are memorized, and are correlated with scans from unknown images, using two levels of correlation in order to establish identification.
  • Most conventional optical techniques are based on well known methods of pattern recognition.
  • Some systems employ large numbers of optical samples of each banknote, which can slow system operation.
  • complex algorithms may be employed to evaluate the scanned data. Assuring adequate registration of the banknotes with the scanner and the collection of the scanned data are time consuming.
  • identification of currency is based on a process that comprises two stages: a training or learning phase, and an operational phase.
  • a training or learning phase which may be performed on any workstation
  • a set of discriminators is developed using a training set of banknotes, which is representative of banknotes of different issuers and de- nominations.
  • a scanned image of a banknote to be identified is correlated or compared with different members of the set of discriminators.
  • the results of the correlations and comparisons are fed to a decision making module that either generates an identification code for the banknote, or reports an unknown banknote.
  • the identification code can include detailed information about the currency, e.g., the issuer, denomination, facing, and orientation in the counting machine.
  • Members of the set of discriminators may include look up values in reference tables that are derived from the images of the training set. Some discriminators rely, for instance, on bank note size, while others employ correlation of other characteristics of an unknown banknote using the reference tables.
  • a table derived from the training set may indicate the probability of a given brightness for every pixel, or group of pixels. These probabilities are obtained during training by statistical analysis of the images of the training set. During operation, the brightness of a particular pixel or group of pixels in a scanned image of an unknown banknote is compared with that of different known banknotes. This comparison may be accomplished, for example, using probability analysis to calculate a conditional probability that a particular pixel or group of pixels has a measured brightness. The condition is a hypothesis that the subject banknote has a certain denomination. If this probability is high enough, or if it is significantly larger for one assumed denomination than for all others, the hypothesis is accepted.
  • grey-scale images of the banknotes are acquired at a low spatial resolution, which can be as low as 10 dots per inch (dpi).
  • the discrimination tables may be processed without need for reduction to binary masks and dis- crimination process is rapidly completed using simple logical or integer arithmetic operations.
  • the invention provides a method for identifying a denomination of a currency bill, which is carried out by providing a mask for each denomination among a plurality of different currency denominations.
  • the mask indicates expected brightness levels of pixels in images of bills of the given denomination.
  • the method is further carried out by capturing an image of the currency bill, correlating brightness levels in pixels of the captured image with the mask so as to determine matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill.
  • the matching scores are compared by selecting a highest one of the matching scores, determining whether the highest one of the matching scores exceeds a threshold, and responsively thereto, identifying the currency bill with the currency denomination corresponding to the highest one of the matching scores.
  • the threshold has a predetermined value. According to an additional aspect of the method, the threshold depends on whichever of the different currency denominations corresponds to the highest one of the matching scores.
  • the matching scores are correlation coefficients.
  • the spatial resolution of the captured image does not exceed 10 dpi.
  • the captured image is a grey-scale image.
  • the spatial resolution of the captured image does not exceed 10 dpi.
  • the brightness resolution of the captured image does not exceed 12 bits per pixel.
  • the brightness resolution of the captured image does not exceed 6 bits per pixel.
  • the invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for identifying a denomination of a currency bill, which is carried out by generating a mask for each given denomination among a plurality of different currency denominations.
  • the mask indicates expected brightness levels of pixels in images of bills of the given denomination.
  • the method is further carried out by capturing an image of the currency bill, correlating brightness levels in pixels of the captured image with the mask so as to determine matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency de- nominations to the currency bill.
  • the invention provides an apparatus for identifying a denomination of a currency bill, including a transport mechanism for conveying the currency bill along a transport path, an imaging subsystem for capturing an image of the currency bill while the currency bill is on the transport path, and a decisional logic subsystem that evaluates the captured image for identifi- cation thereof.
  • the decisional logic subsystem is adapted to compare the captured image to masks indicating expected brightness levels of pixels in images of bills of the given denomination, so as to determine respective matching scores for different currency denominations, and to compare the matching scores so as to assign one of the different currency denominations to the currency bill.
  • the imaging subsystem includes a light source and a light detector that is responsive to the light source, and is positioned relative the light source such that the captured image is a reflectance image.
  • the light source produces a beam of visible light, wherein the currency bill is in a path of the beam.
  • the light source produces a beam of infrared light, wherein the currency bill is in a path of the beam.
  • the captured image is a grey-scale image has a brightness resolution that does not exceed 12 bits per pixel.
  • the captured image is a grey-scale image has a brightness resolution that does not exceed 6 bits per pixel.
  • the imaging subsystem also includes a light source and a light detector that is responsive to the light source, and is positioned relative the light source such that the captured image is a transmittance image.
  • the light source produces a beam of visible light, wherein the currency bill is in a path of the beam.
  • the captured image is a grey-scale image has a brightness resolution that does not exceed 12 bits per pixel.
  • the captured image is a grey-scale image has a brightness resolution that does not exceed 6 bits per pixel.
  • the decisional logic subsystem is adapted to compute a correlation coefficient between the captured image and the masks.
  • the captured image includes a plurality of captured images corresponding to different facings and orientations of the currency bill.
  • the invention provides a method for determining a denomination of a currency bill, which is carried out by providing a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomi- nation indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination.
  • the method is further carried out by capturing an image of the currency bill, comparing the captured image to the white mask and the black mask for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill.
  • the captured image is a reflectance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
  • the captured image is a reflectance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
  • the captured image is a transmittance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
  • the captured image is a transmittance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
  • the currency bill is assigned to one of the different currency denominations by associating an identification code therewith.
  • An additional aspect of the method includes presenting the identification code on a display device.
  • the image of the currency bill includes an entire area thereof.
  • the image of the currency bill includes at least one selected sub-area thereof.
  • the captured image has a brightness resolution of 1 bit per pixel.
  • One aspect of the method comparing the captured image is accomplished by performing a pixel-by-pixel logical AND operation between the captured image and the white mask and between an inversion of the captured image and the black mask, and determining a number of pixels in which there is concordance between pixels of the captured image and corresponding pixels of the white mask, and between pixels of the inversion of the captured image and corresponding pixels of the black mask.
  • the image has a brightness resolution that exceeds 1 bit per pixel.
  • the pixels in the white mask and in the black mask that are likely to be white and black, respectively are white and black, respectively, on at least a predetermined proportion of specimens of the given denomination.
  • An additional aspect of the method includes assigning a brightness level of the pixels by binarization.
  • the captured image are compared by identifying a highest one of the matching scores, identifying a second highest one of the matching scores, calcu- lating a difference between the highest one of the matching scores and the second highest one of the matching scores, and responsively to the difference therebetween, identifying the currency bill as the currency denomination that corresponds to the highest one of the matching scores.
  • the invention provides a method for identifying a currency bill, which is carried out by providing a plurality of discriminators for each given denomination among a plurality of different currency denominations, capturing an image of the currency bill, scoring the captured image according to the discriminators for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill.
  • scoring is performed by determining a correlation coefficient between the captured image and the discriminators for each the given denomination.
  • the discriminators comprise tables, wherein each entry of the tables is associated with a corresponding pixel of the captured image, and repre- sents a probability that the corresponding pixel is either black or white on the given denomination.
  • elements of one of the discriminators and elements of another of the discriminators each comprise one of a first value and a second value, wherein the first value signifies that the probability is higher than a first threshold value, and the second value signifies that the probability is lower than a second threshold value.
  • the first threshold value is equal to the second threshold value.
  • the invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for determining a denomination of a currency bill, which is carried out by generating a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomination indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination.
  • the method is further carried out by memorizing a captured image of the currency bill, comparing the captured image to the white mask and the black mask for each of the plurality of different currency de- nominations so as to determine respective matching scores for the different currency denominations, comparing the matching scores, and responsively thereto assigning one of the different currency denominations to the currency bill.
  • the invention provides an apparatus for identifying a denomination of a currency bill, including a transport mechanism for conveying the currency bill along a transport path, an im- aging subsystem for capturing an image of the currency bill, while the currency bill is on the transport path, and a decisional logic subsystem that evaluates the captured image for identification thereof.
  • the decisional logic subsystem maintains a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomination indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination.
  • the decisional logic subsystem is adapted to compare the captured image to the white mask and the black mask for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and to compare the matching scores so as to assign one of the different currency denominations to the currency bill.
  • Fig. 1 is a partially schematic side elevation of a currency identification apparatus in accordance with a disclosed embodiment of the invention
  • Fig. 2 is a flow chart that schematically illustrates a method for generating discrimina- tors of one type, in accordance with a disclosed embodiment of the invention
  • Fig. 3 is a flow diagram illustrating a method of processing of an image of an unknown banknote in accordance with a disclosed embodiment of the invention
  • Fig. 4 is a flow diagram illustrating a method of binary mask creation in accordance with a disclosed embodiment of the invention
  • Fig. 5 schematically shows details of an exemplary white binary mask in accordance with a disclosed embodiment of the invention
  • Fig. 6 schematically shows details of an exemplary black binary mask in accordance with a disclosed embodiment of the invention.
  • Fig. 7A and Fig. 7B are a flow diagram illustrating processing of an image of an unknown banknote in accordance with a disclosed embodiment of the invention.
  • Software programming code which embodies aspects of the present invention, is typically maintained in permanent storage, such as a computer readable medium.
  • permanent storage such as a computer readable medium.
  • such software programming code may be stored on a client or a server.
  • the software programming code may be embodied on any of a variety of known media for use with a data processing system, This includes, but is not limited to, magnetic and optical storage devices such as disk drives, magnetic tape, compact discs (CD's), digital video discs (DVD's), and computer instruction signals embodied in a transmission medium with or without a carrier wave upon which the signals are modulated.
  • the transmission me- dium may include a communications network, such as the Internet.
  • Fig. 1 is a partially schematic side elevation of a currency identification apparatus (10) in accordance with a disclosed embodiment of the invention.
  • the currency identification apparatus (10) has a banknote transport mechanism (12), which is conventional.
  • a hopper (14) contains a stack of banknotes (16) to be identified. Individual banknotes are removed from the stack of banknotes (16) by a pick-off roller (18), and are directed between a fixed main roller (20) and a free roller (22) along a transport path that extends generally around the main roller (20) beneath a guide (24).
  • the guide (24) is provided with apertures (26, 28), which permit transmission of light by an imaging subsystem (30).
  • the banknotes are directed by a switch (32) into one or more collec- tion receptacles, represented by hoppers (34, 36).
  • the switch (32) operates responsively to a decisional logic subsystem (38), which processes samples obtained by the imaging subsystem (30).
  • the transport path of the banknotes may be ramified by increasing the number of the switches and collection receptacles. These can be linked in many different combinations, either on one level or as a multilevel hierarchy in order to subclassify the banknotes.
  • An operator may control the operation of the currency identification apparatus (10) using a workstation (40).
  • the imaging subsystem (30) comprises a light source (42), which directs a beam (44) via scanning and collection optics (46) through the aperture (26) onto a banknote (48) passing the- reacross.
  • the beam (44) is then reflected toward a detector (50), which is typically an array, such as a CCD array.
  • the imaging subsystem (30) includes a light source (52), which directs a beam (54) through the aperture (28).
  • the beam (54) is transmitted through the banknote (48) as it passes thereacross, continuing via scanning and collection optics (56) to a detector (58), which can be of the same construction as the detector (50).
  • the output of the detector (58) is linked to a conventional signal processing unit (60), which includes an analog-to-digital con- verter (62).
  • a calibration module (64) includes circuitry for converting signals received from the detectors (50, 58) to signal levels, which are appropriate for the further processing, as explained hereinbelow. It has been found that the calibration module (64) provides sufficient signal conditioning to process the signals without resort to equalization or other image enhancement techniques. Skew correction may be employed, however.
  • a multiplexer (66) may be included in embodiments in which both the detector (50) and the detector (58) are used.
  • the digitized output of the signal processing unit (60) is linked to the decisional logic subsystem (38). Some or all of the components of the signal processing unit (60) may be implemented in hardware, for example using a field programmable gate array (FPGA).
  • FPGA field programmable gate array
  • such components can be realized as a software implementation using a general purpose computer or a digital signal processor (DSP).
  • DSP digital signal processor
  • the choice is typically based on price- performance requirements, which may differ in particular applications.
  • reflectance and transmittance samples of the banknote (48) are acquired using the detector (50) and the detector (58), respectively.
  • the imaging subsystem (30) may acquire only reflec- tance samples using the light source (42) and the detector (50), or only transmittance samples using the light source (52) and the detector (58), in which case the superfluous light source, detector and optics are eliminated from the currency identification apparatus (10).
  • the output of the detector (50) is coupled to the signal processing unit (60).
  • the light source (42) and the light source (52) preferably may generate infrared light, having a wavelength of at least 650 nm, in order to detect features of banknotes that are visible in infrared light, but not in visible light. Alternatively, it is possible to use visible light of any wavelength, with some loss of sensitivity and accuracy.
  • the imaging subsystem (30) typically acquires banknote images at a brightness resolu- tion of 1 bit per pixel, in order to achieve the advantages of binary techniques, as disclosed herein. However, in some embodiments the imaging subsystem (30) may be modified to acquire images at more than 1 bit per pixel brightness resolution.
  • the decisional logic subsystem (38) comprises a processor (68) and a memory (70).
  • the memory (70) holds discriminators, such as masks described hereinbelow.
  • the processor (68) typically comprises a combination of hard-wired and programmable components, which may be contained together in a single integrated circuit chip or implemented using a number of different chips.
  • Hard-wired logic (72) typically in the form of a custom, semi-custom or programmable logic array, compares the output of the signal processing unit (60) to the discriminators stored in the memory (70) and outputs numerical values indicative of the quality of the match between the image of each unknown bill captured by the signal processing unit (60) and each of the discriminators.
  • the processor (68) typically a microprocessor, evaluates the numerical values to choose the denomination to assign to the bill, and controls the switch (32) accordingly.
  • the processor (68) is also capable of energizing the switch (32) so as to halt operation of the transport mechanism (12).
  • all of the functions of the decisional logic subsystem (38) may be performed using computer software to control the processor (68), or by hard-wired logic, or by a microprocessor.
  • the decisional logic subsystem (38) can be realized as an ASIC or other form of programmable logic, such as a FPGA, or programmable logic array (PLA).
  • the currency identification apparatus (10) can be programmed to scan an entire banknote. However in some cases throughput may be improved by scanning selected regions, such as predefined strips, in which case the discriminators described hereinbelow are accordingly adjusted to correspond to the selected regions.
  • the discriminators are applied by the decisional logic subsystem (38) to make an identity determination.
  • an arbitration scheme may be used to resolve disagreements. This may be accomplished by simple voting, or by a more complex scheme, such as weighted rules of decision.
  • decisional logic subsystem (38) is rule based, as explained hereinbelow.
  • a grey-scale image is produced for each banknote issue in the training set.
  • Image acquisition at 10 dpi and 12 bits per pixel is satisfactory.
  • Image acquisition at 10 dpi and 6 bits per pixel also has been successfully accomplished.
  • Many specimens of each banknote issue are included in the training set in order that variations in printing, and changes that commonly occur in used banknotes can be learned.
  • Fig. 2 is a flow chart that schematically illustrates a method used by the workstation (40) (Fig. 1) for generating discriminators of one type, in accordance with an embodiment of the present invention.
  • step (74) in which denominations are chosen for training the system, and a representative set of banknotes is obtained for each of the denominations. Control now proceeds to step (76), where one of the denominations chosen in initial step (74) is selected for processing as a current denomination. Next, at step (78), a banknote from the training set of the current denomination is selected.
  • step (80) the banknote selected in step (78) is scanned.
  • a grey-scale image which can have a spatial resolution as low as 10 dpi, is prepared.
  • the image is calibrated, us- ing appropriate skew correction, and signal processing as disclosed hereinabove with respect to Fig. 1.
  • step (84) begins a sequence in which a mask is constructed for the current denomination. This is typically done pixel-by-pixel. Alternatively, a region comprising a plurality of pixels may be treated as a unit for purposes of constructing the mask. The process of constructing the mask for the current denomination is explained in terms of pixels. However, those skilled in the art can readily adapt the method for regions that are larger than a pixel. A pixel is now selected for processing.
  • step (86) an average value for the pixel that was selected in step (84) is computed, using the brightness value measured for this pixel for each scan obtained in step (80) for the current denomination.
  • step (88) the average value that was computed in step (86) is memorized as the value for the current pixel in the mask.
  • control proceeds to decision step (92). Here it is determined if more denominations remain to be processed. If the determination at decision step (92) is affirmative, then control returns to step (76).
  • Fig. 3 is a flow diagram illustrating a method of processing of an image of an unknown banknote in accordance with embodiment 1 of the invention. It is assumed that training was carried out previously in accordance with the method disclosed above with respect to Fig. 2.
  • initial step (96) a calibrated image of an unknown banknote is acquired, using the same technique that was used during the learning phase in step (80) (Fig. 2).
  • a mask is selected from the set of masks prepared during the learning phase.
  • the coefficient of correlation is computed pixel-by-pixel between the image that was scanned in initial step (96) and the current mask.
  • the coefficient of correlation of a set of pairs of quantities is equal to the sum of the products of the deviation of each quantity in the pairs from its respective mean, divided by the product of the number in the set and the standard deviations.
  • R is the coefficient of correlation
  • N is the number of pairs
  • x n and Y n each represent members of a pair
  • x and y are the means for the sets
  • d x and d y are standard deviations for the sets, given by
  • step (102) determines whether the determination at decision step (102) is negative. If the determination at decision step (102) is negative, then control proceeds to step (104). Here the mask having the highest coefficient of correlation with the scanned image of the unknown banknote is selected.
  • step (106) is an optional step.
  • the coefficient of correlation of with the mask selected at step (106) is to be compared to a threshold value of significance.
  • This threshold can be preset, in which case step (106) is omitted.
  • These threshold values reflect confidence levels required to identify particular banknote series and denominations, and are empirically derived.
  • step (108) If the determination at decision step (108) is negative, then control proceeds to final step (112).
  • the banknote is classified as unknown.
  • two binary masks are produced for each banknote issue in the training set during the learning phase.
  • a "black mask” consists of "mostly black” pixels
  • a “white mask” consists of "mostly white” pixels.
  • White and black pixels in the context of binary images are pixels having brightness levels of 1 and 0. These brightness levels are used arbitrarily herein to distinguish light and dark ar- eas, and have no physical meaning with respect to the actual configuration of the decisional logic subsystem (38).
  • Usually black pixels and mostly white pixels are those pixels that are determined to be black and white, respectively, on at least a predetermined proportion of the specimens of a particular banknote issue in the training set.
  • the masks are not complementary, and there may be some pixels that do not appear in either mask.
  • the predetermined percentage is application dependent, and typically varies with different banknotes. A proportion of (90) per cent is typical.
  • the brightness levels are assigned using binarization, that is, by choosing a threshold value, and classifying all pixels with values above this threshold as white, and all other pixels as black.
  • the binarization threshold may be set during a calibration procedure or even varied adaptively during operation.
  • the decisional logic subsystem (38) uses discriminators that are stored in the memory (70) in order to identify the denomination of bills received by the currency identification apparatus (10). These discriminators are determined in the learning phase, using a collection of reference banknotes. The banknotes are scanned, and their images are input to the workstation (40), typically a general purpose computer with suitable software, which processes the images to derive the discriminators and transmits them to the decisional logic subsys- tern (38).
  • the workstation typically a general purpose computer with suitable software
  • Fig. 4 is a flow chart that schematically illustrates a method used by the workstation (40) (Fig. 1) in generating discriminators of one type, in accordance with an embodiment of the present invention.
  • the discriminators in this embodiment are referred to as black and white binary masks.
  • compo- nents of the currency identification apparatus (10) (Fig. 1) are referred to herein for clarity of presentation, the method is not limited to the currency identification apparatus (10), and may be used with many different types of currency identification apparatus.
  • the method begins at initial step (114), where a training set of sample bills of a given denomination are scanned and data collected by the workstation (40) via the imaging subsys- tern (30). It may be noted that as new currency issues are recognized, it is only necessary to add them to the data collection by repeating initial step (114).
  • a binarization threshold is set. This threshold is empirical. However, values in the range of 40 - 60 per cent are generally suitable.
  • step (118) binary images are prepared, using the binarization threshold that was established at step (116).
  • each of these binary images is evaluated pixel-by-pixel, and composite statistics are computed.
  • step (120) a pixel is selected and evaluated in each of the binary images that were prepared in step (118).
  • decision step (122) a determination is made whether the pixel selected in step (120) has a value corresponding to white on a predetermined proportion of the binary images. A value of 90 per cent is typical for the predetermined proportion.
  • step (122) determines whether the determination at decision step (122) is affirmative. If the determination at decision step (122) is affirmative, then control proceeds to step (124), where the pixel is added to the white mask. Control then proceeds to decision step (126), which is described hereinbelow.
  • a determination is made whether the pixel selected in step (120) has a value corresponding to black on a predetermined proportion of the binary images. A value of 90 per cent is typical for the predetermined proportion.
  • step (128) determines whether the determination at step (128) is affirmative. If the determination at step (128) is affirmative, then control proceeds to step (130), where the pixel is added to the white mask. Control then proceeds to decision step (126).
  • step (128) determines whether the determination at step (128) is negative, then control proceeds directly to decision step (126). Here a determination is made if more pixels remain to be evaluated. If the determination at decision step (126) is affirmative, then control returns to step (120).
  • Fig. 5 and Fig. 6 schematically show details of an exemplary white binary mask (134) and a black binary mask (136), respectively, as generated by the process of Fig. 4. Only a small portion of each mask, corresponding to the upper left corner of a particular currency bill, is shown in Fig. 5 and Fig. 6.
  • Each mask comprises a matrix of pixels (138). The size of the matrix depends on the scanning resolution of the currency identification apparatus (10) (Fig. 1).
  • the methods of the present invention are suitable for use at low resolution, thus reducing requirements for memory and processing capacity. As mentioned above, the inventors have obtained good results in discriminating currency denominations at resolution as low as 10 dpi. Using this resolution for identifying currency of the United States of America, the white binary mask (134) and the black binary mask (136) may each comprise as few as 1500 pixels.
  • each of the pixels (138) in the white binary mask (134) is “1” if the pixel value was found to be “1" (white) in at least 90% of the sample images of the bill in question, and "0" otherwise.
  • the value of each of the pixels (138) in the black binary mask (136) is "1” if the pixel value was found to be "0" (black) in at least 90% of these sample images.
  • the masks are not complementary. In other words, if a given pixel has the value "1" in one of the masks, it need not be "0" in the other mask.
  • a pixel may alternatively have the value "0" in both masks, as illustrated by pixels (140, 142), located in corresponding positions in the white binary mask (134) and the black binary mask (136), respectively.
  • methods other than that illustrated in Fig. 4 may be used to generate the white binary mask (134) and the black binary mask (136), as will be apparent to those skilled in the art.
  • the white binary mask (134) for a given currency denomination indicates pixels that have a high likelihood of appearing bright in an image of a bill of that denomination
  • the black binary mask (136) indicates pixels that have a high likelihood of appearing dark in such an image.
  • the discriminators can be tables corresponding to the size of the scanned image in pixels, wherein each entry represents the probability of a corresponding pixel brightness being less than a threshold value.
  • the entries of the tables may represent probabilities that corresponding pixels have brightnesses exceeding a high threshold value for a particular species of banknotes, or that the corresponding pixels have brightnesses less than a low threshold value.
  • the high and low threshold values may be equal.
  • the thresh- old values may be global, or may be assigned for different regions. Indeed, threshold values may be assigned to each table entry individually.
  • a plurality of discriminators For example, a plurality of tables may be constructed for each banknote species, each based on a different threshold or different sets of thresholds for different pixels.
  • the use of two to four different dis- criminators has been found to be suitable for some applications. Indeed, there is no limit to the number of discriminators that may be applied in order to increase the accuracy of currency identification, except what is imposed by the processing hardware in the decisional logic subsystem (38).
  • the rule of decision can be expressed as follows: If the ratio of mostly white pixels (or mostly black pixels) of a specimen to mostly white pixels (or mostly black pixels) of a reference banknote is high enough and is the highest in a set of ratios computed in like manner against other reference banknotes; and the difference between the ratio and the next highest value taken from the set of ra- tios is high enough, then the specimen is identified as the reference banknote.
  • Identity codes are output by the decisional logic subsystem (38), including an identity code for an unknown banknote.
  • the identity code may embody a confidence in the identifica- tion, as well as many other details of the banknote. For example, in embodiments where more than one discriminator is used, the identity code may indicate whether or not arbitration was required.
  • the identity codes can be presented on a remote display device, or can be accessed by a remote user, for example over a data network such as the Internet.
  • t the scanned image is correlated with the stored masks or other discriminators, and a correlation coefficient is calculated, using a standard correlation function. Then the above-noted procedure is invoked, substituting the correlation coefficients for the pixel ratios.
  • Fig. 7 is a flow diagram illustrating a method of proc- essing of an image of an unknown banknote in accordance with embodiment 2 of the invention.
  • the steps of the method are presented in an exemplary order. However, it will be understood that many of the steps can be performed in different orders or even simultaneously, in order to achieve an efficient implementation using techniques known to the computer and electronic arts.
  • initial step (144) an image of an unknown banknote or sample is acquired as disclosed above with reference to Fig. 1. The image is binarized as disclosed hereinabove.
  • step (146) the acquired image is duplicated, and one instance is inverted.
  • branches (148, 150) The method now proceeds independently as two branches (148, 150). These branches may be performed serially or in parallel.
  • the branch (148) is performed using the non-inverted image that was acquired in initial step (144), applied to a white binary mask, and is now disclosed in further detail.
  • Control proceeds to step (152), where a candidate denomination is selected from the set of banknote issues that were processed during the training phase disclosed hereinabove.
  • step (154) where the non- inverted image of the unknown banknote is masked by a logical AND operation, pixel-by-pixel, with the reference mask of mostly white pixels (white mask) developed with respect to the banknote issue that was selected at step (152).
  • step (156) the number of "l 's" in the masked image that was output in step (154) is counted or otherwise determined. Then, at step (158), the ratio of the number of 1 's in the masked image to the number of 1 's in the white mask is determined. This ratio may be inte ⁇ reted as a measure of equality (distance) between the scanned banknote image and the reference images of a particular banknote issue. The closer the ratio is to unity, the more likely the unknown banknote can be identified with the reference banknote.
  • step (162) which is disclosed hereinbelow.
  • Branch (150) is performed using the inverted image that was acquired in step (146).
  • the branch (150) consists of steps (164, 166, 168), which are performed in the same manner as steps (154, 156, 158), respectively, except that a black binary mask is taken from the candidate denomination. The details are not repeated in the interest of brevity.
  • ratio pairs are associated for each candidate denomination, using the ratios computed in step (158) and step (168). These ratio pairs are ranked. This may be done by summing the ratios of each member of the pair, and ranking the sums. Alternatively, other figures of merit may be chosen in order to rank the ratio pairs. The highest ranking ratio pair is identified.
  • step (170) If the determination at decision step (170) is negative, then control proceeds to final step (172). Here the sample is classified as an unknown banknote. If the determination at decision step (170) is affirmative, then control proceeds to step (174), where the second highest ranking ratio pair is identified, using the ranking that was established in step (162).
  • control proceeds to final step (178), where the sample is identified as the banknote corresponding to the highest ranking ratio pair. If the determination at decision step (176) is negative, then control proceeds to final step (172).

Abstract

Methods and systems are provided for the identification of banknotes using a process that comprises two stages. During training, a set of discriminators is developed using a training set of banknotes, which is representative of banknotes of different issuers and denominations. During an operational phase a scanned image of a banknote (26) to be identified is correlated or compared with different members of the set of discriminators. The results of the correlations and comparisons are fed to a decision making module (38) that either generates an identification code for the banknote (26), or reports an unknown banknote. Images of the banknotes are acquired at a spatial resolution as low as 10 dots per inch. At this resolution, the discrimination tables are reduced to masks (134, 136) and the discrimination process is rapidly completed using simple logical or integer arithmetic operations.

Description

Recognition of Banknote Denominations in Automatic Money Processing
Devices
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of Provisional Application No. 60/395,086, filed July 10, 2002.
BACKGROUND OF THE INVENTION
The invention relates to banknote identification. More particularly, this invention relates to optical methods and systems for the automatic identification of paper currency from different issuers and in different denominations. A variety of optical systems for automatic currency discrimination are used in conjunction with currency counting machines. Pattern recognition techniques have been proposed, based on reflectance or transmittance images, typically including correlation of an unknown pattern with a reference pattern.
A common feature of existing algorithms for currency identification is the use of prede- fined strips selected on a banknote image. The strips may be extracted from different regions of the banknote, e.g., edges, central areas, or areas having particular ranges of reflectance or transmittance. While such algorithms are effective and robust, they require research of banknote properties, and must take into account subtle differences among the banknotes from different issues of the same denomination. For example, the algorithms must meet permit identi- fication of mutilated, but still acceptable banknote, etc. Typically, denomination algorithms use reflectance data in grey-scale or color formats at high spatial resolution, which requires large amounts of memory. Processing such data requires the inclusion of a computer, in the currency counting machine having large amounts of memory, both RAM and EPROM, and a powerful processor. Furthermore, relatively complex software must be provided. For example, U.S. Patent No. 5,680,472 proposes a currency recognition system, which consists of defining a side edge and a top edge of a banknote that is being scanned and obtaining a deskewed image, and a recognition algorithm is applied, relying on edge detection routines to determine the printing edges of the node, and the application of linear discriminant functions and correlation measurements with known patterns to classify the banknote. Another example is U.S. Patent No. 5,467,405, which proposes a currency classification technique, in which banknotes are scanned along their narrow dimension, and analog reflec- tance images obtained. The analog images are subjected to digital processing. A normalization process is then applied, in order to deaccentuate contrast variations in the printed pattern of the banknote being scanned. Reference patterns are memorized, and are correlated with scans from unknown images, using two levels of correlation in order to establish identification. Most conventional optical techniques are based on well known methods of pattern recognition. In general, there is a tradeoff between the amount of test data obtained for each banknote and the depth of analysis of the test data to assure correct currency identification, and the throughput of the processing and counting system. In systems that acquire large amounts of data, at a high pixel resolution, for example, it is necessary to dedicate more computer re- sources to its analysis. Thus, it would be advantageous to develop a system capable of reliably identifying banknotes at a lower pixel resolution. Some systems employ large numbers of optical samples of each banknote, which can slow system operation. Additionally or alternatively, complex algorithms may be employed to evaluate the scanned data. Assuring adequate registration of the banknotes with the scanner and the collection of the scanned data are time consuming.
SUMMARY OF THE INVENTION
It is therefore a primary object of some aspects of the present invention to provide improved automatic currency classification method and system that operates using images of low brightness and spatial resolution. It is another object of some aspects of the present invention to provide improved automatic currency classification methods and systems that do not require prior knowledge of banknote structure.
It is a further object of some aspects of the present invention to provide improved automatic currency classification that is capable identifying new currency issues in the absence of prior experience therewith.
In some aspects of the invention, identification of currency is based on a process that comprises two stages: a training or learning phase, and an operational phase. During training, which may be performed on any workstation, a set of discriminators is developed using a training set of banknotes, which is representative of banknotes of different issuers and de- nominations. Then, during the operational phase a scanned image of a banknote to be identified is correlated or compared with different members of the set of discriminators. The results of the correlations and comparisons are fed to a decision making module that either generates an identification code for the banknote, or reports an unknown banknote. The identification code can include detailed information about the currency, e.g., the issuer, denomination, facing, and orientation in the counting machine.
Members of the set of discriminators may include look up values in reference tables that are derived from the images of the training set. Some discriminators rely, for instance, on bank note size, while others employ correlation of other characteristics of an unknown banknote using the reference tables. As another example, a table derived from the training set may indicate the probability of a given brightness for every pixel, or group of pixels. These probabilities are obtained during training by statistical analysis of the images of the training set. During operation, the brightness of a particular pixel or group of pixels in a scanned image of an unknown banknote is compared with that of different known banknotes. This comparison may be accomplished, for example, using probability analysis to calculate a conditional probability that a particular pixel or group of pixels has a measured brightness. The condition is a hypothesis that the subject banknote has a certain denomination. If this probability is high enough, or if it is significantly larger for one assumed denomination than for all others, the hypothesis is accepted.
In another aspect of the invention, grey-scale images of the banknotes are acquired at a low spatial resolution, which can be as low as 10 dots per inch (dpi). At this resolution, the discrimination tables may be processed without need for reduction to binary masks and dis- crimination process is rapidly completed using simple logical or integer arithmetic operations.
The invention provides a method for identifying a denomination of a currency bill, which is carried out by providing a mask for each denomination among a plurality of different currency denominations. The mask indicates expected brightness levels of pixels in images of bills of the given denomination. The method is further carried out by capturing an image of the currency bill, correlating brightness levels in pixels of the captured image with the mask so as to determine matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill.
In an aspect of the method the matching scores are compared by selecting a highest one of the matching scores, determining whether the highest one of the matching scores exceeds a threshold, and responsively thereto, identifying the currency bill with the currency denomination corresponding to the highest one of the matching scores.
According to another aspect of the method, the threshold has a predetermined value. According to an additional aspect of the method, the threshold depends on whichever of the different currency denominations corresponds to the highest one of the matching scores.
According to yet another aspect of the method, the matching scores are correlation coefficients. According to yet another aspect of the method, the spatial resolution of the captured image does not exceed 10 dpi.
According to one aspect of the method, the captured image is a grey-scale image.
According to another aspect of the method, the spatial resolution of the captured image does not exceed 10 dpi. According to a further aspect of the method, the brightness resolution of the captured image does not exceed 12 bits per pixel.
According to an additional aspect of the method, the brightness resolution of the captured image does not exceed 6 bits per pixel.
According to yet another aspect of the method, there are a plurality of captured images corresponding to different facings and orientations of the currency bill.
The invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for identifying a denomination of a currency bill, which is carried out by generating a mask for each given denomination among a plurality of different currency denominations. The mask indicates expected brightness levels of pixels in images of bills of the given denomination. The method is further carried out by capturing an image of the currency bill, correlating brightness levels in pixels of the captured image with the mask so as to determine matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency de- nominations to the currency bill.
The invention provides an apparatus for identifying a denomination of a currency bill, including a transport mechanism for conveying the currency bill along a transport path, an imaging subsystem for capturing an image of the currency bill while the currency bill is on the transport path, and a decisional logic subsystem that evaluates the captured image for identifi- cation thereof. The decisional logic subsystem is adapted to compare the captured image to masks indicating expected brightness levels of pixels in images of bills of the given denomination, so as to determine respective matching scores for different currency denominations, and to compare the matching scores so as to assign one of the different currency denominations to the currency bill.
According to a further aspect of the apparatus, the imaging subsystem includes a light source and a light detector that is responsive to the light source, and is positioned relative the light source such that the captured image is a reflectance image.
According to still another aspect of the apparatus, the light source produces a beam of visible light, wherein the currency bill is in a path of the beam.
According to yet another aspect of the apparatus, the light source produces a beam of infrared light, wherein the currency bill is in a path of the beam. According to one aspect of the apparatus, the captured image is a grey-scale image has a brightness resolution that does not exceed 12 bits per pixel.
According to an additional aspect of the apparatus, the captured image is a grey-scale image has a brightness resolution that does not exceed 6 bits per pixel.
According to another aspect of the apparatus, the imaging subsystem also includes a light source and a light detector that is responsive to the light source, and is positioned relative the light source such that the captured image is a transmittance image.
According to one aspect of the apparatus, the light source produces a beam of visible light, wherein the currency bill is in a path of the beam.
According to a further aspect of the apparatus, the captured image is a grey-scale image has a brightness resolution that does not exceed 12 bits per pixel.
According to another aspect of the apparatus, the captured image is a grey-scale image has a brightness resolution that does not exceed 6 bits per pixel.
According to an additional aspect of the apparatus, the decisional logic subsystem is adapted to compute a correlation coefficient between the captured image and the masks. According to a further aspect of the apparatus, the captured image includes a plurality of captured images corresponding to different facings and orientations of the currency bill.
The invention provides a method for determining a denomination of a currency bill, which is carried out by providing a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomi- nation indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination. The method is further carried out by capturing an image of the currency bill, comparing the captured image to the white mask and the black mask for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill. According to one aspect of the method, the captured image is a reflectance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
According to yet another aspect of the method, the captured image is a reflectance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
According to another aspect of the method, the captured image is a transmittance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
According to still another aspect of the method, the captured image is a transmittance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
According to still another aspect of the method, the currency bill is assigned to one of the different currency denominations by associating an identification code therewith. An additional aspect of the method includes presenting the identification code on a display device.
According to a further aspect of the method, the image of the currency bill includes an entire area thereof.
According to yet another aspect of the method, the image of the currency bill includes at least one selected sub-area thereof.
According to a further aspect of the method, the captured image has a brightness resolution of 1 bit per pixel.
One aspect of the method comparing the captured image is accomplished by performing a pixel-by-pixel logical AND operation between the captured image and the white mask and between an inversion of the captured image and the black mask, and determining a number of pixels in which there is concordance between pixels of the captured image and corresponding pixels of the white mask, and between pixels of the inversion of the captured image and corresponding pixels of the black mask.
According to yet another aspect of the method, the image has a brightness resolution that exceeds 1 bit per pixel.
According to still another aspect of the method, the pixels in the white mask and in the black mask that are likely to be white and black, respectively, are white and black, respectively, on at least a predetermined proportion of specimens of the given denomination. An additional aspect of the method includes assigning a brightness level of the pixels by binarization.
In another aspect of the method, the captured image are compared by identifying a highest one of the matching scores, identifying a second highest one of the matching scores, calcu- lating a difference between the highest one of the matching scores and the second highest one of the matching scores, and responsively to the difference therebetween, identifying the currency bill as the currency denomination that corresponds to the highest one of the matching scores.
The invention provides a method for identifying a currency bill, which is carried out by providing a plurality of discriminators for each given denomination among a plurality of different currency denominations, capturing an image of the currency bill, scoring the captured image according to the discriminators for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and comparing the matching scores so as to assign one of the different currency denominations to the currency bill.
In an aspect of the method scoring is performed by determining a correlation coefficient between the captured image and the discriminators for each the given denomination.
According to one aspect of the method, the discriminators comprise tables, wherein each entry of the tables is associated with a corresponding pixel of the captured image, and repre- sents a probability that the corresponding pixel is either black or white on the given denomination.
According to another aspect of the method, elements of one of the discriminators and elements of another of the discriminators each comprise one of a first value and a second value, wherein the first value signifies that the probability is higher than a first threshold value, and the second value signifies that the probability is lower than a second threshold value.
According to a further aspect of the method, the first threshold value is equal to the second threshold value.
The invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for determining a denomination of a currency bill, which is carried out by generating a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomination indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination. The method is further carried out by memorizing a captured image of the currency bill, comparing the captured image to the white mask and the black mask for each of the plurality of different currency de- nominations so as to determine respective matching scores for the different currency denominations, comparing the matching scores, and responsively thereto assigning one of the different currency denominations to the currency bill.
The invention provides an apparatus for identifying a denomination of a currency bill, including a transport mechanism for conveying the currency bill along a transport path, an im- aging subsystem for capturing an image of the currency bill, while the currency bill is on the transport path, and a decisional logic subsystem that evaluates the captured image for identification thereof. The decisional logic subsystem maintains a white mask and a black mask for each given denomination among a plurality of different currency denominations, the white mask for the given denomination indicating pixels that are likely to appear bright in images of bills of the given denomination, and the black mask for the given denomination indicating pixels that are likely to appear dark in the images of the bills of the given denomination. The decisional logic subsystem is adapted to compare the captured image to the white mask and the black mask for each of the plurality of different currency denominations so as to determine respective matching scores for the different currency denominations, and to compare the matching scores so as to assign one of the different currency denominations to the currency bill.
BRIEF DESCRIPTION OF THE DRAWINGS
For a better understanding of these and other objects of the present invention, reference is made to the detailed description of the invention, by way of example, which is to be read in conjunction with the following drawings, wherein like elements are given like reference numerals, and wherein:
Fig. 1 is a partially schematic side elevation of a currency identification apparatus in accordance with a disclosed embodiment of the invention;
Fig. 2 is a flow chart that schematically illustrates a method for generating discrimina- tors of one type, in accordance with a disclosed embodiment of the invention;
Fig. 3 is a flow diagram illustrating a method of processing of an image of an unknown banknote in accordance with a disclosed embodiment of the invention; Fig. 4 is a flow diagram illustrating a method of binary mask creation in accordance with a disclosed embodiment of the invention;
Fig. 5 schematically shows details of an exemplary white binary mask in accordance with a disclosed embodiment of the invention; Fig. 6 schematically shows details of an exemplary black binary mask in accordance with a disclosed embodiment of the invention; and
Fig. 7A and Fig. 7B, collectively referred to herein as Fig. 7, are a flow diagram illustrating processing of an image of an unknown banknote in accordance with a disclosed embodiment of the invention.
DETAILED DESCRIPTION OF THE INVENTION
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent to one skilled in the art, however, that the present invention may be practiced without these specific details. In other instances well-known circuits, control logic, and the details of computer program instructions for conventional algorithms and processes have not been shown in detail in order not to unnecessarily obscure the present invention.
Software programming code, which embodies aspects of the present invention, is typically maintained in permanent storage, such as a computer readable medium. In a client/server environment, such software programming code may be stored on a client or a server. The software programming code may be embodied on any of a variety of known media for use with a data processing system, This includes, but is not limited to, magnetic and optical storage devices such as disk drives, magnetic tape, compact discs (CD's), digital video discs (DVD's), and computer instruction signals embodied in a transmission medium with or without a carrier wave upon which the signals are modulated. For example, the transmission me- dium may include a communications network, such as the Internet.
Turning now to the drawings, reference is initially made to Fig. 1, which is a partially schematic side elevation of a currency identification apparatus (10) in accordance with a disclosed embodiment of the invention. The currency identification apparatus (10) has a banknote transport mechanism (12), which is conventional. For example, the apparatus described in U.S. Patent No. 5,680,472 or in U.S. Patent No. 5,966,456 is suitable for the transport mechanism (12). A hopper (14) contains a stack of banknotes (16) to be identified. Individual banknotes are removed from the stack of banknotes (16) by a pick-off roller (18), and are directed between a fixed main roller (20) and a free roller (22) along a transport path that extends generally around the main roller (20) beneath a guide (24). The guide (24) is provided with apertures (26, 28), which permit transmission of light by an imaging subsystem (30). After traversing the apertures (26, 28), the banknotes are directed by a switch (32) into one or more collec- tion receptacles, represented by hoppers (34, 36). The switch (32) operates responsively to a decisional logic subsystem (38), which processes samples obtained by the imaging subsystem (30). In some embodiments, the transport path of the banknotes may be ramified by increasing the number of the switches and collection receptacles. These can be linked in many different combinations, either on one level or as a multilevel hierarchy in order to subclassify the banknotes. An operator may control the operation of the currency identification apparatus (10) using a workstation (40).
The imaging subsystem (30) comprises a light source (42), which directs a beam (44) via scanning and collection optics (46) through the aperture (26) onto a banknote (48) passing the- reacross. The beam (44) is then reflected toward a detector (50), which is typically an array, such as a CCD array. The imaging subsystem (30) includes a light source (52), which directs a beam (54) through the aperture (28). The beam (54) is transmitted through the banknote (48) as it passes thereacross, continuing via scanning and collection optics (56) to a detector (58), which can be of the same construction as the detector (50). The output of the detector (58) is linked to a conventional signal processing unit (60), which includes an analog-to-digital con- verter (62). A calibration module (64) includes circuitry for converting signals received from the detectors (50, 58) to signal levels, which are appropriate for the further processing, as explained hereinbelow. It has been found that the calibration module (64) provides sufficient signal conditioning to process the signals without resort to equalization or other image enhancement techniques. Skew correction may be employed, however. A multiplexer (66) may be included in embodiments in which both the detector (50) and the detector (58) are used. The digitized output of the signal processing unit (60) is linked to the decisional logic subsystem (38). Some or all of the components of the signal processing unit (60) may be implemented in hardware, for example using a field programmable gate array (FPGA). Alternatively, such components can be realized as a software implementation using a general purpose computer or a digital signal processor (DSP). The choice is typically based on price- performance requirements, which may differ in particular applications. In any case, reflectance and transmittance samples of the banknote (48) are acquired using the detector (50) and the detector (58), respectively. Alternatively, the imaging subsystem (30) may acquire only reflec- tance samples using the light source (42) and the detector (50), or only transmittance samples using the light source (52) and the detector (58), in which case the superfluous light source, detector and optics are eliminated from the currency identification apparatus (10). The output of the detector (50) is coupled to the signal processing unit (60). The light source (42) and the light source (52) preferably may generate infrared light, having a wavelength of at least 650 nm, in order to detect features of banknotes that are visible in infrared light, but not in visible light. Alternatively, it is possible to use visible light of any wavelength, with some loss of sensitivity and accuracy.
The imaging subsystem (30) typically acquires banknote images at a brightness resolu- tion of 1 bit per pixel, in order to achieve the advantages of binary techniques, as disclosed herein. However, in some embodiments the imaging subsystem (30) may be modified to acquire images at more than 1 bit per pixel brightness resolution.
The decisional logic subsystem (38) comprises a processor (68) and a memory (70). The memory (70) holds discriminators, such as masks described hereinbelow. The processor (68) typically comprises a combination of hard-wired and programmable components, which may be contained together in a single integrated circuit chip or implemented using a number of different chips. Hard-wired logic (72), typically in the form of a custom, semi-custom or programmable logic array, compares the output of the signal processing unit (60) to the discriminators stored in the memory (70) and outputs numerical values indicative of the quality of the match between the image of each unknown bill captured by the signal processing unit (60) and each of the discriminators. The processor (68), typically a microprocessor, evaluates the numerical values to choose the denomination to assign to the bill, and controls the switch (32) accordingly. The processor (68) is also capable of energizing the switch (32) so as to halt operation of the transport mechanism (12). Alternatively, all of the functions of the decisional logic subsystem (38) may be performed using computer software to control the processor (68), or by hard-wired logic, or by a microprocessor. Alternatively, the decisional logic subsystem (38) can be realized as an ASIC or other form of programmable logic, such as a FPGA, or programmable logic array (PLA).
In some embodiments, the currency identification apparatus (10) can be programmed to scan an entire banknote. However in some cases throughput may be improved by scanning selected regions, such as predefined strips, in which case the discriminators described hereinbelow are accordingly adjusted to correspond to the selected regions. When an unknown banknote is scanned in the currency identification apparatus (10), the discriminators are applied by the decisional logic subsystem (38) to make an identity determination. When more than one discriminator is used, an arbitration scheme may be used to resolve disagreements. This may be accomplished by simple voting, or by a more complex scheme, such as weighted rules of decision.
In other embodiments the decisional logic subsystem (38) is rule based, as explained hereinbelow.
Embodiment 1.
Continuing to refer to Fig. 1, in one embodiment of the invention, during a learning phase a grey-scale image is produced for each banknote issue in the training set. Image acquisition at 10 dpi and 12 bits per pixel is satisfactory. Image acquisition at 10 dpi and 6 bits per pixel also has been successfully accomplished. Many specimens of each banknote issue are included in the training set in order that variations in printing, and changes that commonly occur in used banknotes can be learned. Reference is now made to Fig. 2, which is a flow chart that schematically illustrates a method used by the workstation (40) (Fig. 1) for generating discriminators of one type, in accordance with an embodiment of the present invention.
For clarity of presentation, the construction of one form of discriminator is presented herein. However, in some embodiments it is desirable to employ an enhanced set of discrimi- nators. For example, for each denomination, masks or other discriminators may be developed for each facing of the banknote. Furthermore, masks or other discriminators can be generated for different orientations of each facing. This enables more extensive correlations to be determined for each unknown specimen. However, the generation and processing of enhanced masks or other discriminators requires computational resources. Thus, a consideration in the use of enhanced masks involves cost-performance tradeoffs.
The process begins at initial step (74), in which denominations are chosen for training the system, and a representative set of banknotes is obtained for each of the denominations. Control now proceeds to step (76), where one of the denominations chosen in initial step (74) is selected for processing as a current denomination. Next, at step (78), a banknote from the training set of the current denomination is selected.
Next, at step (80) the banknote selected in step (78) is scanned. A grey-scale image, which can have a spatial resolution as low as 10 dpi, is prepared. The image is calibrated, us- ing appropriate skew correction, and signal processing as disclosed hereinabove with respect to Fig. 1.
Control now proceeds to decision step (82), where it is determined if there are more banknotes from the training set of the current denomination to be processed. If the determina- tion at decision step (82) is affirmative, then control returns to step (78).
If the determination at decision step (82) is negative, then control proceeds to step (84), which begins a sequence in which a mask is constructed for the current denomination. This is typically done pixel-by-pixel. Alternatively, a region comprising a plurality of pixels may be treated as a unit for purposes of constructing the mask. The process of constructing the mask for the current denomination is explained in terms of pixels. However, those skilled in the art can readily adapt the method for regions that are larger than a pixel. A pixel is now selected for processing.
Next, at step (86) an average value for the pixel that was selected in step (84) is computed, using the brightness value measured for this pixel for each scan obtained in step (80) for the current denomination.
Next, at step (88), the average value that was computed in step (86) is memorized as the value for the current pixel in the mask.
Control now proceeds to decision step (90), where it is determined if more pixels remain to be processed. If the determination at decision step (90) is affirmative, then control returns to step (84).
If the determination at decision step (90) is negative, then control proceeds to decision step (92). Here it is determined if more denominations remain to be processed. If the determination at decision step (92) is affirmative, then control returns to step (76).
If the determination at decision step (92) is negative, then control proceeds to final step (94), and the process terminates.
Reference is now made to Fig. 3, which is a flow diagram illustrating a method of processing of an image of an unknown banknote in accordance with embodiment 1 of the invention. It is assumed that training was carried out previously in accordance with the method disclosed above with respect to Fig. 2. At initial step (96), a calibrated image of an unknown banknote is acquired, using the same technique that was used during the learning phase in step (80) (Fig. 2).
Next, at step (98) a mask is selected from the set of masks prepared during the learning phase. Next, at step (100), the coefficient of correlation is computed pixel-by-pixel between the image that was scanned in initial step (96) and the current mask. As is well-known in the art, The coefficient of correlation of a set of pairs of quantities is equal to the sum of the products of the deviation of each quantity in the pairs from its respective mean, divided by the product of the number in the set and the standard deviations. Thus,
Figure imgf000016_0001
N dχ y 15
where R is the coefficient of correlation, N is the number of pairs, xn and Yn each represent members of a pair, x and y are the means for the sets, and dx and dy are standard deviations for the sets, given by
Figure imgf000016_0002
and
Figure imgf000016_0003
Control now proceeds to decision step (102), where it is determined if there are more masks to be correlated with the image of the unknown banknote. If the determination at decision step (102) is affirmative, then control returns to step (98).
If the determination at decision step (102) is negative, then control proceeds to step (104). Here the mask having the highest coefficient of correlation with the scanned image of the unknown banknote is selected.
Control now proceeds to step (106), which is an optional step. The coefficient of correlation of with the mask selected at step (106) is to be compared to a threshold value of significance. This threshold can be preset, in which case step (106) is omitted. However, it is also possible to vary the threshold as a function of the mask selected in step (106). For example, if the mask corresponds to a €10 note, then the threshold could be assigned a particular value Tl . However, if the mask corresponds to a €100 note, then the threshold would be assigned a different value T2. These threshold values reflect confidence levels required to identify particular banknote series and denominations, and are empirically derived. Control now proceeds to decision step (108), where it is determined if the coefficient of correlation for the mask selected in step (104) exceeds the current threshold, either a predetermined threshold, or the value established in step (106), whichever is applicable. If the determination at decision step (108) is affirmative, then control proceeds to final step (110). The unknown banknote has been successfully identified, and is assigned an identification corre- sponding to that of the mask selected in step (104).
If the determination at decision step (108) is negative, then control proceeds to final step (112). The banknote is classified as unknown.
Embodiment 2.
Referring again to Fig. 1 , in an alternate embodiment of the invention two binary masks are produced for each banknote issue in the training set during the learning phase. As in embodiment 1, many specimens of each banknote issue are included in the training set. A "black mask" consists of "mostly black" pixels, and a "white mask" consists of "mostly white" pixels. White and black pixels in the context of binary images are pixels having brightness levels of 1 and 0. These brightness levels are used arbitrarily herein to distinguish light and dark ar- eas, and have no physical meaning with respect to the actual configuration of the decisional logic subsystem (38). Mostly black pixels and mostly white pixels are those pixels that are determined to be black and white, respectively, on at least a predetermined proportion of the specimens of a particular banknote issue in the training set. The masks are not complementary, and there may be some pixels that do not appear in either mask. The predetermined percentage is application dependent, and typically varies with different banknotes. A proportion of (90) per cent is typical. As the training set is processed, these masks are memorized for later use during the operational phase. The brightness levels are assigned using binarization, that is, by choosing a threshold value, and classifying all pixels with values above this threshold as white, and all other pixels as black. The binarization threshold may be set during a calibration procedure or even varied adaptively during operation.
As noted above, the decisional logic subsystem (38) uses discriminators that are stored in the memory (70) in order to identify the denomination of bills received by the currency identification apparatus (10). These discriminators are determined in the learning phase, using a collection of reference banknotes. The banknotes are scanned, and their images are input to the workstation (40), typically a general purpose computer with suitable software, which processes the images to derive the discriminators and transmits them to the decisional logic subsys- tern (38).
Reference is now made to Fig. 4, which is a flow chart that schematically illustrates a method used by the workstation (40) (Fig. 1) in generating discriminators of one type, in accordance with an embodiment of the present invention. The discriminators in this embodiment are referred to as black and white binary masks. It will be understood that although compo- nents of the currency identification apparatus (10) (Fig. 1), are referred to herein for clarity of presentation, the method is not limited to the currency identification apparatus (10), and may be used with many different types of currency identification apparatus.
The method begins at initial step (114), where a training set of sample bills of a given denomination are scanned and data collected by the workstation (40) via the imaging subsys- tern (30). It may be noted that as new currency issues are recognized, it is only necessary to add them to the data collection by repeating initial step (114).
Next, at step (116), a binarization threshold is set. This threshold is empirical. However, values in the range of 40 - 60 per cent are generally suitable.
Next, at step (118), binary images are prepared, using the binarization threshold that was established at step (116). In subsequent steps of the method, each of these binary images is evaluated pixel-by-pixel, and composite statistics are computed.
Control now proceeds to step (120), where a pixel is selected and evaluated in each of the binary images that were prepared in step (118). Next, at decision step (122) a determination is made whether the pixel selected in step (120) has a value corresponding to white on a predetermined proportion of the binary images. A value of 90 per cent is typical for the predetermined proportion.
If the determination at decision step (122) is affirmative, then control proceeds to step (124), where the pixel is added to the white mask. Control then proceeds to decision step (126), which is described hereinbelow.
If the determination at decision step (122) is negative, then control proceeds to decision step (128). A determination is made whether the pixel selected in step (120) has a value corresponding to black on a predetermined proportion of the binary images. A value of 90 per cent is typical for the predetermined proportion.
If the determination at step (128) is affirmative, then control proceeds to step (130), where the pixel is added to the white mask. Control then proceeds to decision step (126).
If the determination at step (128) is negative, then control proceeds directly to decision step (126). Here a determination is made if more pixels remain to be evaluated. If the determination at decision step (126) is affirmative, then control returns to step (120).
If the determination at decision step (126) is negative, then control proceeds to final step (132). The binary masks are now output. In the case of the currency identification apparatus (10) (Fig. 1), they are received in the decisional logic subsystem (38) and stored in the memory (70).
Reference is now made to Fig. 5 and Fig. 6, which schematically show details of an exemplary white binary mask (134) and a black binary mask (136), respectively, as generated by the process of Fig. 4. Only a small portion of each mask, corresponding to the upper left corner of a particular currency bill, is shown in Fig. 5 and Fig. 6. Each mask comprises a matrix of pixels (138). The size of the matrix depends on the scanning resolution of the currency identification apparatus (10) (Fig. 1). The methods of the present invention are suitable for use at low resolution, thus reducing requirements for memory and processing capacity. As mentioned above, the inventors have obtained good results in discriminating currency denominations at resolution as low as 10 dpi. Using this resolution for identifying currency of the United States of America, the white binary mask (134) and the black binary mask (136) may each comprise as few as 1500 pixels.
The value of each of the pixels (138) in the white binary mask (134) is "1" if the pixel value was found to be "1" (white) in at least 90% of the sample images of the bill in question, and "0" otherwise. Similarly, the value of each of the pixels (138) in the black binary mask (136) is "1" if the pixel value was found to be "0" (black) in at least 90% of these sample images. The masks are not complementary. In other words, if a given pixel has the value "1" in one of the masks, it need not be "0" in the other mask. Rather, a pixel may alternatively have the value "0" in both masks, as illustrated by pixels (140, 142), located in corresponding positions in the white binary mask (134) and the black binary mask (136), respectively. Alternatively, methods other than that illustrated in Fig. 4 may be used to generate the white binary mask (134) and the black binary mask (136), as will be apparent to those skilled in the art. Generally speaking, the white binary mask (134) for a given currency denomination indicates pixels that have a high likelihood of appearing bright in an image of a bill of that denomination, while the black binary mask (136) indicates pixels that have a high likelihood of appearing dark in such an image.
Other types of discriminators may also be used in the currency identification apparatus (10) (Fig. 1). For example, the discriminators can be tables corresponding to the size of the scanned image in pixels, wherein each entry represents the probability of a corresponding pixel brightness being less than a threshold value. Alternatively, the entries of the tables may represent probabilities that corresponding pixels have brightnesses exceeding a high threshold value for a particular species of banknotes, or that the corresponding pixels have brightnesses less than a low threshold value. The high and low threshold values may be equal. The thresh- old values may be global, or may be assigned for different regions. Indeed, threshold values may be assigned to each table entry individually.
In some cases, it is desirable to apply a plurality of discriminators. For example, a plurality of tables may be constructed for each banknote species, each based on a different threshold or different sets of thresholds for different pixels. The use of two to four different dis- criminators has been found to be suitable for some applications. Indeed, there is no limit to the number of discriminators that may be applied in order to increase the accuracy of currency identification, except what is imposed by the processing hardware in the decisional logic subsystem (38).
For the sake of simplicity, however, the operation of the currency identification appara- tus (10) is described below in detail only with respect to discriminators of the type exemplified by the white binary mask (134) and the black binary mask (136). This embodiment implements a simple algorithm in the decisional logic subsystem (38), which uses thresholds that are set during the learning stage. The rule of decision can be expressed as follows: If the ratio of mostly white pixels (or mostly black pixels) of a specimen to mostly white pixels (or mostly black pixels) of a reference banknote is high enough and is the highest in a set of ratios computed in like manner against other reference banknotes; and the difference between the ratio and the next highest value taken from the set of ra- tios is high enough, then the specimen is identified as the reference banknote.
Otherwise, the specimen is classified as an unknown banknote. Further details are disclosed hereinbelow in the operation section. Identity codes are output by the decisional logic subsystem (38), including an identity code for an unknown banknote. The identity code may embody a confidence in the identifica- tion, as well as many other details of the banknote. For example, in embodiments where more than one discriminator is used, the identity code may indicate whether or not arbitration was required. In some embodiments, the identity codes can be presented on a remote display device, or can be accessed by a remote user, for example over a data network such as the Internet. In an alternate embodiment of the invention, t the scanned image is correlated with the stored masks or other discriminators, and a correlation coefficient is calculated, using a standard correlation function. Then the above-noted procedure is invoked, substituting the correlation coefficients for the pixel ratios.
Reference is now made to Fig. 7, which is a flow diagram illustrating a method of proc- essing of an image of an unknown banknote in accordance with embodiment 2 of the invention. The steps of the method are presented in an exemplary order. However, it will be understood that many of the steps can be performed in different orders or even simultaneously, in order to achieve an efficient implementation using techniques known to the computer and electronic arts. At initial step (144) an image of an unknown banknote or sample is acquired as disclosed above with reference to Fig. 1. The image is binarized as disclosed hereinabove. Next, at step (146), the acquired image is duplicated, and one instance is inverted.
The method now proceeds independently as two branches (148, 150). These branches may be performed serially or in parallel. The branch (148) is performed using the non-inverted image that was acquired in initial step (144), applied to a white binary mask, and is now disclosed in further detail. Control proceeds to step (152), where a candidate denomination is selected from the set of banknote issues that were processed during the training phase disclosed hereinabove.
The method now continues at step (154), where the non- inverted image of the unknown banknote is masked by a logical AND operation, pixel-by-pixel, with the reference mask of mostly white pixels (white mask) developed with respect to the banknote issue that was selected at step (152).
Next, at step (156) the number of "l 's" in the masked image that was output in step (154) is counted or otherwise determined. Then, at step (158), the ratio of the number of 1 's in the masked image to the number of 1 's in the white mask is determined. This ratio may be inteφreted as a measure of equality (distance) between the scanned banknote image and the reference images of a particular banknote issue. The closer the ratio is to unity, the more likely the unknown banknote can be identified with the reference banknote.
Control now passes to decision step (160). Here a determination is made whether all candidate denominations have been processed. If the determination at decision step (160) is negative, then control returns to step (152).
Otherwise, the procedure continues at step (162), which is disclosed hereinbelow.
Branch (150) is performed using the inverted image that was acquired in step (146). The branch (150) consists of steps (164, 166, 168), which are performed in the same manner as steps (154, 156, 158), respectively, except that a black binary mask is taken from the candidate denomination. The details are not repeated in the interest of brevity.
At step (162), ratio pairs are associated for each candidate denomination, using the ratios computed in step (158) and step (168). These ratio pairs are ranked. This may be done by summing the ratios of each member of the pair, and ranking the sums. Alternatively, other figures of merit may be chosen in order to rank the ratio pairs. The highest ranking ratio pair is identified.
Control now passes to decision step (170), where a determination is made whether the figure of merit of the highest ratio pair that was determined in step (162) exceeds a predetermined minimum value.
If the determination at decision step (170) is negative, then control proceeds to final step (172). Here the sample is classified as an unknown banknote. If the determination at decision step (170) is affirmative, then control proceeds to step (174), where the second highest ranking ratio pair is identified, using the ranking that was established in step (162).
Control now passes to decision step (176), where the difference between the highest and second highest ranking ratio pairs is calculated, and a determination made whether the difference exceeds a predetermined threshold.
If the determination at decision step (176) is affirmative, then control proceeds to final step (178), where the sample is identified as the banknote corresponding to the highest ranking ratio pair. If the determination at decision step (176) is negative, then control proceeds to final step (172).
It will be appreciated by persons skilled in the art that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof that are not in the prior art, which would occur to persons skilled in the art upon reading the foregoing description.

Claims

Claims:
1. A method for identifying a denomination of a currency bill, comprising the steps of: providing a mask for each given denomination among a plurality of different currency denominations, said mask indicating expected brightness levels of pixels in images of bills of said given denomination; capturing an image of said currency bill; correlating brightness levels in pixels of said captured image with said mask so as to determine matching scores for said different currency denominations; and comparing said matching scores so as to assign one of said different currency denominations to said currency bill.
2. The method according to claim 1, wherein said step of comparing said matching scores comprises the steps of: selecting a highest one of said matching scores; determining whether said highest one of said matching scores exceeds a threshold; and responsively to said step of determining identifying said currency bill with said one of said different currency denominations corresponding to said highest one of said matching scores.
3. The method according to claim 2, wherein said threshold has a predetermined value.
4. The method according to claim 2, wherein said threshold depends on said one of said different currency denominations corresponding to said highest one of said matching scores.
5. The method according to claim 1, wherein said matching scores are correlation coefficients.
6. The method according to claim 1, wherein a spatial resolution of said captured image does not exceed 10 dpi.
7. The method according to any of the preceding claims, wherein said captured image is a grey-scale image.
8. The method according to claim 7, wherein a spatial resolution of said captured image does not exceed 10 dpi.
9. The method according to claim 7, wherein a brightness resolution of said captured image does not exceed 12 bits per pixel.
10. The method according to claim 7, wherein a brightness resolution of said captured image does not exceed 6 bits per pixel.
11. The method according to any of claims 1-6, wherein said captured image comprises a plurality of captured images corresponding to different facings and orientations of said cur- rency bill.
12. A computer software product, comprising a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for identifying a denomination of a currency bill, compris- ing the steps of: generating a mask for each given denomination among a plurality of different currency denominations, said mask indicating expected brightness levels of pixels in images of bills of said given denomination; capturing an image of said currency bill; correlating brightness levels in pixels of said captured image with said mask so as to determine matching scores for said different currency denominations; and comparing said matching scores so as to assign one of said different currency denominations to said currency bill.
13. The computer software product according to claim 12, wherein in said step of comparing said matching scores wherein said computer is further instructed to perform the steps of: selecting a highest one of said matching scores; determining whether said highest one of said matching scores exceeds a threshold; and responsively to said step of determining identifying said currency bill with said one of said different currency denominations corresponding to said highest one of said matching scores.
14. The computer software product according to claim 13, wherein said threshold depends on said one of said different currency denominations corresponding to said highest one of said matching scores.
15. The computer software product according to claim 13, wherein a spatial resolution of said captured image does not exceed 10 dpi.
16. The computer software product according to claim 13, wherein said captured image is a grey-scale image.
17. The computer software product according to claim 16, wherein a spatial resolution of said captured image does not exceed 10 dpi.
18. The computer software product according to claim 16, wherein a brightness resolution of said captured image does not exceed 12 bits per pixel.
19. The computer software product according to claim 16, wherein a brightness resolution of said captured image does not exceed 6 bits per pixel.
20. The computer software product according to any of claims 12-19, wherein said captured image comprises a plurality of captured images corresponding to different facings and orientations of said currency bill.
21. An apparatus for identifying a denomination of a currency bill, comprising: a transport mechanism for conveying said currency bill along a transport path; an imaging subsystem for capturing an image of said currency bill while said currency bill is on said transport path; and a decisional logic subsystem that evaluates said captured image for identification thereof, wherein said decisional logic subsystem is adapted to compare said captured image to masks indicating expected brightness levels of pixels in images of bills of said given denomination so as to determine respective matching scores for different currency denominations; and to compare said matching scores so as to assign one of said different currency denominations to said currency bill.
22. The apparatus according to claim 21, wherein said imaging subsystem further comprises a light source and a light detector that is responsive to said light source, and is positioned relative said light source such that said captured image is a reflectance image.
23. The apparatus according to claim 22, wherein said light source produces a beam of visible light, wherein said currency bill is in a path of said beam.
24. The apparatus according to claim 22, wherein said light source produces a beam of infrared light, wherein said currency bill is in a path of said beam.
25. The apparatus according to claim 24, wherein said captured image is a grey-scale image having a brightness resolution that does not exceed 12 bits per pixel.
26. The apparatus according to claim 24, wherein said captured image is a grey-scale image having a brightness resolution that does not exceed 6 bits per pixel.
27. The apparatus according to any of claims 21-26, wherein said imaging subsystem further comprises a light source and a light detector that is responsive to said light source, and is positioned relative said light source such that said captured image is a transmittance image.
28. The apparatus according to claim 27, wherein said light source produces a beam of visible light, wherein said currency bill is in a path of said beam.
29. The apparatus according to claim 28, wherein said captured image is a grey-scale image having a brightness resolution that does not exceed 12 bits per pixel.
30. The apparatus according to claim 28, wherein said captured image is a grey-scale image having a brightness resolution that does not exceed 6 bits per pixel.
31. The apparatus according to any of claims 21-26, wherein said decisional logic subsystem is adapted to compute a correlation coefficient between said captured image and said masks.
32. The apparatus according to any of claims 21-26, wherein said captured image comprises a plurality of captured images corresponding to different facings and orientations of said currency bill.
33. A method for determining a denomination of a currency bill, comprising the steps of: providing a white mask and a black mask for each given denomination among a plurality of different currency denominations, said white mask for said given denomination indicating pixels that are likely to appear bright in images of bills of said given denomination, and said black mask for said given denomination indicating pixels that are likely to appear dark in said images of said bills of said given denomination; capturing an image of said currency bill; comparing said captured image to said white mask and said black mask for each of said plurality of different currency denominations so as to determine respective matching scores for said different currency denominations; and comparing said matching scores so as to assign one of said different currency denominations to said currency bill.
34. The method according to claim 33, wherein said captured image is a reflectance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
35. The method according to claim 33, wherein said captured image is a reflectance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
36. The method according to claim 33, wherein said captured image is a transmittance image that is captured using visible light at a spatial resolution that does not exceed 10 dpi.
37. The method according to claim 33, wherein said captured image is a transmittance image that is captured using infrared light at a spatial resolution that does not exceed 10 dpi.
38. The method according to claim 33, wherein said currency bill is assigned to one of said different currency denominations by associating an identification code therewith.
39. The method according to claim 38, further comprising the step of presenting said identification code on a display device.
40. The method according to any of claims 33-39, wherein said image of said currency bill comprises an entire area thereof.
41. The method according to any of claims 33-39, wherein said image of said currency bill comprises at least one selected sub-area thereof.
42. The method according to any of claims 33-39, wherein said captured image has a brightness resolution of 1 bit per pixel.
43. The method according to claim 42, wherein said step of comparing said captured image comprises the steps of: performing a pixel-by-pixel logical AND operation between said captured image and said white mask and between an inversion of said captured image and said black mask; and determining a number of pixels in which there is concordance between pixels of said captured image and corresponding pixels of said white mask and between pixels of said inversion of said captured image and corresponding pixels of said black mask.
44. The method according to any of claims 33-39, wherein said image has a brightness resolution that exceeds 1 bit per pixel.
45. The method according to any of claims 33-39, wherein said pixels in said white mask and in said black mask that are likely to be white and black, respectively, are white and black, respectively, on at least a predetermined proportion of specimens of said given denomi- nation.
46. The method according to any of claims 33-39, further comprising the step of assigning a brightness level of said pixels by binarization.
47. The method according to any of claims 33-39, wherein said step of comparing said captured image comprises the steps of: identifying a highest one of said matching scores; identifying a second highest one of said matching scores; calculating a difference between said highest one of said matching scores and said sec- ond highest one of said matching scores; and responsively to said difference identifying said currency bill as one of said different currency denominations that corresponds to said highest one of said matching scores.
48. A method for identifying a currency bill, comprising the steps of: providing a plurality of discriminators for each given denomination among a plurality of different currency denominations; capturing an image of said currency bill; scoring said captured image according to said discriminators for each of said plurality of different currency denominations so as to determine respective matching scores for said differ- ent currency denominations; and comparing said matching scores so as to assign one of said different currency denominations to said currency bill.
49. The method according to claim 48, wherein said step of scoring is performed by determining a correlation coefficient between said captured image and said discriminators for each said given denomination.
50. The method according to claim 48 or 49, wherein said discriminators comprise tables, wherein each entry of said tables is associated with a corresponding pixel of said captured image, and represents a probability that said corresponding pixel is one of black and white on said given denomination.
51. The method according to claim 50, wherein elements of one of said discriminators and elements of another of said discriminators each comprise one of a first value and a second value, wherein said first value signifies that said probability is higher than a first threshold value, and said second value signifies that said probability is lower than a second threshold value.
52. The method according to claim 51, wherein said first threshold value is equal to said second threshold value.
53. A computer software product, comprising a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for determining a denomination of a currency bill, comprising the steps of: generating a white mask and a black mask for each given denomination among a plural- ity of different currency denominations, said white mask for said given denomination indicating pixels that are likely to appear bright in images of bills of said given denomination, and said black mask for said given denomination indicating pixels that are likely to appear dark in said images of said bills of said given denomination; memorizing a captured image of said currency bill; comparing said captured image to said white mask and said black mask for each of said plurality of different currency denominations so as to determine respective matching scores for said different currency denominations; comparing said matching scores ; and responsively to said step of comparing assigning one of said different currency denomi- nations to said currency bill.
54. The computer software product according to claim 53, wherein said currency bill is assigned to one of said different currency denominations by associating an identification code therewith.
55. The computer software product according to claim 53, wherein said step of comparing said captured image comprises the steps of: performing a pixel-by-pixel logical AND operation between said captured image and said white mask and between an inversion of said captured image and said black mask; and determining a number of pixels in which there is concordance between pixels of said captured image and corresponding pixels of said white mask and between pixels of said inversion of said captured image and corresponding pixels of said black mask.
56. The computer software product according to claim 53, wherein said pixels in said white mask and in said black mask that are likely to be white and black, respectively, are white and black, respectively, on at least a predetermined proportion of specimens of said given denomination.
57. The computer software product according to claim 53, wherein said computer is further instructed to perform the step of assigning a brightness level of said pixels by binariza- tion.
58. The computer software product according to any of claims 53-57, wherein said step of comparing said captured image comprises the steps of: identifying a highest one of said matching scores; identifying a second highest one of said matching scores; calculating a difference between said highest one of said matching scores and said second highest one of said matching scores; and responsively to said difference identifying said currency bill as one of said different currency denominations that corresponds to said highest one of said matching scores.
59. An apparatus for identifying a denomination of a currency bill, comprising: a transport mechanism for conveying said currency bill along a transport path; an imaging subsystem for capturing an image of said currency bill while said currency bill is on said transport path; and a decisional logic subsystem that evaluates said captured image for identification thereof, wherein said decisional logic subsystem maintains a white mask and a black mask for each given denomination among a plurality of different currency denominations, said white mask for said given denomination indicating pixels that are likely to appear bright in images of bills of said given denomination, and said black mask for said given denomination indicating pixels that are likely to appear dark in said images of said bills of said given denomination; and wherein said decisional logic subsystem is adapted to compare said captured image to said white mask and said black mask for each of said plurality of different currency denominations so as to determine respective matching scores for said different currency denominations; and to compare said matching scores so as to assign one of said different currency denominations to said currency bill.
60. The apparatus according to claim 59, wherein said imaging subsystem further comprises a light source and a light detector that is responsive to said light source and is positioned relative said light source such that said captured image is a reflectance image.
61. The apparatus according to claim 60, wherein said light source produces a beam of visible light.
62. The apparatus according to claim 60, wherein said light source produces a beam of infrared light.
63. The apparatus according to claim 59, wherein said imaging subsystem further comprises a light source and a light detector that is responsive to said light source and is positioned relative said light source such that said captured image is a transmittance image.
64. The apparatus according to claim 63, wherein said light source produces a beam of visible light.
65. The apparatus according to claim 63, wherein said light source produces a beam of infrared light.
66. The apparatus according to claim 59, wherein said captured image has a brightness resolution of 1 bit per pixel.
67. The apparatus according to claim 66, wherein said decisional logic subsystem is adapted to perform a pixel-by-pixel logical AND operation between said captured image and said white mask and between an inversion of said captured image and said black mask; and to determine a number of pixels in which there is concordance between pixels of said captured image and corresponding pixels of said white mask and between pixels of said inversion of said captured image and corresponding pixels of said black mask.
68. The apparatus according to any of claims 59-67, wherein said pixels in said white mask and in said black mask that are likely to be white and black, respectively, are white and black, respectively, on at least a predetermined proportion of specimens of said given denomination.
69. The apparatus according to any of claims 59-67, wherein said imaging subsystem further comprises binarizing circuitry for assigning a brightness level of said pixels.
70. The apparatus according to any of claims 59-67, wherein said decisional logic subsystem is further adapted to compare said captured image by performing the steps of: identifying a highest one of said matching scores; identifying a second highest one of said matching scores; calculating a difference between said highest one of said matching scores and said second highest one of said matching scores; and responsively to said difference identifying said currency bill as one of said different currency denominations that corresponds to said highest one of said matching scores.
PCT/IL2003/000567 2002-07-10 2003-07-09 Recognition of banknote denominations in automatic money processing WO2004008380A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2003237591A AU2003237591A1 (en) 2002-07-10 2003-07-09 Recognition of banknote denominations in automatic money processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US39508602P 2002-07-10 2002-07-10
US60/395,086 2002-07-10

Publications (1)

Publication Number Publication Date
WO2004008380A1 true WO2004008380A1 (en) 2004-01-22

Family

ID=30115811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IL2003/000567 WO2004008380A1 (en) 2002-07-10 2003-07-09 Recognition of banknote denominations in automatic money processing

Country Status (2)

Country Link
AU (1) AU2003237591A1 (en)
WO (1) WO2004008380A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007110276A1 (en) * 2006-03-27 2007-10-04 Money Controls Limited Money item acceptor with memory facility for rejected money items
WO2013045074A1 (en) * 2011-09-26 2013-04-04 Giesecke & Devrient Gmbh Method for examining the production quality of an optical security feature of a valuable document
WO2014163004A1 (en) 2013-04-04 2014-10-09 旭硝子株式会社 Fluorine-containing ether compound, fluorine-containing ether composition, and coating solution, as well as substrate having surface layer, and method for manufacturing same
CN104952142A (en) * 2014-03-28 2015-09-30 冲电气工业株式会社 Banknote processing device
EP3021293A4 (en) * 2013-07-08 2016-08-03 Grg Banking Equipment Co Ltd Image compensation correction method and banknote recognition and detection device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4058194A (en) * 1976-05-04 1977-11-15 Micro Magnetic Industries, Inc. Multiple document recognition apparatus
US4645936A (en) * 1984-10-04 1987-02-24 Ardac, Inc. Multi-denomination currency validator employing a plural selectively-patterned reticle
US6028951A (en) * 1990-02-05 2000-02-22 Cummins-Allison Corporation Method and apparatus for currency discrimination and counting
US6256407B1 (en) * 1998-03-17 2001-07-03 Cummins-Allison Corporation Color scanhead and currency handling system employing the same
US6381354B1 (en) * 1990-02-05 2002-04-30 Cummins-Allison Corporation Method and apparatus for discriminating and counting documents

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4058194A (en) * 1976-05-04 1977-11-15 Micro Magnetic Industries, Inc. Multiple document recognition apparatus
US4645936A (en) * 1984-10-04 1987-02-24 Ardac, Inc. Multi-denomination currency validator employing a plural selectively-patterned reticle
US6028951A (en) * 1990-02-05 2000-02-22 Cummins-Allison Corporation Method and apparatus for currency discrimination and counting
US6381354B1 (en) * 1990-02-05 2002-04-30 Cummins-Allison Corporation Method and apparatus for discriminating and counting documents
US6256407B1 (en) * 1998-03-17 2001-07-03 Cummins-Allison Corporation Color scanhead and currency handling system employing the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007110276A1 (en) * 2006-03-27 2007-10-04 Money Controls Limited Money item acceptor with memory facility for rejected money items
WO2013045074A1 (en) * 2011-09-26 2013-04-04 Giesecke & Devrient Gmbh Method for examining the production quality of an optical security feature of a valuable document
CN103827929A (en) * 2011-09-26 2014-05-28 德国捷德有限公司 Method for examining the production quality of an optical security feature of a valuable document
US9202327B2 (en) 2011-09-26 2015-12-01 Giesecke & Devrient Gmbh Method for checking the production quality of an optical security feature of a value document
WO2014163004A1 (en) 2013-04-04 2014-10-09 旭硝子株式会社 Fluorine-containing ether compound, fluorine-containing ether composition, and coating solution, as well as substrate having surface layer, and method for manufacturing same
EP3021293A4 (en) * 2013-07-08 2016-08-03 Grg Banking Equipment Co Ltd Image compensation correction method and banknote recognition and detection device
US9685022B2 (en) 2013-07-08 2017-06-20 Grg Banking Equipment Co., Ltd. Image compensation correction method and banknote recognition and detection device
CN104952142A (en) * 2014-03-28 2015-09-30 冲电气工业株式会社 Banknote processing device
CN104952142B (en) * 2014-03-28 2017-11-10 冲电气工业株式会社 Bank note treatment device

Also Published As

Publication number Publication date
AU2003237591A1 (en) 2004-02-02

Similar Documents

Publication Publication Date Title
US10354472B2 (en) Self-learning system and methods for automatic document recognition, authentication, and information extraction
US9704031B2 (en) Media identification
US6640009B2 (en) Identification, separation and compression of multiple forms with mutants
Nölle et al. Dagobert-a new coin recognition and sorting system
JP5219211B2 (en) Banknote confirmation method and apparatus
US9824268B2 (en) Media item validation
RU2438182C1 (en) Method of processing banknotes (versions)
Zeggeye et al. Automatic recognition and counterfeit detection of Ethiopian paper currency
US20130311477A1 (en) Method and apparatus for determining a class reference data record for the classification of value documents
US20040131242A1 (en) Monitoring method
KR101001691B1 (en) Recognizing the Denomination of a Note Using Wavelet transform
EP1324283A1 (en) Document authenticity discriminating apparatus and method therefor
CN111754675A (en) Paper money discriminating apparatus, paper money processing apparatus, and paper money discriminating method
WO2004008380A1 (en) Recognition of banknote denominations in automatic money processing
US20140348413A1 (en) Method and Apparatus for the Determination of Classification Parameters for the Classification of Bank Notes
Gebremeskel et al. Developing a Model for Detection of Ethiopian Fake Banknote Using Deep Learning
JP5520701B2 (en) Paper sheet discrimination method, paper sheet discrimination apparatus, and damage discrimination learning method
Rahiddin et al. Local Texture Representation for Timber Defect Recognition based on Variation of LBP
JP3359986B2 (en) Coin recognition device
JP2003244434A (en) Document authenticity discriminating apparatus and method therefor
JP5976477B2 (en) Character reading device and paper sheet processing device
CN111627145B (en) Method and device for identifying fine hollow image-text of image
AU2017332227B2 (en) Method and device for detecting color fading on a value document, in particular a banknote, and value-document processing system
JP3394984B2 (en) Coin recognition device
JP3622374B2 (en) Method and apparatus for determining contamination state of object

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP