CN108010184B - Method and device for detecting paper currency folding angle - Google Patents

Method and device for detecting paper currency folding angle Download PDF

Info

Publication number
CN108010184B
CN108010184B CN201610946354.4A CN201610946354A CN108010184B CN 108010184 B CN108010184 B CN 108010184B CN 201610946354 A CN201610946354 A CN 201610946354A CN 108010184 B CN108010184 B CN 108010184B
Authority
CN
China
Prior art keywords
thickness
paper money
detected
length
thickness data
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
CN201610946354.4A
Other languages
Chinese (zh)
Other versions
CN108010184A (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 CN201610946354.4A priority Critical patent/CN108010184B/en
Publication of CN108010184A publication Critical patent/CN108010184A/en
Application granted granted Critical
Publication of CN108010184B publication Critical patent/CN108010184B/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/16Testing the dimensions
    • G07D7/164Thickness

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for detecting a folded angle of a paper currency. The method comprises the following steps: searching whether a thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected; if the thickness abnormal area exists, recording the start and stop line number and the corresponding channel number of the thickness abnormal area; determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with a preset paper money length to obtain a length comparison result; and determining the existence of the break angle in the paper money to be detected according to the length comparison result. Through the technical scheme, the bevel in the paper money to be detected is detected only by using the thickness data of the paper money to be detected, and the data processing amount and the operation time can be reduced.

Description

Method and device for detecting paper currency folding angle
Technical Field
The embodiment of the invention relates to a paper money processing technology, in particular to a method and a device for detecting a folded angle of paper money.
Background
Paper money which circulates for a long time in the market is difficult to avoid having a break angle, and the paper money with the break angle is easily identified as abnormal paper money by a currency detecting device, so that the identification rate of the paper money is influenced.
In the prior art, a scheme for detecting and identifying a folded angle of a paper currency by using image data of the paper currency is provided, in the scheme, a paper currency missing area in 4 corners of the paper currency is found out in an infrared reflection image of the paper currency, then edge detection is carried out on the area to judge whether a straight line edge of the folded angle exists in the area, and finally whether the missing area is the folded angle is determined through an infrared transmission image. According to the technical scheme, the folded angle of the paper currency can be identified, but a plurality of kinds of matched image data of the paper currency are required to be obtained simultaneously.
Disclosure of Invention
The embodiment of the invention provides a method and a device for detecting a paper currency bevel, which are used for detecting the bevel of the paper currency by only using thickness data of the paper currency and can reduce data processing amount and calculation time.
In a first aspect, an embodiment of the present invention provides a method for detecting a corner of a banknote, including the following steps:
searching whether a thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected;
if the thickness abnormal area exists, recording the start and stop line number and the corresponding channel number of the thickness abnormal area;
determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with a preset paper money length to obtain a length comparison result;
and determining the existence of the break angle in the paper money to be detected according to the length comparison result.
Optionally, the step of searching whether the thickness data of one or two channels at two ends of the banknote to be detected has an abnormal thickness area includes:
a. extracting the single-pass thickness data in each one or each two channels;
b. making a difference between the single-channel thickness data and the preset paper money thickness, and determining the continuous points of which the difference value is greater than a preset thickness threshold value;
c. if the number of the continuous points is larger than or equal to the preset number of points, determining that a thickness data area formed by single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area;
and repeating the steps a-c until the thickness abnormal area is searched for in each channel or each two channels.
Optionally, determining the existence of the break angle in the banknote to be detected according to the length comparison result comprises:
if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected;
and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
Further, after determining the existence of the break angle in the bill to be detected according to the length comparison result, the method further includes: and if the break angle exists, determining the position of the break angle in the paper money to be detected according to the corresponding channel number and the start-stop line number.
Optionally, after searching whether a thickness abnormal region exists in the thickness data of each of one or two channels at two ends of the banknote to be detected, and before recording a start-stop line number and a corresponding channel number of the thickness abnormal region if the thickness abnormal region exists, the method further includes: and if the thickness abnormal area does not exist, the folded angle does not exist in the paper money to be detected.
On the other hand, the embodiment of the invention also provides a device for detecting the folded angle of the paper currency, which comprises:
the thickness abnormal region searching module is used for searching whether a thickness abnormal region exists in the thickness data of one or two channels at two ends of the paper money to be detected;
the starting and stopping line number recording module is used for recording the starting and stopping line numbers and the corresponding channel numbers of the thickness abnormal areas if the thickness abnormal areas exist;
the length comparison result determining module is used for determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with the length of a preset paper currency to obtain a length comparison result;
and the first folding angle detection module is used for determining the existence of the folding angle in the paper money to be detected according to the length comparison result.
Optionally, the thickness abnormal region searching module is specifically configured to:
a. extracting single-channel thickness data in the one or two channels;
b. making a difference between the single-channel thickness data and the preset paper money thickness, and determining the continuous number of the difference value larger than the preset thickness threshold value;
c. if the number of the continuous points is larger than or equal to the preset number of points, determining that a thickness data area formed by single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area;
and repeating the steps a-c until the thickness abnormal area is searched for in each channel or each two channels.
Optionally, the first inflection angle detecting module is specifically configured to: if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected; and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
Further, on the basis of the above device, the device further comprises: and the bevel angle position determining module is used for determining the position of the bevel angle in the paper money to be detected according to the corresponding channel number and the start-stop line number if the bevel angle exists after the existence of the bevel angle in the paper money to be detected is determined according to the length comparison result.
Optionally, on the basis of the device, the device further includes a second folding angle detection module, configured to, after whether a thickness abnormal region exists in the thickness data of each of one or two channels at two ends of the banknote to be detected is searched, and before the start/stop line number and the corresponding channel number of the thickness abnormal region are recorded if the thickness abnormal region exists, if the thickness abnormal region does not exist, no folding angle exists in the banknote to be detected.
According to the embodiment of the invention, whether the thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected is searched, the start-stop line number and the channel number corresponding to the thickness abnormal area are recorded when the thickness abnormal area exists, the thickness data length of the channel where the thickness abnormal area is located is determined according to the start-stop line number, the thickness data length is compared with the preset paper money length, the existence of the break angle in the paper money to be detected is determined according to the comparison result, the break angle in the paper money to be detected is detected by only using the thickness data of the paper money to be detected, and the data processing amount and the operation time can be reduced.
Drawings
FIG. 1 is a flowchart of a method for detecting a corner of a banknote according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a thickness sensor collecting thickness data of a banknote to be detected in a banknote feeding process according to an embodiment of the invention;
FIG. 3a is a schematic diagram of thickness data of normal banknotes collected by the thickness sensor according to the first embodiment of the present invention;
FIG. 3b is a schematic diagram of thickness data of a banknote with a folded corner collected by the thickness sensor according to the first embodiment of the present invention;
FIG. 4 is a flowchart of a method for detecting a corner of a bill according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram showing thickness data of a bill to be inspected including a passage having a break angle according to a second embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a banknote corner folding detection apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a banknote corner folding detection apparatus according to a fourth embodiment of the present 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 of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for detecting a banknote break according to an embodiment of the present invention, which may be performed by a banknote break detecting apparatus, which may be implemented by software and/or hardware, and which may be integrated into any financial device requiring banknote identification, such as a banknote validator, a banknote counter, a sorter, or the like. The method specifically comprises the following steps:
s110, whether a thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected or not is searched.
Wherein, each channel at two ends of the detected paper money refers to the leftmost channel and the rightmost channel in all the channels of the thickness data corresponding to the paper money to be detected, and the channels are two channels in total. The two channels at the two ends of the detected paper money refer to the leftmost two channels and the rightmost two channels of all the channels of the thickness data corresponding to the paper money to be detected, and the total number of the channels is four. The thickness abnormal area refers to an area with a thickness value larger than the average thickness data of the same area of the normal paper money or the average thickness data of the normal paper money than a preset thickness threshold value. The preset thickness threshold is an empirical value obtained by performing a large number of experiments on the thickness data of the dog-ear region in the banknote and the thickness value of the normal banknote, for example, the preset thickness threshold is set to a value at 50% of the mean value of the thickness data of the normal banknote. And the average value of the thickness data of the normal paper money obtained in the experimental process is the preset paper money thickness.
Specifically, the thickness data of the paper money to be detected of one channel or two channels at two ends of the paper money to be detected is obtained, and then the thickness data of the paper money to be detected of the channels is compared with the preset paper money thickness and the preset thickness threshold value, so that whether the thickness abnormal area exists in the required channel or not is searched.
For example, as shown in fig. 2, a row of sensor units 202 arranged side by side in the thickness sensor 201 is provided, and one sensor unit 202 corresponds to one channel 203, the thickness sensor 201 shown in the figure and including 10 sensor units 202 may be referred to as a 10-channel thickness sensor. All the channels 203 are numbered 1, 2, …, 9 and 10 in sequence according to the numbering direction 204, one channel at each end of the paper money to be detected is the channel with the channel number 1 and 10, and two channels at each end of the paper money to be detected are the channels with the channel numbers 1, 2, 9 and 10.
A banknote 205 to be detected passes through the thickness sensors 201 in the banknote feeding direction 206, each sensor unit 202 collects a relatively independent one-dimensional raw thickness data, and then the 10-channel thickness sensor shown in the figure can collect 10 raw thickness data. Fig. 3a is a schematic diagram of 10 pieces of raw thickness data of a normal banknote 2051 collected by the thickness sensor 201, and fig. 3b is a schematic diagram of 10 pieces of raw thickness data of a dog-ear banknote 2052 collected by the thickness sensor 201. It can be seen from fig. 3a and 3b that each numbered sensor unit corresponds to a data line, which is the raw thickness data detected by the sensor unit, and the connecting line perpendicular to the coordinate line of the banknote position between two adjacent lines is not the thickness data, but only the connecting line for data presentation. The thickness data of the banknote to be detected for the desired channel is extracted from all the raw thickness data of fig. 3a or 3 b.
In fig. 2, the presence of the bevel 207 in the beveled banknote 2052 makes the thickness data of one or two channels (i.e. the channel with the channel number of 10 or the channels with the channel numbers of 9 and 10) at the right end of the banknote at least twice larger than the average value of the thickness data of other channels or the preset banknote thickness, so that the thickness data of the banknote to be detected in the 9 th channel and/or the 10 th channel can be compared with the preset banknote thickness and the preset thickness threshold value to find out whether the channel has the thickness abnormal region.
It should be noted that, in the embodiment of the present invention, the thickness data of one channel at each of the two ends of the banknote to be detected may be obtained for detecting the break angle, and the thickness data of two channels at each of the two ends of the banknote to be detected may also be obtained for detecting the break angle. The reason that the thickness data of each two channels are selected for carrying out the bevel detection is that the fact that the paper money to be detected may have horizontal deviation or certain-angle deflection in the paper money feeding process is considered, so that the paper money data with a very small area may not be contained or only contained in each channel on the most edge, and the bevel is missed to be detected is caused. This allows a more suitable solution to be selected depending on the particular circumstances of the equipment used. For example, it can be known exactly that the thickness sensor completely covers the whole paper money to be detected, that is, each channel of the thickness sensor covers part of the paper money to be detected, a scheme of performing corner detection by using thickness data of each channel at two ends of the paper money to be detected can be selected, so as to further reduce data processing amount and save data processing time; and when the coverage area of the thickness sensor is wider, so that the paper money part to be detected possibly does not exist in the most edge channel, the scheme of carrying out bevel detection by using the thickness data of the two channels at the two ends of the paper money to be detected is selected, so as to ensure that the detection result is more reliable.
And S120, if the thickness abnormal area exists, recording the start and stop line number and the corresponding channel number of the thickness abnormal area.
Specifically, if it is determined in step S110 that there is an abnormal thickness region in each of one or two channels at both ends of the banknote to be detected, the start/stop line number of the abnormal thickness region and the channel number corresponding thereto are recorded.
For example, as shown in fig. 2, the folding angle 207 of the folded banknote 2502 may cause the thickness data with the channel numbers 9 and 10 in fig. 3b to have a thickness abnormal region, and then after the search in step S110, it is necessary to record the start/stop line number and the channel number of the found thickness abnormal region in the thickness data of the banknote to be detected, that is, record the channel number 10, the start line number 2091 in the channel number 10, and the stop line number 2101 in the channel number 10, or record the channel numbers 9 and 10, the start line number 2092 in the channel number 9, the stop line number 2102 in the channel number 9, the start line number 2091 in the channel number 10, and the stop line number 2101 in the channel number 10.
S130, determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with the length of a preset paper currency to obtain a length comparison result.
The thickness data length is the total number of data points of the thickness data of the paper money to be detected, which are collected by the thickness sensor, and is related to the sampling frequency of the thickness sensor. For example, the thickness data length 2122 of the channel number 9 in fig. 2 is the total number of data points from the start line number 211 of the thickness data of the banknote to be detected to the cut-off line number 2102 in the channel number 9, that is, the numerical value of the cut-off line number 2102 in the channel number 9; the thickness data length 2121 of the channel number 10 is the total number of data points from the start line number 211 of the thickness data of the banknote to be detected to the end line number 2101 in the channel number 10, that is, the numerical value of the end line number 2101 in the channel number 10. And with the banknote-feeding direction 206 as a reference, when the break angle is at the upper right corner or the upper left corner of the banknote, that is, the thickness data length of the corresponding channel is the total number of data points from the initial line number of the thickness abnormal region to the ending line number of the thickness data of the channel when the thickness abnormal region is at the start position of one or two channel thickness data at each end of the banknote to be detected.
The preset paper money length is the length of the thickness data of the normal paper money, namely the total number of the thickness data of the normal paper money collected by the thickness sensor in the short edge direction of the normal paper money, and the preset paper money length can be determined after the thickness sensor and the currency of the paper money to be detected are generally selected. For example, using a 10-channel thickness sensor as in the case of FIG. 2, the preset banknote length 213 is 90 data points. As seen from fig. 2, the length of the thickness data of channel number 9 is exactly the same as the value of the preset banknote length 213, i.e., the length of the thickness data of channel number 9 in fig. 2 is also 90 data points.
Specifically, the thickness data length of the channel (i.e., corresponding channel number) in which the thickness abnormal region is located is determined according to the start-stop line number of the thickness abnormal region recorded in step S120, and then the thickness data length is compared with the preset banknote length to obtain the length comparison result. For example, in fig. 2, the thickness data length 2121 of the channel number 10 is determined according to the truncated line number in the channel number 10, and then the thickness data length is compared with the preset banknote length 213 to obtain a length comparison result.
S140, determining the existence of the break angle in the paper money to be detected according to the length comparison result.
Specifically, the presence of the thickness abnormality region means that there may be a dog-ear in the bill to be detected or an attachment such as an adhesive tape is stuck. When the bill to be detected is stuck with attachments such as adhesive tapes, the length of the thickness data of the corresponding channel is generally equal to the length of the preset bill. When the folded angle exists in the paper money to be detected, the length of the thickness data of the corresponding channel is generally smaller than the length of the preset paper money. Therefore, on the premise that the thickness abnormal region is determined to exist in step S120, whether the banknote to be detected has the break angle or not, that is, the existence of the break angle in the banknote to be detected can be determined through the length comparison result obtained in step S130.
For example, the presence of the break 207 in fig. 2 causes the thickness data of the blank part 208 after the bill is broken to be missing in the thickness data of the lane number 9 and lane number 10, so that the thickness data lengths of these two lanes may be smaller than that of the normal bill. It is possible to determine whether there is a dog-ear in the bill 205 to be inspected based on the comparison result of the lengths of the lane number 9 and/or the lane number 10 in step S130.
Exemplarily, the step S140 may specifically be:
if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected; and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
Specifically, the thickness data length of at least one channel in one or two channels at two ends of the paper money to be detected is less than the preset paper money length, so that the fact that a break angle exists in the paper money to be detected can be determined; on the contrary, if the thickness data length of any one of the channels is smaller than the preset banknote length, no bevel exists in the banknote to be detected.
As shown in fig. 2, if the thickness data length 2121 of the channel number 10 is smaller than the preset banknote length 213, or at least one of the thickness data length 2122 of the channel number 9 and the thickness data length 2121 of the channel number 10 is smaller than the preset banknote length 213, it is determined that there is a break in the banknote 205 to be detected. It is apparent from the figure that the length 2121 of the thickness data of the channel number 10 is smaller than the preset banknote length 213, so that the banknote to be detected 2052 is a dog-ear banknote.
According to the technical scheme, whether a thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected is searched, the starting and stopping line numbers and the channel numbers corresponding to the thickness abnormal area are recorded when the thickness abnormal area exists, so that the fact that a break angle possibly exists in the paper money to be detected or an attachment is adhered to the paper money to be detected is determined, then the length of the thickness data of the channel where the thickness abnormal area exists is determined according to the starting and stopping line numbers, the length of the thickness data of the paper money with the break angle is smaller than the length of the preset paper money is taken as a basis, the length of the thickness data is compared with the length of the preset paper money, the existence of the break angle in the paper money to be detected is determined according to a comparison result, the break angle in the paper money to be detected is detected only by using the.
Example two
Fig. 4 is a flowchart of a banknote corner folding detection method according to a second embodiment of the present invention, and this embodiment optimizes step S110 to step S410 to step S440 based on the above embodiment. Wherein, the same steps or figure units as those in the above embodiments are denoted by the same reference numerals, and the explanation of the same or corresponding terms as those in the above embodiments is not repeated herein. Next, a method for detecting a banknote break angle according to a second embodiment of the present invention is described with reference to fig. 4, where the method of this embodiment includes:
and S410, extracting single-channel thickness data in each channel or each two channels.
Specifically, according to the description of step S110, extracting single-channel thickness data in one or two channels at two ends of the banknote to be detected, that is, obtaining original thickness data of one channel (that is, a single channel) of the two channels or the four channels at two ends of the banknote to be detected according to a certain sequence, and then performing denoising processing on the original thickness data to obtain the thickness data of the banknote to be detected in the single channel.
For example, as shown in fig. 2, with reference to the numbering direction 204, extraction of original thickness data is performed in the order of 1 to 10 for two channels of channel numbers 1 and 10 or for a single channel of four channels of channel numbers 1, 2, 9, and 10 at both ends of a banknote to be detected. As can be seen from fig. 3a and 3b, the raw thickness data includes thickness data 301 of the banknote collected by the thickness sensor when the banknote to be detected passes through and thickness data 302 of the background collected by the thickness sensor when no banknote passes through. Therefore, the extracted single-channel original thickness data needs to be denoised to extract the thickness data 301 of the paper money to be detected in the original thickness data, that is, the thickness data of the single-channel paper money to be detected is obtained.
And S420, subtracting the thickness data of the single channel from the thickness of the preset paper money, and determining the number of continuous points of which the difference value is greater than a preset thickness threshold value.
Specifically, each thickness value in the single-channel thickness data obtained in step S410 is subtracted from the preset banknote thickness to obtain a difference value at each thickness data point, the difference value is compared with a preset thickness threshold value, the position of the thickness data point with the difference value larger than the preset thickness threshold value in the comparison result is determined, whether the thickness data points meeting the above conditions are continuous or not is judged according to the positions, and if continuous thickness data points appear, the number of the continuously appearing thickness data points, that is, the number of continuous points, is counted.
For example, as shown in fig. 5, 501 is the original thickness data of channel number 10 extracted from fig. 3a, 502 is the original thickness data of channel number 10 extracted from fig. 3b, 503 is the data line corresponding to the thickness of the preset banknote, i.e. the preset banknote thickness line, 504 is the size of the preset thickness threshold, and 505 is the data line corresponding to the data value obtained by adding the preset banknote thickness 503 to the preset thickness threshold 504, i.e. the judgment threshold line. According to the above description, the thickness data points whose difference is greater than the predetermined thickness threshold 504 should be all the thickness data points located above the determination threshold line 505. Then, the number of thickness data points with continuous positions is counted, i.e., the number of thickness data points with continuous positions in the region 506 above the statistical judgment threshold line 505 is counted as 4.
And S430, if the number of the continuous points is larger than or equal to the preset number of points, determining that the thickness data area formed by the single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area.
The preset number of points is the number of thickness data points which are preset according to the mechanical structure of the thickness sensor, specifically the sampling frequency of the thickness sensor and are used for judging the thickness abnormal area. For example, using a general purpose 10-channel thickness sensor as shown in fig. 2, the preset number of points may be set to 3 thickness data points.
Specifically, if the number of consecutive points determined in step S420 is greater than or equal to the preset number of points, it may be determined that the thickness data area formed by the thickness data points corresponding to the number of consecutive points is an abnormal thickness area, that is, it may be determined that the abnormal thickness area exists in the thickness data of the single channel of the banknote to be detected extracted in step S410, that is, it is determined that a folded corner may exist in the portion of the banknote to be detected corresponding to the single channel or an attachment such as an adhesive tape may adhere to the portion of the banknote to be detected. For example, if the positions of the 4 thickness data points in the region 506 above the determination threshold line 505 in fig. 5 are all continuous, it can be determined that the region is a thickness abnormal region, i.e., a thickness abnormal region exists in the single-channel thickness data with the channel number of 10.
S440, judging whether the thickness abnormal area is searched for each one or each two channels.
Specifically, the steps S410 to S430 are processes of performing the thickness abnormal region search for a single channel, but in the embodiment of the present invention, at least two or four channels of the two ends of the banknote to be detected are performed with the thickness abnormal region search, so after the steps S410 to S430 are performed, it is necessary to determine whether the thickness abnormal region search is performed for each required channel. And if the single-channel thickness data which is not searched for the abnormal thickness area exists after the judgment, jumping to step S410, continuing to execute step S430, then judging whether the searching for the abnormal thickness area is completed for each one or two channels, and repeating the steps until the judgment result shows that the searching for the abnormal thickness area is completed for each one or two channels, and jumping to step S120 at this moment, and continuing to execute the step of detecting the break angle of the paper money to be detected.
And S120, if the thickness abnormal area exists, recording the start and stop line number and the corresponding channel number of the thickness abnormal area.
S130, determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with the length of a preset paper currency to obtain a length comparison result.
S140, determining the existence of the break angle in the paper money to be detected according to the length comparison result.
Further, on the basis of all the above embodiments, after determining the presence of a break in the bill to be detected based on the length comparison result, the method of an embodiment of the present invention further includes: and if the break angle exists, determining the position of the break angle in the paper money to be detected according to the corresponding channel number and the start-stop line number.
Specifically, if step S140 determines that there is a dog-ear in the banknote to be detected, the specific position of the dog-ear in the banknote to be detected can be determined according to the start-stop line number and the corresponding channel number of the thickness abnormal region recorded in step S120.
For example, as shown in fig. 2, the thickness abnormal regions in the corner-folded banknote 2052 exist in the channels with channel numbers 9 and 10, respectively, and then the corner can be preliminarily determined to be at the upper right corner or the lower right corner of the banknote to be detected with the banknote feeding direction 206 as a reference. Then, according to the fact that the starting line number 2092 in the channel number 9 or the starting line number 2091 in the channel number 10 of the thickness abnormal area is larger than the middle position line number 214 of the banknote to be detected, it can be determined that the bevel is at the lower right corner of the banknote to be detected. Alternatively, if the dog-ear of the banknote to be detected is not the case as shown in fig. 2, but the starting line number 2092 in the passage number 9 or the starting line number 2091 in the passage number 10 of the thickness abnormality region is larger than the starting line number 211 of the banknote to be detected but smaller than the middle position line number 214 of the banknote to be detected, it may be determined that the dog-ear is in the upper right corner of the banknote to be detected.
Similarly, if the thickness abnormal region exists in the channel with the channel number 1 or 2, the folded angle can be preliminarily judged to be at the upper left corner or the lower left corner of the paper money to be detected by taking the paper money moving direction 206 as a reference. Then, according to the fact that the initial line number in the channel number 1 or the initial line number in the channel number 2 of the thickness abnormal area is larger than the middle position line number 214 of the paper money to be detected, the bevel can be determined to be at the lower left corner of the paper money to be detected. Or the initial line number in the channel number 1 or the initial line number in the channel number 2 of the thickness abnormal area is larger than the initial line number 211 of the banknote to be detected but smaller than the middle position line number 214 of the banknote to be detected, the dog-ear can be determined to be at the upper left corner of the banknote to be detected.
Optionally, on the basis of all the embodiments described above, after finding whether a thickness abnormal region exists in the thickness data of each of one or two channels at two ends of the banknote to be detected, and before recording the start/stop line number and the corresponding channel number of the thickness abnormal region if the thickness abnormal region exists, the method according to the embodiment of the present invention may further include: and if the thickness abnormal area does not exist, the folded angle does not exist in the paper money to be detected.
Specifically, step S110 or steps S410 to S440 are to search for abnormal thickness areas of the thickness data of all the channels that need to be used, and step S120 to step S140 are to detect whether there is a bevel in the banknote to be detected when there is an abnormal thickness area in at least one of the channels. Then, between the above processes, i.e., between step S110 and step S120, it can be directly determined that there is no dog-ear in the banknote to be detected in the case where there is no thickness abnormality region in any of all the channels.
According to the technical scheme, single-channel thickness data are extracted, the single-channel thickness data are compared with the thickness of the preset paper money, the continuous number of points with the difference value larger than the preset thickness threshold value is compared with the preset number of points, when the continuous number of points is larger than or equal to the preset number of points, the thickness data area corresponding to the continuous number of points is judged to be the abnormal thickness area, then the searching of the abnormal thickness area of one or two channels at two ends of the paper money to be detected is completed in a circulating mode, after the abnormal thickness area is determined and the line number and the channel number of the abnormal thickness area are recorded, the length of the thickness data of the abnormal thickness area is compared with the length of the preset paper money, the existence of the break angle in the paper money to be detected is determined according to the comparison result, the break angle in the paper money to be detected is detected only through.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a banknote corner folding detection apparatus according to a third embodiment of the present invention, and explanations of terms that are the same as or correspond to any of the above embodiments in this embodiment are not repeated herein. The apparatus may include:
the abnormal thickness region searching module 610 is configured to search whether a thickness abnormal region exists in the thickness data of one or two channels at two ends of the banknote to be detected.
A start-stop line number recording module 630, configured to record the start-stop line number and the corresponding channel number of the abnormal thickness region if the abnormal thickness region searching module 610 determines that the abnormal thickness region exists.
And a length comparison result determining module 640, configured to determine, according to the start-stop line number recorded by the start-stop line number recording module 630, the thickness data length of the corresponding channel number, and compare the thickness data length with a preset banknote length to obtain a length comparison result.
The first folding angle detecting module 650 is configured to determine existence of a folding angle in the to-be-detected banknote according to the length comparison result determined by the length comparison result determining module 640.
Optionally, the first inflection angle detecting module 650 is specifically configured to: if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected; and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
According to the banknote break angle detection device provided by the third embodiment of the invention, the break angle in the banknote to be detected is detected only by using the thickness data of the banknote to be detected, so that the data processing amount and the operation time can be reduced.
The device for detecting the folded angle of the paper currency, provided by the embodiment of the invention, can execute the method for detecting the folded angle of the paper currency, provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 7 is a schematic structural diagram of a banknote corner folding detection apparatus according to a fourth embodiment of the present invention, which is specifically described and optimized based on the foregoing embodiments. Wherein, the figure units same as the above embodiments are provided with the same reference numerals, and the explanation of the same or corresponding terms as any of the above embodiments is not repeated herein. The apparatus of this embodiment may include:
the thickness abnormal region searching module 610 is specifically configured to:
a. extracting single-channel thickness data in the one or two channels;
b. making a difference between the single-channel thickness data and the preset paper money thickness, and determining the continuous number of the difference value larger than the preset thickness threshold value;
c. if the number of the continuous points is larger than or equal to the preset number of points, determining that a thickness data area formed by single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area;
and repeating the steps a-c until the thickness abnormal area is searched for in each channel or each two channels.
The second folding angle detection module 620 is configured to, if the thickness abnormal region search module 610 determines that the thickness abnormal region does not exist in the banknote to be detected, determine that a folding angle does not exist in the banknote to be detected.
A start-stop line number recording module 630, configured to record the start-stop line number and the corresponding channel number of the abnormal thickness region if the abnormal thickness region searching module 610 determines that the abnormal thickness region exists.
And a length comparison result determining module 640, configured to determine, according to the start-stop line number recorded by the start-stop line number recording module 630, the thickness data length of the corresponding channel number, and compare the thickness data length with a preset banknote length to obtain a length comparison result.
The first inflection angle detecting module 650 is specifically configured to: if the length of the thickness data determined by the length comparison result determining module 640 is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected; if the length of the thickness data determined by the length comparison result determining module 640 is not less than the length of the preset paper money, it is determined that no bevel exists in the paper money to be detected.
The dog-ear position determining module 660 is configured to determine the position of the dog-ear in the banknote to be detected according to the corresponding channel number and the start-stop line number recorded by the start-stop line number recording module 630 if the first dog-ear detecting module 650 determines that the dog-ear in the banknote to be detected exists.
By the banknote break angle detection device in the fourth embodiment of the invention, the position of the break angle in the banknote can be further determined while the break angle in the banknote to be detected is detected by only using the thickness data of the banknote to be detected, and the data processing amount and the operation time can be reduced.
The device for detecting the folded angle of the paper currency, provided by the embodiment of the invention, can execute the method for detecting the folded angle of the paper currency, provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
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 (8)

1. A method for detecting a folded corner of a banknote, comprising:
searching whether a thickness abnormal area exists in the thickness data of one or two channels at two ends of the paper money to be detected;
if the thickness abnormal area exists, recording the start and stop line number and the corresponding channel number of the thickness abnormal area;
determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with a preset paper money length to obtain a length comparison result;
determining the existence of a break angle in the paper money to be detected according to the length comparison result;
wherein, whether the thickness data of one or two channels at two ends of the paper money to be detected has the thickness abnormal area or not comprises the following steps:
a. extracting the single-pass thickness data in each one or each two channels;
b. making a difference between the single-channel thickness data and the preset paper money thickness, and determining the continuous points of which the difference value is greater than a preset thickness threshold value;
c. if the number of the continuous points is larger than or equal to the preset number of points, determining that a thickness data area formed by single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area;
and repeating the steps a-c until the thickness abnormal area is searched for in each channel or each two channels.
2. The method according to claim 1, wherein said determining the presence of a break in said note to be detected based on said length comparison comprises:
if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected;
and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
3. Method according to any one of claims 1-2, characterized in that after said determination of the presence of a break in the banknote to be detected on the basis of the length comparison, the method further comprises:
and if the break angle exists, determining the position of the break angle in the paper money to be detected according to the corresponding channel number and the start-stop line number.
4. The method according to claim 1, wherein after the finding whether the thickness abnormal region exists in the thickness data of each of one or two channels at two ends of the paper money to be detected and before the recording of the start and stop line numbers and the corresponding channel numbers of the thickness abnormal region if the thickness abnormal region exists, the method further comprises:
and if the thickness abnormal area does not exist, the folded angle does not exist in the paper money to be detected.
5. A banknote corner fold detection device, comprising:
the thickness abnormal region searching module is used for searching whether a thickness abnormal region exists in the thickness data of one or two channels at two ends of the paper money to be detected;
the starting and stopping line number recording module is used for recording the starting and stopping line numbers and the corresponding channel numbers of the thickness abnormal areas if the thickness abnormal areas exist;
the length comparison result determining module is used for determining the thickness data length of the corresponding channel number according to the start-stop line number, and comparing the thickness data length with the length of a preset paper currency to obtain a length comparison result;
the first folding angle detection module is used for determining the existence of a folding angle in the paper money to be detected according to the length comparison result;
the thickness abnormal region searching module is specifically configured to:
a. extracting single-channel thickness data in the one or two channels;
b. making a difference between the single-channel thickness data and the preset paper money thickness, and determining the continuous number of the difference value larger than the preset thickness threshold value;
c. if the number of the continuous points is larger than or equal to the preset number of points, determining that a thickness data area formed by single-channel thickness data corresponding to the number of the continuous points is a thickness abnormal area;
and repeating the steps a-c until the thickness abnormal area is searched for in each channel or each two channels.
6. The apparatus of claim 5, wherein the first inflection angle detection module is specifically configured to:
if the length of the thickness data is smaller than the length of the preset paper money, determining that a break angle exists in the paper money to be detected;
and if the length of the thickness data is not less than the length of the preset paper money, determining that no break angle exists in the paper money to be detected.
7. The apparatus of any of claims 5-6, further comprising:
and the bevel angle position determining module is used for determining the position of the bevel angle in the paper money to be detected according to the corresponding channel number and the start-stop line number if the bevel angle exists after the existence of the bevel angle in the paper money to be detected is determined according to the length comparison result.
8. The apparatus of claim 5, further comprising:
and the second bevel angle detection module is used for searching whether a thickness abnormal area exists in the thickness data of each channel or each two channels at the two ends of the paper money to be detected, recording the start and stop line numbers and the corresponding channel numbers of the thickness abnormal area if the thickness abnormal area exists, and if the thickness abnormal area does not exist, determining that no bevel angle exists in the paper money to be detected.
CN201610946354.4A 2016-11-02 2016-11-02 Method and device for detecting paper currency folding angle Active CN108010184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610946354.4A CN108010184B (en) 2016-11-02 2016-11-02 Method and device for detecting paper currency folding angle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610946354.4A CN108010184B (en) 2016-11-02 2016-11-02 Method and device for detecting paper currency folding angle

Publications (2)

Publication Number Publication Date
CN108010184A CN108010184A (en) 2018-05-08
CN108010184B true CN108010184B (en) 2020-10-20

Family

ID=62048036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610946354.4A Active CN108010184B (en) 2016-11-02 2016-11-02 Method and device for detecting paper currency folding angle

Country Status (1)

Country Link
CN (1) CN108010184B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410172B (en) * 2018-09-14 2021-11-05 威海华菱光电股份有限公司 Paper thickness detection method and device, storage medium and processor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4086489B2 (en) * 2001-09-19 2008-05-14 日立オムロンターミナルソリューションズ株式会社 Paper sheet counting device and transaction processing device
KR100641250B1 (en) * 2005-02-03 2006-11-02 후지쯔 가부시끼가이샤 Method for detecting corner turndown of paper sheet and computer-readable recording media recording program for detecting corner turndown of paper sheet
JP4972996B2 (en) * 2006-05-18 2012-07-11 沖電気工業株式会社 Banknote handling device
JP2009238090A (en) * 2008-03-28 2009-10-15 Fujitsu Frontech Ltd Paper sheet discrimination device and method
CN101709949B (en) * 2009-11-24 2012-01-11 朱莹 Method and device for real-time detection of note thickness
CN104408819B (en) * 2014-12-05 2017-06-13 深圳怡化电脑股份有限公司 A kind of detection method of bank note adhesive tape
CN205068562U (en) * 2015-09-29 2016-03-02 沈阳中钞信达金融设备有限公司 High accuracy multichannel modularization thickness detection device

Also Published As

Publication number Publication date
CN108010184A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
EP3252710B1 (en) Banknote crack detection method and apparatus
CN102930633B (en) Financial self-service device, as well as banknote recognition module and recognition method thereof
US20160358399A1 (en) Method and system for recognizing bill with abnormal thickness
US8983168B2 (en) System and method of categorising defects in a media item
CN104408819B (en) A kind of detection method of bank note adhesive tape
CN102176262B (en) Thickness detecting method and device for slice medium
US9014419B2 (en) Valuable document identification method and identification system thereof
CN103625961A (en) Paper conveying apparatus, jam detection method
US20140083915A1 (en) Sheet reinspection apparatus, sheet inspection system, and sheet inspection method
CN105354913A (en) Method and device of banknote detection
US9589410B2 (en) Paper money handling apparatus
EP3046083A1 (en) Method and apparatus for detecting magnetic signal of paper money
CN102298695B (en) Visual analyzing and processing method for detecting paper money bundle
CN107978062B (en) Method and device for detecting adhesive tape money
CN108010184B (en) Method and device for detecting paper currency folding angle
CN108663004B (en) Method and device for detecting abnormal thickness of paper money
CN108492443B (en) Method, device and equipment for detecting adhesive tape on paper money and storage medium
US9047723B2 (en) Defect categorization
CN111460198A (en) Method and device for auditing picture timestamp
CN103035060A (en) Medium processing device and medium processing method
CN108961530B (en) Paper currency defect identification method and system
CN108694770B (en) Method and device for detecting adhesive tape money
CN108022362B (en) Method and device for detecting defect of paper money
CN106780958B (en) Method and device for detecting the crossing of a banknote in the detection range of a thickness sensor
JP5697556B2 (en) Paper sheet processing equipment

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