CN106710062A - Banknote security line detecting method and device - Google Patents
Banknote security line detecting method and device Download PDFInfo
- Publication number
- CN106710062A CN106710062A CN201611141187.2A CN201611141187A CN106710062A CN 106710062 A CN106710062 A CN 106710062A CN 201611141187 A CN201611141187 A CN 201611141187A CN 106710062 A CN106710062 A CN 106710062A
- Authority
- CN
- China
- Prior art keywords
- pixel
- safety line
- region
- average
- pixel value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D7/00—Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
- G07D7/20—Testing patterns thereon
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
- Image Analysis (AREA)
Abstract
The invention is applicable to the technical field of banknote identification, and proposes a banknote security line detecting method and device. The method comprises the steps that an image area with a security line is acquired; the sum of the pixel value of each column in the image area is calculated; the image area of the continuous preset number of columns with the lowest sum of the pixel values is determined as the area where the security line is located; and based on the characteristic parameters of the pixels of the area where the security line is located, namely at least one of the mean value, the variance and the number of pixels, whether a banknote is authentic is detected. According to the invention, the sum of the pixel value of each column in the image area of the security line is calculated; the image area of the continuous preset number of columns with the lowest sum of the pixel values is determined as the security line area; the influence of the security line lightspot is removed according to the mean value of the pixel values of areas outside the security line; the mean value, the variance and the number of pixels are comprehensively considered in the security line area; and the accuracy of banknote authenticity detection is improved.
Description
Technical field
The invention belongs to paper money recognition technical field, more particularly to the method and device for detecting bank note safety line.
Background technology
Safety line is the important anti-counterfeiting characteristic of RMB.The 5th set of yuan note of RMB 100 of version in 2015 increased second
Bar safety line:Light becomes hollow out opened window safety line, and light becomes 4 millimeters of hollow out opened window safety line line width, and its photomodification can be to light source requirements
Not high, substantially, integrated hollow out character features are advantageously recognized color change in the public.But simply by eye recognition not
It is such as more accurate using plant identification, in order to the bank note for preventing lawless person from forging comes into the market, it is badly in need of exploitation high-precision
Plant.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device for detecting bank note safety line, it is intended to solved current
Eye recognition bank note safety line accuracy problem not high.
The embodiment of the present invention is achieved in that a kind of method for detecting bank note safety line, including:
Obtain the image-region comprising safety line;
Calculate the pixel value sum of each row in described image region;
Image-region where the minimum continuous predetermined number row of the pixel value sum is defined as where the safety line
Region;
Characteristic parameter based on safety line region pixel:In average, variance and pixel number at least one
, forge or true or paper money is detected.
The another object of the embodiment of the present invention is to provide a kind of device for detecting bank note safety line, including:
Acquiring unit, for obtaining the image-region comprising safety line;
First computing unit, the pixel value sum for calculating each row in described image region;
Positioning unit, for image-region where the minimum continuous predetermined number row of the pixel value sum to be defined as into institute
State safety line region;
Detection unit, for the characteristic parameter based on safety line region pixel:Average, variance and pixel
At least one in number, detects to forge or true or paper money.
In embodiments of the present invention, the pixel value sum of each row in the image-region of safety line is calculated, by the pixel
Image-region where the minimum continuous predetermined number row of value sum is defined as safety line region, considers in safety line region
Average, variance, the detection method of pixel number so that the accuracy rate of detection forge or true or paper money is improved.
Brief description of the drawings
Fig. 1 is the method flow diagram of detection bank note safety line provided in an embodiment of the present invention;
Fig. 2 is spy of the 5th set of 100 yuan note Article 2 safety line provided in an embodiment of the present invention under infrared transmission figure
Levy figure;
Fig. 3 is the flow chart detected to forge or true or paper money based on average provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram after the 5th set of 100 yuan note Article 2 safety line binaryzation provided in an embodiment of the present invention;
Fig. 5 is the flow chart detected to forge or true or paper money based on variance provided in an embodiment of the present invention;
Fig. 6 is the flow chart detected to forge or true or paper money based on pixel number provided in an embodiment of the present invention;
Fig. 7 is the structured flowchart of the device of detection bank note safety line provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the method flow diagram of detection bank note safety line provided in an embodiment of the present invention.
In S101, the image-region comprising safety line is obtained;
Preferably, the image-region for including safety line that obtains is cut from the infrared transmission figure where the safety line
Obtain.
The image-region comprising safety line not only includes safety line region, also including safety line exterior domain.
Fig. 2 shows the 5th set of 100 yuan note Article 2 safety line provided in an embodiment of the present invention under infrared transmission figure
Characteristic pattern.Middle dark gray section is the safety line region, and both sides bright gray parts are the safety line outskirt
Domain.
In S102, the pixel value sum of each row in described image region is calculated.
Specifically, using two-dimensional Cartesian coordinate system, I (x, y) represents the pixel value in point P (x, y), wherein, x represents point P
It is expert at, y represents point P columns, then:
Mean that the pixel value sum computing formula of y row.
Consider the pixel value row of each row and the pixel value more single-row than consideration is arranged and can exclude the interference of noise so that inspection
Accuracy rate is surveyed to improve.
In S103, image-region where the minimum continuous predetermined number row of the pixel value sum is defined as the peace
All fronts region.
Preferably, the predetermined number row are 15 row.
The width of Article 2 safety line is between 15-16 row, even if there are the numeral of hollow out 100, the pixel of its each row in inside
Each row pixel value sum of the value sum also than non-security line is much smaller.Therefore where minimum continuous 15 row of pixel value sum
Image-region, as safety line region.
In S104, the characteristic parameter based on safety line region pixel:In average, variance and pixel number
At least one, forge or true or paper money is detected.
Situation one:
Fig. 3 is the flow chart detected to forge or true or paper money based on average provided in an embodiment of the present invention.
S301, calculates the pixel value average of the safety line exterior domain;
S302, pixel value is extracted less than the pixel value average of the safety line exterior domain in the safety line region
Pixel;
S303, the average of the pixel that calculating is extracted;
S304, if the average of the pixel for extracting exports paper less than the pixel value average of the safety line exterior domain
Coin is the testing result of genuine note;
S305, if the average of the pixel for extracting is exported not less than the pixel value average of the safety line exterior domain
Bank note is the testing result of counterfeit money.
Article 2 safety line region is not all the low value of pixel value, wherein the pixel value of 100 printed words for including just compared with
It is high.The influence of these bright spots is excluded when the average for calculating safety line region.
Safety line region is had determined that in S103, then the pixel value that can just calculate safety line exterior domain is equal
Value.In the point of the pixel value more than the pixel value average of safety line exterior domain of safety line region, you can be considered safety line
The point of 100 printed words in region, 100 printed words will be excluded when the pixel value average of safety line region is calculated
Point.
Fig. 4 is the schematic diagram after the 5th set of 100 yuan note Article 2 safety line binaryzation provided in an embodiment of the present invention, its
Middle Fig. 4 (a) is overall diagram, and Fig. 4 (b) is binaryzation described in partial enlarged drawing, is to set the gray value of the pixel on image
It is 0 or 255, that is, whole image is showed into significantly only black and white visual effect.In figure 3, white portion is
It is 100 printed words.When the average of pixel value of safety line region is calculated, the point of these 100 printed words is excluded.
Specifically, the pixel value average of the safety line region and the pixel value average of the safety line exterior domain
Difference is greater than the 3rd threshold value.
Preferably, the 3rd threshold value is between 30-40.
In the embodiment of the present invention, the treatment to 100 printed words eliminates its interference to detection method, therefore can improve inspection
The accuracy of survey.
Situation two:
Further, on the basis of situation one, Fig. 5 shows provided in an embodiment of the present invention true to bank note based on variance
The flow chart that puppet is detected.
S501, the variance of the pixel that calculating is extracted;
S502, if the variance of the pixel for extracting is less than first threshold, output bank note is the testing result of genuine note;
S503, if the variance of the pixel for extracting is not less than first threshold, output bank note is the testing result of counterfeit money.
Specifically,
It is described calculate the variance of pixel for extracting formula be:
Wherein, u represents the pixel value average of safety line exterior domain, and m represents exclusion picture in Article 2 safety line region
The average of element pixel of the value more than u.
The first threshold is the variance of point of the Article 2 safety line region less than pixel value u, and this variance yields is smaller,
The statistics that a large amount of test samples can be based on is worth to, such as take standard deviation for 15, represent the area pixel value generally within
In the range of average positive and negative 15, corresponding variance is the pixel number * 15^2 for extracting.
Variance is further verified on the basis of average, the accuracy rate of detection is more improve.
Situation three:
Fig. 6 is the flow chart detected to forge or true or paper money based on pixel number provided in an embodiment of the present invention.
S601, pixel number of the statistics safety line region pixel value less than Second Threshold;
S602, if the pixel number is within a preset range, output bank note is the testing result of genuine note;
S603, if the pixel number is not within a preset range, output bank note is the testing result of counterfeit money.
The Second Threshold is the number of point of the Article 2 safety line region less than pixel value u, because safety line is accounted for
There is certain width and height, it is preferable that the Second Threshold is 2500.
Because the height of safety line is probably in 300 rows or so, width arranges left and right 15, it is therefore preferred that the default model
It is trapped among between 2000~5000.
Further, if considering situation one, situation two and situation three consider the safety line region
The average of pixel, three characteristic parameters of variance and pixel number, checking causes detection forge or true or paper money while three parameters
Accuracy rate is higher.
Corresponding to a kind of method of detection bank note safety line feature of the inventive embodiments, Fig. 7 shows implementation of the present invention
A kind of structured flowchart of the device of detection bank note safety line that example is provided, for convenience of description, illustrate only and the present embodiment phase
The part of pass.
As shown in fig. 7, the device includes:
Single 71 are obtained, for obtaining the image-region comprising safety line;
First computing unit 72, the pixel value sum for calculating each row in described image region;
Positioning unit 73, for image-region where the minimum continuous predetermined number row of the pixel value sum to be defined as
The safety line region;
Detection unit 74, for the characteristic parameter based on safety line region pixel:Average, variance and pixel
At least one in number, detects to forge or true or paper money.
The detection unit 74 includes:
Second computing unit, the pixel value average for calculating the safety line exterior domain;
Extraction unit, for extracting pixel of the pixel value less than the safety line exterior domain in the safety line region
It is worth the pixel of average;
3rd computing unit, the average for calculating the pixel for extracting;
If less than the pixel value average of the safety line exterior domain, output bank note is true to the average of the pixel for extracting
The testing result of coin;
If the average of the pixel for extracting is not less than the pixel value average of the safety line exterior domain, output bank note
The testing result of counterfeit money.
The detection unit 74 includes:
4th computing unit, the variance for calculating the pixel for extracting;
If the variance of the pixel for extracting is less than first threshold, output bank note is the testing result of genuine note;
If the variance of the pixel for extracting is not less than first threshold, output bank note is the testing result of counterfeit money.
The detection unit 74 includes:
5th computing unit, for counting pixel number of the safety line region pixel value less than Second Threshold;
If the pixel number is within a preset range, output bank note is the testing result of genuine note;
If not within a preset range, output bank note is the testing result of counterfeit money to the pixel number.
The acquiring unit 71 includes:
The image-region for including safety line that obtains is to intercept to obtain from the infrared transmission figure where the safety line.
In embodiments of the present invention, the pixel value sum of each row in the image-region of safety line is calculated, by the pixel
Image-region where the minimum continuous predetermined number row of value sum is defined as safety line region, according to the picture in the region outside safety line
Plain value average eliminates the influence of the printed words bright spot of safety line 100, and average, variance, pixel are considered in safety line region
The detection method of number so that the accuracy rate of detection forge or true or paper money is improved.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.
Claims (10)
1. it is a kind of detect bank note safety line method, it is characterised in that including:
Obtain the image-region comprising safety line;
Calculate the pixel value sum of each row in described image region;
Image-region where the minimum continuous predetermined number row of the pixel value sum is defined as the safety line region;
Characteristic parameter based on safety line region pixel:At least one in average, variance and pixel number is right
Forge or true or paper money is detected.
2. the method for claim 1, it is characterised in that described to be detected to forge or true or paper money, including:
Calculate the pixel value average of the safety line exterior domain;
Pixel of the pixel value less than the pixel value average of the safety line exterior domain is extracted in the safety line region;
The average of the pixel that calculating is extracted;
If less than the pixel value average of the safety line exterior domain, output bank note is genuine note to the average of the pixel for extracting
Testing result;
If not less than the pixel value average of the safety line exterior domain, output bank note is counterfeit money to the average of the pixel for extracting
Testing result.
3. method as claimed in claim 2, it is characterised in that described to be detected to forge or true or paper money, including:
The variance of the pixel that calculating is extracted;
If the variance of the pixel for extracting is less than first threshold, output bank note is the testing result of genuine note;
If the variance of the pixel for extracting is not less than first threshold, output bank note is the testing result of counterfeit money.
4. the method for claim 1, it is characterised in that described to be detected to forge or true or paper money, including:
Count pixel number of the safety line region pixel value less than Second Threshold;
If the pixel number is within a preset range, output bank note is the testing result of genuine note;
If not within a preset range, output bank note is the testing result of counterfeit money to the pixel number.
5. the method for claim 1, it is characterised in that image-region of the acquisition comprising safety line is from the peace
Intercepted in infrared transmission figure where completely and obtained.
6. it is a kind of detect bank note safety line device, it is characterised in that including:
Acquiring unit, for obtaining the image-region comprising safety line;
First computing unit, the pixel value sum for calculating each row in described image region;
Positioning unit, for image-region where the minimum continuous predetermined number row of the pixel value sum to be defined as into the peace
All fronts region;
Detection unit, for the characteristic parameter based on safety line region pixel:In average, variance and pixel number
At least one, forge or true or paper money is detected.
7. device as claimed in claim 6, it is characterised in that the detection unit includes:
Second computing unit, the pixel value average for calculating the safety line exterior domain;
Extraction unit, it is equal less than the pixel value of the safety line exterior domain for extracting pixel value in the safety line region
The pixel of value;
3rd computing unit, the average for calculating the pixel for extracting;
If less than the pixel value average of the safety line exterior domain, output bank note is genuine note to the average of the pixel for extracting
Testing result;
If not less than the pixel value average of the safety line exterior domain, output bank note is counterfeit money to the average of the pixel for extracting
Testing result.
8. device as claimed in claim 7, it is characterised in that the detection unit includes:
4th computing unit, the variance for calculating the pixel for extracting;
If the variance of the pixel for extracting is less than first threshold, output bank note is the testing result of genuine note;
If the variance of the pixel for extracting is not less than first threshold, output bank note is the testing result of counterfeit money.
9. device as claimed in claim 6, it is characterised in that the detection unit includes:
5th computing unit, for counting pixel number of the safety line region pixel value less than Second Threshold;
If the pixel number is within a preset range, output bank note is the testing result of genuine note;
If not within a preset range, output bank note is the testing result of counterfeit money to the pixel number.
10. device as claimed in claim 6, it is characterised in that image-region of the acquisition comprising safety line is from described
Intercepted in infrared transmission figure where safety line and obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611141187.2A CN106710062B (en) | 2016-12-12 | 2016-12-12 | Detect the method and device of bank note safety line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611141187.2A CN106710062B (en) | 2016-12-12 | 2016-12-12 | Detect the method and device of bank note safety line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106710062A true CN106710062A (en) | 2017-05-24 |
CN106710062B CN106710062B (en) | 2019-04-26 |
Family
ID=58936880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611141187.2A Expired - Fee Related CN106710062B (en) | 2016-12-12 | 2016-12-12 | Detect the method and device of bank note safety line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106710062B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107610318A (en) * | 2017-08-23 | 2018-01-19 | 宁波术有电子科技有限公司 | 2015 editions RMB, which are carried out, using the imaging of metal wire backlight discriminates method for distinguishing |
CN108091033A (en) * | 2017-12-26 | 2018-05-29 | 深圳怡化电脑股份有限公司 | A kind of recognition methods of bank note, device, terminal device and storage medium |
CN108198322A (en) * | 2018-02-07 | 2018-06-22 | 深圳怡化电脑股份有限公司 | A kind of magnetic stripe localization method and device |
CN110956737A (en) * | 2020-01-07 | 2020-04-03 | 武汉卓目科技有限公司 | Safety line identification method and device |
CN111627145A (en) * | 2020-05-19 | 2020-09-04 | 武汉卓目科技有限公司 | Method and device for identifying fine hollow image-text of image |
CN111915792A (en) * | 2020-05-19 | 2020-11-10 | 武汉卓目科技有限公司 | Method and device for identifying zebra crossing image-text |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2230647A1 (en) * | 2006-09-29 | 2010-09-22 | Aruze Corp. | Sheet identifying device |
CN104778778A (en) * | 2015-03-23 | 2015-07-15 | 深圳怡化电脑股份有限公司 | Money checking method and system |
EP2899698A1 (en) * | 2014-01-27 | 2015-07-29 | Glory Ltd. | Banknote processing apparatus and banknote processing method |
CN105303677A (en) * | 2015-10-29 | 2016-02-03 | 深圳怡化电脑股份有限公司 | Method and apparatus for obtaining boundary of banknote security thread |
CN106127930A (en) * | 2016-06-17 | 2016-11-16 | 深圳怡化电脑股份有限公司 | A kind of method and system detecting banknote security line integrity |
-
2016
- 2016-12-12 CN CN201611141187.2A patent/CN106710062B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2230647A1 (en) * | 2006-09-29 | 2010-09-22 | Aruze Corp. | Sheet identifying device |
EP2899698A1 (en) * | 2014-01-27 | 2015-07-29 | Glory Ltd. | Banknote processing apparatus and banknote processing method |
CN104778778A (en) * | 2015-03-23 | 2015-07-15 | 深圳怡化电脑股份有限公司 | Money checking method and system |
CN105303677A (en) * | 2015-10-29 | 2016-02-03 | 深圳怡化电脑股份有限公司 | Method and apparatus for obtaining boundary of banknote security thread |
CN106127930A (en) * | 2016-06-17 | 2016-11-16 | 深圳怡化电脑股份有限公司 | A kind of method and system detecting banknote security line integrity |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107610318A (en) * | 2017-08-23 | 2018-01-19 | 宁波术有电子科技有限公司 | 2015 editions RMB, which are carried out, using the imaging of metal wire backlight discriminates method for distinguishing |
CN107610318B (en) * | 2017-08-23 | 2019-12-06 | 成都术有科技有限公司 | Method for discriminating 2015 edition RMB by utilizing metal wire backlight imaging |
CN108091033A (en) * | 2017-12-26 | 2018-05-29 | 深圳怡化电脑股份有限公司 | A kind of recognition methods of bank note, device, terminal device and storage medium |
CN108198322A (en) * | 2018-02-07 | 2018-06-22 | 深圳怡化电脑股份有限公司 | A kind of magnetic stripe localization method and device |
CN108198322B (en) * | 2018-02-07 | 2020-03-27 | 深圳怡化电脑股份有限公司 | Magnetic stripe positioning method and device |
CN110956737A (en) * | 2020-01-07 | 2020-04-03 | 武汉卓目科技有限公司 | Safety line identification method and device |
CN110956737B (en) * | 2020-01-07 | 2021-10-12 | 武汉卓目科技有限公司 | Safety line identification method and device |
CN111627145A (en) * | 2020-05-19 | 2020-09-04 | 武汉卓目科技有限公司 | Method and device for identifying fine hollow image-text of image |
CN111915792A (en) * | 2020-05-19 | 2020-11-10 | 武汉卓目科技有限公司 | Method and device for identifying zebra crossing image-text |
CN111915792B (en) * | 2020-05-19 | 2022-06-07 | 武汉卓目科技有限公司 | Method and device for identifying zebra crossing image-text |
CN111627145B (en) * | 2020-05-19 | 2022-06-21 | 武汉卓目科技有限公司 | Method and device for identifying fine hollow image-text of image |
Also Published As
Publication number | Publication date |
---|---|
CN106710062B (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106710062A (en) | Banknote security line detecting method and device | |
CN104851184B (en) | A kind of recognition methods of horizontally-spliced bank note and device | |
CN107085883B (en) | A kind of method and apparatus of paper money recognition | |
CN102324132B (en) | Bank-note detecting method by identifying ultraviolet-light image and system | |
CN104992496A (en) | Paper money face identification method and apparatus | |
CN104091388A (en) | Paper currency authentic identification method and device based on magnetic images | |
CN102005078A (en) | Method and device for recognizing paper currencies and tickets | |
CN105719386A (en) | Paper currency identification method and device based on optically-variable hollowed windowing security line | |
CN106355744B (en) | A kind of recognition methods of Indonesian Rupiah value of money and device | |
Sharan et al. | Detection of counterfeit Indian currency note using image processing | |
CN103886309A (en) | Method for identifying dollar denominations through facial recognition | |
CN106485828B (en) | A kind of Paper Currency Identification and device | |
CN105069899B (en) | The method and banknote tester of a kind of currency examination | |
CN106600812B (en) | Paper money identification method and device | |
CN104537364A (en) | Dollar bill denomination and edition identifying method based on texture analysis | |
CN106683261B (en) | A kind of false distinguishing method and apparatus of bank note | |
CN106780965B (en) | A kind of Paper Currency Identification and device | |
CN108806058A (en) | A kind of paper currency detecting method and device | |
CN108711213B (en) | Method and device for identifying black and white blocks of paper money zebra stripes | |
CN107527423B (en) | Paper money anti-counterfeiting identification method and paper money identification device | |
CN106447910A (en) | Paper money identifying method and apparatus | |
CN106447908B (en) | Paper money counterfeit distinguishing method and device | |
CN106296975B (en) | method and device for identifying face value of dollar paper money | |
CN107301718B (en) | A kind of image matching method and device | |
CN106447904A (en) | Paper money identifying method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190426 Termination date: 20211212 |