CN107481394A - Recognition methods, identification device and the terminal device of bank note - Google Patents
Recognition methods, identification device and the terminal device of bank note Download PDFInfo
- Publication number
- CN107481394A CN107481394A CN201710534987.9A CN201710534987A CN107481394A CN 107481394 A CN107481394 A CN 107481394A CN 201710534987 A CN201710534987 A CN 201710534987A CN 107481394 A CN107481394 A CN 107481394A
- Authority
- CN
- China
- Prior art keywords
- bank note
- local subgraphs
- subgraphs picture
- local
- row
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000000052 comparative effect Effects 0.000 claims abstract description 30
- 230000002159 abnormal effect Effects 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 20
- 238000005070 sampling Methods 0.000 claims description 10
- 238000005520 cutting process Methods 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 7
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- OAICVXFJPJFONN-UHFFFAOYSA-N Phosphorus Chemical compound [P] OAICVXFJPJFONN-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002902 bimodal effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/06—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 using wave or particle radiation
- G07D7/12—Visible light, infrared or ultraviolet radiation
-
- 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
- G07D7/2016—Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)
Abstract
The present invention is applied to paper money recognition technical field, there is provided a kind of recognition methods of bank note, identification device, terminal device and computer-readable recording medium, the recognition methods include:Obtain UV image of the bank note to be identified under ultraviolet irradiation, local subgraph is cut out from the UV image, based on the Local Subgraphs picture, determine position of the fluorescence double triangle pattern in the Local Subgraphs picture, and obtain video in window corresponding to the fluorescence double triangle pattern, the video in window is entered into every trade projection and/or row projection, and by the value obtained after the row projects and/or arranges projection compared with default baseline sample, whether unanimously determine that bank note to be identified is normal bank note or abnormal bank note according to comparative result, the recognition methods of bank note provided by the present invention reduces the disturbing factor for influenceing accuracy identification, improve recognition efficiency, and the accuracy of paper money recognition can be improved.
Description
Technical field
The invention belongs to paper money recognition technical field, more particularly to a kind of recognition methods of bank note, identification device, terminal are set
Standby and computer-readable recording medium.
Background technology
At present, when bank note is identified, the recognition methods generally taken is that detection is identified to entire paper coin,
And the false proof point of bank note can't typically spread all over entire paper coin, workload is identified on entire paper coin greatly and influences identification speed
Degree, also it can influence the degree of accuracy of identification because the identification area of entire paper coin is larger, disturbing factor is more.
The content of the invention
In view of this, the embodiments of the invention provide a kind of recognition methods of bank note, identification device, terminal device and calculating
Machine readable storage medium storing program for executing, to improve the accuracy of paper money recognition and recognition speed.
The first aspect of the embodiment of the present invention provides a kind of recognition methods of bank note, including:
Obtain UV image of the bank note to be identified under ultraviolet irradiation.
Local subgraph is cut out from the UV image, wherein, the Local Subgraphs picture is to include fluorescence double three
The area image of angular pattern, and do not include other fluorescence in addition to the fluorescence double triangle pattern in the area image
Characteristic pattern.
Based on the Local Subgraphs picture, position of the fluorescence double triangle pattern in the Local Subgraphs picture is determined.
According to position of the fluorescence double triangle pattern in the Local Subgraphs picture, the fluorescence double triangle is obtained
Video in window corresponding to pattern.
The video in window is entered into every trade projection and/or row projection, and will be obtained after the row projects and/or arranges projection
Value compared with default baseline sample.
If comparative result is consistent, it is normal bank note to judge the bank note to be identified.
If comparative result is inconsistent, judge the bank note to be identified for abnormal bank note.
The second aspect of the embodiment of the present invention provides a kind of identification device of bank note, including:
UV image acquiring unit, for obtaining UV image of the bank note to be identified under ultraviolet irradiation.
Local Subgraphs picture cuts unit, in the UV image that is obtained from the UV image acquiring unit
Local subgraph is cut out, wherein, the Local Subgraphs picture is the area image for including fluorescence double triangle pattern, and the area
Other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern are not included in area image.
Position determination unit, for cutting the Local Subgraphs picture that unit cuts based on the Local Subgraphs picture, it is determined that
Position of the fluorescence double triangle pattern in the Local Subgraphs picture.
Video in window acquiring unit, the fluorescence double triangle pattern for being determined according to the position determination unit exist
Position in the Local Subgraphs picture, obtain video in window corresponding to the fluorescence double triangle pattern;
Comparing unit, the video in window for the video in window acquiring unit to be obtained enter every trade projection and/or
Row projection, and by the value obtained after row projects and/or arranges projection compared with default baseline sample.
Identifying unit, for when the comparative result of the comparing unit is consistent, judging the bank note to be identified for just
Normal bank note, and when the comparative result of the comparing unit is inconsistent, judge that the bank note to be identified is abnormal bank note.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, described in the computing device during computer program
Realize as described in any one the step of the recognition methods of bank note.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has computer program, and the identification side of the bank note as described in any one is realized when the computer program is executed by processor
The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The present invention is by cutting fluorescence double triangle
The Local Subgraphs picture of pattern, reduce the disturbing factor for influenceing accuracy identification, improve recognition efficiency, and pass through acquisition office
The exact position of fluorescence double triangle pattern in portion's subgraph, fluorescence double three is determined in a manner of row projection and/or row projection
Value after the projection of angular image, by the value obtained after row projects and/or row project compared with default baseline sample
It is normal bank note or abnormal bank note to judge the bank note to be identified, due to entering every trade projection and/or row projection to image and obtaining
The calculating of projection value is relatively simple quick, and the accuracy compared with default baseline sample is also higher, therefore the present invention
Disclosed recognition methods recognition speed is fast, and improves the accuracy of paper money recognition.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow chart of the recognition methods of bank note provided in an embodiment of the present invention;
Fig. 2 is the structural representation of the identification device of bank note provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
The embodiment of the present invention is applied to hundred yuans of identification for possessing fluorescence double triangle pattern false distinguishing feature, mesh
Before, near the top in hundred yuans of back side time digital (such as 2005 or 1999 etc.) is to the left, it is ultraviolet (such as
365nm) under wavelength illumination, the pattern of two fluorescence triangles, referred to as fluorescence double triangle pattern be present, in the prior art simultaneously
Do not detected for the fluorescence double triangle pattern to judge that RMB is the identification side of normal bank note or abnormal bank note
Method.
Fig. 1 shows the flow chart of the recognition methods of bank note provided in an embodiment of the present invention, and details are as follows:
S101, obtain UV image of the bank note to be identified under ultraviolet irradiation.
Specifically, bank note to be identified is obtained by a financial machine and tool with ultraviolet irradiation function, the financial machine and tool
UV image of the bank note to be identified under ultraviolet irradiation is taken, the financial machine and tool can be cash inspecting machine, or possess and test
The paper money counter or automatic depositing-withdrawing equipment of paper money function.
It should be noted that UV image described in the embodiment of the present invention is the verso images of bank note to be identified, i.e. band
There is the UV image of fluorescence double triangle pattern one side, the identification of the positive and negative image of bank note can pass through the positive and negative of bank note
Specific features determine, or by other prior arts used by means realize.
S102, local subgraph is cut out from the UV image, wherein, the Local Subgraphs picture is to include fluorescence
The area image of double triangle pattern, and do not include in the area image other in addition to the fluorescence double triangle pattern
Fluorescent characteristics pattern.
Specifically, according to default reference area sample, corresponding geometry is cut out from the UV image
For trapezoidal Local Subgraphs picture.
In embodiments of the present invention, the default reference area sample is to be obtained according to a number of normal bank note
The reference data of the fluorescence double triangle area of the pattern of normal bank note, according to the reference data, can obtain one has necessarily
The reference area image of geometry, the reference area image include whole fluorescence double triangle patterns, and do not include removing
Other fluorescent characteristics patterns beyond the fluorescence double triangle pattern, according to the reference area sample, from bank note to be identified
Local subgraph is cut out in UV image.
In embodiments of the present invention, the default baseline sample is the reference data of normal bank note, is by certain
The normal bank note of quantity be trained test and sampling processing and obtain, to by the characteristic information of bank note to be identified with it is default
The characteristic information of baseline sample is matched.
It should be noted that because the fluorescence double triangle pattern is equally visible under visible light, it is determined that above-mentioned
During reference area image, it can both pass through the fluorescence double triangle figure on the entire paper coin that shows under being irradiated in ultraviolet
Case determines, the fluorescence double triangle pattern on entire paper coin that can also show under visible light illumination determines.
S103, based on the Local Subgraphs picture, determine the fluorescence double triangle pattern in the Local Subgraphs as in
Position.
In S103, by carrying out the processing of pixel scale to the Local Subgraphs picture, to determine the Local Subgraphs picture
The precise position information of middle fluorescence double triangle pattern.Specifically, by Local Subgraphs picture described in P- quantile binaryzations, so that
Ensure binaryzation effect stability.Because the visual effect that the phosphor pattern on Local Subgraphs picture and the chiaroscuro effect of background give people is big
Cause is constant (can be seen that by the histogram of Local Subgraphs picture), therefore, in embodiments of the present invention, according to maximum kind
Between variance method (OTSU), the Binarization methods commonly used based on the lowest point minimum value, based on bimodal average value etc. and do not apply to, but P-
Quantile method is according to prior probability come given threshold so that target (fluorescence double triangle area of the pattern) or the back of the body after binaryzation
Scene element (non-fluorescence region) ratio is equal to prior probability, simply can efficiently be determined by this method glimmering in Local Subgraphs picture
The precise position information of light double triangle pattern, and there is preferable effect.Further, can it is determined that during prior probability
Enhancing processing is carried out to image using histogram stretching or histogram equalization, so as to preferably general using empirically determined priori
Rate.
Optionally, S103 comprises the following steps:
A1, according to default percentage threshold to the Local Subgraphs picture carry out binary conversion treatment, obtain binaryzation part
Subgraph.
It should be noted that the two-value in the binaryzation Local Subgraphs picture corresponds to the fluorescence of the Local Subgraphs picture respectively
Double triangle area of the pattern and non-fluorescence region.
Specifically, the default percentage threshold can be by glimmering in the binaryzation Local Subgraphs picture to benchmark bank note
The pixel ratio in light double triangle area of the pattern and non-fluorescence region determines, can also pass through the Local Subgraphs to benchmark bank note
The histogram of picture determines.
Further, it can be stretched using histogram or histogram equalization carries out enhancing processing to image, so as to more preferable
Determine prior probability using experience, and the default percentage threshold is set according to prior probability.
A2, based on the binaryzation Local Subgraphs picture, determine that the fluorescence double triangle pattern exists by slip window sampling
Position in the Local Subgraphs picture.
Specifically, most bright (or most dark) n rows and m row are found using slip window sampling, wherein, n, m are whole more than 0
Number, so that it is determined that the exact position of fluorescence double triangle pattern, specifically, on the binaryzation Local Subgraphs picture, by by
Row and the change for sliding the pixel accumulated value in default benchmark window acquisition window by column, when the intraoral pixel of the datum windows
When accumulated value is maximum (or minimum), the position for determining benchmark window is that the fluorescence double triangle pattern is sub in the part
Position in image.
It should be noted that the size of the default benchmark window is according to fluorescence double triangle in default baseline sample
The accurate window size of pattern determines, when pixel value corresponding to fluorescence double triangle pattern region is 255, non-fluorescence area
When the pixel value in domain is 0, if the intraoral pixel accumulated value of default datum windows is maximum, it is determined that the position of default benchmark window
Put the position in Local Subgraphs picture as fluorescence double triangle pattern;When picture corresponding to fluorescence double triangle pattern region
Element value is 0, when the pixel value in non-fluorescence region is 255, if the intraoral pixel accumulated value of default datum windows is minimum, it is determined that
The position of benchmark window is position of the fluorescence double triangle pattern in the Local Subgraphs picture.
Optionally, because the connected domain of fluorescence double triangle pattern generally has certain size, by removing binaryzation
It is less than the connected domain of predetermined threshold value in Local Subgraphs picture, certain influence of noise can be avoided, therefore, for above-mentioned binaryzation office
Portion's subgraph, the connected domain less than predetermined threshold value in the binaryzation Local Subgraphs picture is removed, obtain denoising binaryzation office
Portion's subgraph;Based on the denoising binaryzation Local Subgraphs picture, the fluorescence double triangle figure is determined by slip window sampling
Position of the case in the Local Subgraphs picture, it is possible to increase the fluorescence double triangle pattern of acquisition is in the Local Subgraphs as in
The accuracy of positional information.
S104, the position according to the fluorescence double triangle pattern in the Local Subgraphs picture, it is double to obtain the fluorescence
Video in window corresponding to triangle pattern.
Specifically, the video in window contains the information of the pixel of fluorescence double triangle pattern, in the video in window
Each pixel be one determination bivector, possess pixel value and line direction value and column direction value.
S105, the video in window is entered to every trade projection and/or row projection, and will project and/or arrange through the row and project
The value obtained afterwards is compared with default baseline sample.
Specifically, the video in window is entered into every trade projection, obtain every a line pixel and value and line direction value it is one-dimensional
Vector, for example, it is assumed that shared i rows, then obtain i one-dimensional vector;Accordingly, the video in window is entered into ranks projection, obtained
The pixel and value of each row and the one-dimensional vector of column direction value, for example, it is assumed that shared j row, then obtain j one-dimensional vector;Will be through
Whether the value obtained after the row projection and/or row projection is consistent according to comparative result compared with default baseline sample,
Judge that the bank note to be identified is normal bank note or abnormal bank note, specifically relatively when, mahalanobis distance or Euclidean distance can be used
It is compared.
Optionally, if the video in window shares i rows and j row, wherein, i, j are the integer more than 0, and row projection is obtained
I one-dimensional vector be combined as (i+j) individual one-dimensional vector, the i one-dimensional vector table with the obtained j one-dimensional vector of row projection
Show the pixel and value and line direction value of every a line, the j one-dimensional vector represents the pixel and value and column direction value of each row, point
Not will described in (i+j) individual one-dimensional vector compared with the reference vector of default baseline sample.
If comparative result is consistent, it is normal bank note to judge the bank note to be identified;If comparative result is inconsistent,
Judge the bank note to be identified for abnormal bank note.
Specifically, if comparative result, within the scope of default, comparative result is consistent;If comparative result is not default
Within the scope of, then comparative result is inconsistent;The default scope can be according to the reference vector of default baseline sample
Maximum and minimum be worth to.
Optionally, because one of fluorescence triangle pattern of fluorescence double triangle pattern is rendered as the horizontal stripe of rule
To also certain fluctuation pattern characteristic be presented in shape, the one-dimensional vector of its row projection, can be only by by the row of the video in window
The value of projection is compared, for example, it is assumed that the video in window shares m rows, the m row pixel and value for respectively obtaining row projection
Compared with the reference row pixel and value of default baseline sample, the m is the integer more than 0.
If comparative result is consistent, it is normal bank note to judge the bank note to be identified;If comparative result is inconsistent,
Judge the bank note to be identified for abnormal bank note.
Specifically, if comparative result, within the scope of default, comparative result is consistent;If comparative result is not default
Within the scope of, then comparative result is inconsistent;The default scope can be according to the reference row picture of default baseline sample
The maximum and minimum of element and value are worth to.
If S106, comparative result are consistent, it is normal bank note to judge the bank note to be identified.
Specifically, the default baseline sample can be a scope, if after the row projects and/or arranges projection
The value arrived is within the scope of the default baseline sample, then comparative result is consistent, judges the band identification bank note for just
Normal bank note.
It should be noted that by the way that the data message of a number of normal bank note is analyzed and learnt, can obtain
Row/column corresponding to obtaining the fluorescence double triangle pattern of normal bank note projects the scope of obtained value, is made with projection value in the range of this
For default baseline sample, by the value obtained after the row projects and/or arranges projection compared with default baseline sample.
If S107, comparative result are inconsistent, judge the bank note to be identified for abnormal bank note.
Specifically, the default baseline sample is a scope, if obtained after the row projects and/or arranges projection
Value is not within the scope of the default baseline sample, then comparative result is inconsistent, judges that the band identification bank note is different
Normal bank note.
It should be noted that by the way that the data message of a number of normal bank note is analyzed and learnt, can obtain
Row/column corresponding to obtaining the fluorescence double triangle pattern of normal bank note projects the scope of obtained value, is made with projection value in the range of this
For default baseline sample, by the value obtained after the row projects and/or arranges projection compared with default baseline sample.
From the foregoing, it will be observed that the Local Subgraphs picture of the invention by cutting fluorescence double triangle pattern, reduces influence accuracy
The disturbing factor of identification, recognition efficiency is improved, and by obtaining the essence of the fluorescence double triangle pattern in Local Subgraphs picture
True position, the value after determining the projection of fluorescence double triangle image in a manner of row projection and/or row projection, will be projected through row
And/or the value obtained after row projection judges that the bank note to be identified is normal bank note or different compared with default baseline sample
Normal bank note, due to enter every trade projection to image and/or row project and obtain projection value calculating it is relatively simple quick, it is and default
The accuracy that baseline sample is compared is also higher, therefore recognition methods recognition speed disclosed by the invention is fast, and improves
The accuracy of paper money recognition.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Fig. 2 shows the structural representation of the identification device of bank note provided in an embodiment of the present invention, for convenience of description, only
The part related to the embodiment of the present invention is shown, details are as follows:
The identification device 2 of the bank note includes:UV image acquiring unit 21, Local Subgraphs picture cut unit 22, position
Determining unit 23, video in window acquiring unit 24, comparing unit 25 and identifying unit 26 are put, wherein:
UV image acquiring unit 21, for obtaining UV image of the bank note to be identified under ultraviolet irradiation;
Local Subgraphs picture cuts unit 22, for the ultraviolet line chart obtained from the UV image acquiring unit 21
Local subgraph is cut out as in, wherein, the Local Subgraphs picture is the area image for including fluorescence double triangle pattern, and institute
State the other fluorescent characteristics patterns not included in area image in addition to the fluorescence double triangle pattern;
Position determination unit 23, for cutting the Local Subgraphs picture that unit 22 cuts based on the Local Subgraphs picture,
Determine position of the fluorescence double triangle pattern in the Local Subgraphs picture;
Video in window acquiring unit 24, for the fluorescence double triangle figure determined according to the position determination unit 23
Position of the case in the Local Subgraphs picture, obtains video in window corresponding to the fluorescence double triangle pattern;
Comparing unit 25, the video in window for the video in window acquiring unit 24 to be obtained enter every trade projection
And/or row projection, and by the value obtained after row projects and/or arranges projection compared with default baseline sample;
Identifying unit 26, for when the comparative result of the comparing unit 25 is consistent, judging the bank note to be identified
For normal bank note, and when the comparing unit 25 comparative result for it is inconsistent when, judge that the bank note to be identified is exception
Bank note.
Optionally, the identification device also includes:Binarization unit, for according to default percentage threshold to the office
Portion's subgraph cuts the Local Subgraphs picture that unit is cut and carries out binary conversion treatment, obtains binaryzation Local Subgraphs picture;
The position determination unit is additionally operable to:The binaryzation Local Subgraphs picture obtained based on the binarization unit, is passed through
Slip window sampling determines position of the fluorescence double triangle pattern in the Local Subgraphs picture.
Optionally, the identification device also includes:Connected domain removal unit, obtain for removing the binarization unit
The connected domain less than predetermined threshold value in binaryzation Local Subgraphs picture, obtain denoising binaryzation Local Subgraphs picture;
The position determination unit is additionally operable to:The local son of denoising binaryzation obtained based on the connected domain removal unit
Image, position of the fluorescence double triangle pattern in the Local Subgraphs picture is determined by slip window sampling.
From the foregoing, it will be observed that the Local Subgraphs picture of the invention by cutting fluorescence double triangle pattern, reduces influence accuracy
The disturbing factor of identification, recognition efficiency is improved, and by obtaining the essence of the fluorescence double triangle pattern in Local Subgraphs picture
True position, the value after determining the projection of fluorescence double triangle image in a manner of row projection and/or row projection, will be projected through row
And/or the value obtained after row projection judges that the bank note to be identified is normal bank note or different compared with default baseline sample
Normal bank note, due to enter every trade projection to image and/or row project and obtain projection value calculating it is relatively simple quick, it is and default
The accuracy that baseline sample is compared is also higher, therefore recognition methods recognition speed disclosed by the invention is fast, and improves
The accuracy of paper money recognition.
Fig. 3 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 3, the terminal of the embodiment is set
Standby 3 include:Processor 30, memory 31 and it is stored in the meter that can be run in the memory 31 and on the processor 30
Calculation machine program 32.The processor 30 realizes the recognition methods embodiment of above-mentioned each bank note when performing the computer program 32
In step, such as the S101 to S107 shown in Fig. 1.Or the processor 30 is realized when performing the computer program 32
The function of each module/unit in above-mentioned each device embodiment, such as the function of module 21 to 26 shown in Fig. 2.
Exemplary, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are performed by the processor 30, to complete the present invention.Described one
Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for
Implementation procedure of the computer program 32 in the terminal device 3 is described.For example, the computer program 32 can be divided
It is cut into UV image acquiring unit, Local Subgraphs picture cuts unit, position determination unit, video in window acquiring unit, compares
Unit and identifying unit, each unit concrete function are as follows:
UV image acquiring unit, for obtaining UV image of the bank note to be identified under ultraviolet irradiation.
Local Subgraphs picture cuts unit, in the UV image that is obtained from the UV image acquiring unit
Local subgraph is cut out, wherein, the Local Subgraphs picture is the area image for including fluorescence double triangle pattern, and the area
Other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern are not included in area image.
Position determination unit, for cutting the Local Subgraphs picture that unit cuts based on the Local Subgraphs picture, it is determined that
Position of the fluorescence double triangle pattern in the Local Subgraphs picture.
Video in window acquiring unit, the fluorescence double triangle pattern for being determined according to the position determination unit exist
Position in the Local Subgraphs picture, obtain video in window corresponding to the fluorescence double triangle pattern.
Comparing unit, the video in window for the video in window acquiring unit to be obtained enter every trade projection and/or
Row projection, and by the value obtained after row projects and/or arranges projection compared with default baseline sample.
Identifying unit, for when the comparative result of the comparing unit is consistent, judging the bank note to be identified for just
Normal bank note, and when the comparative result of the comparing unit is inconsistent, judge that the bank note to be identified is abnormal bank note.
The terminal device 3 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3
The only example of terminal device 3, the restriction to terminal device 3 is not formed, can included than illustrating more or less portions
Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 30 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk of terminal device 3 or interior
Deposit.The memory 31 can also be the External memory equipment of the terminal device 3, such as be equipped with the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 31 can also both include the storage inside list of the terminal device 3
Member also includes External memory equipment.The memory 31 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
- A kind of 1. recognition methods of bank note, it is characterised in that including:Obtain UV image of the bank note to be identified under ultraviolet irradiation;Local subgraph is cut out from the UV image, wherein, the Local Subgraphs picture is to include fluorescence double triangle The area image of pattern, and do not include other fluorescent characteristics in addition to the fluorescence double triangle pattern in the area image Pattern;Based on the Local Subgraphs picture, position of the fluorescence double triangle pattern in the Local Subgraphs picture is determined;According to position of the fluorescence double triangle pattern in the Local Subgraphs picture, the fluorescence double triangle pattern is obtained Corresponding video in window;The video in window is entered into every trade projection and/or row projection, and the value that will be obtained after the row projects and/or arranges projection Compared with default baseline sample;If comparative result is consistent, it is normal bank note to judge the bank note to be identified;If comparative result is inconsistent, judge the bank note to be identified for abnormal bank note.
- 2. recognition methods as claimed in claim 1, it is characterised in that it is described to be based on the Local Subgraphs picture, determine described glimmering Position of the light double triangle pattern in the Local Subgraphs picture, including:Binary conversion treatment is carried out to the Local Subgraphs picture according to default percentage threshold, obtains binaryzation Local Subgraphs picture;Based on the binaryzation Local Subgraphs picture, determine the fluorescence double triangle pattern in the part by slip window sampling Position in subgraph.
- 3. recognition methods as claimed in claim 2, it is characterised in that it is described to be based on binaryzation Local Subgraphs picture, pass through slip Window technique determines position of the fluorescence double triangle pattern in the Local Subgraphs picture, including:The connected domain less than predetermined threshold value in the binaryzation Local Subgraphs picture is removed, obtains denoising binaryzation Local Subgraphs Picture;Based on the denoising binaryzation Local Subgraphs picture, determine the fluorescence double triangle pattern in institute by slip window sampling State the position in Local Subgraphs picture.
- 4. the recognition methods as described in any one of claims 1 to 3, it is characterised in that described that the video in window is entered into every trade Projection and/or row projection, and the value obtained after the row projects and/or arranges projection is compared with default baseline sample Compared with, including:The j one-dimensional vector that the i one-dimensional vector that row projection obtains obtains with row projection is combined as (i+j) individual one-dimensional vector, The one-dimensional vector represents the pixel and value of each row/column, and the i, j are the integer more than 0;(i+j) individual one-dimensional vector is compared with the reference vector of default baseline sample described in inciting somebody to action respectively.
- 5. the recognition methods as described in any one of claims 1 to 3, it is characterised in that described that the video in window is entered into every trade Projection and/or row projection, and the value obtained after the row projects and/or arranges projection is compared with default baseline sample Compared with, including:Row is projected into m obtained row pixel and value compared with the reference row pixel and value of default baseline sample respectively, The m is the integer more than 0.
- A kind of 6. identification device of bank note, it is characterised in that including:UV image acquiring unit, for obtaining UV image of the bank note to be identified under ultraviolet irradiation;Local Subgraphs picture cuts unit, for being cut in the UV image that is obtained from the UV image acquiring unit Go out local subgraph, wherein, the Local Subgraphs picture is the area image for including fluorescence double triangle pattern, and the administrative division map Other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern are not included as in;Position determination unit, for cutting the Local Subgraphs picture that unit cuts based on the Local Subgraphs picture, it is determined that described Position of the fluorescence double triangle pattern in the Local Subgraphs picture;Video in window acquiring unit, for the fluorescence double triangle pattern that is determined according to the position determination unit described Position in Local Subgraphs picture, obtain video in window corresponding to the fluorescence double triangle pattern;Comparing unit, the video in window for the video in window acquiring unit to be obtained enters every trade projection and/or row are thrown Shadow, and by the value obtained after row projects and/or row project compared with default baseline sample;Identifying unit, for when the comparative result of the comparing unit is consistent, judging that the bank note to be identified is regular paper Coin, and when the comparative result of the comparing unit is inconsistent, judge that the bank note to be identified is abnormal bank note.
- 7. identification device as claimed in claim 6, it is characterised in that the identification device also includes:Binarization unit, the Local Subgraphs cut for cutting unit to the Local Subgraphs picture according to default percentage threshold As carrying out binary conversion treatment, binaryzation Local Subgraphs picture is obtained;The position determination unit is additionally operable to:The binaryzation Local Subgraphs picture obtained based on the binarization unit, the double triangles of the fluorescence are determined by slip window sampling Position of the shape pattern in the Local Subgraphs picture.
- 8. identification device as claimed in claim 7, it is characterised in that the identification device also includes:Connected domain removal unit, it is less than default threshold in the binaryzation Local Subgraphs picture obtained for removing the binarization unit The connected domain of value, obtain denoising binaryzation Local Subgraphs picture;The position determination unit is additionally operable to:The denoising binaryzation Local Subgraphs picture obtained based on the connected domain removal unit, determined by slip window sampling described in Position of the fluorescence double triangle pattern in the Local Subgraphs picture.
- 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one methods described.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710534987.9A CN107481394B (en) | 2017-07-03 | 2017-07-03 | Recognition methods, identification device and the terminal device of bank note |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710534987.9A CN107481394B (en) | 2017-07-03 | 2017-07-03 | Recognition methods, identification device and the terminal device of bank note |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107481394A true CN107481394A (en) | 2017-12-15 |
CN107481394B CN107481394B (en) | 2019-10-11 |
Family
ID=60595443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710534987.9A Active CN107481394B (en) | 2017-07-03 | 2017-07-03 | Recognition methods, identification device and the terminal device of bank note |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107481394B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171866A (en) * | 2018-01-09 | 2018-06-15 | 深圳怡化电脑股份有限公司 | Acquisition methods, device, ATM and the storage medium of banknote prints data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102542660A (en) * | 2011-12-05 | 2012-07-04 | 中钞实业有限公司 | Bill anti-counterfeiting identification method based on bill watermark distribution characteristics |
CN104036290A (en) * | 2014-06-11 | 2014-09-10 | 新达通科技股份有限公司 | Method and device for identifying face value of paper money |
CN105069899A (en) * | 2015-08-03 | 2015-11-18 | 深圳怡化电脑股份有限公司 | Currency detection method and currency detection device |
CN105957238A (en) * | 2016-05-20 | 2016-09-21 | 聚龙股份有限公司 | Banknote management method and system |
CN106469483A (en) * | 2016-09-08 | 2017-03-01 | 深圳怡化电脑股份有限公司 | A kind of method and device of paper money recognition |
EP3151204A1 (en) * | 2014-06-02 | 2017-04-05 | Vienex Corporation | Line light source and optical line sensor unit |
-
2017
- 2017-07-03 CN CN201710534987.9A patent/CN107481394B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102542660A (en) * | 2011-12-05 | 2012-07-04 | 中钞实业有限公司 | Bill anti-counterfeiting identification method based on bill watermark distribution characteristics |
EP3151204A1 (en) * | 2014-06-02 | 2017-04-05 | Vienex Corporation | Line light source and optical line sensor unit |
CN104036290A (en) * | 2014-06-11 | 2014-09-10 | 新达通科技股份有限公司 | Method and device for identifying face value of paper money |
CN105069899A (en) * | 2015-08-03 | 2015-11-18 | 深圳怡化电脑股份有限公司 | Currency detection method and currency detection device |
CN105957238A (en) * | 2016-05-20 | 2016-09-21 | 聚龙股份有限公司 | Banknote management method and system |
CN106469483A (en) * | 2016-09-08 | 2017-03-01 | 深圳怡化电脑股份有限公司 | A kind of method and device of paper money recognition |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171866A (en) * | 2018-01-09 | 2018-06-15 | 深圳怡化电脑股份有限公司 | Acquisition methods, device, ATM and the storage medium of banknote prints data |
CN108171866B (en) * | 2018-01-09 | 2020-07-21 | 深圳怡化电脑股份有限公司 | Method and device for acquiring paper money pattern data, ATM and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107481394B (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109285174B (en) | Chromosome segmentation and karyotype analysis based on crowdsourcing and deep learning | |
Türetken et al. | Reconstructing curvilinear networks using path classifiers and integer programming | |
CN107274543B (en) | A kind of recognition methods of bank note, device, terminal device and computer storage medium | |
CN107180479B (en) | Bill identification method, device, equipment and storage medium | |
CN107393118B (en) | A kind of recognition methods of bank note, device, terminal device and computer storage medium | |
CN107767541B (en) | A kind of recognition methods of bank note, device, terminal device and storage medium | |
CN112102402B (en) | Flash light spot position identification method and device, electronic equipment and storage medium | |
Li et al. | Automated discrimination of dicentric and monocentric chromosomes by machine learning‐based image processing | |
CN112966583A (en) | Image processing method, image processing device, computer equipment and storage medium | |
CN107316373B (en) | A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing | |
CN113792089B (en) | Illegal behavior detection method, device, equipment and medium based on artificial intelligence | |
CN109978004B (en) | Image recognition method and related equipment | |
CN107492187B (en) | A kind of recognition methods, device, terminal device and storage medium splicing paper money | |
CN107331026A (en) | A kind of Paper Currency Identification and device | |
CN108091033A (en) | A kind of recognition methods of bank note, device, terminal device and storage medium | |
CN108665603B (en) | Method and device for identifying currency type of paper money and electronic equipment | |
CN107705414B (en) | A kind of recognition methods of bank note, device, terminal device and storage medium | |
CN112966687B (en) | Image segmentation model training method and device and communication equipment | |
CN108764225B (en) | Method and device for identifying transversely spliced paper money and electronic equipment | |
CN107481394B (en) | Recognition methods, identification device and the terminal device of bank note | |
CN107945186A (en) | Method, apparatus, computer-readable recording medium and the terminal device of segmentation figure picture | |
CN113239738B (en) | Image blurring detection method and blurring detection device | |
CN113349792B (en) | Method, apparatus, device and medium for classifying multi-lead electrocardiosignal | |
CN108492445A (en) | The method and device of bank note classification | |
CN107680245A (en) | A kind of banknote image processing method, banknote image processing unit and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |