CN105957237B - A kind of version recognition methods of bank note and device - Google Patents

A kind of version recognition methods of bank note and device Download PDF

Info

Publication number
CN105957237B
CN105957237B CN201610255383.6A CN201610255383A CN105957237B CN 105957237 B CN105957237 B CN 105957237B CN 201610255383 A CN201610255383 A CN 201610255383A CN 105957237 B CN105957237 B CN 105957237B
Authority
CN
China
Prior art keywords
bank note
signature
measured
template
signature template
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
CN201610255383.6A
Other languages
Chinese (zh)
Other versions
CN105957237A (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 CN201610255383.6A priority Critical patent/CN105957237B/en
Publication of CN105957237A publication Critical patent/CN105957237A/en
Application granted granted Critical
Publication of CN105957237B publication Critical patent/CN105957237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention belongs to paper money recognition technical field, version recognition methods and the device of a kind of bank note are provided.This method comprises: obtaining the signature region of bank note to be measured;Binary conversion treatment is carried out to the signature region of the bank note to be measured, to obtain the binary image in the signature region of the bank note to be measured;According to the signature template of the binary image and multiple default bank note, the signature template that the determining signature with the bank note to be measured matches, and determine that the version information of the default bank note comprising the signature template is the version information of the bank note to be measured.It can recognize the version of bank note, through the invention convenient for the market circulation of bank note.

Description

A kind of version recognition methods of bank note and device
Technical field
The invention belongs to the version recognition methods of paper money recognition technical field more particularly to a kind of bank note and devices.
Background technique
Without printing publication year in the Iranian Rial (RI) of Iran, the Iranian Rial (RI) of different time sections distribution is in ruler It is the same in the features such as very little, decorative pattern, it can not be identified using features such as size, decorative patterns sub- in the Iran of different time sections distribution You, influences recycling of the bank to Iranian Rial (RI), is not easy to the market circulation of Iranian Rial's coin.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In consideration of it, the embodiment of the present invention provides version recognition methods and the device of a kind of bank note, to identify the version of bank note, Convenient for the market circulation of bank note.
The embodiment of the present invention in a first aspect, providing a kind of version recognition methods of bank note, which comprises
Obtain the signature region of bank note to be measured;
Binary conversion treatment is carried out to the signature region of the bank note to be measured, to obtain the signature region of the bank note to be measured Binary image;
According to the signature template of the binary image and multiple default bank note, the determining signature phase with the bank note to be measured Matched signature template, and determine that the version information of the default bank note comprising the signature template is the version letter of the bank note to be measured Breath.
The second aspect of the embodiment of the present invention, provides a kind of version recognition device of bank note, and described device includes:
Obtain module, binarization block and determining module;
The acquisition module, for obtaining the signature region of bank note to be measured;
The binarization block carries out binary conversion treatment for the signature region to the bank note to be measured, described in obtaining The binary image in the signature region of bank note to be measured;
The determining module, for the signature template according to the binary image and multiple default bank note, determining and institute The signature template that the signature of bank note to be measured matches is stated, and determines that the version information of the default bank note comprising the signature template is institute State the version information of bank note to be measured.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is according to bank note to be measured The binary image in signature region and the signature template of multiple default bank note, the signature that the determining signature with bank note to be measured matches The version information of template, the default bank note comprising the signature template is the version information of bank note to be measured, can recognize the version of bank note This, convenient for the market circulation of bank note.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the recognition methods for the bank note that the embodiment of the present invention one provides;
It is the infrared transmission figure of 50,000 yuan of Iranian Rial (RI) that Fig. 2 a, which is the natural light figure of 50,000 yuan of Iranian Rial (RI), Fig. 2 b,;
Fig. 3 a is that signature administrative division map, Fig. 3 b of first version of 50,000 yuan of Iranian Rial (RI) are 50,000 yuan of Iranian Rial (RI) Signature administrative division map, Fig. 3 c of second version are that signature administrative division map, Fig. 3 d of the third version of 50,000 yuan of Iranian Rial (RI) are 5 Signature administrative division map, Fig. 3 e of 4th version of ten thousand yuan of Iranian Rial (RI) are the label of the 5th version of 50,000 yuan of Iranian Rial (RI) Name administrative division map;
Fig. 4 a is that the first signature, Fig. 4 b of five versions of 50,000 yuan of Iranian Rial (RI) are five of 50,000 yuan of Iranian Rial (RI) Second signature of version;
Fig. 5 a is that the first signature template, such as Fig. 5 b of five versions of 50,000 yuan of Iranian Rial (RI) is 50,000 yuan of Iranian Rial (RI) Five versions second signature template;
Fig. 6 is the infrared transmission figure of bank note to be measured;
Fig. 7 a be matching result figure, Fig. 7 b of bank note to be measured shown in Fig. 6 and signature template A be bank note to be measured shown in Fig. 6 with Matching result figure, Fig. 7 c of signature template B is that matching result figure, Fig. 7 d of bank note to be measured and the template C that signs shown in Fig. 6 are Fig. 6 Shown bank note to be measured and matching result figure, Fig. 7 e of signature template 1 are the matching knots of bank note to be measured shown in Fig. 6 and signature template 2 Fruit figure;
Fig. 8 is the implementation flow chart of the version recognition methods of bank note provided by Embodiment 2 of the present invention;
Fig. 9 is the composition schematic diagram of the version recognition device for the bank note that the embodiment of the present invention three provides;
Figure 10 is the composition schematic diagram of the version recognition device for the bank note that the embodiment of the present invention four provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment one:
Fig. 1 shows the implementation process of the version recognition methods of the bank note of the offer of the embodiment of the present invention one, the realization stream Details are as follows for journey:
In step s101, the signature region of bank note to be measured is obtained;
In embodiments of the present invention, the signature region of bank note to be measured is shown by infrared transmission mode.
In order to better understand the present invention, it is illustrated with 50,000 yuan of Iranian Rial (RI).If Fig. 2 a is 50,000 yuan of Iran The natural light figure of riyal, such as Fig. 2 b are the infrared transmission figures of 50,000 yuan of Iranian Rial (RI), as shown in Figure 2 a and 2 b, in Iran The signature of Ya Er under natural light and infrared transmission as it can be seen that and the background decorative pattern of Iranian Rial (RI) under natural light as it can be seen that but It is invisible under infrared transmission mode.Therefore show that the signature region of bank note to be measured can avoid background decorative pattern by infrared transmission mode Interference, accurately clearly position the signature region of bank note to be measured, improve the accuracy for identifying the version of bank note to be measured.In addition, Due to genuine bank note signature under infrared transmission as it can be seen that the signature of false bank note is invisible under infrared transmission.Therefore, it can incite somebody to action Anti-counterfeiting detection means of the signature of bank note as bank note are detected using infrared transmission mode.
In embodiments of the present invention, the front for selecting bank note to be measured, the chosen area at lateral 200DPI, longitudinal direction 150DPI Lateral x [180:380], longitudinal y [160:230] are the signature region of bank note to be measured.Wherein, the transverse direction 200DPI, longitudinal direction 150DPI refers to that resolution ratio is 200*150DPI, i.e., resolution ratio is 200*150 pixel of per inch.
In step s 102, binary conversion treatment is carried out to the signature region of the bank note to be measured, to obtain the paper to be measured The binary image in the signature region of coin;
In embodiments of the present invention, binary conversion treatment is carried out to the signature region of the bank note to be measured, can remove it is described to The ambient noise in the signature region of bank note is surveyed, and then improves the picture quality in the signature region of the bank note to be measured and identifies to be measured The accuracy of the version of bank note.
Further, the signature region progress binary conversion treatment to the bank note to be measured includes:
Count the pixel number of each pixel value and the signature area of the bank note to be measured in the signature region of the bank note to be measured Total pixel number in domain;
Selection is carried out from pixel value 0 to the pixel number of pixel value N from the pixel number of each pixel value of statistics It is cumulative, the value after being added up, wherein N is the integer greater than zero;
P times of the value whether total pixel number in the signature region of the bank note to be measured is equal to after adding up judged, wherein P is Integer greater than zero;
If so, determine that the pixel value N is binarization threshold, and by pixel value in the signature region of the bank note to be measured Pixel value less than the pixel of the binarization threshold is set as 1, and pixel value is greater than the pixel of the binarization threshold Pixel value is set as 0.
In embodiments of the present invention, the pixel value signed in the signature region of the bank note to be measured concentrates on lower value, and The pixel value of background concentrates on high value in the signature region of the bank note to be measured, according to this characteristic of the bank note to be measured, It will add up in the signature region of the bank note to be measured from pixel value 0 to the pixel number of pixel value N, when the bank note to be measured Signature region total pixel number be equal to it is cumulative after P times of value, it is determined that the pixel value N is binarization threshold;Or When total pixel number in the signature region of the bank note to be measured is greater than from pixel value 0 to the cumulative of the pixel number of pixel value N-1 P times of value afterwards, and be less than from pixel value 0 to the pixel number of pixel value N it is cumulative after P times of value when, determine the picture Element value N is binarization threshold, and pixel value in the signature region of the bank note to be measured is less than to the pixel of the binarization threshold The pixel value of point is set as 1, and the pixel value that pixel value is greater than the pixel of the binarization threshold is 0, i.e., by the paper to be measured The pixel value signed in the signature region of coin is set as 1, and the pixel value of background is set as in the signature region of the bank note to be measured 0.The pixel value of pixel is set as 0 or 255 by middle binary conversion treatment compared with the prior art, and the pixel value of pixel is set It can be in the algorithm for the signature template that the signature of detection and the bank note to be measured matches using the two dimension of (0-1) distribution for 0 or 1 Matrix carries out operation, reduces the complexity of operation, reduces operation time.
It is preferred that P is 20.
In step s 103, according to the signature template of the binary image and multiple default bank note, it is determining with it is described to Survey the signature template that matches of signature of bank note, and determine the default bank note comprising the signature template version information be described in Survey the version information of bank note.
In embodiments of the present invention, the size of the signature template of the multiple default bank note is the signature of the bank note to be measured The 30%~50% of the size of the binary image in region.
Further, the signature of the bank note to be measured includes the first signature and the second signature, the signature of the default bank note Template includes the first signature template and the second signature template;
In order to better understand the present invention, it is illustrated with the signature of five versions of 50,000 yuan of Iranian Rial (RI).Such as Second that signature administrative division map that Fig. 3 a is first version of 50,000 yuan of Iranian Rial (RI), such as Fig. 3 b are 50,000 yuan of Iranian Rial (RI) It is 50,000 that signature administrative division map, such as Fig. 3 c of version, which are the signature administrative division map of the third version of 50,000 yuan of Iranian Rial (RI), such as Fig. 3 d, Signature administrative division map, such as Fig. 3 e of 4th version of first Iranian Rial (RI) are the label of the 5th version of 50,000 yuan of Iranian Rial (RI) Name administrative division map, is split the signature administrative division map of above-mentioned five versions, the first signature and the second signature is divided into, as Fig. 4 a is The first signature, such as Fig. 4 b of five versions of 50000 yuan of Iranian Rial (RI) are the second label of five versions of 50,000 yuan of Iranian Rial (RI) Name.It, need to be to the first label of above-mentioned five versions when by the first signature of above-mentioned five versions and the second signature as signature template Name and the second signature carry out binaryzation removal ambient noise and dimension normalization processing, if Fig. 5 a is 50,000 yuan of Iranian Rial (RI) First signature template of five versions, such as Fig. 5 b are the second signature templates of five versions of 50,000 yuan of Iranian Rial (RI).
The signature template according to the binary image and multiple default bank note, the determining label with the bank note to be measured The matched signature template of famous prime minister, and determine that the version information of the bank note comprising the signature template is the version letter of the bank note to be measured Breath includes:
According to the first of the binary image and multiple default bank note the signature template, determining the with the bank note to be measured The first signature template that one signature matches;
When the quantity for detecting the default bank note comprising the first signature template is greater than 1, according to the binary image With the second signature template of the default bank note comprising the first signature template, determining the second signature with the bank note to be measured The the second signature template to match, and determine the version letter of the default bank note comprising the first signature template and the second signature template Breath is the version information of the bank note to be measured.
Illustratively, when the first signature of bank note to be measured is matched with the template A that signs in Fig. 5 a, the version of Fig. 3 a and Fig. 3 b In containing signature template A, then the second signature template for needing determining the second signature with bank note to be measured to match, if bank note to be measured Second signature in Fig. 5 b sign template 1 match, it is determined that comprising signature template A and signature template 1 Fig. 3 a version believe Breath is the version information of bank note to be measured.
Further, the determination includes that the version that the version information of the bank note of the signature template is the bank note to be measured is believed Breath further include:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising first signature The version information of the default bank note of template is the version information of the bank note to be measured.
Illustratively, when the first signature of bank note to be measured is matched with the template C that signs in Fig. 5 a, only in the version of Fig. 3 d Contain signature template A, it is determined that the version information of Fig. 3 d is the version information of bank note to be measured.
Further, the signature template according to the binary image and multiple default bank note, it is determining with it is described to The signature template that matches of signature for surveying bank note includes:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, And determine that the signature signature template corresponding with maximum first degree of correlation of the bank note to be measured matches, wherein the maximum First degree of correlation be greater than preset matching threshold value.
It is preferred that the preset matching threshold value is 0.2.
Further, each signature template in the signature template for obtaining the binary image and multiple default bank note First degree of correlation include:
Signature template is overlayed on the binary image, and mobile with certain step-length on the binary image The signature template;
When moving the signature template every time, the signature template and the binary image are counted in corresponding position picture Element is worth identical pixel number;
The ratio of total pixel number of the pixel number and the signature template is calculated, and using the ratio as the two-value Change first degree of correlation of image and the signature template.
In embodiments of the present invention, signature template T (M × N number of pixel) is overlayed to the signature region of bank note to be measured With the step-length mobile signature template T of a pixel on binary image S (W × H pixel), the quilt on binary image S The region of signature template T covering is subgraph Sij, wherein i, j are subgraph SijThe first row first row pixel in binary picture As the coordinate on S, the value range of i, j areSignature template T is moved in the value range;Every When secondary mobile signature template T, statistics signature template T and subgraph SijIn the identical pixel number of corresponding position pixel value, by the picture First degree of correlation of the ratio of total pixel number of vegetarian refreshments number and signature template T as binary image S and signature template T.
Illustratively, signature template T contains 3 × 3 pixels, in each mobile signature template T, judges template of signing The pixel value and subgraph S of T the first row first row pixelijWhether the pixel value of the first row first row pixel is identical, judges to sign The pixel value and subgraph S of name template T the first row secondary series pixelijWhether the pixel value of the first row secondary series pixel is identical, And so on, until the pixel value and subgraph S of judgement signature template T the third line third column pixelijThe third line third column pixel Whether the pixel value of point identical, and counts the identical pixel number of pixel value in this 9 pixels, the pixel number and 9 ratio Value is binary image S and first degree of correlation for the template T that signs.
In embodiments of the present invention, when in subgraph SijThe value range of i, j beInterior signature template T times After having gone through binary image S, first degree of correlation of binary image S and signature template T in all movements, as binaryzation are counted The matching result figure of image S and signature template T.
In order to better understand the present invention, it is illustrated with 50,000 yuan of Iranian Rial (RI), if Fig. 6 is bank note to be measured Infrared transmission figure, the first signature template that first determining the first signature with bank note to be measured shown in Fig. 6 matches, if Fig. 7 a is Fig. 6 The matching result figure of shown bank note to be measured and signature template A such as Fig. 7 b are the matchings of bank note to be measured shown in Fig. 6 and signature template B Result figure, be such as Fig. 7 c bank note to be measured shown in Fig. 6 and signature template C matching result figure, by Fig. 7 a, 7b and 7c it is found that Fig. 7 a First degree of correlation it is maximum, therefore, the first signature of bank note to be measured shown in Fig. 6 matches with the template A that signs, Fig. 3 a and Fig. 3 b's In version containing signature template A, then need calculate second signature template in signature template 1 and sign template 2 respectively with paper to be measured First degree of correlation of coin, if Fig. 7 d is bank note to be measured and the matching result figure for template 1 of signing shown in Fig. 6, if Fig. 7 e is shown in Fig. 6 The matching result figure of bank note to be measured and signature template 2, by Fig. 7 d and Fig. 7 e it is found that first degree of correlation of Fig. 7 e is maximum, therefore, figure Second signature of bank note to be measured shown in 6 matches with signature template 2, that is, determines that the version information of Fig. 3 a is paper to be measured shown in Fig. 6 The version information of coin.Wherein, coordinate (x, y) is signature template in the signature region of bank note to be measured in above-mentioned all matching result figures Binary image in position coordinates, unit is pixel number.
The embodiment of the present invention is according to the binary image in the signature region of bank note to be measured and the signature mould of multiple default bank note Plate, the signature template that the determining signature with bank note to be measured matches, the version information of the default bank note comprising the signature template are For the version information of bank note to be measured, the version of bank note can recognize, convenient for the market circulation of bank note.
Embodiment two:
Fig. 8 shows the implementation process of the version recognition methods of bank note provided by Embodiment 2 of the present invention, the realization stream Details are as follows for journey:
In step S801, the signature region of bank note to be measured is obtained;
In embodiments of the present invention, the signature region of bank note to be measured is shown by infrared transmission mode.
In embodiments of the present invention, the front for selecting bank note to be measured, the chosen area at lateral 200DPI, longitudinal direction 150DPI Lateral x [180:380], longitudinal y [160:230] are the signature region of bank note to be measured.Wherein, the transverse direction 200DPI, longitudinal direction 150DPI refers to that resolution ratio is 200*150DPI, i.e., resolution ratio is 200*150 pixel of per inch.
In step S802, the signature region for detecting the bank note to be measured whether there is safety line, if so, described in removal The safety line in the signature region of bank note to be measured;
In embodiments of the present invention, there may be safety line, the pixels of safety line in the signature region of the bank note to be measured It is worth the pixel value close to the signature of the bank note to be measured, the accuracy for identifying the version of bank note to be measured can be reduced.Due to safety Line has uniform width in vertical direction (i.e. longitudinal) rule distribution, and the stroke of the signature of the bank note to be measured is not advise Then, and stroke is thinner than safety line very much, therefore can remove safety line by features described above.By taking Iranian Rial (RI) as an example, peace The width of all fronts is about 10 pixels.
In step S803, binary conversion treatment is carried out to the signature region of the bank note to be measured, to obtain the paper to be measured The binary image in the signature region of coin;
In embodiments of the present invention, binary conversion treatment is carried out to the signature region of the bank note to be measured, can remove it is described to The ambient noise in the signature region of bank note is surveyed, and then improves the picture quality in the signature region of the bank note to be measured and identifies to be measured The accuracy of the version of bank note.
Further, the signature region progress binary conversion treatment to the bank note to be measured includes:
Count the pixel number of each pixel value and the signature area of the bank note to be measured in the signature region of the bank note to be measured Total pixel number in domain;
Selection is carried out from pixel value 0 to the pixel number of pixel value N from the pixel number of each pixel value of statistics It is cumulative, the value after being added up, wherein N is the integer greater than zero;
P times of the value whether total pixel number in the signature region of the bank note to be measured is equal to after adding up judged, wherein P is Integer greater than zero;
If so, determine that the pixel value N is binarization threshold, and by pixel value in the signature region of the bank note to be measured Pixel value less than the pixel of the binarization threshold is set as 1, and pixel value is greater than the pixel of the binarization threshold Pixel value is set as 0.
In embodiments of the present invention, the pixel value signed in the signature region of the bank note to be measured concentrates on lower value, and The pixel value of background concentrates on high value in the signature region of the bank note to be measured, according to this characteristic of the bank note to be measured, It will add up in the signature region of the bank note to be measured from pixel value 0 to the pixel number of pixel value N, when the bank note to be measured Signature region total pixel number be equal to it is cumulative after P times of value, it is determined that the pixel value N is binarization threshold;Or When total pixel number in the signature region of the bank note to be measured is greater than from pixel value 0 to the cumulative of the pixel number of pixel value N-1 P times of value afterwards, and be less than from pixel value 0 to the pixel number of pixel value N it is cumulative after P times of value when, determine the picture Element value N is binarization threshold, and pixel value in the signature region of the bank note to be measured is less than to the pixel of the binarization threshold The pixel value of point is set as 1, and the pixel value that pixel value is greater than the pixel of the binarization threshold is 0, i.e., by the paper to be measured The pixel value signed in the signature region of coin is set as 1, and the pixel value of background is set as in the signature region of the bank note to be measured 0.The pixel value of pixel is set as 0 or 255 by middle binary conversion treatment compared with the prior art, and the pixel value of pixel is set It can be in the algorithm for the signature template that the signature of detection and the bank note to be measured matches using the two dimension of (0-1) distribution for 0 or 1 Matrix carries out operation, reduces the complexity of operation, reduces operation time.
It is preferred that P is 20.
In step S804, according to the signature template of the binary image and multiple default bank note, it is determining with it is described to Survey the signature template that matches of signature of bank note, and determine the default bank note comprising the signature template version information be described in Survey the version information of bank note.
In embodiments of the present invention, the size of the signature template of the multiple default bank note is the signature of the bank note to be measured The 30%~50% of the size of the binary image in region.
Further, the signature of the bank note to be measured includes the first signature and the second signature, the signature of the default bank note Template includes the first signature template and the second signature template;
The signature template according to the binary image and multiple default bank note, the determining label with the bank note to be measured The matched signature template of famous prime minister, and determine that the version information of the bank note comprising the signature template is the version letter of the bank note to be measured Breath includes:
According to the first of the binary image and multiple default bank note the signature template, determining the with the bank note to be measured The first signature template that one signature matches;
When the quantity for detecting the default bank note comprising the first signature template is greater than 1, according to the binary image With the second signature template of the default bank note comprising the first signature template, determining the second signature with the bank note to be measured The the second signature template to match, and determine the version letter of the default bank note comprising the first signature template and the second signature template Breath is the version information of the bank note to be measured.
Further, the determination includes that the version that the version information of the bank note of the signature template is the bank note to be measured is believed Breath further include:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising first signature The version information of the default bank note of template is the version information of the bank note to be measured.
Further, the signature template according to the binary image and multiple default bank note, it is determining with it is described to The signature template that matches of signature for surveying bank note includes:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, And determine that the signature signature template corresponding with maximum first degree of correlation of the bank note to be measured matches, wherein the maximum First degree of correlation be greater than preset matching threshold value.
It is preferred that the preset matching threshold value is 0.2.
Further, each signature template in the signature template for obtaining the binary image and multiple default bank note First degree of correlation include:
Signature template is overlayed on the binary image, and mobile with certain step-length on the binary image The signature template;
When moving the signature template every time, the signature template and the binary image are counted in corresponding position picture Element is worth identical pixel number;
The ratio of total pixel number of the pixel number and the signature template is calculated, and using the ratio as the two-value Change first degree of correlation of image and the signature template.
The embodiment of the present invention is according to the binary image in the signature region of bank note to be measured and the signature mould of multiple default bank note Plate, the signature template that the determining signature with bank note to be measured matches, the version information of the default bank note comprising the signature template are For the version information of bank note to be measured, the version of bank note can recognize, convenient for the market circulation of bank note, and in the signature to bank note to be measured Before carrying out binary conversion treatment, the signature region of bank note to be measured is detected with the presence or absence of safety line, and if it exists, safety line is then removed, Improve the accuracy of the version of identification bank note.
Embodiment three:
Fig. 9 shows the composition schematic diagram of the version recognition device of the bank note of the offer of the embodiment of the present invention three, for the ease of Illustrate, only parts related to embodiments of the present invention are shown, and details are as follows:
Module 91 is obtained, for obtaining the signature region of bank note to be measured;
Binarization block 92 carries out binary conversion treatment for the signature region to the bank note to be measured, with obtain it is described to Survey the binary image in the signature region of bank note;
Further, the binarization block 92 includes:
Statistic unit 921, summing elements 922, judging unit 923 and determination unit 924;
The statistic unit 921, for count the bank note to be measured signature region in each pixel value pixel number and Total pixel number in the signature region of the bank note to be measured;
The summing elements 922, for selecting from the pixel number of each pixel value of statistics from pixel value 0 to picture The pixel number of plain value N adds up, the value after being added up, wherein N is the integer greater than zero;
The judging unit 923, for judging it is tired whether total pixel number in signature region of the bank note to be measured is equal to P times of value after adding, wherein P is the integer greater than zero;
The determination unit 924, for determining that the pixel value N is when 923 judging result of judging unit, which is, is Binarization threshold, and by pixel value in the signature region of the bank note to be measured less than the pixel of the pixel of the binarization threshold Value is set as 1, and the pixel value that pixel value is greater than the pixel of the binarization threshold is set as 0.
Determining module 93, for the signature template according to the binary image and multiple default bank note, it is determining with it is described The signature template that the signature of bank note to be measured matches, and determine that the version information of the default bank note comprising the signature template is described The version information of bank note to be measured.
Further, the signature of the bank note to be measured includes the first signature and the second signature, the signature of the default bank note Template includes the first signature template and the second signature template;
The determining module 93 includes:
First determination unit 931, for according to the first of the binary image and multiple default bank note signature template, really The first signature template that fixed the first signature with the bank note to be measured matches;
Second determination unit 932, for being greater than 1 when the quantity for detecting the default bank note comprising the first signature template When, according to the binary image and it is described comprising this first signature template default bank note second signature template, determine with The second signature template that second signature of the bank note to be measured matches, and determine comprising the first signature template and the second signature The version information of the default bank note of template is the version information of the bank note to be measured.
Further, second determination unit 932 is also used to:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising first signature The version information of the default bank note of template is the version information of the bank note to be measured.
Further, the determining module 93 is used for:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, And determine that the signature signature template corresponding with maximum first degree of correlation of the bank note to be measured matches, wherein the maximum First degree of correlation be greater than preset matching threshold value.
Further, the determining module 93 further include:
Mobile unit 933, statistic unit 934 and computing unit 935;
The mobile unit 933, for that will sign, template overlays the binary image, and in the binary picture With the mobile signature template of certain step-length as on;
The statistic unit 934, for counting the signature template and described two when moving the signature template every time Value image is in the identical pixel number of corresponding position pixel value;
The computing unit 935, the ratio of total pixel number for calculating the pixel number and the signature template, and Using the ratio as first degree of correlation of the binary image and the signature template.
The version recognition device of bank note provided in an embodiment of the present invention can be used in aforementioned corresponding embodiment of the method one In, details are referring to the description of above-described embodiment one, and details are not described herein.
The embodiment of the present invention passes through the sign binary image in region and the label of multiple default bank note according to bank note to be measured Name template, the signature template that the determining signature with bank note to be measured matches, the version letter of the default bank note comprising the signature template Breath is the version information of bank note to be measured, can recognize the version of bank note, convenient for the market circulation of bank note.
Example IV:
Figure 10 shows the composition schematic diagram of the version recognition device of the bank note of the offer of the embodiment of the present invention four, for the ease of Illustrate, only parts related to embodiments of the present invention are shown, and details are as follows:
Module 100 is obtained, for obtaining the signature region of bank note to be measured;
Detection module 200, the signature region for detecting the bank note to be measured whether there is safety line, if so, removal The safety line in the signature region of the bank note to be measured;
Binarization block 300 carries out binary conversion treatment for the signature region to the bank note to be measured, with obtain it is described to Survey the binary image in the signature region of bank note;
Further, the binarization block 300 includes:
Statistic unit 301, summing elements 302, judging unit 303 and determination unit 304;
The statistic unit 301, for count the bank note to be measured signature region in each pixel value pixel number and Total pixel number in the signature region of the bank note to be measured;
The summing elements 302, for selecting from the pixel number of each pixel value of statistics from pixel value 0 to picture The pixel number of plain value N adds up, the value after being added up, wherein N is the integer greater than zero;
The judging unit 303, for judging it is tired whether total pixel number in signature region of the bank note to be measured is equal to P times of value after adding, wherein P is the integer greater than zero;
The determination unit 304, for determining that the pixel value N is when 303 judging result of judging unit, which is, is Binarization threshold, and by pixel value in the signature region of the bank note to be measured less than the pixel of the pixel of the binarization threshold Value is set as 1, and the pixel value that pixel value is greater than the pixel of the binarization threshold is set as 0.
Determining module 400, for the signature template according to the binary image and multiple default bank note, it is determining with it is described The signature template that the signature of bank note to be measured matches, and determine that the version information of the default bank note comprising the signature template is described The version information of bank note to be measured.
Further, the signature of the bank note to be measured includes the first signature and the second signature, the signature of the default bank note Template includes the first signature template and the second signature template;
The determining module 400 includes:
First determination unit 401, for according to the first of the binary image and multiple default bank note signature template, really The first signature template that fixed the first signature with the bank note to be measured matches;
Second determination unit 402, for being greater than 1 when the quantity for detecting the default bank note comprising the first signature template When, according to the binary image and it is described comprising this first signature template default bank note second signature template, determine with The second signature template that second signature of the bank note to be measured matches, and determine comprising the first signature template and the second signature The version information of the default bank note of template is the version information of the bank note to be measured.
Further, second determination unit 402 is also used to:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising first signature The version information of the default bank note of template is the version information of the bank note to be measured.
Further, the determining module 400 is used for:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, And determine that the signature signature template corresponding with maximum first degree of correlation of the bank note to be measured matches, wherein the maximum First degree of correlation be greater than preset matching threshold value.
Further, the determining module 400 further include:
Mobile unit 403, statistic unit 404 and computing unit 405;
The mobile unit 403, for that will sign, template overlays the binary image, and in the binary picture With the mobile signature template of certain step-length as on;
The statistic unit 404, for counting the signature template and described two when moving the signature template every time Value image is in the identical pixel number of corresponding position pixel value;
The computing unit 405, the ratio of total pixel number for calculating the pixel number and the signature template, and Using the ratio as first degree of correlation of the binary image and the signature template.
The version recognition device of bank note provided in an embodiment of the present invention can be used in aforementioned corresponding embodiment of the method two In, details are referring to the description of above-described embodiment two, and details are not described herein.
The technical staff in the field can be understood that, for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e. the internal structure of described device is divided into different functional modules, and above-mentioned functional module both can be using hardware Form is realized, can also be realized in the form of software.In addition, the specific name of each functional module is also only to facilitate mutually Difference, the protection scope being not intended to limit this application.
In conclusion binary image and multiple default bank note of the embodiment of the present invention according to the signature region of bank note to be measured Signature template, the signature template that the determining signature with bank note to be measured matches, the version of the default bank note comprising the signature template This information is the version information of bank note to be measured, can recognize the version of bank note, convenient for the market circulation of bank note.
Those of ordinary skill in the art be further appreciated that implement the method for the above embodiments be can It is completed with instructing relevant hardware by program, the program can be stored in a computer-readable storage medium In, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (12)

1. a kind of version recognition methods of bank note, which is characterized in that the described method includes:
Obtain the signature region of bank note to be measured;
After the signature region for getting the bank note to be measured, the signature region of the bank note to be measured is carried out at binaryzation Reason removes the ambient noise in the signature region of the bank note to be measured, obtains the binary picture in the signature region of the bank note to be measured Picture;
According to the signature template of the binary image and multiple default bank note, the determining signature with the bank note to be measured matches Signature template, and determine comprising the signature template default bank note version information be the bank note to be measured version information;
Before the signature region to the bank note to be measured carries out binary conversion treatment, further includes:
The signature region of the bank note to be measured is detected with the presence or absence of safety line, if so, the signature area of the removal bank note to be measured The safety line in domain.
2. the method according to claim 1, wherein the signature region to the bank note to be measured carries out two-value Change is handled
Count the signature region of the pixel number of each pixel value and the bank note to be measured in the signature region of the bank note to be measured Total pixel number;
It selects to add up from pixel value 0 to the pixel number of pixel value N from the pixel number of each pixel value of statistics, Value after being added up, wherein N is the integer greater than zero;
Judge total pixel number in the signature region of the bank note to be measured whether be equal to it is cumulative after P times of value, wherein P for greater than Zero integer;
If so, determining that the pixel value N is binarization threshold, and pixel value in the signature region of the bank note to be measured is less than The pixel value of the pixel of the binarization threshold is set as 1, and pixel value is greater than the pixel of the pixel of the binarization threshold Value is set as 0.
3. the method according to claim 1, wherein the signature of the bank note to be measured includes the first signature and second Signature, the signature template of the default bank note include the first signature template and the second signature template;
The signature template according to the binary image and multiple default bank note, the determining signature phase with the bank note to be measured Matched signature template, and determine that the version information of the bank note comprising the signature template is the version information packet of the bank note to be measured It includes:
According to the first signature template of the binary image and multiple default bank note, determining the first label with the bank note to be measured The matched first signature template of famous prime minister;
When the quantity for detecting the default bank note comprising the first signature template is greater than 1, according to the binary image and institute State the second signature template of the default bank note comprising the first signature template, determining the second signature phase with the bank note to be measured The the second signature template matched, and the version information of the determining default bank note comprising the first signature template and the second signature template is The version information of the bank note to be measured.
4. according to the method described in claim 3, it is characterized in that, the determination includes the version letter of the bank note of the signature template Breath is the version information of the bank note to be measured further include:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising the first signature template Default bank note version information be the bank note to be measured version information.
5. method according to any one of claims 1 to 3, which is characterized in that described according to the binary image and more The signature template of a default bank note, the signature template that the determining signature with the bank note to be measured matches include:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, and really The signature signature template corresponding with maximum first degree of correlation of the fixed bank note to be measured matches, wherein described maximum the One degree of correlation is greater than preset matching threshold value.
6. according to the method described in claim 5, it is characterized in that, described obtain the binary image and multiple default bank note Signature template in it is each signature template first degree of correlation include:
Signature template is overlayed on the binary image, and on the binary image described in certain step-length movement Signature template;
When moving the signature template every time, the signature template and the binary image are counted in corresponding position pixel value Identical pixel number;
The ratio of total pixel number of the pixel number and the signature template is calculated, and using the ratio as the binary picture As first degree of correlation with the signature template.
7. a kind of version recognition device of bank note, which is characterized in that described device includes:
Obtain module, binarization block and determining module;
The acquisition module, for obtaining the signature region of bank note to be measured;
The binarization block, for after the signature region for getting the bank note to be measured, to the label of the bank note to be measured Name region carries out binary conversion treatment, removes the ambient noise in the signature region of the bank note to be measured, obtains the bank note to be measured The binary image in signature region;
The determining module, for the signature template according to the binary image and multiple default bank note, it is determining with it is described to Survey the signature template that matches of signature of bank note, and determine the default bank note comprising the signature template version information be described in Survey the version information of bank note;
Described device further include:
Detection module, the signature region for detecting the bank note to be measured whether there is safety line, if so, removal is described to be measured The safety line in the signature region of bank note.
8. device according to claim 7, which is characterized in that the binarization block includes:
Statistic unit, summing elements, judging unit and determination unit;
The statistic unit, the pixel number of each pixel value and described to be measured in the signature region for counting the bank note to be measured Total pixel number in the signature region of bank note;
The summing elements, for selecting from the pixel number of each pixel value of statistics from pixel value 0 to pixel value N's Pixel number adds up, the value after being added up, wherein N is the integer greater than zero;
The judging unit, the value whether being equal to after adding up for judging total pixel number in signature region of the bank note to be measured P times, wherein P is integer greater than zero;
The determination unit, for when the judging unit judging result, which is, is, determining that the pixel value N is binaryzation threshold Value, and the pixel value that pixel value in the signature region of the bank note to be measured is less than the pixel of the binarization threshold is set as 1, the pixel value that pixel value is greater than the pixel of the binarization threshold is set as 0.
9. device according to claim 7, which is characterized in that the signature of the bank note to be measured includes the first signature and second Signature, the signature template of the default bank note include the first signature template and the second signature template;
The determining module includes:
First determination unit, for according to the first of the binary image and multiple default bank note the signature template, determining and institute State the first signature template that the first signature of bank note to be measured matches;
Second determination unit, for when detect comprising this first signature template default bank note quantity be greater than 1 when, according to institute State the second signature template of binary image and the default bank note comprising the first signature template, the determining and paper to be measured The second signature template that second signature of coin matches, and determine default comprising the first signature template and the second signature template The version information of bank note is the version information of the bank note to be measured.
10. device according to claim 9, which is characterized in that second determination unit is also used to:
When the quantity for detecting the default bank note comprising the first signature template is equal to 1, determine comprising the first signature template Default bank note version information be the bank note to be measured version information.
11. device according to any one of claims 7 to 9, which is characterized in that the determining module is used for:
First degree of correlation of each signature template in the signature template of the binary image and multiple default bank note is obtained, and really The signature signature template corresponding with maximum first degree of correlation of the fixed bank note to be measured matches, wherein described maximum the One degree of correlation is greater than preset matching threshold value.
12. device according to claim 11, which is characterized in that the determining module further include:
Mobile unit, statistic unit and computing unit;
The mobile unit, for that will sign, template overlays the binary image, and on the binary image with The mobile signature template of certain step-length;
The statistic unit, for counting the signature template and the binary picture when moving the signature template every time As in the identical pixel number of corresponding position pixel value;
The computing unit, the ratio of total pixel number for calculating the pixel number and the signature template, and by the ratio It is worth first degree of correlation as the binary image and the signature template.
CN201610255383.6A 2016-04-22 2016-04-22 A kind of version recognition methods of bank note and device Active CN105957237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610255383.6A CN105957237B (en) 2016-04-22 2016-04-22 A kind of version recognition methods of bank note and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610255383.6A CN105957237B (en) 2016-04-22 2016-04-22 A kind of version recognition methods of bank note and device

Publications (2)

Publication Number Publication Date
CN105957237A CN105957237A (en) 2016-09-21
CN105957237B true CN105957237B (en) 2019-02-01

Family

ID=56914892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610255383.6A Active CN105957237B (en) 2016-04-22 2016-04-22 A kind of version recognition methods of bank note and device

Country Status (1)

Country Link
CN (1) CN105957237B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780967B (en) * 2017-01-09 2019-06-11 深圳怡化电脑股份有限公司 A kind of bank note version recognition methods and device
CN106780966B (en) * 2017-02-17 2019-10-11 深圳怡化电脑股份有限公司 A kind of paper money discrimination method and device
CN106898078B (en) * 2017-02-21 2019-12-06 深圳怡化电脑股份有限公司 Port currency version identification method and device
CN107240184B (en) * 2017-06-05 2020-03-27 深圳怡化电脑股份有限公司 Method, device and equipment for identifying versions of plastic coins

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636614B1 (en) * 1998-03-24 2003-10-21 Fraunhofer-Gesellschaft Zur Forderung Der Angewandten Forschung E.V. Method for preventing the falsification of documents comprising a photograph, preferably a facial-view photograph
CN101290665A (en) * 2008-06-06 2008-10-22 梓昆科技(杭州)有限公司 Multi- light spectrum banknote counting instrument and its banknote counting control method
CN101933053A (en) * 2008-01-31 2010-12-29 环球娱乐株式会社 Paper sheet identifying device and paper sheet identifying method
CN104318257A (en) * 2014-08-20 2015-01-28 深圳大学 Paper currency recognition method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636614B1 (en) * 1998-03-24 2003-10-21 Fraunhofer-Gesellschaft Zur Forderung Der Angewandten Forschung E.V. Method for preventing the falsification of documents comprising a photograph, preferably a facial-view photograph
CN101933053A (en) * 2008-01-31 2010-12-29 环球娱乐株式会社 Paper sheet identifying device and paper sheet identifying method
CN101290665A (en) * 2008-06-06 2008-10-22 梓昆科技(杭州)有限公司 Multi- light spectrum banknote counting instrument and its banknote counting control method
CN104318257A (en) * 2014-08-20 2015-01-28 深圳大学 Paper currency recognition method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《Using Hidden Markov Models for paper currency recognition》;Hassanpour, H., & Farahabadi;《Expert Systems with Applications》;20091231;第10105-10111页

Also Published As

Publication number Publication date
CN105957237A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105957237B (en) A kind of version recognition methods of bank note and device
CN108898047B (en) Pedestrian detection method and system based on blocking and shielding perception
CN101520852B (en) Vanishing point detecting device and detecting method
CN105069900B (en) A kind of method and device for handling bank note information
CN105957238A (en) Banknote management method and system
CN103632159B (en) Method and system for training classifier and detecting text area in image
CN106056751A (en) Prefix number identification method and system
CN107610322A (en) Recognition methods, device, electronic equipment and the storage medium of bank note version
CN106952393B (en) Paper money identification method and device, electronic equipment and storage medium
CN104867225A (en) Banknote face orientation identification method and apparatus
CN104123529A (en) Human hand detection method and system thereof
CN106558143B (en) It is a kind of 100 yuans splicing bank note recognition methods and device
CN108320373A (en) A kind of method and device of the detection of guiding against false of paper currency mark
Azad et al. A novel and robust method for automatic license plate recognition system based on pattern recognition
CN104966349A (en) ATM platform-based method of detecting new bank note and old bank note
CN107067533A (en) The method and device that a kind of bank note differentiates
CN107491065A (en) The method and apparatus of the side of the ground boundary information detection object of Use barriers thing
CN103514460B (en) Video monitoring multi-view-angle vehicle detecting method and device
Suresh et al. Indian currency recognition and verification using image processing
CN106599923B (en) Method and device for detecting seal anti-counterfeiting features
CN101706944A (en) Quantization table evaluation based method for detecting JPEG image tampering
CN108665603A (en) Identify the method, apparatus and electronic equipment of bank note currency type
CN105809092A (en) Population target detection method and device thereof
CN108806058A (en) A kind of paper currency detecting method and device
CN106780965A (en) A kind of Paper Currency Identification and device

Legal Events

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