CN106296975B - method and device for identifying face value of dollar paper money - Google Patents

method and device for identifying face value of dollar paper money Download PDF

Info

Publication number
CN106296975B
CN106296975B CN201610641324.2A CN201610641324A CN106296975B CN 106296975 B CN106296975 B CN 106296975B CN 201610641324 A CN201610641324 A CN 201610641324A CN 106296975 B CN106296975 B CN 106296975B
Authority
CN
China
Prior art keywords
edge
reflection image
infrared reflection
paper money
edges
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610641324.2A
Other languages
Chinese (zh)
Other versions
CN106296975A (en
Inventor
周彦华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201610641324.2A priority Critical patent/CN106296975B/en
Publication of CN106296975A publication Critical patent/CN106296975A/en
Application granted granted Critical
Publication of CN106296975B publication Critical patent/CN106296975B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Analysis (AREA)

Abstract

the invention discloses a method and a device for identifying the face value of dollar paper money, wherein the method comprises the following steps: acquiring an infrared reflection image of a characteristic area on the back of the paper money; performing edge detection on the infrared reflection image to obtain an edge detection result; extracting at least two main edges of the infrared reflection image based on an edge detection result; determining a denomination of the note based on the number of major edges and the distance between the major edges. The embodiment of the invention can quickly identify the face value of the paper money and improve the identification accuracy.

Description

Method and device for identifying face value of dollar paper money
Technical Field
the invention relates to the technical field of currency value identification, in particular to a method and a device for identifying the face value of dollar paper money.
background
In the prior art, paper money such as RMB and the like, and paper money with different face values have different sizes. Therefore, in the denomination recognition process for the banknotes, the denomination of the banknotes can be recognized easily by the size of the banknotes.
in the process of the inventor for carrying out the invention, the following defects are found in the prior art: the dollar bill is one of the foreign bills, and the different denomination bills have no difference in size, and the denomination of the bill in this case cannot be directly recognized by the size of the bill. Therefore, the denomination of the banknote cannot be quickly recognized.
disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for identifying denomination of dollar paper money, which can quickly identify the denomination of paper money and improve the accuracy of identification.
in a first aspect, an embodiment of the present invention provides a method for identifying a denomination of a dollar banknote, including:
Acquiring an infrared reflection image of a characteristic area on the back of the paper money;
Performing edge detection on the infrared reflection image to obtain an edge detection result;
extracting at least two main edges of the infrared reflection image based on an edge detection result;
Determining a denomination of the note based on the number of major edges and the distance between the major edges.
Further, the acquiring of the infrared reflection image of the characteristic area on the back of the paper money includes:
Acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction;
intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260.
Further, the performing edge detection on the infrared reflection image and obtaining an edge detection result includes:
performing edge detection on the infrared reflection image through a canny operator to obtain a first edge point set;
taking pixel points with the gray values larger than a first threshold value as true edge points in the first edge point set;
If the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point; the pixel points with the gray value smaller than the second threshold value are false edge points;
Forming a second set of edge points based on the true edge points.
further, the extracting at least two main edges of the infrared reflection image based on the edge detection result includes:
Performing straight line detection on the second edge point set by using a Hough straight line detection method to obtain at least two edge straight lines;
And if the distance between two end points on the target edge straight line is greater than a preset length threshold value, taking the target edge straight line as a main edge of the infrared reflection image.
Further, determining a denomination of the banknote based on the number of major edges and the distance between the major edges, comprises:
If the number of the main edges is 2, judging the face value of the paper money to be 20 dollars;
if the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
Further, the determining a denomination of the note based on the distance between the major edges includes:
Of the 4 main edges, the number of main edges,
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars;
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10;
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50;
if the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
In a second aspect, an embodiment of the present invention further provides an apparatus for identifying a denomination of a dollar banknote, including:
the image acquisition module is used for acquiring an infrared reflection image of a characteristic area on the back of the paper money;
the detection result acquisition module is used for carrying out edge detection on the infrared reflection image to acquire an edge detection result;
A main edge extraction module for extracting at least two main edges of the infrared reflection image based on an edge detection result;
A denomination determination module for determining the denomination of the banknote based on the number of major edges and the distance between the major edges.
Further, the image acquisition module is specifically configured to:
acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction;
intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260.
further, the detection result obtaining module is specifically configured to:
Performing edge detection on the infrared reflection image through a canny operator to obtain a first edge point set;
taking pixel points with the gray values larger than a first threshold value as true edge points in the first edge point set;
If the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point; the pixel points with the gray value smaller than the second threshold value are false edge points;
forming a second set of edge points based on the true edge points.
further, the main edge extracting module is specifically configured to:
performing straight line detection on the second edge point set by using a Hough straight line detection method to obtain at least two edge straight lines;
and if the distance between two end points on the target edge straight line is greater than a preset length threshold value, taking the target edge straight line as a main edge of the infrared reflection image.
further, the face value determining module is specifically configured to: if the number of the main edges is 2, judging the face value of the paper money to be 20 dollars;
if the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
Further, the determining the denomination of the note based on the distance between the major edges comprises: of the 4 main edges, the number of main edges,
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars;
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10;
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50;
if the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
According to the dollar paper currency recognition method and device, the infrared reflection image of the characteristic area on the back of the paper currency is obtained, the main edges of the infrared reflection image are extracted, the face value of the paper currency is determined based on the number of the main edges and the distance between the main edges, the face value of the paper currency can be recognized quickly, and recognition accuracy is improved.
drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1a is a flow chart of a method for identifying the denomination of a dollar note according to an embodiment of the invention;
FIG. 1b is an infrared reflectance image of the back side of a 5 dollar banknote provided in accordance with an embodiment of the invention;
FIG. 1c is an infrared reflectance image of the back side of a 10 dollar banknote provided in accordance with one embodiment of the invention;
FIG. 1d is an infrared reflectance image of the back side of a 20 dollar banknote provided in accordance with one embodiment of the invention;
FIG. 1e is an infrared reflectance image of the back side of a $ 50 banknote provided in accordance with one embodiment of the present invention;
FIG. 1f is an infrared reflectance image of a 100 dollar banknote provided in accordance with one embodiment of the invention;
FIG. 1g is an infrared reflectance image of a feature area on the back of a 5 dollar banknote provided in accordance with one embodiment of the invention;
FIG. 1h is an infrared reflectance image of a feature area on the back of a 10 dollar banknote provided in accordance with an embodiment of the invention;
FIG. 1i is an infrared reflectance image of a feature area on the back of a 20 dollar banknote provided in one embodiment of the invention;
FIG. 1j is an infrared reflectance image of a feature area on the back of a $ 50 banknote provided by one embodiment of the present invention;
FIG. 1k is an infrared reflectance image of a feature area on the back side of a 100 dollar banknote provided in accordance with one embodiment of the invention;
FIG. 2a is a flow chart of a method for identifying the denomination of a dollar banknote according to a second embodiment of the invention;
FIG. 2b is an image of a 5 dollar banknote back surface feature area after binarization of the infrared reflection image according to the second embodiment of the invention;
FIG. 2c is an image of a back side feature region of a 10 dollar banknote after binarization according to a second embodiment of the invention;
FIG. 2d is an image of a 20 dollar banknote back surface feature area after binarization of the infrared reflection image according to the second embodiment of the invention;
FIG. 2e is an image of a back side feature region of a 50 dollar banknote subjected to binarization according to a second embodiment of the invention;
FIG. 2f is an image of a back surface feature area of a 100 dollar banknote subjected to binarization according to a second embodiment of the invention;
fig. 3 is a block diagram of a device for identifying the denomination of a dollar banknote according to a third embodiment of the invention.
Detailed Description
the present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1a is a flowchart of a method for identifying the denomination of a dollar banknote according to an embodiment of the present invention, which is implemented by a device for identifying the denomination of a dollar banknote, the device being implemented by software and/or hardware, and the device being generally configured in a computer or the like. As shown in fig. 1a, the technical solution provided by this embodiment specifically includes:
s110: and acquiring an infrared reflection image of the characteristic area on the back of the paper currency.
in this embodiment, for example, acquiring an infrared reflection image of a characteristic region on the back surface of a banknote includes: acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction; intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260. That is, the number of pixels of the infrared reflection image on the back surface of the bill is 610 × 260. Therefore, the row number of the pixel point matrix of the infrared reflection image on the back surface of the paper money is 1-610, and the column number of the pixel point matrix of the infrared reflection image on the back surface of the paper money is 1-260.
FIG. 1b is an infrared reflectance image of the back side of a 5 dollar banknote provided in accordance with an embodiment of the invention; FIG. 1c is an infrared reflectance image of the back side of a 10 dollar banknote provided in accordance with one embodiment of the invention; FIG. 1d is an infrared reflectance image of the back side of a 20 dollar banknote provided in accordance with one embodiment of the invention; FIG. 1e is an infrared reflectance image of the back side of a $ 50 banknote provided in accordance with one embodiment of the present invention; FIG. 1f is an infrared reflectance image of a 100 dollar banknote provided in accordance with one embodiment of the invention. As shown in fig. 1b-1f, the sizes of the notes of different denominations are the same; in the infrared reflection image of the back surface of the paper currency, the pattern in the infrared reflection image of each paper currency is lost, and the positions and the sizes of the lost patterns in the infrared reflection image of the paper currency with different face values are different. In the back infrared reflection images of FIGS. 1b-1f, the region formed by the pixel points with the line number between 100 and 200 and the column number between 110 and 430 is intercepted, and the infrared reflection image of the region is taken as the infrared reflection image of the characteristic region on the back of the paper currency. The infrared reflection images of the characteristic areas on the back of the paper currency are formed as shown in figures 1g-1 k. In fig. 1g-1k, in the infrared reflection images of the feature areas on the back surface of the paper money with different denominations, due to the lack of the pattern, the gray scale values of the missing part and the non-missing part in the infrared reflection images of the feature areas are greatly different.
s120: and carrying out edge detection on the infrared reflection image to obtain an edge detection result.
In this embodiment, the edge of the infrared reflection image refers to a portion of the image where the brightness changes significantly in a local area, and the gray profile of the area can be generally regarded as a step, i.e. a sharp change from one gray value in a small buffer area to another gray value with a larger gray difference. As shown in fig. 1g-1k, the edge of the infrared reflection image is a boundary region of a pattern missing portion and a pattern non-missing portion.
In this embodiment, optionally, performing edge detection on the infrared reflection image to obtain an edge detection result, including: performing edge detection on the infrared reflection image through a canny operator to obtain a first edge point set; taking pixel points with the gray values larger than a first threshold value as true edge points in the first edge point set; if the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point; the pixel points with the gray value smaller than the second threshold value are false edge points; forming a second set of edge points based on the true edge points. In the present embodiment, the first threshold value and the second threshold value are obtained from a plurality of tests.
Optionally, the second threshold is smaller than the first threshold. If the gray value of the target pixel point is between the second threshold value and the first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point, wherein the pixel points adjacent to the target pixel point comprise upper side, lower side, left side or right side pixel points adjacent to the target pixel point; or the target pixel point can also comprise pixel points which are adjacent to the target pixel point and are arranged at the upper left side, the lower left side, the upper right side or the lower right side.
in this embodiment, the first edge point set may also be obtained by performing edge detection on the infrared reflection image through another algorithm.
S130: at least two main edges of the infrared reflection image are extracted based on an edge detection result.
in this embodiment, optionally, the extracting at least two main edges of the infrared reflection image based on the edge detection result includes: performing straight line detection on the second edge point set by a Hough straight line detection method to obtain at least two edge straight lines; and if the distance between two end points on the target edge straight line is greater than a preset length threshold value, taking the target edge straight line as a main edge of the infrared reflection image.
specifically, the straight lines formed by the true edge points in the second edge point set are detected by the hough straight line detection method, generally speaking, because the non-missing part of the pattern in the infrared reflection image of the specific region on the back of the banknote also has a region with a large gray value difference, a plurality of edge straight lines formed by the true edge points in the second edge point set exist, and at least two edge straight lines exist, and the number of the edge straight lines is greater than two in the actual identification process. And if the distance between two end points on one edge straight line is greater than a preset length threshold value, taking the edge straight line as the main edge of the infrared reflection image of the paper money back face characteristic area. The preset length threshold is set according to actual needs, and the formed main edge can be used for distinguishing a pattern missing part from a pattern non-missing part.
in this embodiment, the second edge point set may be subjected to line detection by another line detection method, and a line formed by the second edge point set may be detected.
S140: determining a denomination of the note based on the number of major edges and the distance between the major edges.
in this embodiment, the number of major edges and the distance between the major edges is different for different denominations of banknotes. The number of major edges of a 20 dollar banknote is 2, the number of major edges of the remaining 5 dollar, 10 dollar, 50 dollar, and 100 dollar banknotes is 4, and the distances between the major edges are different. Determining the face value of the banknote is performed based on determining whether the distance between the major edges meets a standard distance of $ 5, $ 10, $ 50, or $ 100.
In this embodiment, since the infrared light is sensed differently by the ink printed on the bill, the infrared reflection image of the characteristic region on the back surface of the bill is formed with a missing pattern, and thus the authenticity of the bill can be discriminated by the missing pattern in the infrared reflection image. Specifically, when the paper money is a genuine money, the infrared reflection image has pattern deletion, and when the paper money is a counterfeit money, the infrared reflection image has no pattern deletion or has obvious difference from the genuine money.
according to the method for identifying the face value of the dollar banknote, the face value of the banknote can be quickly identified and the identification accuracy is improved by acquiring the infrared reflection image of the back face characteristic area of the banknote, extracting the main edges of the infrared reflection image, and determining the face value of the banknote based on the number of the main edges and the distance between the main edges.
Example two
fig. 2a is a flowchart of a method for identifying the denomination of a dollar banknote according to a second embodiment of the present invention, and on the basis of the second embodiment, optionally, determining the denomination of the banknote based on the number of the main edges and the distance between the main edges includes:
If the number of the main edges is 2, judging the face value of the paper money to be 20 dollars;
If the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
therefore, the denomination of the paper currency can be determined through the number of the main edges and the distance between the main edges, and the denomination of the paper currency can be rapidly identified.
based on the above optimization, as shown in fig. 2a, the technical solution provided in this embodiment is specifically as follows:
s210: and acquiring an infrared reflection image of the characteristic area on the back of the paper currency.
S220: and carrying out edge detection on the infrared reflection image to obtain an edge detection result.
s230: at least two main edges of the infrared reflection image are extracted based on an edge detection result.
s240: if the number of the main edges is 2, the denomination of the note is judged to be $ 20.
s250: if the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
In this embodiment, fig. 2b is an image obtained by binarizing an infrared reflection image of a feature area on the back surface of a 5-dollar banknote provided in the second embodiment of the present invention; FIG. 2c is an image of a back side feature region of a 10 dollar banknote after binarization according to a second embodiment of the invention; FIG. 2d is an image of a 20 dollar banknote back surface feature area after binarization of the infrared reflection image according to the second embodiment of the invention; FIG. 2e is an image of a back side feature region of a 50 dollar banknote subjected to binarization according to a second embodiment of the invention; fig. 2f is an image obtained by binarizing the infrared reflection image of the back surface feature region of the 100 dollar banknote provided in the second embodiment of the invention. In the process of binarizing the infrared reflection image, the gray value of the pixel point forming the main edge is set to be 255, and the gray values of other pixel points are set to be 0. As shown in fig. 2b-2f, the infrared reflectance image of the back feature area of a 20 dollar banknote has 2 major edges, and the remaining banknotes have 4 major edges, with different distances between adjacent major edges.
In this embodiment, optionally, the determining the denomination of the banknote based on the distance between the main edges includes: in the 4 main edges, if the number of the pixel points at intervals between the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars; if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10; if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50; if the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
the embodiment provides a method for identifying the face value of a dollar banknote, which can quickly identify the face value of the banknote by determining the face value of the banknote according to the number of main edges and the distance between the main edges.
EXAMPLE III
Fig. 3 is a block diagram of a device for identifying the denomination of a dollar banknote according to a third embodiment of the invention, which is used for executing a method for identifying the denomination of a dollar banknote, and as shown in fig. 3, the device includes an image acquisition module 310, a detection result acquisition module 320, a main edge extraction module 330, and a denomination determination module 340.
The image acquisition module 310 is configured to acquire an infrared reflection image of a characteristic area on the back of the banknote;
A detection result obtaining module 320, configured to perform edge detection on the infrared reflection image to obtain an edge detection result;
A main edge extraction module 330, configured to extract at least two main edges of the infrared reflection image based on an edge detection result;
a denomination determination module 340 for determining the denomination of the banknote based on the number of major edges and the distance between the major edges.
Further, the image obtaining module 310 is specifically configured to:
acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction;
intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260.
Further, the detection result obtaining module 320 is specifically configured to:
Taking pixel points with gray values larger than a first threshold value as edge points in the infrared image;
If the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as an edge point; the pixel points with the gray values smaller than the second threshold value are not used as edge points;
At least two edge lines are formed based on the edge points.
Further, the main edge extracting module 330 is specifically configured to:
Fitting the edge lines by a Hough line detection method to obtain at least two edge lines;
And taking the edge straight line with the length larger than a preset length threshold value as a main edge of the infrared reflection image.
Further, the face value determining module 340 is specifically configured to: if the number of the main edges is 2, judging the face value of the paper money to be 2 dollars;
If the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
further, the determining a denomination of the note based on the distance between the major edges includes:
of the 4 main edges, the number of main edges,
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars;
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10;
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50;
if the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
according to the dollar banknote denomination recognition device provided by the embodiment of the invention, the infrared reflection image of the characteristic region on the back surface of the banknote is obtained, the main edges of the infrared reflection image are extracted, and the denomination of the banknote is determined based on the number of the main edges and the distance between the main edges, so that the denomination of the banknote can be recognized quickly, and the recognition accuracy is improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. a method for identifying the face value of a dollar banknote is characterized by comprising the following steps:
acquiring an infrared reflection image of a characteristic area on the back of the paper money;
performing edge detection on the infrared reflection image to obtain an edge detection result;
extracting at least two main edges of the infrared reflection image based on an edge detection result; a main edge for distinguishing a pattern-missing part from a non-missing part of the infrared reflection image; the number of the main edges and the distance between the main edges of the paper money with different denominations are different;
determining a denomination of the note based on the number of major edges and the distance between the major edges.
2. the method of identifying the denomination of a dollar banknote according to claim 1, wherein the acquiring of the infrared-reflected image of the characteristic area of the back face of the banknote includes:
Acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction;
intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260.
3. The method for identifying the denomination of a dollar banknote according to claim 2, wherein the edge detection of the infrared-reflection image and obtaining the edge detection result comprises:
performing edge detection on the infrared reflection image through a canny operator to obtain a first edge point set;
Taking pixel points with the gray values larger than a first threshold value as true edge points in the first edge point set;
if the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point; the pixel points with the gray value smaller than the second threshold value are false edge points;
Forming a second set of edge points based on the true edge points.
4. The method of identifying a denomination of a dollar banknote according to claim 3, wherein the extracting of the at least two major edges of the infrared-reflection image based on the edge detection result includes:
Performing straight line detection on the second edge point set by using a Hough straight line detection method to obtain at least two edge straight lines;
and if the distance between two end points on the target edge straight line is greater than a preset length threshold value, taking the target edge straight line as a main edge of the infrared reflection image.
5. a method of identifying a denomination of a dollar banknote according to claim 2, wherein determining the denomination of the banknote based on the number of the main edges and the distance between the main edges comprises:
if the number of the main edges is 2, judging the face value of the paper money to be 20 dollars;
if the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
6. the method of identifying a denomination of a dollar banknote according to claim 5, wherein the determining of the denomination of the banknote based on the distance between the major edges comprises:
Of the 4 main edges, the number of main edges,
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars;
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10;
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50;
If the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
7. an apparatus for identifying the denomination of a dollar note, comprising:
The image acquisition module is used for acquiring an infrared reflection image of a characteristic area on the back of the paper money;
the detection result acquisition module is used for carrying out edge detection on the infrared reflection image to acquire an edge detection result;
a main edge extraction module for extracting at least two main edges of the infrared reflection image based on an edge detection result; a main edge for distinguishing a pattern-missing part from a non-missing part of the infrared reflection image; the number of the main edges and the distance between the main edges of the paper money with different denominations are different;
a denomination determination module for determining the denomination of the banknote based on the number of major edges and the distance between the major edges.
8. the apparatus according to claim 7, wherein the image capture module is configured to:
acquiring a back infrared reflection image of the paper money with the resolution of 150DPI in the longitudinal direction and 150DPI in the transverse direction;
Intercepting an area formed by pixel points with the row number between 100 and 200 and the column number between 110 and 430 from the pixel point matrix of the infrared reflection image, and taking the infrared reflection image of the area as an infrared reflection image of a characteristic area on the back of the paper money; the number of the horizontal pixel points in the infrared reflection image on the back of the paper money is 610, and the number of the vertical pixel points in the infrared reflection image on the back of the paper money is 260.
9. the apparatus for identifying the denomination of a dollar banknote according to claim 8, wherein the detection result acquisition module is specifically configured to:
performing edge detection on the infrared reflection image through a canny operator to obtain a first edge point set;
Taking pixel points with the gray values larger than a first threshold value as true edge points in the first edge point set;
if the gray value of the target pixel point is between a second threshold value and a first threshold value and the gray value of at least one pixel point adjacent to the target pixel point is larger than the first threshold value, taking the target pixel point as a true edge point; the pixel points with the gray value smaller than the second threshold value are false edge points;
Forming a second set of edge points based on the true edge points.
10. the apparatus according to claim 9, wherein the primary edge extraction module is configured to:
performing straight line detection on the second edge point set by using a Hough straight line detection method to obtain at least two edge straight lines;
and if the distance between two end points on the target edge straight line is greater than a preset length threshold value, taking the target edge straight line as a main edge of the infrared reflection image.
11. The apparatus according to claim 8, wherein the denomination module is specifically configured to: if the number of the main edges is 2, judging the face value of the paper money to be 20 dollars;
if the number of the main edges is 4, the denomination of the banknote is determined based on the distance between the main edges.
12. the apparatus according to claim 11, wherein the determining the denomination of the banknote based on the distance between the major edges comprises: of the 4 main edges, the number of main edges,
if the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 15 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is 5 dollars;
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 70 +/-5 and 85 +/-5 in sequence, judging that the face value of the paper money is $ 10;
If the number of the pixel points at the interval of the adjacent main edges is 30 +/-5, 115 +/-5 and 35 +/-5 in sequence, judging that the face value of the paper money is $ 50;
If the number of the pixel points at the interval of the adjacent main edges is 35 +/-5, 20 +/-5 and 40 +/-5 in sequence, the face value of the paper money is judged to be $ 100.
CN201610641324.2A 2016-08-05 2016-08-05 method and device for identifying face value of dollar paper money Expired - Fee Related CN106296975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610641324.2A CN106296975B (en) 2016-08-05 2016-08-05 method and device for identifying face value of dollar paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610641324.2A CN106296975B (en) 2016-08-05 2016-08-05 method and device for identifying face value of dollar paper money

Publications (2)

Publication Number Publication Date
CN106296975A CN106296975A (en) 2017-01-04
CN106296975B true CN106296975B (en) 2019-12-10

Family

ID=57666066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610641324.2A Expired - Fee Related CN106296975B (en) 2016-08-05 2016-08-05 method and device for identifying face value of dollar paper money

Country Status (1)

Country Link
CN (1) CN106296975B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846610B (en) * 2017-01-20 2019-04-26 深圳怡化电脑股份有限公司 A kind of bank note version recognition methods and device
CN108335404B (en) * 2018-02-07 2020-09-15 深圳怡化电脑股份有限公司 Edge fitting method and currency detecting equipment
CN112232331A (en) * 2020-12-17 2021-01-15 恒银金融科技股份有限公司 Recognition and classification method for infrared image characteristic region of paper money

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750771A (en) * 2012-07-13 2012-10-24 中山大学 Method for identifying denominations of fifth series of renminbi applied in smart phone
CN103886309A (en) * 2014-02-27 2014-06-25 华中科技大学 Method for identifying dollar denominations through facial recognition
CN104346858A (en) * 2014-10-10 2015-02-11 新达通科技股份有限公司 Paper currency face value identification method and device based on magnetic image
CN104361674A (en) * 2014-09-30 2015-02-18 浙江维融电子科技股份有限公司 Paper money recognition method and device
CN105303677A (en) * 2015-10-29 2016-02-03 深圳怡化电脑股份有限公司 Method and apparatus for obtaining boundary of banknote security thread

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885450B2 (en) * 2006-09-20 2011-02-08 Primax Electronics Ltd. Method for characterizing texture of areas within an image corresponding to monetary banknotes
US9230382B2 (en) * 2013-08-26 2016-01-05 Vertifi Software, LLC Document image capturing and processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750771A (en) * 2012-07-13 2012-10-24 中山大学 Method for identifying denominations of fifth series of renminbi applied in smart phone
CN103886309A (en) * 2014-02-27 2014-06-25 华中科技大学 Method for identifying dollar denominations through facial recognition
CN104361674A (en) * 2014-09-30 2015-02-18 浙江维融电子科技股份有限公司 Paper money recognition method and device
CN104346858A (en) * 2014-10-10 2015-02-11 新达通科技股份有限公司 Paper currency face value identification method and device based on magnetic image
CN105303677A (en) * 2015-10-29 2016-02-03 深圳怡化电脑股份有限公司 Method and apparatus for obtaining boundary of banknote security thread

Also Published As

Publication number Publication date
CN106296975A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN103279735B (en) Dust stratification detection method and system in a kind of financial document identification module
CN106952393B (en) Paper money identification method and device, electronic equipment and storage medium
CN107610322B (en) Banknote version identification method and device, electronic equipment and storage medium
CN107103683B (en) Paper money identification method and device, electronic equipment and storage medium
CN102324132A (en) Bank-note detecting method by identifying ultraviolet-light image and system
CN107134047B (en) White watermark detection method and device
CN106920318B (en) Method and device for identifying paper money
CN106296975B (en) method and device for identifying face value of dollar paper money
CN106599923B (en) Method and device for detecting seal anti-counterfeiting features
CN108510639B (en) Paper money counterfeit discriminating method and device, currency detector and storage medium
CN106204616B (en) Method and device for identifying currency value of Iran paper money
CN113205633A (en) Method and device for detecting red and blue fibers of bill, electronic equipment and storage medium
CN106683261B (en) A kind of false distinguishing method and apparatus of bank note
CN106447908B (en) Paper money counterfeit distinguishing method and device
CN108806058A (en) A kind of paper currency detecting method and device
KR102094234B1 (en) Serial number recognition Apparatus and method for paper money
CN108711213B (en) Method and device for identifying black and white blocks of paper money zebra stripes
WO2018130119A1 (en) Double prefix number-based paper money authenticity identification method and system
CN111915792B (en) Method and device for identifying zebra crossing image-text
CN106934914B (en) Method and device for anti-counterfeiting detection of paper money
CN108074321B (en) Image boundary extraction method and device for paper money
KR101232684B1 (en) Method for detecting counterfeits of banknotes using Bayesian approach
KR101740592B1 (en) Method for recoginizing universal bill
KR101385358B1 (en) Apparatus and method for medium recognition, auto teller machine
CN108428279B (en) Paper money identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191210