METHOD AND DEVICE FOR DETECTING OVERLAPPED BANK NOTES
20170228956 · 2017-08-10
Assignee
Inventors
- Jing YOU (Guangzhou, Guangdong, CN)
- Qianwen WANG (Guangzhou, Guangdong, CN)
- Jing XU (Guangzhou, Guangdong, CN)
Cpc classification
B65H2511/524
PERFORMING OPERATIONS; TRANSPORTING
B65H7/125
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A method for detecting overlapped bank notes is provided. The method includes: step 10, collecting original image data of bank notes; step 20, performing security thread positioning detection on the original image data of the bank notes, to obtain security thread detection data; step 40, determining whether the security thread detection data meets a preset security thread reference condition, going to step 60 if the security thread detection data meets the preset security thread reference condition, and going to step 70 if the security thread detection data does not meet the preset security thread reference condition; step 60, obtaining a determination result that the bank notes are not overlapped, and ending the method; and step 70, obtaining a determining result that the bank notes are overlapped, and ending the method.
Claims
1. A method for detecting overlapped bank notes, comprising: step 10: collecting original image data of bank notes; step 20: performing security thread positioning detection on the original image data of the bank notes, to obtain security thread detection data; step 40: determining whether the security thread detection data meets a preset security thread reference condition, going to step 60 if the security thread detection data meets the preset security thread reference condition, and going to step 70 if the security thread detection data does not meet the preset security thread reference condition; step 60: obtaining a determination result that the bank notes are not overlapped, and ending the method; and step 70: obtaining a determining result that the bank notes are overlapped, and ending the method.
2. The method for detecting overlapped bank notes according to claim 1, wherein in the step 20, the security thread detection data comprises: a physical distance (X1,Y1) from an upper left vertex of a position of a security thread to a calibration side of a scanner, a physical distance (Xr, Yr) from a lower right vertex of the position of the security thread to the calibration side of the scanner, and an absolute position of the security thread to the calibration side determined based on the physical distance (X1, Y1) and the physical distance (Xr, Yr).
3. The method for detecting overlapped bank notes according to claim 2, wherein the step 40 further comprises: step 41: determining whether a width of the security thread meets the security thread reference condition, going to step 42 if the width of the security thread meets the security thread reference condition, and going to step 44 if the width of the security thread does not meet the security thread reference condition; step 42: determining whether a thickness of a security thread area meets the security thread reference condition, going to step 43 if the thickness of the security thread area meets the security thread reference condition, and going to step 44 if the thickness of the security thread area does not meet the security thread reference condition; step 43: determining that the bank notes are not overlapped in the security thread area, and going to step 50; and step 44: determining that the bank notes are overlapped in the security thread area, and going to step 70.
4. The method for detecting overlapped bank notes according to claim 3, wherein in the step 41 of determining whether the width of the security thread meets the security thread reference condition: (X1, Y1) represents a position of an upper left vertex of a security thread of a single sheet of bank note to the calibration side, (Xr, Yr) represents a position of a lower right vertex of a security thread of a single sheet of bank note to the calibration side, (Xx, Yy) represents a position of an upper left vertex of a security thread of detected overlapped bank notes to the calibration side, (XX, YY) represents a position of a lower right vertex of a security thread of detected overlapped bank notes to the calibration side, and T represents a preset non-negative threshold parameter; and it is determined that the width of the security thread does not meet the security thread reference condition and that the width of the security thread is abnormal if the width of the security thread meets |(XX,YY)−(Xx,Yy)|>|(Xr,Yr)−(X1,Y1)|+T, and it is determined that the width of the security thread meets the security thread reference condition and that the width of the security thread is normal if the width of the security thread does not meet |(XX,YY)−(Xx,Yy)|>|(Xr,Yr)−(X1,Y1)|+T.
5. The method for detecting overlapped bank notes according to claim 3, wherein in the step 42 of determining whether the thickness of the security thread area meets the security thread reference condition: a represents the thickness of the security thread obtained currently by a thickness sensor, b represents a reference value of the thickness of the security thread area, and t represents a preset non-negative threshold parameter; and it is determined that the thickness of the security thread area does not meet the security thread reference condition and that the thickness of the security thread area is abnormal if the thickness of the security thread area meets a>b*t, and it is determined that the thickness of the security thread area meets the security thread reference condition and that the thickness of the security thread area is normal if the thickness of the security thread area does not meet a>b*t.
6. A method for detecting overlapped bank notes, comprising: step 10: collecting original image data of bank notes; step 30: performing non-security thread positioning detection on the original image data of the bank notes, to obtain non-security thread area detection data; step 50: determining whether the non-security thread area detection data meets a preset non-security thread reference condition, going to step 60 if the non-security thread area detection data meets the preset non-security thread reference condition, and going to step 70 if the non-security thread area detection data does not meet the preset non-security thread reference condition; step 60: obtaining a determination result that the bank notes are not overlapped, and ending the method; and step 70: obtaining a determining result that the bank notes are overlapped, and ending the method.
7. The method for detecting overlapped bank notes according to claim 6, wherein the step 50 further comprises: step 51: determining whether the thickness of the non-security thread area meets the non-security thread reference condition, going to step 52 if the thickness of the non-security thread area meets the non-security thread reference condition, and going to step 54 if the thickness of the non-security thread area does not meet the non-security thread reference condition; step 52: determining whether a difference between the thickness of the non-security thread area and an average thickness of bank notes meets the non-security thread reference condition, going to step 53 if the difference between the thickness of the non-security thread area and an average thickness of bank notes meets the non-security thread reference condition, going to step 54 if the difference between the thickness of the non-security thread area and an average thickness of bank notes does not meet the non-security thread reference condition; step 53: determining that the bank notes are not overlapped in the non-security thread area, and going to step 60; and step 54: determining that the bank notes are overlapped in the non-security thread area, and going to step 70.
8. The method for detecting overlapped bank notes according to claim 7, wherein in the step 51 of determining whether the thickness of the non-security thread area meets the non-security thread reference condition: c represents the thickness of the non-security thread area obtained by a current thickness sensor, d represents a reference value of the thickness of the non-security thread area, and s represents a preset non-negative threshold parameter; and it is determined that the thickness of the non-security thread area does not meet the non-security thread reference condition and that the thickness of the non-security thread area is abnormal if the thickness of the non-security thread area meets c>d*s, and it is determined that the thickness of the non-security thread area meets the non-security thread reference condition and that the thickness of the non-security thread area is normal if the thickness of the non-security thread area does not meet c>d*s.
9. The method for detecting overlapped bank notes according to claim 7, wherein in the step 52 of determining whether the difference between the thickness of the non-security thread area and the average thickness of bank notes meets the non-security thread reference condition: e represents the thickness of the non-security thread area obtained by a current thickness sensor, v represents an average thickness reference value of bank notes obtained through statistics, and f represents a preset non-negative threshold parameter; and it is determined that the difference between the thickness of the non-security thread area and the average thickness of bank notes does not meet the non-security thread reference condition and that the thickness of the non-security thread area is abnormal if the difference between the thickness of the non-security thread area and the average thickness of bank notes meets e−v>f, and it is determined that the difference between the thickness of the non-security thread area and the average thickness of bank notes meets the non-security thread reference condition and that the thickness of the non-security thread area is normal if the difference between the thickness of the non-security thread area and the average thickness of bank notes does not meet e−v>f.
10. (canceled)
11. (canceled)
12. (canceled)
13. A device for detecting overlapped bank notes, comprising: a data collecting module configured to collect original image data of bank notes to be detected; a security thread positioning detection module connected with the data collecting module and configured to perform security thread positioning detection on the collected original image data of the bank notes, to obtain security thread detection data; a security thread area overlapped bank notes detection module connected with the security thread positioning detection module and configured to determine whether a security thread area meets a security thread reference condition based on the security thread detection data, and determine that the bank notes are overlapped in the security thread area if the security thread detection data does not meet the security thread reference condition, and determine that the bank notes are not overlapped in the security thread area if the security thread detection data meets the security thread reference condition; and an overlapped bank notes detection module connected with the security thread area overlapped bank notes detection module and configured to detect whether the bank notes are overlapped based on a local overlapped bank notes determination result for the security thread area and following a determination rule, wherein the determination rule comprises: determining that the bank notes are overlapped if the bank notes are overlapped in the security thread area; and determining that the bank notes are not overlapped if the bank notes are not overlapped in the security thread area.
14. A device for detecting overlapped bank notes, comprising: a data collecting module configured to collect original image data of bank notes to be detected; a non-security thread positioning detection module connected with the data collecting module and configured to perform non-security thread positioning detection on the collected original image data of the bank notes, to obtain non-security thread detection data; a non-security thread area overlapped bank notes detection module connected with the non-security thread positioning detection module and configured to determine whether a non-security thread area meets a non-security thread reference condition based on the non-security thread detection data, determine that the bank notes are overlapped in the non-security thread area if the non-security thread data does not meet the non-security thread reference condition, and determine that the bank notes are not overlapped in the non-security thread area if the non-security thread data meets non-security thread reference condition; and an overlapped bank notes detection module connected with the non-security thread area overlapped bank notes detection module and configured to detect whether the bank notes are overlapped based on a local overlapped bank notes determination result for the non-security thread area and following a preset determination rule, wherein the determination rule comprises: determining that the bank notes are overlapped if the bank notes are overlapped in the non-security thread area; and determining that the bank notes are not overlapped if the bank notes are not overlapped in the non-security thread area.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solution in the embodiments of the present disclosure or in the conventional technology, in the following, drawings required in the description of the embodiments or the conventional technology will be introduced simply. Obviously, the drawings in the following description show only some embodiments of the disclosure. For those skilled in the art, other drawings can also be obtained according to the drawings without any creative work.
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
DETAILED DESCRIPTION
[0032] In order to further describe the method and the device for detecting overlapped bank notes provided in the present disclosure, the method and the device for detecting overlapped bank notes are illustrated in detail below in conjunction with the drawings.
[0033] A concept of a security thread is explained first. The security thread is a common characteristic of all bank notes. Each bank note is inlaid with a metal line, which has the same width as the bank note. The metal line is referred to as the security thread, which is divided into a type of solid line and a type of dotted line. The metal line is also referred to as a windowed security thread and is an important anti-fake characteristic. The thickness of the security thread is different from the thickness of the other area of the bank note, and normally is far greater than the thickness of other area of the bank note.
[0034] As shown in
[0035] In the method, whether the bank notes are overlapped is detected based on a multi-point thickness sensor, each step of which is described below.
[0036] In step 10 of collecting the original image data of the bank notes, bank notes to be detected are scanned when the bank notes pass through the Automatic Teller Machine (ATM), to obtain the original image data of the bank notes to be detected.
[0037] In step 20 of performing the security thread positioning detection, the security thread positioning detection is performed on the collected image data, to obtain security thread detection data. In most cases, the scanned image of the bank notes is tilted. Thus the security thread detection data, as shown in
[0038] In step 30 of performing the non-security thread positioning detection, the non-security thread positioning detection is performed on the collected image data, to obtain non-security thread detection data, and then step 50 is performed. In the embodiment, the non-security thread detection data includes the thickness of a non-security thread area.
[0039] In step 40 of detecting overlapped bank notes in the security thread area, as shown in
[0040] Step 41 of determining whether the width of the security thread meets the security thread reference condition may be performed as follows. As shown in
[0041] Step 42 of determining whether the thickness of the security thread area meets the security thread reference condition may be performed as follows. Supposing that a represents the thickness of the security thread area obtained by a current thickness sensor, b represents a reference value of the thickness of the security thread area, and t represents a preset non-negative threshold parameter, it is determined that the thickness of the security thread area does not meet the security thread reference condition and that the thickness of the security thread area is abnormal if the thickness of the security thread area meets a>b*t, otherwise it is determined that the thickness of the security thread area meets the security thread reference condition and that the thickness of the security thread area is normal.
[0042] It should be noted that the sequence between step 41 and step 42 is not fixed and is not limited here.
[0043] In step 50 of detecting whether the bank notes are overlapped in the non-security thread area, as shown in
[0044] Step 51 of determining whether the thickness of the non-security thread area meets the non-security thread reference condition may be performed as follows. Supposing that c represents the thickness of the non-security thread area obtained by a current thickness sensor, d represents a reference value of the thickness of the non-security thread area, and s represents a preset non-negative threshold parameter, it is determined that the thickness of the non-security thread area does not meet the non-security thread reference condition and that the thickness of the non-security thread area is abnormal if the thickness of the non-security thread area meets c>d*s, otherwise it is determined that the thickness of the non-security thread area meets the non-security thread reference condition and that the thickness of the non-security thread area is normal.
[0045] Step 52 of determining whether the difference between the thickness of the non-security thread area and an average thickness of the bank notes meets the non-security thread reference condition may be performed as follows. Supposing that e represents the thickness of the non-security thread area obtained by a current thickness sensor, v represents an average thickness reference value of bank notes obtained through statistics, and f represents a preset non-negative threshold parameter, it is determined that the difference between the thickness of the non-security thread area and the average thickness of bank notes does not meet the non-security thread reference condition and the thickness of the non-security thread area is abnormal if the difference between the thickness of the non-security thread area and the average thickness of bank notes meets e-v>f, otherwise it is determined that the difference between the thickness of the non-security thread area and the average thickness of bank notes meets the non-security thread reference condition and the thickness of the non-security thread area is normal.
[0046] It should be noted that the sequence between step 51 and step 52 is not fixed and is not limited here. Also, in the present disclosure, the overlapped bank notes detection for the non-security thread area may be implemented by only performing step 51, or only performing step 52, or performing both step 51 and step 52 as in the above embodiment.
[0047] It should be noted that step 10 to step 70 are not performed sequentially, but performed in a logical sequence as shown in
[0048] In step 60, it is determined that the bank notes are not overlapped based on local overlapped bank notes determination results for the security thread area and the non-security thread area obtained in step 40 and step 50 and following a determination rule, and the process ends.
[0049] In step 70, it is determined that the bank notes are overlapped based on local overlapped bank notes determination results for the security thread area and the non-security thread area obtained in step 40 and step 50 and following a determination rule, and the process ends.
[0050] The determination rule includes: determining that the bank notes are overlapped if the bank notes are overlapped in the non-security thread area, and determining whether the bank notes are overlapped depending on the overlapped bank notes determination result for the security thread area if the bank notes are not overlapped in the non-security thread area. That is, it is determined that the bank notes are overlapped if the bank notes are overlapped in the security thread area, and it is determined that the bank notes are not overlapped if the bank notes are not overlapped in the security thread area. Alternatively, if the security thread area is judged first, it is determined that the bank notes are overlapped if the bank notes are overlapped in the security thread area, and whether the bank notes are overlapped is determined depending on the overlapped bank notes determination result for the non-security thread area if the bank notes are not overlapped in the security thread area. In summary, it is determined that the bank notes are overlapped if the bank notes are overlapped locally in the security thread area and/or the non-security thread area, and it is determined that the bank notes are not overlapped if the bank notes are not overlapped locally in any of the security thread area and the non-security thread area.
[0051] In the embodiment, the thickness of the security thread area and the thickness of the non-security thread area are distinguished and whether the bank notes are overlapped is determined by detecting and positioning the security thread of the bank notes, thereby avoiding the problem of misjudgment on overlapped bank notes due to an exceeding thickness of the security thread. Therefore, not only the overlapped bank notes can be detected accurately, but also the receiving rate of the bank notes can be improved greatly.
[0052] The method for detecting overlapped bank notes based on the multi-point thickness sensor according to the first embodiment of the present disclosure is introduced in detail above, and methods for detecting overlapped bank notes based on a single-point thickness sensor according to a second embodiment and a third embodiment of the present disclosure are described below.
[0053] As shown in
[0054] Similarly, the first embodiment may also be simplified in another manner, in which, whether the bank notes are overlapped is determined by determining whether the bank notes are overlapped in the non-security thread area, as a third embodiment of the present disclosure. As shown in
[0055] The methods for detecting overlapped bank notes according to the present disclosure is described in detail above, and a device for detecting overlapped bank notes according to an embodiment of the present disclosure is described below. As shown in
[0056] When bank notes pass through a signal scanning area of the ATM, the data collecting module 201 collects an original image data of the bank notes to be detected. After the original image data is obtained by the data collecting module 201, the security thread positioning detection module 202 performs security thread positioning detection on the original image data to obtain security thread detection data, and the non-security thread positioning detection module 203 performs non-security thread positioning detection on the original image data to obtain non-security thread detection data. Then the security thread area overlapped bank notes detection module 204 detects whether the bank notes are overlapped in the security thread area. The security thread area overlapped bank notes detection module 204 may detect whether the bank notes are overlapped in the security thread area includes as follows. (X1, Y1) represents a position of an upper left vertex of a security thread of a single sheet of bank note to the calibration side, (Xr, Yr) represents a position of a lower right vertex of a security thread of a single sheet of bank note to the calibration side, (Xx, Yy) represents a position of an upper left vertex of a security thread of detected overlapped bank notes to the calibration side, (XX, YY) represents a position of a lower right vertex of a security thread of detected overlapped bank notes to the calibration side, T represents a preset width non-negative threshold parameter, a represents the thickness of a security thread area obtained by a current thickness sensor, b represents a reference value of the thickness of the security thread area, and t represents a preset thickness non-negative threshold parameter. It is determined that the width of the security thread does not meet the security thread reference condition and that the bank notes are overlapped in the security thread area if the width of the security thread meets |(XX,YY)−(Xx,Yy)|>|(Xr,Yr)−(X1,Y1)|+T. A next step is performed if the width of the security thread meets the security thread reference condition. It is determined that the thickness of the security thread area does not meet the security thread reference condition and the bank notes are overlapped in the security thread area if the thickness of the security thread area meets a>b*t, otherwise it is determined that the bank notes are not overlapped in the security thread area.
[0057] The non-security thread area overlapped bank notes detection module 205 detects whether the bank notes are overlapped in the non-security thread area.
[0058] The non-security thread area overlapped bank notes detection module 205 may detect whether the bank notes are overlapped in the non-security thread area as follows. Supposing that c represents the thickness of the non-security thread area obtained currently by a thickness sensor, d represents a reference value of the thickness of the non-security thread area, s represents a preset non-negative threshold parameter 1, v represents an average thickness reference value of bank notes obtained through statistics and f represents a preset non-negative threshold parameter 2, it is determined that the thickness of the non-security thread area does not meet the non-security thread reference condition and that the bank notes are overlapped in the non-security thread area if the thickness of the non-security thread area meets c>d*s, otherwise a next step is performed. It is determined that the difference between the thickness of the non-security thread area and the average thickness of bank notes does not meet the non-security thread reference condition and that the bank notes are overlapped in the non-security thread area if the difference between the thickness of the non-security thread area and the average thickness of bank notes meets c-v>f, otherwise it is determined that the bank notes are not overlapped in the non-security thread area.
[0059] The overlapped bank notes detection module 206 determines whether the bank notes are overlapped based on local overlapped bank notes determination results obtained by the security thread area overlapped bank notes detection module 204 and the non-security thread area overlapped bank notes detection module 205 and following a determination rule. In the embodiment, the determination rule includes: determining that the bank notes are overlapped if the bank notes are overlapped in the non-security thread area, and determining whether the bank notes are overlapped depending on the overlapped bank notes determination result for the security thread area if the bank notes are overlapped in the non-security thread area. That is, it is determined that the bank notes are overlapped if the bank notes are overlapped in the security thread area, and it is determined that the bank notes are not overlapped if the bank notes are not overlapped in the security thread area. Alternatively, if the security thread area is judged first, it is determined that the bank notes are overlapped if the bank notes are overlapped in the security thread area, and whether the bank notes are overlapped is determined depending on the overlapped bank notes determination result for the non-security thread area if the bank notes are not overlapped in the security thread area. That is, it is determined that the bank notes are overlapped if the bank notes are overlapped in the non-security thread area, and it is determined that the bank notes are not overlapped if the bank notes are not overlapped in the non-security thread area.
[0060] The device for detecting overlapped bank notes according to the embodiment designed based on a multi-point thickness detection method is described above. Optionally, if a single-point thickness detection method is adopted, corresponding to the method for detecting overlapped bank notes according to the second embodiment, as shown in
[0061] Further optionally, corresponding to the method for detecting overlapped bank notes according to the third embodiment in which the single-point thickness detection is adopted, as shown in
[0062] Those skilled in the art should understand that all of or a part of steps of the above method embodiments may be performed by a program instructing corresponding hardware. The program may be stored in a computer readable storage medium. The storage medium may be a Read Only Memory, a magnetic disc or an optic disc.
[0063] The above described are only preferred embodiments of the present disclosure. It should be noted that the preferred embodiments described above should not regarded as limiting the present disclosure, and the scope of protection of the present disclosure is in accordance with the scope defined by the appended claims. Many improvements and modifications can also be made by those skilled in the art without departing from the spirit and scope of the present disclosure, and such improvements and modifications will also fall within the scope of protection of the present disclosure.