CN108074318B - Method and device for identifying paper money - Google Patents

Method and device for identifying paper money Download PDF

Info

Publication number
CN108074318B
CN108074318B CN201611020638.7A CN201611020638A CN108074318B CN 108074318 B CN108074318 B CN 108074318B CN 201611020638 A CN201611020638 A CN 201611020638A CN 108074318 B CN108074318 B CN 108074318B
Authority
CN
China
Prior art keywords
magnetic
channel
boundary
area
paper money
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.)
Active
Application number
CN201611020638.7A
Other languages
Chinese (zh)
Other versions
CN108074318A (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 CN201611020638.7A priority Critical patent/CN108074318B/en
Publication of CN108074318A publication Critical patent/CN108074318A/en
Application granted granted Critical
Publication of CN108074318B publication Critical patent/CN108074318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/04Testing magnetic properties of the materials thereof, e.g. by detection of magnetic imprint

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The embodiment of the invention discloses a method and a device for identifying paper money. The method comprises the following steps: acquiring magnetic data of a characteristic region of paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic stripe region; determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area; determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the to-be-positioned boundary and the magnetic stripe boundary of the magnetic stripe region; and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected. Therefore, under the condition that the magnetic blocks with the sizes of the RMB and the magnetic strip areas are roughly positioned, the channel where the magnetic strip is located can be accurately positioned, the area selection does not need to be changed and tested for many times, and the magnetic identification rate of the RMB is improved.

Description

Method and device for identifying paper money
Technical Field
The embodiment of the invention relates to the technical field of paper money identification, in particular to a method and a device for identifying paper money.
Background
Along with the improvement of the living standard of people, the financial demand is increased, the bank business is enriched, the phenomenon of counterfeiting paper money is inevitable in daily life, the counterfeiting means is improved, and great troubles are caused to the life of people.
At present, counterfeit money is generally identified by a money detector, but the technology of counterfeit paper money is continuously developed, the function updating of the money detector has certain hysteresis, particularly, counterfeit money which newly appears in the market can not be accurately identified, even if people actively identify the counterfeit money, the identification capability of different people for the authenticity of the paper money is different, counterfeit money information can be received by people only by broadcasting through channels such as media, and the counterfeit money can not be accurately and timely identified, so that the market order and the normal life of people are influenced.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for identifying paper money, and aims to improve the accuracy and efficiency of paper money identification.
To achieve the purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a method of identifying a banknote, the method comprising:
acquiring magnetic data of a characteristic region of paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic stripe region;
determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area;
determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region;
and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected.
Preferably, the determining a boundary to be positioned according to the boundary of the crown word size region and the boundary of the hall region includes:
and comparing the boundary of the crown word size area with the boundary of the hall area according to the magnetic data to obtain a minimum initial boundary and a maximum end boundary.
Preferably, the number of magnetic points exceeding the background magnetism value range is determined according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region
Acquiring the number of magnetic points exceeding the background magnetism value range between the minimum initial boundary and the initial boundary of the magnetic strip region in each channel of the paper money to be detected;
and acquiring the number of the magnetic points between the maximum ending boundary and the ending boundary of the magnetic strip area, which exceed the background magnetic value range.
Preferably, the acquiring the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
Preferably, the acquiring the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
Preferably, the acquiring the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
In a second aspect, an apparatus for recognizing paper money, the apparatus comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring magnetic data of a characteristic region of paper money to be detected, the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic strip region;
the first determining module is used for determining a boundary to be positioned according to the boundary of the crown word number region and the boundary of the hall region;
the second determining module is used for determining the number of the magnetic points exceeding the background magnetism numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region;
the second acquisition module is used for acquiring the positioning channel with the largest number of the magnetic points;
and the positioning module is used for repositioning the magnetic stripe channel of the paper money to be detected if the positioning channel exceeds a preset channel threshold value.
Preferably, the first determining module is specifically configured to:
and comparing the boundary of the crown word size area with the boundary of the hall area according to the magnetic data to obtain a minimum initial boundary and a maximum end boundary.
Preferably, the second determining module is specifically configured to:
acquiring the number of magnetic points exceeding the background magnetism value range between the minimum initial boundary and the initial boundary of the magnetic strip region in each channel of the paper money to be detected;
and acquiring the number of the magnetic points between the maximum ending boundary and the ending boundary of the magnetic strip area, which exceed the background magnetic value range.
Preferably, the positioning module is specifically configured to:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
Preferably, the positioning module is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
Preferably, the positioning module is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
The embodiment of the invention provides a method and a device for identifying paper money, which are used for acquiring magnetic data of a characteristic region of paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic strip region; determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area; determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region; and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected. Therefore, under the condition that the magnetic blocks with the sizes of the RMB and the magnetic strip areas are roughly positioned, the channel where the magnetic strip is located can be accurately positioned, the area selection does not need to be changed and tested for many times, and the magnetic identification rate of the RMB is improved.
Drawings
FIG. 1 is a schematic flow chart of a method for identifying paper currency according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a banknote to be detected according to an embodiment of the present invention;
fig. 3 is a functional module schematic diagram of an apparatus for identifying paper money according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Referring to the drawings, fig. 1 is a schematic flow chart of a method for identifying paper money according to an embodiment of the invention.
As shown in fig. 1, the method of discriminating paper money includes:
step 101, acquiring magnetic data of a characteristic region of paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic stripe region;
specifically, the detection of the magnetic stripe characteristics of the RMB is an important basis for the authenticity inspection of the RMB, and the magnetic stripe characteristics can be further detected only after the position of the magnetic stripe is correctly positioned, so that the recognition rate of the RMB is improved. The existing algorithm can correctly position most 2005 edition RMB magnetic stripes, but when the magnetic area of the hall area is large and even exceeds the magnetic stripe area, the magnetic stripes can not be correctly positioned, and the recognition rate is influenced.
102, determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area;
specifically, as shown in fig. 2, the hall area is large, and the conventional algorithm locates the magnetic stripe in the hall area when the magnetic stripe is located, which results in a final magnetic identification error.
Firstly, roughly positioning a crown word number area and a hall area, and recording the beginning line and ending behaviors of the crown word number area, namely, crown _ start and crown _ end, hall _ start and hall _ end, and line _ start and line _ end of the magnetic stripe;
comparing the sizes of the crown _ start and the hall _ start, and taking the smaller value temp1 of the crown _ start and the hall _ start; the magnitude of crown _ end and hall _ end are compared, and the larger value temp2 is taken.
Preferably, the determining a boundary to be positioned according to the boundary of the crown word size region and the boundary of the hall region includes:
and comparing the boundary of the crown word size area with the boundary of the hall area according to the magnetic data to obtain a minimum initial boundary and a maximum end boundary.
103, determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region;
specifically, when three magnetic regions are roughly positioned, line _ start is smaller than temp1 and line _ end is larger than temp2, and the number of magnetic dots outside the background range, where the number of rows in each channel (18 channels in total) is between line _ start and temp1, and the number of rows is between temp2 and line _ end, are counted.
Finding out the channel with the largest number of lines between line _ start and temp1 and between temp2 and line _ end, and recording the channel number L; as shown in fig. 2, normally, the number of the magnetic dots of the channel where the magnetic stripe is located beyond the background range is the largest, so that L is the channel where the magnetic stripe is located, but when the magnetic area of the hall is large, the number of the magnetic dots of the hall area beyond the background range is greater than that of the magnetic stripe, and L is not the channel where the magnetic stripe is located, so that the positioning is wrong.
Preferably, the determining, according to the magnetic data of the boundary to be located and the magnetic stripe boundary of the magnetic stripe region, the number of magnetic dots exceeding the background magnetic value range includes:
acquiring the number of magnetic points exceeding the background magnetism value range between the minimum initial boundary and the initial boundary of the magnetic strip region in each channel of the paper money to be detected;
and acquiring the number of the magnetic points between the maximum ending boundary and the ending boundary of the magnetic strip area, which exceed the background magnetic value range.
And 104, acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected.
Specifically, L is judged, and if L is smaller than 5 or larger than 12, it indicates that the magnetic stripe is positioned wrongly and needs to be repositioned. If the magnetic image is divided into two parts with the same left and right areas, then if L is less than 5, it means that the hall area is in the left area of the magnetic image at this time, and L is also located in this area, but in reality the magnetic stripe should be in the right area of the magnetic image at this time. Then the channel L1 with the largest number of magnetic points exceeding the background range in the right area needs to be found again, and L1 is the channel where the magnetic stripe is located; if L is larger than 12, on the contrary, L2, which is the channel with the largest number of magnetic dots in the left area of the image, needs to be searched again, and L2 is the channel where the magnetic stripe is located.
The first method comprises the following steps: the acquiring of the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
The second method comprises the following steps: the acquiring of the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
The third method comprises the following steps: the acquiring of the positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold, repositioning the magnetic stripe channel of the paper money to be detected includes:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
The method for identifying the paper money, provided by the embodiment of the invention, comprises the steps of obtaining magnetic data of a characteristic region of the paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic strip region; determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area; determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region; and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected. Therefore, under the condition that the magnetic blocks with the sizes of the RMB and the magnetic strip areas are roughly positioned, the channel where the magnetic strip is located can be accurately positioned, the area selection does not need to be changed and tested for many times, and the magnetic identification rate of the RMB is improved.
Referring to fig. 3, fig. 3 is a functional module schematic diagram of an apparatus for identifying paper money according to an embodiment of the present invention.
As shown in fig. 3, the apparatus includes:
the first acquisition module 301 is configured to acquire magnetic data of a feature region of a banknote to be detected, where the magnetic data is used to determine a boundary range of the feature region, and the feature region includes a crown word number region, a hall region, and a magnetic stripe region;
a first determining module 302, configured to determine a boundary to be positioned according to the boundary of the crown word number region and the boundary of the hall region;
preferably, the first determining module 302 is specifically configured to:
and comparing the boundary of the crown word size area with the boundary of the hall area according to the magnetic data to obtain a minimum initial boundary and a maximum end boundary.
A second determining module 303, configured to determine, according to the magnetic data of the boundary to be located and the magnetic stripe boundary of the magnetic stripe region, the number of magnetic points exceeding the background magnetic numerical range;
preferably, the second determining module 303 is specifically configured to:
acquiring the number of magnetic points exceeding the background magnetism value range between the minimum initial boundary and the initial boundary of the magnetic strip region in each channel of the paper money to be detected;
and acquiring the number of the magnetic points between the maximum ending boundary and the ending boundary of the magnetic strip area, which exceed the background magnetic value range.
A second obtaining module 304, configured to obtain a positioning channel with the largest number of magnetic dots;
and the positioning module 305 is configured to reposition the magnetic stripe channel of the to-be-detected banknote if the positioning channel exceeds a preset channel threshold.
Preferably, the positioning module 305 is specifically configured to:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
Preferably, the positioning module 305 is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
Preferably, the positioning module 305 is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
The device for identifying the paper money obtains the magnetic data of the characteristic region of the paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic strip region; determining a boundary to be positioned according to the boundary of the crown word size area and the boundary of the hall area; determining the number of magnetic points exceeding the background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region; and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected. Therefore, under the condition that the magnetic blocks with the sizes of the RMB and the magnetic strip areas are roughly positioned, the channel where the magnetic strip is located can be accurately positioned, the area selection does not need to be changed and tested for many times, and the magnetic identification rate of the RMB is improved.
The technical principle of the embodiment of the present invention is described above in conjunction with the specific embodiments. The description is only intended to explain the principles of embodiments of the invention and should not be taken in any way as limiting the scope of the embodiments of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive step, and these embodiments will fall within the scope of the present invention.

Claims (8)

1. A method of identifying a banknote, the method comprising:
acquiring magnetic data of a characteristic region of paper money to be detected, wherein the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic stripe region;
determining a boundary to be positioned, wherein the boundary to be positioned comprises a minimum initial boundary and a maximum end boundary which are obtained by comparing the boundary of the crown word number area with the boundary of the hall area;
determining the number of magnetic points exceeding a background magnetic numerical value range according to the magnetic data of the boundary to be positioned and the magnetic strip boundary of the magnetic strip region, wherein the number of the magnetic points exceeding the background magnetic numerical value range between the minimum initial boundary and the initial boundary of the magnetic strip region in each channel of the paper money to be detected is obtained, and the number of the magnetic points exceeding the background magnetic numerical value range between the maximum end boundary and the end boundary of the magnetic strip region is obtained;
and acquiring a positioning channel with the largest number of magnetic points, and if the positioning channel exceeds a preset channel threshold value, repositioning the magnetic stripe channel of the paper money to be detected.
2. The method according to claim 1, wherein the obtaining of the positioning channel with the largest number of magnetic dots and the repositioning of the magnetic stripe channel of the banknote to be detected if the positioning channel exceeds a preset channel threshold comprises:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
3. The method according to claim 1, wherein the obtaining of the positioning channel with the largest number of magnetic dots and the repositioning of the magnetic stripe channel of the banknote to be detected if the positioning channel exceeds a preset channel threshold comprises:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
4. The method according to claim 1, wherein the obtaining of the positioning channel with the largest number of magnetic dots and the repositioning of the magnetic stripe channel of the banknote to be detected if the positioning channel exceeds a preset channel threshold comprises:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
5. An apparatus for recognizing paper money, characterized by comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring magnetic data of a characteristic region of paper money to be detected, the magnetic data is used for determining the boundary range of the characteristic region, and the characteristic region comprises a crown word number region, a hall region and a magnetic strip region;
the first determining module is used for determining a boundary to be positioned, wherein the boundary to be positioned comprises a minimum initial boundary and a maximum end boundary which are obtained by comparing the boundary of the crown word area with the boundary of the hall area;
the second determining module is used for determining the number of magnetic points exceeding a background magnetic numerical range according to the magnetic data of the boundary to be positioned and the magnetic stripe boundary of the magnetic stripe region, and comprises the steps of acquiring the number of the magnetic points exceeding the background magnetic numerical range between the minimum initial boundary and the initial boundary of the magnetic stripe region in each channel of the paper money to be detected, and acquiring the number of the magnetic points exceeding the background magnetic numerical range between the maximum end boundary and the end boundary of the magnetic stripe region;
the second acquisition module is used for acquiring the positioning channel with the largest number of the magnetic points;
and the positioning module is used for repositioning the magnetic stripe channel of the paper money to be detected if the positioning channel exceeds a preset channel threshold value.
6. The apparatus of claim 5, wherein the positioning module is specifically configured to:
and judging the numerical value of the positioning channel with the largest number of the magnetic points, and if the numerical value of the positioning channel is smaller than a first channel threshold value or larger than a second channel threshold value, determining that the magnetic stripe channel is positioned wrongly and needing to reposition the magnetic stripe channel of the paper money.
7. The apparatus of claim 5, wherein the positioning module is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the left area, and if the data of the positioning channel of the left area is smaller than a first channel threshold value, determining that the hall area is located in the left area of the magnetic image, and the magnetic stripe area of the paper money to be detected is located in the right area of the paper money to be detected;
acquiring data of a positioning channel with the maximum number of magnetic points in the right area;
and if the positioning channel with the maximum number of the magnetic points in the right area is not larger than a second channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the right area is the magnetic stripe channel.
8. The apparatus of claim 5, wherein the positioning module is further specifically configured to:
dividing the magnetic image of the paper money to be detected into two parts with the same left and right areas;
acquiring data of a positioning channel with the largest number of magnetic points in the right area, and if the data of the positioning channel in the right area is greater than a second channel threshold value, determining that the crown word number area is located in the right area of the magnetic image and the magnetic strip area of the paper money to be detected is located in the left area of the paper money to be detected;
acquiring data of a positioning channel with the largest number of magnetic points in the left area;
and if the positioning channel with the maximum number of the magnetic points in the left area is not smaller than a first channel threshold value, determining that the positioning channel with the maximum number of the magnetic points in the left area is the magnetic stripe channel.
CN201611020638.7A 2016-11-17 2016-11-17 Method and device for identifying paper money Active CN108074318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611020638.7A CN108074318B (en) 2016-11-17 2016-11-17 Method and device for identifying paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611020638.7A CN108074318B (en) 2016-11-17 2016-11-17 Method and device for identifying paper money

Publications (2)

Publication Number Publication Date
CN108074318A CN108074318A (en) 2018-05-25
CN108074318B true CN108074318B (en) 2020-03-27

Family

ID=62160505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611020638.7A Active CN108074318B (en) 2016-11-17 2016-11-17 Method and device for identifying paper money

Country Status (1)

Country Link
CN (1) CN108074318B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456246B (en) * 2010-10-19 2014-04-30 山东新北洋信息技术股份有限公司 Stuck banknotes detection method, apparatus thereof and self-service terminal
CN102467764B (en) * 2010-11-05 2013-07-03 山东新北洋信息技术股份有限公司 Paper money safety line detection method and device
CN105160756A (en) * 2015-08-18 2015-12-16 深圳怡化电脑股份有限公司 Paper money facing direction recognition method and device
CN105303677B (en) * 2015-10-29 2018-04-27 深圳怡化电脑股份有限公司 A kind of method and device for obtaining bank note safety line border
CN105427448B (en) * 2015-10-29 2018-07-17 深圳怡化电脑股份有限公司 A kind of method and device obtaining bank note safety line boundary
CN105427446A (en) * 2015-11-06 2016-03-23 东方通信股份有限公司 Authentic identification method for paper money based on magnetic signal
CN105574981B (en) * 2015-12-10 2018-12-14 武汉大学 A kind of rmb paper currency denomination identifying method based on safety line magnetic information
CN106127930B (en) * 2016-06-17 2019-02-01 深圳怡化电脑股份有限公司 A kind of method and system detecting banknote security line integrality

Also Published As

Publication number Publication date
CN108074318A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN107369240B (en) Paper money counterfeit discrimination method and device, computer and storage medium
CN105184955A (en) Method and device for identifying paper money
JP2009129390A (en) Medium discrimination device
EP3082113A1 (en) Method and system for recognizing bill with abnormal thickness
CN105427446A (en) Authentic identification method for paper money based on magnetic signal
CN105046807B (en) A kind of counterfeit money recognition methods and system based on smart mobile phone
CN104504802B (en) Detection method for paper money splicing signal
CN104318257A (en) Paper currency recognition method and system
CN102324132A (en) Bank-note detecting method by identifying ultraviolet-light image and system
CN102110323B (en) Method and device for examining money
JP2019003421A (en) Authenticity determination system, method and program for identity confirmation document
CN110956737B (en) Safety line identification method and device
CN106485828B (en) A kind of Paper Currency Identification and device
CN108074318B (en) Method and device for identifying paper money
CN108711213B (en) Method and device for identifying black and white blocks of paper money zebra stripes
CN106780953B (en) Paper money counterfeit distinguishing method and system based on double-crown-word number
CN107527423B (en) Paper money anti-counterfeiting identification method and paper money identification device
CN201838067U (en) Banknote counting and distinguishing machine
CN105184954B (en) A kind of method and banknote tester for detecting bank note
CN106296975B (en) method and device for identifying face value of dollar paper money
CN112509209A (en) Paper currency magnetic detection method and device, currency detection equipment and readable storage medium
CN109767543B (en) Paper money detection method and system
CN107170109B (en) Paper money watermark authenticity distinguishing method and device
CN106934914B (en) Method and device for anti-counterfeiting detection of paper money
CN107767531B (en) Paper money identification method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant