CN107481394B - 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 PDF

Info

Publication number
CN107481394B
CN107481394B CN201710534987.9A CN201710534987A CN107481394B CN 107481394 B CN107481394 B CN 107481394B CN 201710534987 A CN201710534987 A CN 201710534987A CN 107481394 B CN107481394 B CN 107481394B
Authority
CN
China
Prior art keywords
bank note
local subgraphs
subgraphs picture
picture
local
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
CN201710534987.9A
Other languages
Chinese (zh)
Other versions
CN107481394A (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 CN201710534987.9A priority Critical patent/CN107481394B/en
Publication of CN107481394A publication Critical patent/CN107481394A/en
Application granted granted Critical
Publication of CN107481394B publication Critical patent/CN107481394B/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/06Testing 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/12Visible light, infrared or ultraviolet radiation
    • 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
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation

Abstract

The present invention is suitable for paper money recognition technical field, provide a kind of recognition methods of bank note, identification device, terminal device and computer readable storage medium, the recognition methods includes: the UV image for obtaining bank note to be identified under ultraviolet light 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 the corresponding video in window of the fluorescence double triangle pattern, the video in window is subjected to capable projection and/or column projection, and the value obtained after the row projects and/or arrange projection is compared with preset baseline sample, whether unanimously determine that bank note to be identified is normal bank note or abnormal bank note according to comparison result, the recognition methods of bank note provided by the present invention, which reduces, influences accuracy identification Disturbing factor improves recognition efficiency, and can be improved the accuracy of paper money recognition.

Description

Recognition methods, identification device and the terminal device of bank note
Technical field
The invention belongs to paper money recognition technical field more particularly to a kind of recognition methods of bank note, identification device, terminals to set Standby and computer readable storage medium.
Background technique
Currently, the recognition methods usually taken is to carry out recognition detection to entire paper coin when identifying to bank note, And the anti-fake point of bank note generally can't carry out identification heavy workload to entire paper coin and influence identification speed throughout entire paper coin Degree, can also be since the identification area of entire paper coin is larger, disturbing factor is more and influences the accuracy of identification.
Summary of the invention
In view of this, the embodiment of the invention provides 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 and recognition speed of paper money recognition.
The first aspect of the embodiment of the present invention provides a kind of recognition methods of bank note, comprising:
Obtain UV image of the bank note to be identified under ultraviolet light irradiation.
Local subgraph is cut out from the UV image, wherein the Local Subgraphs picture be 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 The corresponding video in window of pattern.
The video in window is subjected to capable projection and/or column projection, and will be obtained after the row projects and/or arrange projection Value be compared with preset baseline sample.
If comparison result be it is consistent, determine the bank note to be identified be normal bank note.
If comparison result be it is inconsistent, determine 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, comprising:
UV image acquiring unit, for obtaining UV image of the bank note to be identified under ultraviolet light irradiation.
Local Subgraphs picture cuts unit, for from the UV image that the UV image acquiring unit obtains Cut out local subgraph, wherein the Local Subgraphs picture be include the area image of fluorescence double triangle pattern, and the area It does not include other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern in area image.
Position determination unit is determined for cutting the Local Subgraphs picture that unit is cut based on the Local Subgraphs picture 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 obtains the corresponding video in window of the fluorescence double triangle pattern;
Comparing unit, the video in window for obtaining the video in window acquiring unit carry out capable projection and/or Column projection, and the value obtained after row projects and/or arranges projection is compared with preset baseline sample.
Judging unit, for determining that the bank note to be identified is positive when the comparison result of the comparing unit is consistent Normal bank note, and when the comparison result of the comparing unit is inconsistent, determine 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, when the processor executes the computer program It realizes 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 storage 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 reduces the disturbing factor for influencing accuracy identification, improves recognition efficiency, and pass through acquisition office The exact position of fluorescence double triangle pattern in portion's subgraph determines fluorescence double three in a manner of row projection and/or column projection The value obtained after row projects and/or column project is compared by the value after the projection of angular image with preset baseline sample Determine that the bank note to be identified is normal bank note or abnormal bank note, due to carrying out capable projection and/or column projection to image and obtaining The calculating of projection value is relatively simple quick, and the accuracy being compared with preset baseline sample is also relatively high, therefore the present invention Disclosed recognition methods recognition speed is fast, and improves the accuracy of paper money recognition.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow chart of the recognition methods of bank note provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram 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.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly 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 also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
The embodiment of the present invention is applied to hundred yuans of identification for having 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, there are the patterns of two fluorescence triangles, referred to as fluorescence double triangle pattern, in the prior art simultaneously It is not detected for the fluorescence double triangle pattern to determine 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, UV image of the bank note to be identified under ultraviolet light irradiation is obtained.
Specifically, by bank note to be identified by a financial machine and tool with ultraviolet light irradiation function, which is obtained UV image of the bank note to be identified under ultraviolet light irradiation is taken, which can be cash inspecting machine, or have 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 front and back sides image of bank note can pass through the front and back sides of bank note Specific features are realized to determine, or by means used by other prior arts.
S102, local subgraph is cut out from the UV image, wherein the Local Subgraphs picture be include fluorescence The area image of double triangle pattern, and do not include other in addition to the fluorescence double triangle pattern in the area image Fluorescent characteristics pattern.
Specifically, cutting out corresponding geometry from the UV image according to preset reference area sample For trapezoidal Local Subgraphs picture.
In embodiments of the present invention, the preset reference area sample is to be obtained according to a certain 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, available one has centainly 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 other than 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 preset baseline sample is the reference data of normal bank note, is by certain The normal bank note of quantity is trained test and sampling processing and obtains, to by the characteristic information of bank note to be identified with it is preset The characteristic information of baseline sample is matched.
It should be noted that since the fluorescence double triangle pattern is equally visible under visible light, it is above-mentioned determining During reference area image, it can both pass through the fluorescence double triangle figure on the entire paper coin that shows in the case where ultraviolet light irradiates Case determines, the fluorescence double triangle pattern on entire paper coin that can also show under visible light illumination determines.
S103, it is based on the Local Subgraphs picture, determines 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, with the determination Local Subgraphs picture The precise position information of middle fluorescence double triangle pattern.Specifically, by Local Subgraphs picture described in P- quantile binaryzation, thus Guarantee binaryzation effect stability.Since the chiaroscuro effect of phosphor pattern and background on Local Subgraphs picture is big to the visual effect of people 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), based on the lowest point minimum value, based on the common Binarization methods such as bimodal average value and be not suitable for, but P- Quartile counting method according to prior probability come given threshold so that target (fluorescence double triangle area of the pattern) after binaryzation or back Scene element (non-fluorescence region) ratio is equal to prior probability, can be simple and efficient by this method glimmering in foregone conclusion portion subgraph really The precise position information of light double triangle pattern, and there is preferable effect.It further, can when determining prior probability It is stretched using histogram or histogram equalization carries out enhancing processing to image, thus preferably general using empirically determined priori Rate.
Optionally, S103 the following steps are included:
A1, binary conversion treatment is carried out to the Local Subgraphs picture according to preset percentage threshold, obtains binaryzation part Subgraph.
It should be noted that the two-value in the binaryzation Local Subgraphs picture respectively corresponds the fluorescence of the Local Subgraphs picture Double triangle area of the pattern and non-fluorescence region.
Specifically, the preset 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 use histogram stretching or histogram equalization carry out enhancing processing to image, thus more preferably Utilization experience to determine prior probability, and the preset percentage threshold is set according to prior probability.
A2, it is based on the binaryzation Local Subgraphs picture, determines that the fluorescence double triangle pattern exists by slip window sampling Position in the Local Subgraphs picture.
It is arranged specifically, finding most bright (or most dark) n row and m using slip window sampling, wherein n, m are whole greater 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 variation for sliding the pixel accumulated value that preset benchmark window obtains in window by column, the pixel in the benchmark window When accumulated value is maximum (or minimum), the position for determining benchmark window is the fluorescence double triangle pattern in part Position in image.
It should be noted that the size of the preset benchmark window is according to fluorescence double triangle in preset baseline sample The accurate window size of pattern determines, when fluorescence double triangle pattern region corresponding pixel value is 255, non-fluorescence area When the pixel value in domain is 0, if the pixel accumulated value in preset benchmark window is maximum, it is determined that the position of preset benchmark window Set the position as fluorescence double triangle pattern in Local Subgraphs picture;When the corresponding picture in fluorescence double triangle pattern region Element value is 0, when the pixel value in non-fluorescence region is 255, if the pixel accumulated value in preset benchmark window 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, since the connected domain of fluorescence double triangle pattern usually has certain size, by removing binaryzation It is less than the connected domain of preset threshold in Local Subgraphs picture, can be avoided certain influence of noise, therefore, for above-mentioned binaryzation office Portion's subgraph removes the connected domain less than preset threshold in the binaryzation Local Subgraphs picture, obtains 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 can be improved the fluorescence double triangle pattern of acquisition in the Local Subgraphs as in The accuracy of location information.
It is double to obtain the fluorescence by S104, the position according to the fluorescence double triangle pattern in the Local Subgraphs picture The corresponding video in window of 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 a determining bivector, have pixel value and line direction value and column direction value.
S105, the video in window is carried out to capable projection and/or column projection, and will projects and/or arrange projection through the row The value obtained afterwards is compared with preset baseline sample.
Specifically, the video in window is carried out capable 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 row, then obtain i one-dimensional vector;Correspondingly, the video in window is carried out column projection, obtain The pixel and value of each column and the one-dimensional vector of column direction value, for example, it is assumed that shared j column, then obtain j one-dimensional vector;It will be through Whether the value obtained after the row projection and/or column projection is compared with preset baseline sample, consistent according to comparison result, Determine that the bank note to be identified is that mahalanobis distance or Euclidean distance can be used when specifically comparing in normal bank note or abnormal bank note It is compared.
Optionally, if the video in window shares i row and j column, wherein i, j are the integer greater than 0, and row projection is obtained I one-dimensional vector and the obtained j one-dimensional vector group of column projection be combined into (i+j) a one-dimensional vector, the i one-dimensional vector table Show that the pixel and value and line direction value of every a line, the j one-dimensional vector indicate the pixel and value and column direction value of each column, point (i+j) a one-dimensional vector by described in is not compared with the reference vector of preset baseline sample.
If comparison result be it is consistent, determine the bank note to be identified be normal bank note;If comparison result be it is inconsistent, Determine the bank note to be identified for abnormal bank note.
Specifically, comparison result is consistent if comparison result is within the scope of default;If comparison result is not default Within the scope of, then comparison result is inconsistent;The preset range can be according to the reference vector of preset baseline sample Maximum value and minimum value obtain.
Optionally, since 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 the one-dimensional vector of shape, 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 row, the m row pixel and value for respectively obtaining row projection It is compared with the reference row pixel and value of preset baseline sample, the m is the integer greater than 0.
If comparison result be it is consistent, determine the bank note to be identified be normal bank note;If comparison result be it is inconsistent, Determine the bank note to be identified for abnormal bank note.
Specifically, comparison result is consistent if comparison result is within the scope of default;If comparison result is not default Within the scope of, then comparison result is inconsistent;The preset range can be according to the reference row picture of preset baseline sample The maximum value and minimum value of element and value obtain.
If S106, comparison result be it is consistent, determine the bank note to be identified be normal bank note.
Specifically, the preset baseline sample can be a range, if after the row projects and/or arrange projection For the value arrived within the scope of the preset baseline sample, then comparison result is consistent, determines that the band identification bank note is positive Normal bank note.
It should be noted that being analyzed and being learnt by the data information to a certain number of normal bank note, can obtain Normal bank note the range of value that projects of the corresponding row/column of fluorescence double triangle pattern, made with projection value within the scope of this For preset baseline sample, the value obtained after the row projects and/or arrange projection is compared with preset baseline sample.
If S107, comparison result be it is inconsistent, determine the bank note to be identified for abnormal bank note.
Specifically, the preset baseline sample is a range, if obtained after the row projects and/or arrange projection Value is not within the scope of the preset baseline sample, then comparison result is inconsistent, determines that the band identification bank note is different Normal bank note.
It should be noted that being analyzed and being learnt by the data information to a certain number of normal bank note, can obtain Normal bank note the range of value that projects of the corresponding row/column of fluorescence double triangle pattern, made with projection value within the scope of this For preset baseline sample, the value obtained after the row projects and/or arrange projection is compared with preset baseline sample.
From the foregoing, it will be observed that the present invention reduces influence accuracy by cutting the Local Subgraphs picture of fluorescence double triangle pattern The disturbing factor of identification improves recognition efficiency, and the essence by obtaining 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 column projection, will project through row And/or the value obtained after column projection is compared with preset baseline sample and determines that the bank note to be identified is normal bank note or different Normal bank note, due to capable projection carried out to image and/or column project and obtain projection value calculating it is relatively simple quick, and it is preset The accuracy that baseline sample is compared is also relatively high, 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 serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 2 shows the structural schematic diagrams of the identification device of bank note provided in an embodiment of the present invention, for ease of description, only Part related to the embodiment of the present invention is shown, details are as follows:
The identification device 2 of the bank note includes: that UV image acquiring unit 21, Local Subgraphs picture cut unit 22, position Set determination unit 23, video in window acquiring unit 24, comparing unit 25 and judging unit 26, in which:
UV image acquiring unit 21, for obtaining UV image of the bank note to be identified under ultraviolet light irradiation;
Local Subgraphs picture cuts unit 22, the ultraviolet line chart for obtaining from the UV image acquiring unit 21 Local subgraph is cut out as in, wherein the Local Subgraphs picture be include the area image of fluorescence double triangle pattern, and institute Stating does not include other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern in area image;
Position determination unit 23, for cutting the Local Subgraphs picture that unit 22 is cut 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, the fluorescence double triangle figure for being determined according to the position determination unit 23 Position of the case in the Local Subgraphs picture obtains the corresponding video in window of the fluorescence double triangle pattern;
Comparing unit 25, the video in window for obtaining the video in window acquiring unit 24 carry out capable projection And/or column projection, and the value obtained after row projects and/or arranges projection is compared with preset baseline sample;
Judging unit 26, for determining the bank note to be identified when the comparison result of the comparing unit 25 is consistent For normal bank note, and when the comparison result of the comparing unit 25 is inconsistent, determine that the bank note to be identified is exception Bank note.
Optionally, the identification device further include: binarization unit is used for according to preset 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 also used 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 further include: connected domain removal unit is obtained for removing the binarization unit The connected domain less than preset threshold in binaryzation Local Subgraphs picture obtains denoising binaryzation Local Subgraphs picture;
The position determination unit is also used to: denoising binaryzation part obtained based on the connected domain removal unit Image determines position of the fluorescence double triangle pattern in the Local Subgraphs picture by slip window sampling.
From the foregoing, it will be observed that the present invention reduces influence accuracy by cutting the Local Subgraphs picture of fluorescence double triangle pattern The disturbing factor of identification improves recognition efficiency, and the essence by obtaining 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 column projection, will project through row And/or the value obtained after column projection is compared with preset baseline sample and determines that the bank note to be identified is normal bank note or different Normal bank note, due to capable projection carried out to image and/or column project and obtain projection value calculating it is relatively simple quick, and it is preset The accuracy that baseline sample is compared is also relatively high, 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 are 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 executing the computer program 32 In step, such as S101 shown in FIG. 1 to S107.Alternatively, realization when the processor 30 executes the computer program 32 The function of each module/unit in above-mentioned each Installation practice, such as the function of module 21 to 26 shown in Fig. 2.
Illustratively, 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 executed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which 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 judging 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 light irradiation.
Local Subgraphs picture cuts unit, for from the UV image that the UV image acquiring unit obtains Cut out local subgraph, wherein the Local Subgraphs picture be include the area image of fluorescence double triangle pattern, and the area It does not include other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern in area image.
Position determination unit is determined for cutting the Local Subgraphs picture that unit is cut based on the Local Subgraphs picture 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 obtains the corresponding video in window of the fluorescence double triangle pattern.
Comparing unit, the video in window for obtaining the video in window acquiring unit carry out capable projection and/or Column projection, and the value obtained after row projects and/or arranges projection is compared with preset baseline sample.
Judging unit, for determining that the bank note to be identified is positive when the comparison result of the comparing unit is consistent Normal bank note, and when the comparison result of the comparing unit is inconsistent, determine that the bank note to be identified is abnormal bank note.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and 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 does not constitute the restriction to terminal device 3, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk or interior of terminal device 3 It deposits.The memory 31 is also possible to the External memory equipment of the terminal device 3, such as be equipped on 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 for storing 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 function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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, it can be with It realizes 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 logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on 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 certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain 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 referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (8)

1. a kind of recognition methods of bank note characterized by comprising
Obtain UV image of the bank note to be identified under ultraviolet light irradiation;
Reference area image is determined under ultraviolet light or radiation of visible light, and part is cut out from the corresponding UV image Subgraph, specifically: according to the reference area image, corresponding geometry is cut out from the UV image as ladder The Local Subgraphs picture of shape;Wherein, the Local Subgraphs picture be include the area image of fluorescence double triangle pattern, and the region It does not include other fluorescent characteristics patterns in addition to the fluorescence double triangle pattern in image;
Histogram stretching or histogram are utilized by Local Subgraphs picture described in P- quantile binaryzation based on the Local Subgraphs picture Figure equalization carries out enhancing processing to the Local Subgraphs picture, determines the fluorescence double triangle pattern in the Local Subgraphs picture In position, comprising: according to preset percentage threshold to the Local Subgraphs picture carry out binary conversion treatment, obtain binaryzation office Portion's subgraph;Based on the binaryzation Local Subgraphs picture, determine the fluorescence double triangle pattern in institute by slip window sampling The position in Local Subgraphs picture is stated, the preset percentage threshold is by the binaryzation Local Subgraphs to benchmark bank note as in The pixel ratio in fluorescence double triangle area of the pattern and non-fluorescence region determines;
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 subjected to capable projection and/or column projection, and the value that will be obtained after the row projects and/or arrange projection It is compared with preset baseline sample;
If comparison result be it is consistent, determine the bank note to be identified be normal bank note;
If comparison result be it is inconsistent, determine the bank note to be identified for abnormal bank note.
2. recognition methods as described in claim 1, which is characterized in that it is described to be based on binaryzation Local Subgraphs picture, pass through sliding Window technique determines position of the fluorescence double triangle pattern in the Local Subgraphs picture, comprising:
The connected domain less than preset threshold in the binaryzation Local Subgraphs picture is removed, denoising binaryzation Local Subgraphs are obtained 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.
3. recognition methods as claimed in claim 1 or 2, which is characterized in that it is described by the video in window carry out row projection and/ Or column projection, and the value obtained after the row projects and/or arrange projection is compared with preset baseline sample, comprising:
The i one-dimensional vector that row projection obtains and the j one-dimensional vector group that column projection obtains are combined into (i+j) a one-dimensional vector, The one-dimensional vector indicates the pixel and value of each row/column, and the i, j are the integer greater than 0;
(i+j) a one-dimensional vector by described in is compared with the reference vector of preset baseline sample respectively.
4. recognition methods as claimed in claim 1 or 2, which is characterized in that it is described by the video in window carry out row projection and/ Or column projection, and the value obtained after the row projects and/or arrange projection is compared with preset baseline sample, comprising:
M row pixel and value that row projection obtains are compared with the reference row pixel and value of preset baseline sample respectively, The m is the integer greater than 0.
5. a kind of identification device of bank note characterized by comprising
UV image acquiring unit, for obtaining UV image of the bank note to be identified under ultraviolet light irradiation;
Local Subgraphs picture cuts unit, for determining reference area image under ultraviolet light or radiation of visible light, from corresponding institute It states and cuts out local subgraph in the UV image of UV image acquiring unit acquisition, specifically: according to the base Quasi- area image, it is trapezoidal Local Subgraphs picture that corresponding geometry is cut out from the UV image;Wherein, described Local Subgraphs picture be include the area image of fluorescence double triangle pattern, and do not include except the fluorescence is double in the area image Other fluorescent characteristics patterns other than triangle pattern;
Position determination unit passes through P- points for cutting the Local Subgraphs picture that unit is cut based on the Local Subgraphs picture Local Subgraphs picture described in digit binaryzation is stretched using histogram or histogram equalization enhances the Local Subgraphs picture Processing, determines position of the fluorescence double triangle pattern in the Local Subgraphs picture, comprising: binarization unit is used for root Binary conversion treatment is carried out to the Local Subgraphs picture according to preset percentage threshold, obtains binaryzation Local Subgraphs picture;Institute's rheme It sets determination unit to be also used to: based on the binaryzation Local Subgraphs picture, the fluorescence double triangle being determined by slip window sampling Position of the pattern in the Local Subgraphs picture, the preset percentage threshold pass through binaryzation part to benchmark bank note The pixel ratio of fluorescence double triangle area of the pattern and non-fluorescence region in image determines;
Video in window acquiring unit, the fluorescence double triangle pattern for being determined according to the position determination unit is described Position in Local Subgraphs picture obtains the corresponding video in window of the fluorescence double triangle pattern;
Comparing unit, the video in window for obtaining the video in window acquiring unit carries out capable projection and/or column are thrown Shadow, and the value obtained after row projects and/or column project is compared with preset baseline sample;
Judging unit, for determining that the bank note to be identified is regular paper when the comparison result of the comparing unit is consistent Coin, and when the comparison result of the comparing unit is inconsistent, determine that the bank note to be identified is abnormal bank note.
6. identification device as claimed in claim 5, which is characterized in that the identification device further include:
Connected domain removal unit is less than default threshold for removing in the binaryzation Local Subgraphs picture that the binarization unit obtains The connected domain of value obtains denoising binaryzation Local Subgraphs picture;
The position determination unit is also used to:
Based on the denoising binaryzation Local Subgraphs picture that the connected domain removal unit obtains, by described in slip window sampling determination Position of the fluorescence double triangle pattern in the Local Subgraphs picture.
7. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one the method.
8. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
CN201710534987.9A 2017-07-03 2017-07-03 Recognition methods, identification device and the terminal device of bank note Active CN107481394B (en)

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 CN107481394A (en) 2017-12-15
CN107481394B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171866B (en) * 2018-01-09 2020-07-21 深圳怡化电脑股份有限公司 Method and device for acquiring paper money pattern data, ATM and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107481394A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
WO2018103456A1 (en) Method and apparatus for grouping communities on the basis of feature matching network, and electronic device
SA518400454B1 (en) Banknote Management Method and System Thereof
CN107316373B (en) A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing
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
CN107369240B (en) Paper money counterfeit discrimination method and device, computer and storage medium
US9202146B2 (en) Duplicate check image resolution
CN108091033B (en) Paper money identification method and device, terminal equipment and storage medium
CN109116129A (en) Endpoint detection methods, detection device, system and storage medium
CN107331026A (en) A kind of Paper Currency Identification and device
CN107705414B (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN107481394B (en) Recognition methods, identification device and the terminal device of bank note
CN110428027B (en) Identification and counterfeit detection method, device, equipment and medium based on LCD (liquid crystal display) anti-counterfeit label
CN108764225A (en) Identify the method, apparatus and electronic equipment of horizontally-spliced bank note
CN105512595B (en) Bar code modification method and device
CN107945186A (en) Method, apparatus, computer-readable recording medium and the terminal device of segmentation figure picture
CN116359201A (en) Medicine identification method, system, storage medium and electronic equipment
CN108492445A (en) The method and device of bank note classification
CN107578528B (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN113705625A (en) Method and device for identifying abnormal life guarantee application families and electronic equipment
CN108074323B (en) Paper money facing identification method and device thereof
CN108986295B (en) Black watermark recognition method and device and terminal equipment
CN108335403A (en) A kind of thickness detecting method of bank note, device, terminal device and storage medium
CN113239738A (en) Image blur detection method and device
CN111292463A (en) Paper money identification method, device, server and storage medium

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