CN108765691A - Detect the method, apparatus and electronic equipment of deinking bank note - Google Patents

Detect the method, apparatus and electronic equipment of deinking bank note Download PDF

Info

Publication number
CN108765691A
CN108765691A CN201810305318.9A CN201810305318A CN108765691A CN 108765691 A CN108765691 A CN 108765691A CN 201810305318 A CN201810305318 A CN 201810305318A CN 108765691 A CN108765691 A CN 108765691A
Authority
CN
China
Prior art keywords
bank note
image block
deinking
detected
color
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.)
Pending
Application number
CN201810305318.9A
Other languages
Chinese (zh)
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 CN201810305318.9A priority Critical patent/CN108765691A/en
Publication of CN108765691A publication Critical patent/CN108765691A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)

Abstract

The present invention is suitable for paper money recognition technical field, provides a kind of method, apparatus, electronic equipment and the computer readable storage medium of detection deinking bank note, the method includes:Obtain the image of bank note to be detected;By the image segmentation of the bank note to be detected at the image block of preset quantity;Determine the color similarity between described image block and the corresponding templates of described image block;Based on the color similarity, judge whether the bank note to be detected belongs to deinking bank note by default grader;The present invention can realize the detection to deinking bank note.

Description

Detect the method, apparatus and electronic equipment of deinking bank note
Technical field
The invention belongs to paper money recognition technical fields more particularly to a kind of method, apparatus of detection deinking bank note, electronics to set Standby and computer readable storage medium.
Background technology
Deinking bank note refers to that the surface of bank note occurs partly or entirely fading, in the financial industry standard of many countries, If the void on bank note is more than certain amount, alternatively, the area of void is more than certain threshold value on bank note, which will be uncomfortable In circulating on the market.
However, due to deinking bank note and it is not belonging to counterfeit note, and it typically is provided with the corresponding anti-counterfeiting characteristic of genuine note, thus it is existing Some can not effectively identify deinking bank note based on the detection method that anti-counterfeiting characteristic identifies.Therefore be badly in need of a kind of detection method with Realize the detection to deinking bank note.
Invention content
In view of this, the present invention provides a kind of detection method, apparatus of deinking bank note, electronic equipments and computer-readable Storage medium, to realize the detection to deinking bank note.
The first aspect of the present invention provides a kind of method of detection deinking bank note, the method includes:
Obtain the image of bank note to be detected;
By the image segmentation of the bank note to be detected at the image block of preset quantity;
Determine the color similarity between described image block and the corresponding templates of described image block;
Based on the color similarity, judge whether the bank note to be detected belongs to deinking bank note by default grader.
Based on the first aspect of the present invention, in the first possible realization method of first aspect, the acquisition is to be detected After the image of bank note, further include:
Position the anti-fake region specified on the image of the bank note to be detected;
Based on the textural characteristics in the anti-fake region, determine the anti-fake region and the anti-fake region corresponding templates it Between texture similarity;
It is described to be based on the color similarity, judge whether the bank note to be detected belongs to deinking paper by default grader Coin is:
Based on the color similarity, and, the texture similarity judges the paper to be detected by default grader Whether coin belongs to deinking bank note.
The first possible realization method based on first aspect present invention, second in first aspect may realization method In, the textural characteristics based on the anti-fake region, determine the anti-fake region and the anti-fake region corresponding templates it Between texture similarity, including:
The energy for calculating the color co-occurrence matrix in the anti-fake region, obtains first eigenvector;
Based on the first eigenvector, the line between the anti-fake region and the corresponding templates in the anti-fake region is determined Manage similarity.
Second of possible realization method based on first aspect present invention, in the third possible realization method of first aspect In, the textural characteristics based on the anti-fake region, determine the anti-fake region and the anti-fake region corresponding templates it Between texture similarity, further include:
The energy for calculating the gray level co-occurrence matrixes in the anti-fake region obtains second feature vector;
It is described to be based on the first eigenvector, it determines between the anti-fake region and the corresponding templates in the anti-fake region Texture similarity, be:
Based on the first eigenvector and second feature vector, the anti-fake region and the anti-fake region are determined Corresponding templates between texture similarity.
Based on any of the above-described kind of possibility realization method of first aspect present invention and first aspect, the 4th of first aspect the Kind may in realization method, the image segmentation by the bank note to be detected at preset quantity image block, including:
The image of the bank note to be detected is transformed into HSV space from rgb space;
The H channel images of the HSV space are divided into the image block of preset quantity.
The 4th kind of possible realization method based on first aspect present invention, in the 5th kind of possible realization method of first aspect In, the color similarity between the determining described image block and the corresponding templates of described image block, including:
The color histogram for obtaining described image block obtains third feature vector;
The color phase between described image block and the corresponding templates of described image block is determined based on the third feature vector Like degree.
The 5th kind of possible realization method based on first aspect present invention, in the 6th kind of possible realization method of first aspect In, it is described to determine that the color between described image block and the corresponding templates of described image block is similar based on the third feature vector Before degree, further include:
The mean value for obtaining the color component of described image block obtains fourth feature vector;
The face determined based on the third feature vector between described image block and the corresponding templates of described image block Color similarity is:
Pair of described image block and described image block is determined based on fourth feature vector described in the third feature vector sum Answer the color similarity between template.
The second aspect of the present invention provides a kind of device of detection deinking bank note, and described device includes:
Acquiring unit, the image for obtaining bank note to be detected;
Cutting unit, the image segmentation of the bank note to be detected for obtaining the acquiring unit at preset quantity image Block;
Computing unit, for determining the color similarity between described image block and the corresponding templates of described image block;
Judging unit, the color similarity for being determined based on the computing unit are judged by default grader Whether the bank note to be detected belongs to deinking bank note.
The third aspect of the present invention provides a kind of electronic equipment, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program The step of method of any one detection deinking bank note.
The fourth aspect of the present invention provides a kind of computer readable storage medium, and the computer readable storage medium is deposited Computer program is contained, the method for detecting deinking bank note as described in any one is realized when the computer program is executed by processor The step of.
Existing advantageous effect is the present invention compared with prior art:
By obtaining the image of bank note to be detected, by the image segmentation of the bank note to be detected at the image of preset quantity Block, and determine the color similarity between described image block and the corresponding templates of described image block;Based on the color similarity, Judge whether the bank note to be detected belongs to deinking bank note by default grader;It realizes the detection to deinking bank note and sentences It is fixed;It can be seen that, on the one hand, the present invention is by the image block by the image segmentation of bank note to be detected at preset quantity, by right The Comprehensive Correlation of each image block can improve the accuracy judged deinking bank note;On the other hand, due to color characteristic energy It is enough that abundant and robust authentication information is provided, and certain viewpoint variation is can adapt to, therefore the present invention is based on color similarities The judgement for carrying out deinking bank note also has certain applicability.
Description of the drawings
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 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 Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the method for detection deinking bank note provided by one embodiment of the present invention;
Fig. 2 is the implementation flow chart of the method for the detection deinking bank note that another embodiment of the present invention provides;
Fig. 3 is the structural schematic diagram of the device of detection deinking bank note provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc 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 can also be realized 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.
To make the object, technical solutions and advantages of the present invention clearer, pass through specific embodiment below in conjunction with attached drawing To illustrate.
Referring to Fig. 1, it illustrates the implementation flow chart of the method for detection deinking bank note provided by one embodiment of the present invention, Details are as follows:
Step 101, the image for obtaining bank note to be detected;
In embodiments of the present invention, the image of bank note to be detected is obtained, wherein the image is RGB color image;Specifically , the RGB color image of bank note to be detected is acquired based on three kinds of feux rouges, blue light and green light light.
Step 102, by the image segmentation of the bank note to be detected at the image block of preset quantity;
In embodiments of the present invention, the image of the bank note to be detected is split, by the figure of the bank note to be detected Image block as being divided into preset quantity carries out comprehensive identification to bank note to be detected with the feature based on each image block and sentences It is disconnected;Illustratively, the image segmentation of the bank note to be detected can be amounted to 50 small image blocks at 10*5.
Optionally, in above-mentioned steps 102, the image segmentation by the bank note to be detected at preset quantity image Block can be accomplished by the following way:
The image of the bank note to be detected is transformed into HSV space from rgb space;
The H channel images of the HSV space are divided into the image block of preset quantity.
Since tone can preferably reflect the color characteristic of image, in the embodiment of the present invention, by will be described to be detected The image of bank note is transformed into HSV space from rgb space, and the H channel images of the HSV space are divided into the image of preset quantity Block so that its hue information can preferably be embodied by dividing obtained image block.
It should be noted that rgb space namely RGB color, are with R (Red:It is red), G (Green:It is green), B (Blue:It is blue) based on three kinds of Essential colour, carry out different degrees of superposition, to generate abundant and extensive color, it is general also referred to as For three primary colours pattern.
It should be noted that HSV space namely hsv color space, are that a kind of color for the intuitive nature for reflecting color is empty Between, also referred to as hexagonal pyramid model (Hexcone Model);Three components of color are respectively in the HSV space of image:Tone (H), saturation degree (S), lightness (V), wherein the color component of image is concentrated mainly in tone (H) component.
Step 103 determines color similarity between described image block and the corresponding templates of described image block;
In the embodiment of the present invention, by the way that described image block to be compared and calculate with the corresponding templates of described image block, To determine the color similarity between described image block and the corresponding templates of described image block.
In the embodiment of the present invention, the corresponding templates of described image block are based on to being obtained after standard bank note progress processing accordingly It arrives, void or deinking region is not present on standard bank note, it can be as the benchmark that bank note to be detected is compared and is judged. For example, certain image block and the color similarity of the corresponding templates of the image block are higher, which does not have that there are voids more Possibility.
In the embodiment of the present invention, color similarity refers to the similarity degree of two colors, specifically can be by HSV space In, the distance between color value point of two colors determines.It, can be by this for the color similarity of two image blocks The color histogram of two image blocks or the mean value of color component are compared to determine.
Optionally, in above-mentioned steps 103, the face between the determining described image block and the corresponding templates of described image block Color similarity can be accomplished by the following way:
The color histogram for obtaining described image block obtains third feature vector;
The color phase between described image block and the corresponding templates of described image block is determined based on the third feature vector Like degree.
The color histogram of image can reflect different colours shared ratio in the images, in the embodiment of the present invention, By obtaining the color histogram of each image block, it is to judge benchmark with the ratio shared by different colours on each image block, comes Determine the color similarity between each image block and the corresponding templates of each image block.
Optionally, in above-mentioned steps 103, the face between the determining described image block and the corresponding templates of described image block Color similarity can also be accomplished by the following way:
The color histogram for obtaining described image block obtains third feature vector;
The mean value for obtaining the color component of described image block obtains fourth feature vector;
Pair of described image block and described image block is determined based on fourth feature vector described in the third feature vector sum Answer the color similarity between template.
In the embodiment of the present invention, the color component of image block is three color components of RGB, in order to more accurately determine Color similarity between image block and the corresponding templates of image block can also make the mean value of three color components of image block For judge the corresponding template of image block color similarity parameter, that is, the color histogram based on described image block, with And the mean value of the color component of image block, to determine that the color between described image block and the corresponding templates of described image block is similar Degree.
In the embodiment of the present invention, corresponding mould of the described image block with described image block can be determined using Cosin method Color similarity between plate.
Step 104 is based on the color similarity, judges whether the bank note to be detected belongs to de- by default grader Black bank note.
In the embodiment of the present invention, the color similarity between the corresponding template based on described image block and described image block, Judge whether the bank note to be detected belongs to deinking bank note by preset grader.
In the embodiment of the present invention, the preset grader can be the Adaboost classification based on Adaboost algorithm Device.Using the color similarity of single image block and the corresponding template of the image block as a weak learner, based on training The error rate of each weak learner determines the weight coefficient of each weak learner in journey, to be used to the output result of all weak learners Weighted mean method obtains final strong classifier, so as to reduce misjudgment rate, accurately to bank note to be detected into Row classification, judges whether the bank note to be detected belongs to deinking bank note.
From the foregoing, it will be observed that the present invention is by obtaining the image of bank note to be detected, by the image segmentation of the bank note to be detected at The image block of preset quantity, and determine the color similarity between described image block and the corresponding templates of described image block;It is based on The color similarity judges whether the bank note to be detected belongs to deinking bank note by default grader;It realizes to deinking The detection and judgement of bank note;It can be seen that, on the one hand, the present invention by by the image segmentation of bank note to be detected at preset quantity Image block can improve the accuracy judged deinking bank note by the Comprehensive Correlation to each image block;On the other hand, by It is capable of providing abundant and robust authentication information in color characteristic, and can adapt to certain viewpoint variation, therefore base of the present invention Also there is certain applicability in the judgement that color similarity carries out deinking bank note.
Fig. 2 shows the implementation flow charts for the method for detecting deinking bank note that another embodiment of the present invention provides, and are described in detail It is as follows:
Step 201, the image for obtaining bank note to be detected;
Step 202, by the image segmentation of the bank note to be detected at the image block of preset quantity;
Step 203 determines color similarity between described image block and the corresponding templates of described image block;
For details, reference can be made to the steps 101 in embodiment illustrated in fig. 1 to step 103 to step 203 for above-mentioned steps 201, herein It repeats no more.
Step 204 positions the anti-fake region specified on the image of the bank note to be detected;
Generally there are crown word number region, photochromatic printing ink region, character area, hand feel line region etc. in anti-fake region on bank note Deng, there are certain textural characteristics on different anti-fake regions, the textural characteristics in corresponding anti-fake region are matched, Ke Yiti Height judge bank note whether the accuracy of deinking.
In the embodiment of the present invention, the specified anti-fake region can be one or both of each anti-fake region on bank note More than.
Step 205, the textural characteristics based on the anti-fake region, determine pair in the anti-fake region and the anti-fake region Answer the texture similarity between template;
In the embodiment of the present invention, extract the textural characteristics in the anti-fake region, the textural characteristics based on extraction, determine described in Texture similarity between anti-fake region and the corresponding templates in the anti-fake region;
Specifically, for the ease of extracting the textural characteristics, the image of the bank note to be detected can be transformed into HSV skies Between, to extract the feature of the color classification H in the anti-fake region;And the image of the bank note to be detected is transformed into HSI skies Between, to extract the feature of the brightness classification I in the anti-fake region.
In the embodiment of the present invention, by the way that the anti-fake region to be compared and count with the corresponding templates in the anti-fake region It calculates, to determine the texture similarity between the anti-fake region and the corresponding templates in the anti-fake region.
It should be noted that textural characteristics are a kind of visual signatures reflecting homogeneity phenomenon in image, it embodies object Surface has slowly varying or periodically variable surface textural alignment attribute.Texture based on anti-fake region is special Sign, it can be determined that the texture similarity between anti-fake region and the corresponding templates in anti-fake region.In addition, anti-fake region respective image Textural characteristics can be reflected by color co-occurrence matrix and gray level co-occurrence matrixes.
In the embodiment of the present invention, the corresponding templates in the anti-fake region are based on being carried out after handling accordingly to standard bank note It obtains, void or deinking region is not present on the anti-fake region of standard bank note, can be used as and bank note to be detected is compared With the benchmark of judgement.For example, in the case where not considering color similarity, the corresponding templates in certain anti-fake region and the anti-fake region Texture similarity it is higher, do not have the possibility there are void on the anti-fake region more.
Optionally, in above-mentioned steps 204, the textural characteristics based on the anti-fake region determine the anti-fake region Texture similarity between the corresponding templates in the anti-fake region, can be accomplished by the following way:
The energy for calculating the color co-occurrence matrix in the anti-fake region, obtains first eigenvector;
Based on the first eigenvector, the line between the anti-fake region and the corresponding templates in the anti-fake region is determined Manage similarity.
In the embodiment of the present invention, color co-occurrence matrix can reflect the color and vein information in anti-fake region, color symbiosis square The energy of battle array is the quadratic sum of color co-occurrence matrix element value, can reflect the distribution of color uniformity coefficient and texture in anti-fake region Fineness degree;By the energy for calculating the color co-occurrence matrix in the anti-fake region, it may be determined that prevent with described in the anti-fake region Texture similarity between the corresponding templates in pseudo- region.
Optionally, in above-mentioned steps 204, the textural characteristics based on the anti-fake region determine the anti-fake region Texture similarity between the corresponding templates in the anti-fake region, can also be accomplished by the following way:
The energy for calculating the color co-occurrence matrix in the anti-fake region, obtains first eigenvector;
The energy for calculating the gray level co-occurrence matrixes in the anti-fake region obtains second feature vector;
Based on the first eigenvector and second feature vector, the anti-fake region and the anti-fake region are determined Corresponding templates between texture similarity.
In the embodiment of the present invention, gray level co-occurrence matrixes can describe the textural characteristics in anti-fake region, gray level co-occurrence matrixes Energy refers to the quadratic sum of gray level co-occurrence matrixes element value, and that reflects the intensity profile uniformity coefficient and texture in anti-fake region are thick Fineness.By calculating the energy of the gray level co-occurrence matrixes in the anti-fake region, it can also determine that the anti-fake region is prevented with described Texture similarity between the corresponding templates in pseudo- region.
In the embodiment of the present invention, by by the energy of the color co-occurrence matrix in the anti-fake region and the anti-fake region The energy of gray level co-occurrence matrixes determines the anti-fake area as two Rule of judgment for judging texture similarity, so as to improve The accuracy of texture similarity between domain and the corresponding templates in the anti-fake region.
Step 206 is based on the color similarity, and, the texture similarity, described in default grader judgement Whether bank note to be detected belongs to deinking bank note.
In the embodiment of the present invention, the color similarity between the corresponding template based on described image block and described image block, And the texture similarity between the anti-fake region and the corresponding template in the anti-fake region, it can by preset grader More accurately to judge whether the bank note to be detected belongs to deinking bank note.
In the embodiment of the present invention, the preset grader can be the Adaboost classification based on Adaboost algorithm Device.Using single image block and the color similarity of the corresponding template of the image block as a weak learner, also, it is anti-with one Pseudo- region and the texture similarity of the corresponding template in the anti-fake region are also used as a weak learner, based on each in the training process The error rate of weak learner determines the weight coefficient of each weak learner, with flat using weighting to the output result of all weak learners Equal method obtains final strong classifier, so as to reduce misjudgment rate, accurately classifies to bank note to be detected, Judge whether the bank note to be detected belongs to deinking bank note.
From the foregoing, it will be observed that the present invention is by obtaining the image of bank note to be detected, by the image segmentation of the bank note to be detected at The image block of preset quantity, and determine the color similarity between described image block and the corresponding templates of described image block;It is based on The color similarity judges whether the bank note to be detected belongs to deinking bank note by default grader;It realizes to deinking The detection and judgement of bank note;It can be seen that, on the one hand, the present invention by by the image segmentation of bank note to be detected at preset quantity Image block can improve the accuracy judged deinking bank note by the Comprehensive Correlation to each image block;On the other hand, by It is capable of providing abundant and robust authentication information in color characteristic, and can adapt to certain viewpoint variation, therefore base of the present invention Also there is certain applicability in the judgement that color similarity carries out deinking bank note.
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.
It is the device of the invention embodiment below to refer to above-mentioned corresponding the details of wherein not detailed description Embodiment of the method.
Fig. 3 shows the structural schematic diagram of the device of detection deinking bank note provided in an embodiment of the present invention, for the ease of saying It is bright, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
As shown in figure 3, the device 3 of detection deinking bank note includes:Acquiring unit 31, cutting unit 32,33 He of computing unit Judging unit 34.
Acquiring unit 31, the image for obtaining bank note to be detected;
Cutting unit 32, the image segmentation of the bank note to be detected for obtaining acquiring unit 31 at preset quantity image Block;
Computing unit 33, for determine described image block and described image block that cutting unit 32 is divided corresponding templates it Between color similarity;
Judging unit 34, the color similarity for being determined based on computing unit 33 are judged by default grader Whether the bank note to be detected belongs to deinking bank note.
Optionally, the device 3 of detection deinking bank note further includes:
Positioning unit, the anti-fake region specified on the image for positioning the bank note to be detected;
Computing unit 33 is additionally operable to, and based on the textural characteristics in the anti-fake region, determines that the anti-fake region is prevented with described Texture similarity between the corresponding templates in pseudo- region;
Judging unit 34 is specifically used for, and is based on the color similarity, and, the texture similarity passes through default point Class device judges whether the bank note to be detected belongs to deinking bank note.
Optionally, computing unit 33 is specifically used for, and calculates the energy of the color co-occurrence matrix in the anti-fake region, obtains the One feature vector;Based on the first eigenvector, determine between the anti-fake region and the corresponding templates in the anti-fake region Texture similarity.
Optionally, computing unit 33 is specifically additionally operable to, and is calculated the energy of the gray level co-occurrence matrixes in the anti-fake region, is obtained Second feature vector;Based on the first eigenvector and second feature vector, determine that the anti-fake region is prevented with described Texture similarity between the corresponding templates in pseudo- region.
Optionally, the device 3 of detection deinking bank note further includes converting unit, for waiting for described in obtaining acquiring unit 31 The image of detection bank note is transformed into HSV space from rgb space;
Cutting unit 32 is used to the H channel images of the HSV space being divided into the image block of preset quantity.
Optionally, computing unit 33 is specifically used for, obtain described image block color histogram, obtain third feature to Amount;The color similarity between described image block and the corresponding templates of described image block is determined based on the third feature vector.
Optionally, computing unit 33 is specifically additionally operable to, and obtains the mean value of the color component of described image block, obtains the 4th spy Sign vector;Determine that described image block is corresponding with described image block based on fourth feature vector described in the third feature vector sum Color similarity between template.
From the foregoing, it will be observed that the present invention is by obtaining the image of bank note to be detected, by the image segmentation of the bank note to be detected at The image block of preset quantity, and determine the color similarity between described image block and the corresponding templates of described image block;It is based on The color similarity judges whether the bank note to be detected belongs to deinking bank note by default grader;It realizes to deinking The detection and judgement of bank note;It can be seen that, on the one hand, the present invention by by the image segmentation of bank note to be detected at preset quantity Image block can improve the accuracy judged deinking bank note by the Comprehensive Correlation to each image block;On the other hand, by It is capable of providing abundant and robust authentication information in color characteristic, and can adapt to certain viewpoint variation, therefore base of the present invention Also there is certain applicability in the judgement that color similarity carries out deinking bank note.
Fig. 4 is the schematic diagram for the electronic equipment that one embodiment of the invention provides.As shown in figure 4, the electronics of the embodiment is set Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40 Calculation machine program 42.The processor 40 realizes that the method for above-mentioned each detection deinking bank note is real when executing the computer program 42 Apply the step in example, such as step 101 shown in FIG. 1 is to step 104.Alternatively, the processor 40 executes the computer journey The function of each module/unit in above-mentioned each device embodiment, such as the function of unit 31 to 34 shown in Fig. 3 are realized when sequence 42.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, 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 42 in the electronic equipment 4 is described.For example, the computer program 42 can be divided It is cut into acquiring unit, cutting unit, computing unit and judging unit, each unit concrete function is as follows:
Acquiring unit, the image for obtaining bank note to be detected;
Cutting unit, the image segmentation of the bank note to be detected for obtaining the acquiring unit at preset quantity image Block;
Computing unit, for determining the color similarity between described image block and the corresponding templates of described image block;
Judging unit, the color similarity for being determined based on the computing unit are judged by default grader Whether the bank note to be detected belongs to deinking bank note.
The electronic equipment 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The electronic equipment may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 The only example of electronic equipment 4 does not constitute the restriction to electronic equipment 4, may include than illustrating more or fewer portions Part either combines certain components or different components, such as the electronic equipment can also include input-output equipment, net Network access device, bus etc..
Alleged processor 40 can be central processing unit (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), field 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 can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the electronic equipment 4, such as the hard disk of electronic equipment 4 or interior It deposits.The memory 41 can also be to be equipped on the External memory equipment of the electronic equipment 4, such as the electronic equipment 4 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 41 can also both include the storage inside list of the electronic equipment 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the electronic equipment Other programs and data.The memory 41 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 It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain 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 realize that lists 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, depends on the specific application and design constraint of 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/electronic equipment and method, it can be with It realizes by another way.For example, device described above/electronic equipment embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as Multiple units or component 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 by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow 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 May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried 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 legislation in jurisdiction and the requirement of 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 with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution 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 (10)

1. a kind of method of detection deinking bank note, which is characterized in that the method includes:
Obtain the image of bank note to be detected;
By the image segmentation of the bank note to be detected at the image block of preset quantity;
Determine the color similarity between described image block and the corresponding templates of described image block;
Based on the color similarity, judge whether the bank note to be detected belongs to deinking bank note by default grader.
2. the method for detection deinking bank note according to claim 1, which is characterized in that the figure for obtaining bank note to be detected As after, further include:
Position the anti-fake region specified on the image of the bank note to be detected;
Based on the textural characteristics in the anti-fake region, determine between the anti-fake region and the corresponding templates in the anti-fake region Texture similarity;
It is described to be based on the color similarity, judge whether the bank note to be detected belongs to deinking bank note by default grader, For:
Based on the color similarity, and, the texture similarity judges that the bank note to be detected is by default grader It is no to belong to deinking bank note.
3. the method for detection deinking bank note according to claim 2, which is characterized in that described based on the anti-fake region Textural characteristics determine the texture similarity between the anti-fake region and the corresponding templates in the anti-fake region, including:
The energy for calculating the color co-occurrence matrix in the anti-fake region, obtains first eigenvector;
Based on the first eigenvector, the texture phase between the anti-fake region and the corresponding templates in the anti-fake region is determined Like degree.
4. the method for detection deinking bank note according to claim 3, which is characterized in that described based on the anti-fake region Textural characteristics determine the texture similarity between the anti-fake region and the corresponding templates in the anti-fake region, further include:
The energy for calculating the gray level co-occurrence matrixes in the anti-fake region obtains second feature vector;
It is described to be based on the first eigenvector, determine the line between the anti-fake region and the corresponding templates in the anti-fake region Similarity is managed, is:
Based on the first eigenvector and second feature vector, pair in the anti-fake region and the anti-fake region is determined Answer the texture similarity between template.
5. the method for detection deinking bank note according to any one of claims 1 to 4, which is characterized in that described to be waited for described The image segmentation of bank note is detected into the image block of preset quantity, including:
The image of the bank note to be detected is transformed into HSV space from rgb space;
The H channel images of the HSV space are divided into the image block of preset quantity.
6. the method for detection deinking bank note according to claim 5, which is characterized in that the determining described image block and institute The color similarity between the corresponding templates of image block is stated, including:
The color histogram for obtaining described image block obtains third feature vector;
The color similarity between described image block and the corresponding templates of described image block is determined based on the third feature vector.
7. it is according to claim 6 detection deinking bank note method, which is characterized in that it is described based on the third feature to Before amount determines the color similarity between described image block and the corresponding templates of described image block, further include:
The mean value for obtaining the color component of described image block obtains fourth feature vector;
The color phase determined based on the third feature vector between described image block and the corresponding templates of described image block Like degree, it is:
Corresponding mould of the described image block with described image block is determined based on fourth feature vector described in the third feature vector sum Color similarity between plate.
8. a kind of device of detection deinking bank note, which is characterized in that described device includes:
Acquiring unit, the image for obtaining bank note to be detected;
Cutting unit, the image segmentation of the bank note to be detected for obtaining the acquiring unit at preset quantity image block;
Computing unit, for determining the color similarity between described image block and the corresponding templates of described image block;
Judging unit, the color similarity for being determined based on the computing unit, described in default grader judgement Whether bank note to be detected belongs to deinking bank note.
9. a kind of electronic equipment, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810305318.9A 2018-04-08 2018-04-08 Detect the method, apparatus and electronic equipment of deinking bank note Pending CN108765691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810305318.9A CN108765691A (en) 2018-04-08 2018-04-08 Detect the method, apparatus and electronic equipment of deinking bank note

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810305318.9A CN108765691A (en) 2018-04-08 2018-04-08 Detect the method, apparatus and electronic equipment of deinking bank note

Publications (1)

Publication Number Publication Date
CN108765691A true CN108765691A (en) 2018-11-06

Family

ID=63981008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810305318.9A Pending CN108765691A (en) 2018-04-08 2018-04-08 Detect the method, apparatus and electronic equipment of deinking bank note

Country Status (1)

Country Link
CN (1) CN108765691A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675373A (en) * 2019-09-12 2020-01-10 珠海格力智能装备有限公司 Component installation detection method, device and system
CN113256873A (en) * 2020-12-31 2021-08-13 深圳怡化电脑股份有限公司 Paper money abnormality detection method, paper money abnormality detection device, electronic apparatus, and machine storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344571A (en) * 2013-06-17 2013-10-09 中国人民银行印制科学技术研究所 Method and device for evaluating tolerance quality of negotiable securities
JP2015172912A (en) * 2014-03-12 2015-10-01 沖電気工業株式会社 Medium selection device, medium selection program, medium transaction device, and medium selection system
CN106530484A (en) * 2016-11-17 2017-03-22 深圳怡化电脑股份有限公司 Method and device for counterfeit detection of banknote
CN106874909A (en) * 2017-01-18 2017-06-20 深圳怡化电脑股份有限公司 A kind of recognition methods of image character and its device
CN106920322A (en) * 2017-03-06 2017-07-04 深圳怡化电脑股份有限公司 A kind of bank note distribution method and device of financial automatic equipment
CN106934915A (en) * 2015-12-30 2017-07-07 起山电子株式会社 Bank note treatment device
CN107527423A (en) * 2017-08-03 2017-12-29 深圳怡化电脑股份有限公司 Guiding against false of paper currency recognition methods and paper money identifier
CN107563986A (en) * 2017-09-08 2018-01-09 北京进化者机器人科技有限公司 The determination methods and system of image-region

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344571A (en) * 2013-06-17 2013-10-09 中国人民银行印制科学技术研究所 Method and device for evaluating tolerance quality of negotiable securities
JP2015172912A (en) * 2014-03-12 2015-10-01 沖電気工業株式会社 Medium selection device, medium selection program, medium transaction device, and medium selection system
CN106934915A (en) * 2015-12-30 2017-07-07 起山电子株式会社 Bank note treatment device
CN106530484A (en) * 2016-11-17 2017-03-22 深圳怡化电脑股份有限公司 Method and device for counterfeit detection of banknote
CN106874909A (en) * 2017-01-18 2017-06-20 深圳怡化电脑股份有限公司 A kind of recognition methods of image character and its device
CN106920322A (en) * 2017-03-06 2017-07-04 深圳怡化电脑股份有限公司 A kind of bank note distribution method and device of financial automatic equipment
CN107527423A (en) * 2017-08-03 2017-12-29 深圳怡化电脑股份有限公司 Guiding against false of paper currency recognition methods and paper money identifier
CN107563986A (en) * 2017-09-08 2018-01-09 北京进化者机器人科技有限公司 The determination methods and system of image-region

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675373A (en) * 2019-09-12 2020-01-10 珠海格力智能装备有限公司 Component installation detection method, device and system
CN113256873A (en) * 2020-12-31 2021-08-13 深圳怡化电脑股份有限公司 Paper money abnormality detection method, paper money abnormality detection device, electronic apparatus, and machine storage medium

Similar Documents

Publication Publication Date Title
CN108229499A (en) Certificate recognition methods and device, electronic equipment and storage medium
CN106951869B (en) A kind of living body verification method and equipment
CN107093259B (en) A kind of recognition methods of forge or true or paper money and its device
CN107393118B (en) A kind of recognition methods of bank note, device, terminal device and computer storage medium
Nagaraj et al. An Exemplary Template Matching Techniques for Counterfeit Currency Detection
CN107358182A (en) Pedestrian detection method and terminal device
CN108734850A (en) Paper Currency Identification, paper money identifier and terminal device
CN109740572A (en) A kind of human face in-vivo detection method based on partial color textural characteristics
CN109784394A (en) A kind of recognition methods, system and the terminal device of reproduction image
CN108230536A (en) One kind is to light variable security index identification method and device
CN111860369A (en) Fraud identification method and device and storage medium
CN108710916A (en) The method and device of picture classification
CN106875542A (en) A kind of recognition methods of bank note version and its device
CN108830275A (en) Dot character, the recognition methods of dot matrix digit and device
CN108665603A (en) Identify the method, apparatus and electronic equipment of bank note currency type
CN110458998A (en) Bill detection method, bill detection device and terminal
CN110135389A (en) Face character recognition methods and device
CN108765691A (en) Detect the method, apparatus and electronic equipment of deinking bank note
CN107527418B (en) A kind of Heisui River lettering position method, apparatus, terminal device and readable storage medium storing program for executing
CN108510483B (en) Method for generating color image tampering detection by adopting VLAD coding and SVM calculation
Alnowaini et al. Yemeni paper currency detection system
CN106898078A (en) A kind of recognition methods of Hongkong dollar version and device
Amirsab et al. An automated recognition of fake or destroyed Indian currency notes
CN108492445A (en) The method and device of bank note classification
García-Lamont et al. Classification of Mexican paper currency denomination by extracting their discriminative colors

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106