CN106504409B - A kind of detection method and device of bank note magnetic security line - Google Patents

A kind of detection method and device of bank note magnetic security line Download PDF

Info

Publication number
CN106504409B
CN106504409B CN201611021963.5A CN201611021963A CN106504409B CN 106504409 B CN106504409 B CN 106504409B CN 201611021963 A CN201611021963 A CN 201611021963A CN 106504409 B CN106504409 B CN 106504409B
Authority
CN
China
Prior art keywords
bank note
line
magnetic security
coordinate
information
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
CN201611021963.5A
Other languages
Chinese (zh)
Other versions
CN106504409A (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 CN201611021963.5A priority Critical patent/CN106504409B/en
Publication of CN106504409A publication Critical patent/CN106504409A/en
Application granted granted Critical
Publication of CN106504409B publication Critical patent/CN106504409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a kind of detection method and device of bank note magnetic security line, this method comprises: obtaining the infrared transmission image of bank note;The characteristic information in magnetic security line region in the infrared transmission image is extracted, the characteristic information includes the row characteristic value and column characteristic value in magnetic security line region;The coordinate of the magnetic security line is determined according to the threshold value of the statistical value of the row characteristic value and column characteristic value and the magnetic security line of the bank note.Based on the above method and device, it can guarantee that identification is stablized with locating effect, and error is small, it is time-consuming short.

Description

A kind of detection method and device of bank note magnetic security line
Technical field
The present embodiments relate to the detection sides and dress of bill handling field more particularly to a kind of bank note magnetic security line It sets.
Background technique
Currently, in the process of circulation of bank note safety line either location feature or it is anti-fake in all play it is most heavy The role wanted, or even a safety line is increased at 100 yuan of the 2015 version people, further increase the anti-counterfeiting performance of RMB. It is the first step in RMB false distinguishing is also a most important step it can be said that the positioning and detection of safety line.
In the prior art, the magnetic line localization method of bank note mainly denoises magnetic image and carries out to its gradient image Binaryzation carries out floor projection to the gradient image after binaryzation and obtains the Primary Location of magnetic security line image, to preliminary fixed The safety line magnetic image further progress tilt angle that position is extracted is corrected to carry out safety line fine positioning extraction, is mentioned according to fine positioning The magnetic image of the safety line taken, upright projection go out its signature waveform, and the classification of magnetic security line is carried out to this feature.
The above method is equivalent to since magnetic line region carries out binaryzation and has traversed an image, time-consuming more.Identification is special It levies and identifies magnetic line feature in the characteristic area navigated to, calculating is not also succinct enough, while unavoidably using various in feature Threshold value relevant to gray value, thus there are sensors do not standardize in external conditions such as temperature caused by pixel value error Situation, exist refuse it is sincere.
Summary of the invention
The present invention provides detection side and the device of a kind of bank note magnetic security line, to realize the quick of bank note magnetic security line And it is accurately positioned.
To reach this purpose, the embodiment of the present invention uses following technical scheme: a kind of detection side of bank note magnetic security line Method, comprising: obtain the infrared transmission image of bank note;Extract the feature letter in magnetic security line region in the infrared transmission image Breath, the characteristic information includes the row characteristic value and column characteristic value in magnetic security line region;According to the row characteristic value and The threshold value of the magnetic security line of the statistical value of column characteristic value and the bank note determines the coordinate of the magnetic security line.
Further, the method, before the infrared transmission image for obtaining bank note further include: obtain the public letter of bank note Breath, the public information includes the picture of the version information of the bank note, the width information of the pixel of the bank note, the bank note The location information in magnetic security line region in the elevation information of vegetarian refreshments and the bank note.
Further, in the above method, the feature letter for extracting magnetic security line region in the infrared transmission image Breath includes: the position according to the width information of the pixel, the elevation information of the pixel and magnetic security line region Information determines statistical regions;Most dark pixel point range coordinate in every a line is chosen in the statistical regions, most dark pixel point range is obtained Coordinate set.
Further, described according to the statistical value of the row characteristic value and column characteristic value and the bank note in the above method Magnetic security line threshold value determine the magnetic security line coordinate include: according to the version information of the bank note determine described in The line width of magnetic security line;The column coordinate range of corresponding most dark pixel point is determined according to the line width of the magnetic security line;Root The most dark pixel point in the most dark pixel point range coordinate set, selected most dark pixel point are chosen according to the column coordinate range Number be more than or equal to the bank note the corresponding threshold value of version, then the column coordinate range be the magnetic security line seat Mark.
Further, in the above method, the corresponding threshold value is equal to the most dark picture of the most dark pixel point range coordinate set The number * 0.9 of vegetarian refreshments.
Correspondingly, a kind of detection device of bank note magnetic security line is also disclosed in the embodiment of the present invention, comprising: image obtains mould Block, for obtaining the infrared transmission image of bank note;Characteristic extracting module, for extracting magnetic security in the infrared transmission image The characteristic information in line region, the characteristic information include the row characteristic value and column characteristic value in magnetic security line region;Safety Line coordinates determining module, for according to the magnetic security line of the statistical value and bank note of the row characteristic value and column characteristic value Threshold value determines the coordinate of the magnetic security line.
Further, described device, further includes: public information obtains module, in the infrared transmission figure for obtaining bank note The public information of bank note is obtained as before, the public information includes the pixel of the version information of the bank note, the bank note Width information, the bank note pixel elevation information and the bank note in magnetic security line region location information.
Further, in above-mentioned apparatus, the characteristic extracting module includes: statistical regions determination unit, for according to institute The location information for stating the width information of pixel, the elevation information of the pixel and magnetic security line region determines Statistical Area Domain;Most dark pixel point selection unit obtains most dark for choosing in the statistical regions most dark pixel point range coordinate in every a line Pixel point range coordinate set.
Further, in above-mentioned apparatus, the safe line coordinates determining module includes: line width determination unit, is used for basis The version information of the bank note determines the line width of the magnetic security line;Range determination unit, for according to the magnetic security The line width of line determines the column coordinate range of corresponding most dark pixel point;Coordinate determination unit, for according to the column coordinate range The most dark pixel point in the most dark pixel point range coordinate set is chosen, the number of selected most dark pixel point is more than or equal to institute The corresponding threshold value of version of bank note is stated, then the column coordinate range is the coordinate of the magnetic security line.
Further, in above-mentioned apparatus, the corresponding threshold value is equal to the most dark picture of the most dark pixel point range coordinate set The number * 0.9 of vegetarian refreshments.
Technical solution provided by the embodiment of the present invention detects in positioning application in bank note magnetic security line, passes through basis Infrared transmission light magnetic safety line is black characteristic, using the infrared transmission figure of bank note, extracts wherein most dark pixel point feature It carries out compared with threshold value, so that it is determined that the coordinate of magnetic security line.Technical solution provided by reality of the present invention can guarantee to know Do not stablize with locating effect, and error is small, it is time-consuming short.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for bank note magnetic security line detecting method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of bank note magnetic security line detector provided by Embodiment 2 of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Attached drawing 1 is please referred to, is a kind of process of the detection method for bank note magnetic security line that the embodiment of the present invention one provides Schematic diagram, this method are suitable for positioning the scene of bank note magnetic security line, this method by bank note magnetic security line detection device It executes, which can be integrated in terminal inner by software and or hardware realization.This method specifically comprises the following steps:
S110, the infrared transmission image for obtaining bank note.
It should be noted that detection method is that magnetic security line is utilized the reason of identification using infrared transmission figure Be black characteristic under infrared transmission light, not by bank note towards or inclined influence, it is ensured that it is steady to identify and position effect It is fixed.
It optionally, can also include: the public information for obtaining bank note, institute before the infrared perspective image for obtaining bank note State the width information of the pixel of version information, the bank note that public information includes the bank note, the pixel of the bank note Elevation information and the bank note in magnetic security line region location information.
S120, the characteristic information for extracting magnetic security line region in the infrared perspective image, the characteristic information include The row characteristic value and column characteristic value in magnetic security line region.
Wherein, the characteristic information for extracting magnetic security line region in the infrared perspective image includes:
According to the position of the width information of the pixel, the elevation information of the pixel and magnetic security line region Information determines statistical regions;
Most dark pixel point range coordinate in every a line is chosen in the statistical regions, most dark pixel point range coordinate set is obtained.
Specifically, due to being identified by using infrared transmission figure, so the infrared transmission figure of gained bank note is easy There is the case where black surround, determines that the method that statistical regions are taken is to combine magnetic peace according to the width and height of pixel in this step The location information in all fronts region clips fringe region, that is, is easy to appear the region of black surround, and it is magnetic to avoid image black surround paper feeding coin Safety line detection and localization bring is accidentally surveyed.
It should be noted that most dark pixel point refers to the smallest pixel of brightness value, the only spot etc. on bank note, Not so this most dark pixel point determines the most dark pixel point set i.e. magnetic security for being located on magnetic security line, therefore obtaining Pixel collection in line.
Specifically, choosing in the statistical regions most dark pixel point range coordinate in every a line in this step, preferably may be used also Detection row in the statistical regions is chosen in sampling to be, but should be noted that detection row that this sampling is chosen must have can By property and representativeness, such as can be, in, lower identical appropriate detection row of respectively sampling.
It is S130, true according to the statistical value of the row characteristic value and column characteristic value and the threshold value of the magnetic security line of the bank note The coordinate of the fixed magnetic security line.
Wherein, the threshold according to the statistical value of the row characteristic value and column characteristic value and the magnetic security line of the bank note Value determines that the coordinate of the magnetic security line includes:
The line width of the magnetic security line is determined according to the version information of the bank note;
The column coordinate range of corresponding most dark pixel point is determined according to the line width of the magnetic security line;
The most dark pixel point in the most dark pixel point range coordinate set is chosen according to the column coordinate range, it is selected The number of most dark pixel point is more than or equal to the corresponding threshold value of version of the bank note, then the column coordinate range is the magnetic peace The coordinate of all fronts.
It should be noted that the safety line line width of the bank note of each version is discrepant, therefore carrying out bank note magnetic Property safety line detection and localization before obtain bank note public information in bank note version information can be according to specific line width feature as inspection The detection of survey condition completion magnetic security line.
Specifically, RMB: 1999 editions 6 pixels are wide, 2005 editions 10 pixels are wide, and 2015 editions have two safety lines, point Not Wei 6 pixels it is wide and 15 pixels are wide.The detection method expansibility of the present embodiment is strong, has for such as version such as 2015 editions The case where two safety lines, it is only necessary to carry out safety line twice and detect.
It should be noted that the corresponding threshold value is equal to of the most dark pixel point of the most dark pixel point range coordinate set Number * 0.9.This threshold value be it is relocatable, the reasons why given threshold be allow to have because spot on bank note and caused by most dark picture The most dark pixel point of wrong selection in vegetarian refreshments column coordinate set, that is, fall in the pixel in spot rather than on magnetic security line Point.Therefore, it is wrong can to exclude such external cause bring detection for given threshold.And various and gray scale is not used in the present embodiment Be worth relevant threshold value, thus also there is no sensor do not standardized in external conditions such as temperature caused by pixel value error feelings Condition.
For the scheme implementation process for showing the embodiment of the present invention being more clear, carried out below with a specific example detailed It introduces.Illustratively, table 1 is most dark pixel point range coordinate and number Statistics table during paper currency detection.
Bank note is 1999 editions, and safety line line width is that 6 pixels are wide, and 60 row of detection behavior of selection, most dark pixel point range is sat Marking number is 60, and collection is combined into 118-125.
Table 1: most dark pixel point range coordinate and number Statistics table during paper currency detection
Column coordinate 118 119 120 121 122 123 124 125
Number 11 10 8 9 11 9 1 1
According to line width condition, 6 pixels are wide, determine the column coordinate range of corresponding most dark pixel point, such as can be This 6 column coordinates of 118-123, most dark pixel point number summation is 11+10+8+9+11+9=58, threshold value in this column coordinate range It is greater than 54 for pixel number 60*0.9=54,58, therefore the wide column coordinate 118-123 of above-mentioned 6 line widths is the magnetic peace The coordinate of all fronts.
In conclusion the embodiment of the present invention one discloses a kind of bank note magnetic security line detecting method, pacify in bank note magnetism Completely in detection positioning application, by being black characteristic according to infrared transmission light magnetic safety line, the infrared of bank note is used Figure is penetrated, wherein most dark pixel point feature is extracted and carries out compared with threshold value, so that it is determined that the coordinate of magnetic security line.The present invention is real Technical solution provided by example is applied, can guarantee that identification is stablized with locating effect, and error is small, it is time-consuming short.
Embodiment two
Attached drawing 2 is please referred to, is that a kind of structure of bank note magnetic security line detector provided by Embodiment 2 of the present invention is shown It is intended to, which specifically includes following module:
Image collection module 210, for obtaining the infrared transmission image of bank note.
Characteristic extracting module 220, for extracting the characteristic information in magnetic security line region in the infrared transmission image, institute State the row characteristic value and column characteristic value that characteristic information includes magnetic security line region.
Safe line coordinates determining module 230, for the statistical value and the paper according to the row characteristic value and column characteristic value The threshold value of the magnetic security line of coin determines the coordinate of the magnetic security line.
Preferably, described device further include: public information obtain module, for obtain bank note infrared transmission image it It is preceding obtain bank note public information, the public information include the version information of the bank note, the bank note pixel width Spend information, the bank note pixel elevation information and the bank note in magnetic security line region location information.
Preferably, described device includes: statistical regions determination unit, for the width information according to the pixel, institute The location information of the elevation information and magnetic security line region of stating pixel determines statistical regions;Most dark pixel point is chosen single Member obtains most dark pixel point range coordinate set for choosing in the statistical regions most dark pixel point range coordinate in every a line.
Preferably, described device includes: line width determination unit, for determining the magnetic according to the version information of the bank note The line width of property safety line;Range determination unit, for determining corresponding most dark pixel point according to the line width of the magnetic security line Column coordinate range;Coordinate determination unit, for choosing the most dark pixel point range coordinate set according to the column coordinate range In most dark pixel point, the number of selected most dark pixel point is more than or equal to the corresponding threshold value of version of the bank note, then institute State the coordinate that column coordinate range is the magnetic security line.
The infrared transmission image that the present embodiment passes through acquisition bank note;Extract magnetic security line area in the infrared transmission image The characteristic information in domain, the characteristic information include the row characteristic value and column characteristic value in magnetic security line region;According to described The threshold value of the magnetic security line of the statistical value of row characteristic value and column characteristic value and the bank note determines the seat of the magnetic security line Mark.Based on the above method and device, it can guarantee that identification is stablized with locating effect, and error is small, it is time-consuming short.
Method provided by any embodiment of the invention can be performed in the said goods, has the corresponding functional module of execution method And beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (6)

1. a kind of detection method of bank note magnetic security line characterized by comprising
The public information of bank note is obtained, the public information includes the pixel of the version information of the bank note, the bank note Width information, the bank note pixel elevation information and the bank note in magnetic security line region location information;
Obtain the infrared transmission image of bank note;
The characteristic information in magnetic security line region in the infrared transmission image is extracted, the characteristic information includes the magnetic peace The row characteristic value and column characteristic value in all fronts region;
The magnetic is determined according to the threshold value of the statistical value of the row characteristic value and column characteristic value and the magnetic security line of the bank note The coordinate of property safety line;
Wherein, the characteristic information for extracting magnetic security line region in the infrared transmission image includes:
According to the location information of the width information of the pixel, the elevation information of the pixel and magnetic security line region Determine statistical regions;
Most dark pixel point range coordinate in every a line is chosen in the statistical regions, most dark pixel point range coordinate set is obtained.
2. the method according to claim 1, wherein the statistics according to the row characteristic value and column characteristic value Value and the threshold value of the magnetic security line of the bank note determine that the coordinate of the magnetic security line includes:
The line width of the magnetic security line is determined according to the version information of the bank note;
The column coordinate range of corresponding most dark pixel point is determined according to the line width of the magnetic security line;
The most dark pixel point in the most dark pixel point range coordinate set is chosen according to the column coordinate range, selected is most dark The number of pixel is more than or equal to the corresponding threshold value of version of the bank note, then the column coordinate range is the magnetic security line Coordinate.
3. according to the method described in claim 2, it is characterized in that, the corresponding threshold value is equal to the most dark pixel point range coordinate The number * 0.9 of the most dark pixel point of set.
4. a kind of detection device of bank note magnetic security line characterized by comprising
Public information obtains module, and for obtaining the public information of bank note, the public information includes the version letter of the bank note It ceases, magnetic security in the elevation information and the bank note of the pixel of the width information of the pixel of the bank note, the bank note The location information in line region;
Image collection module, for obtaining the infrared transmission image of bank note;
Characteristic extracting module, for extracting the characteristic information in magnetic security line region in the infrared transmission image, the feature Information includes the row characteristic value and column characteristic value in magnetic security line region;
Safe line coordinates determining module, for according to the statistical value of the row characteristic value and column characteristic value and the magnetism of the bank note The threshold value of safety line determines the coordinate of the magnetic security line;
Wherein, the characteristic extracting module includes:
Statistical regions determination unit, for the elevation information and magnetic according to the width information of the pixel, the pixel The location information in property safety line region determines statistical regions;
Most dark pixel point selection unit obtains most for choosing in the statistical regions most dark pixel point range coordinate in every a line Dark pixel point range coordinate set.
5. device according to claim 4, which is characterized in that the safe line coordinates determining module includes:
Line width determination unit, for determining the line width of the magnetic security line according to the version information of the bank note;
Range determination unit, for determining the column coordinate model of corresponding most dark pixel point according to the line width of the magnetic security line It encloses;
Coordinate determination unit, for choosing the most dark picture in the most dark pixel point range coordinate set according to the column coordinate range Vegetarian refreshments, the number of selected most dark pixel point are more than or equal to the corresponding threshold value of version of the bank note, then the column coordinate model It encloses for the coordinate of the magnetic security line.
6. device according to claim 5, which is characterized in that the corresponding threshold value is equal to the most dark pixel point range coordinate The number * 0.9 of the most dark pixel point of set.
CN201611021963.5A 2016-11-16 2016-11-16 A kind of detection method and device of bank note magnetic security line Active CN106504409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611021963.5A CN106504409B (en) 2016-11-16 2016-11-16 A kind of detection method and device of bank note magnetic security line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611021963.5A CN106504409B (en) 2016-11-16 2016-11-16 A kind of detection method and device of bank note magnetic security line

Publications (2)

Publication Number Publication Date
CN106504409A CN106504409A (en) 2017-03-15
CN106504409B true CN106504409B (en) 2019-07-05

Family

ID=58324942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611021963.5A Active CN106504409B (en) 2016-11-16 2016-11-16 A kind of detection method and device of bank note magnetic security line

Country Status (1)

Country Link
CN (1) CN106504409B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934914B (en) * 2017-03-17 2020-03-27 深圳怡化电脑股份有限公司 Method and device for anti-counterfeiting detection of paper money
CN111915792B (en) * 2020-05-19 2022-06-07 武汉卓目科技有限公司 Method and device for identifying zebra crossing image-text

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298989B (en) * 2014-08-20 2017-08-04 深圳大学 False distinguishing method and its system based on zebra stripes Infrared Image Features
CN105427448B (en) * 2015-10-29 2018-07-17 深圳怡化电脑股份有限公司 A kind of method and device obtaining bank note safety line boundary

Also Published As

Publication number Publication date
CN106504409A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
EP3115772B1 (en) Vehicle inspection method and system
JP4970195B2 (en) Person tracking system, person tracking apparatus, and person tracking program
CN102077117A (en) Millimeter wave image pickup device
CN106127930B (en) A kind of method and system detecting banknote security line integrality
CN102789578B (en) Infrared remote sensing image change detection method based on multi-source target characteristic support
CN107085883B (en) A kind of method and apparatus of paper money recognition
CN104346858A (en) Paper currency face value identification method and device based on magnetic image
CN103268481A (en) Method for extracting text in complex background image
CN111079589B (en) Automatic height detection method based on depth camera shooting and height threshold value pixel calibration
CN105718931B (en) System and method for determining clutter in acquired images
CN106710062B (en) Detect the method and device of bank note safety line
CN106504409B (en) A kind of detection method and device of bank note magnetic security line
CN109102003A (en) A kind of small target detecting method and system based on Infrared Physics Fusion Features
JP2011002919A (en) Method and device for detecting object
Vinista et al. A novel modified sobel algorithm for better edge detection of various images
CN115797970B (en) Dense pedestrian target detection method and system based on YOLOv5 model
KR20140029069A (en) Method and apparatus for monitoring objects from video
CN106991448A (en) A kind of portrait compares processing method
CN103514460B (en) Video monitoring multi-view-angle vehicle detecting method and device
CN106780965B (en) A kind of Paper Currency Identification and device
CN110516524A (en) Vehicle number of axle recognition methods based on Mask R-CNN in a kind of traffic scene
US11048915B2 (en) Method and a device for detecting fraud by examination using two different focal lengths during automatic face recognition
WO2018214627A1 (en) Method and system for detecting authenticity of banknote
CN108140120A (en) Biological characteristic detection method and identification system
KR101560810B1 (en) Space controled method and apparatus for using template image

Legal Events

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