CN108665603A - Identify the method, apparatus and electronic equipment of bank note currency type - Google Patents

Identify the method, apparatus and electronic equipment of bank note currency type Download PDF

Info

Publication number
CN108665603A
CN108665603A CN201810319343.2A CN201810319343A CN108665603A CN 108665603 A CN108665603 A CN 108665603A CN 201810319343 A CN201810319343 A CN 201810319343A CN 108665603 A CN108665603 A CN 108665603A
Authority
CN
China
Prior art keywords
bank note
identified
image
template
currency type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810319343.2A
Other languages
Chinese (zh)
Other versions
CN108665603B (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 CN201810319343.2A priority Critical patent/CN108665603B/en
Publication of CN108665603A publication Critical patent/CN108665603A/en
Application granted granted Critical
Publication of CN108665603B publication Critical patent/CN108665603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
    • G06V10/446Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering using Haar-like filters, e.g. using integral image techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • G06V10/507Summing image-intensity values; Histogram projection analysis
    • 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/202Testing patterns thereon using pattern matching
    • G07D7/206Matching template patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Image Analysis (AREA)
  • Inspection Of Paper Currency And Valuable Securities (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 identification bank note currency type, the method includes:Obtain the image of bank note to be identified;By the image segmentation of the bank note to be identified at more than two image blocks;Based on the characteristics of image of described image block, judge in preset bank note template library with the presence or absence of the target bank note template to match with the bank note to be identified;If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is the corresponding currency type of the target bank note template.The present invention can improve the accuracy that bank note currency type is identified.

Description

Identify the method, apparatus and electronic equipment of bank note currency type
Technical field
The invention belongs to paper money recognition technical field more particularly to a kind of method of identification bank note currency type, identification bank note coin Device, electronic equipment and the computer readable storage medium of kind.
Background technology
Currently, being a precondition of the identification note true and false to the identification of bank note currency type, false distinguishing equipment is only in determination Under the premise of bank note currency type, the discriminating that corresponding anti-counterfeiting characteristic carries out bank note the true and false could be directed to.In the prior art for The identification method of bank note currency type be usually on bank note spcial character or image be identified, for example, identification bank note on people Object head portrait determines the currency type of the bank note.
However, between every country commercial transaction gradually increase, it is possible that multiple currency types of country variant Bank note the case where mixing, when Multiple Currencies mix, since the corresponding personage's head portrait of each currency type is numerous so that identification work Become larger as amount, recognition efficiency reduces;Also, the similar possibility of some detection zones also greatly increases between each currency type, this is just Reduce the accuracy identified to bank note currency type.
Invention content
In view of this, the present invention provides a kind of identification method, apparatus of bank note currency type, electronic equipments and computer-readable Storage medium can improve the accuracy that bank note currency type is identified.
The first aspect of the present invention provides a kind of method of identification bank note currency type, the method includes:
Obtain the image of bank note to be identified;
By the image segmentation of the bank note to be identified at more than two image blocks;
Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches;
If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is the target bank note template pair The currency type answered.
Based in a first aspect, in first aspect in the first possible realization method, the figure based on described image block As feature, judge in preset bank note template library with the presence or absence of the target bank note template to match with the bank note to be identified it Before, further include:
Obtain the global feature of the bank note to be identified, wherein the global feature includes at least one in following characteristics :Length characteristic, width characteristics, the Luminance Distribution feature of correspondence image, magnetic characteristic, ultraviolet image feature and infrared image are special Sign;
Based on the global feature, the candidate to match with the bank note to be identified is chosen from preset bank note template library Bank note template;
The characteristics of image based on described image block judges to whether there is in preset bank note template library and waits knowing with described The target bank note template that other bank note matches is:
Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in the candidate bank note template The target bank note template that coin matches.
The first possible realization method based on first aspect, it is described to be based on institute in second of possible realization method The characteristics of image for stating image block judges in the candidate bank note template with the presence or absence of the target to match with the bank note to be identified Bank note template, including:
Extract the gray feature of described image block;
Based on the gray feature, judge in the candidate bank note template with the presence or absence of matching with the bank note to be identified Target bank note template.
It is described to be based on institute in the third possible realization method based on second of possible realization method of first aspect Gray feature is stated, is judged in the candidate bank note template with the presence or absence of the target bank note mould to match with the bank note to be identified Plate, including:
The gray feature is normalized;
Based on the gray feature after normalized, by described image block and each bank note in the candidate bank note template The correspondence image block of template is compared, to judge to whether there is and the bank note phase to be identified in the candidate bank note template The target bank note template matched.
Based on second of above-mentioned first aspect or the third possible realization method, in the 4th kind of possible realization method In, the gray feature is the gray feature of scheduled multiple dimensions, and the gray feature of scheduled multiple dimensions includes:Ash Spend characteristics of mean, Haar features and the Gradient Features based on gray scale.
Based on above-mentioned first aspect and first aspect the first to the third any one of possible realization method, at the 5th kind In possible realization method, the image segmentation by the bank note to be identified at more than two image blocks, including:
Position the fringe region of the image of the bank note to be identified;
The fringe region is cut off from the image of the bank note to be identified;
By the image segmentation of the bank note to be identified after margins of excision region at more than two image blocks.
Based on above-mentioned first aspect and first aspect the first to the third any one of possible realization method, at the 6th kind In possible realization method, the characteristics of image based on described image block judges to whether there is in preset bank note template library After the target bank note template to match with the bank note to be identified, further include:
If the target bank note template is not present, it is added to the bank note mould using the bank note to be identified as bank note template In plate library, and receive currency type of the currency type of the bank note to be identified input by user as the bank note template added.
The second aspect of the present invention provides a kind of device of identification bank note currency type, and described device includes:
Image acquisition unit, the image for obtaining bank note to be identified;
Image segmentation unit, the image segmentation of the bank note to be identified for obtaining described image acquiring unit is at two A above image block;
Judging unit, the characteristics of image of the described image block for being divided based on described image cutting unit are judged With the presence or absence of the target bank note template to match with the bank note to be identified in preset bank note template library;
Currency type determination unit, if the judging result for the judging unit is that there are the target bank note templates, really The currency type of the fixed bank note to be identified is the corresponding currency type of the target bank note template.
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 identification bank note currency type.
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 identifying bank note currency type 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:
The image that the present invention passes through acquisition bank note to be identified;By the image segmentation of the bank note to be identified at more than two Image block;Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches;If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is institute The corresponding currency type of target bank note template is stated, to realize the identification to bank note currency type;It is found that the present invention passes through to bank note to be identified Image be split, the characteristics of image of each image block obtained based on segmentation is that the bank note to be identified matches corresponding target Bank note template, compared with the prior art in matched matching way is carried out to the features of the specific regions such as the word of bank note or head portrait Identification fault rate is reduced, the accuracy that bank note currency type is identified is improved.
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 identification bank note currency type provided by one embodiment of the present invention;
Fig. 2 is the implementation flow chart of the method for the identification bank note currency type that another embodiment of the present invention provides;
Fig. 3 is the structural schematic diagram of the device of identification bank note currency type 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 identification bank note currency type provided by one embodiment of the present invention, Details are as follows:
Step 101, the image for obtaining bank note to be identified;
In embodiments of the present invention, the image of bank note to be identified is obtained first, specifically, by bank note to be identified by including The equipment of imaging sensor acquires the corresponding image of the bank note to be identified based on imaging sensor.
Preferably due to which actually on bank note there is different, the easy absorption of each section and reflection in the thickness of different piece Wavelength it is also different, in order to which presenting of enabling that the image of the bank note to be identified of acquisition is more clear is each on the bank note to be identified Part, may be used a wave band light carry out the bank note to be identified image acquisition.It is waited under infrared light for example, obtaining Identify the image of bank note.
Step 102, by the image segmentation of the bank note to be identified at more than two image blocks;
It in embodiments of the present invention,, will after the image for obtaining the bank note to be identified in order to improve identification accuracy The image segmentation of the bank note to be identified waits knowing with the characteristics of image based on described image block at more than two image blocks to this Other bank note is identified.
In addition, the image of the bank note to be identified is divided into after more than two image blocks, for example, waiting knowing by described The image segmentation of other bank note since the area of image block is less than bank note to be identified, therefore is obtaining image block at 10 image blocks When characteristics of image, picking rate is accordingly very fast.
Optionally, in above-mentioned steps 102, the image segmentation by the bank note to be identified is at more than two images Block can be accomplished by the following way:
Position the fringe region of the image of the bank note to be identified;
The fringe region is cut off from the image of the bank note to be identified;
By the image segmentation of the bank note to be identified after margins of excision region at more than two image blocks.
In the embodiment of the present invention, due to the influence of shadow, the image of the bank note to be identified of acquisition may be deposited in image border In black surround, the precision of images is made to reduce, influences the accuracy of identification, therefore in order to improve identification accuracy, need by the precision of images compared with Low fringe region is cut off from the image of bank note to be identified.For example, counted from edge on the excision image to be identified Several rows and several columns.
Step 103, the characteristics of image based on described image block, judge in preset bank note template library with the presence or absence of with it is described The target bank note template that bank note to be identified matches;
In the embodiment of the present invention, it is previously provided with bank note template library, a variety of of known currency type are stored in bank note template library The bank note template of bank note, wherein the bank note template stored further comprises the bank note template of multiple and different face amounts under same currency type.
In embodiments of the present invention, the characteristics of image based on described image block waits in the bank note template library described Identify that bank note carries out images match, to judge in the bank note template library with the presence or absence of the mesh to match with the bank note to be identified Millimeter paper coin template.
If step 104, there are the target bank note templates, it is determined that the currency type of the bank note to be identified is the target basis The corresponding currency type of coin template.
In the embodiment of the present invention, in image block and certain the bank note template in the bank note template library of the bank note to be identified When image block matches one by one, judge that the bank note template is the target bank note template to match with the bank note to be identified, to really The currency type of the fixed bank note to be identified is the corresponding currency type of the target bank note template.
Optionally, further include after above-mentioned steps 103:
If the target bank note template is not present, it is added to the bank note mould using the bank note to be identified as bank note template In plate library, and receive currency type of the currency type of the bank note to be identified input by user as the bank note template added.
In the embodiment of the present invention, if the judging result of step 103 is that there is no wait knowing with described in the bank note template library The target bank note template that other bank note matches illustrates that the bank note to be identified is the coin not come in and gone out in advance in bank note template library Therefore the bank note of kind is added to the bank note to be identified as bank note template in the bank note template library, and it is defeated to receive user Currency type of the currency type of the bank note to be identified entered as the bank note template of addition, to the paper stored in abundant bank note template library Coin currency type type.Wherein, the currency type of the bank note to be identified input by user is that the user is determined institute otherwise .
The image that the present invention passes through acquisition bank note to be identified;By the image segmentation of the bank note to be identified at more than two Image block;Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches;If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is institute The corresponding currency type of target bank note template is stated, to realize the identification to bank note currency type;It is found that the present invention passes through to bank note to be identified Image be split, the characteristics of image of each image block obtained based on segmentation is that the bank note to be identified matches corresponding target Bank note template, compared with the prior art in matched matching way is carried out to the features of the specific regions such as the word of bank note or head portrait Identification fault rate is reduced, the accuracy that bank note currency type is identified is improved.
Fig. 2 shows the implementation flow charts of the method for identification bank note currency type provided in an embodiment of the present invention, and details are as follows:
Step 201, the image for obtaining bank note to be identified;
Step 202, by the image segmentation of the bank note to be identified at more than two image blocks;
In the embodiment of the present invention, for details, reference can be made to the steps 101 in embodiment illustrated in fig. 1 for above-mentioned steps 201 to step 202 To step 102, details are not described herein.
Step 203, the global feature for obtaining the bank note to be identified;
In the embodiment of the present invention, the global feature includes at least one in following characteristics:Length characteristic, width are special Sign, the Luminance Distribution feature of correspondence image, magnetic characteristic, ultraviolet image feature and Infrared Image Features;
Step 204 is based on the global feature, is chosen and the bank note phase to be identified from preset bank note template library The candidate bank note template matched;
Step 205, the characteristics of image based on described image block, judge in the candidate bank note template with the presence or absence of with it is described The target bank note template that bank note to be identified matches;
In the embodiment of the present invention, described image feature can be color characteristic or gray feature;
In the embodiment of the present invention, in order to further increase recognition speed, the whole special of bank note to be identified can be primarily based on Sign the bank note to be identified is slightly matched in the bank note template library, with exclude obviously not with the bank note phase to be identified Matched bank note template chooses the bank note mould to match on global feature with the bank note to be identified in the bank note template library Plate, using such bank note template as candidate bank note template.For example, if the length of bank note to be identified is M, by the bank note template Length is not that the bank note template of M directly excludes in library, no longer carries out the matching of subsequent characteristics of image image block based, and is selected It is candidate bank note template to take the bank note template that length is M in the bank note template library, special in the image for carrying out subsequent image block It when sign matching, is only compared with candidate bank note template, so as to reduce recognition time, improves recognition efficiency.
Optionally, the characteristics of image based on described image block, judge in the candidate bank note template with the presence or absence of with The target bank note template that the bank note to be identified matches, including:
Extract the gray feature of described image block;
Based on the gray feature, judge in the candidate bank note template with the presence or absence of matching with the bank note to be identified Target bank note template.
In the embodiment of the present invention, by acquiring the gray feature of described image block, and it is based on the gray feature, judges institute It states in candidate bank note template with the presence or absence of the target bank note template to match with the bank note to be identified.
Optionally, the gray feature is the gray feature of scheduled multiple dimensions, the ash of scheduled multiple dimensions Spending feature includes:Gray average feature, Haar features and the Gradient Features based on gray scale.
In the embodiment of the present invention, the gray feature of scheduled multiple dimensions is that satisfaction is unwise to the minor shifts of image The feature of sense, to reduce influence of the bank note offset to recognition accuracy.For example, gray average feature reflects the bright dark journey of image Degree, Haar features reflect the grey scale change of image, and the Gradient Features based on gray scale reflect the intensity profile of image, this several class Gray feature is to meet the feature insensitive to the minor shifts of image.
In the embodiment of the present invention, the gray features of scheduled multiple dimensions can the gray scale based on described image block it is straight Side's figure determines, wherein gray average feature may include the feature of 3 dimensions, respectively in gray average, grey level histogram The gray average of 10%-40%, the gray average of 60%-90%;Haar features may include the feature of two dimensions, and one is The left-half of image block and the difference of right half part, another is the difference of the top half and lower half portion of image block;Base It may include the feature of 9 dimensions in the Gradient Features of gray scale, sobel operators specifically can be used, one is gradient mean value, in addition 8 are respectively the gradient distribution histogram on scheduled 8 directions, in addition, not fallen just at scheduled 8 in gradient direction When on direction, the histogram value in direction adjacent thereto in scheduled 8 directions of adding up respectively.Scheduled multiple dimensions Gray feature can be above-mentioned 14 dimensional feature.
It preferably,, can be to the pixel on described image block in order to improve Statistical Speed when counting grey level histogram It is sampled, the grey level histogram of statistical sampling point.
Optionally, described to be based on the gray feature, judge to whether there is in the candidate bank note template and waits knowing with described The target bank note template that other bank note matches, including:
The gray feature is normalized;
Based on the gray feature after normalized, by described image block and each bank note in the candidate bank note template The correspondence image block of template is compared, to judge to whether there is and the bank note phase to be identified in the candidate bank note template The target bank note template matched.
In the embodiment of the present invention, in order to keep the data processing in above-mentioned steps to image block more convenient, and processing is improved Speed can be normalized the gray feature of above-mentioned multiple dimensions, specifically, for gray average feature, Haar The maximum value for taking each image block may be used in the normalized of feature and gradient mean value, later, by the corresponding of each image block Value divided by the maximum value;It, can be by by the value in 8 directions divided by 8 sides for the normalized of histogram of gradients feature To and value.
If step 206, there are the target bank note templates, it is determined that the currency type of the bank note to be identified is the target basis The corresponding currency type of coin template.
In embodiments of the present invention, step 206 specifically refers to the step 104 in embodiment illustrated in fig. 1, no longer superfluous herein It states.
The image that the present invention passes through acquisition bank note to be identified;By the image segmentation of the bank note to be identified at more than two Image block;Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches;If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is institute The corresponding currency type of target bank note template is stated, to realize the identification to bank note currency type;It is found that the present invention passes through to bank note to be identified Image be split, the characteristics of image of each image block obtained based on segmentation is that the bank note to be identified matches corresponding target Bank note template, compared with the prior art in matched matching way is carried out to the features of the specific regions such as the word of bank note or head portrait Identification fault rate is reduced, the accuracy that bank note currency type is identified is improved.
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 identification bank note currency type 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 identification bank note currency type includes:Image acquisition unit 31, image segmentation unit 32 judge Unit 33 and currency type determination unit 34.
Image acquisition unit 31, the image for obtaining bank note to be identified;
Image segmentation unit 32, the image segmentation of the bank note to be identified for obtaining image acquisition unit 31 is at two A above image block;
Judging unit 33, the characteristics of image for being divided obtained described image block based on image segmentation unit 32 are judged With the presence or absence of the target bank note template to match with the bank note to be identified in preset bank note template library;
Currency type determination unit 34, if the judging result for judging unit 33 is that there are the target bank note templates, really The currency type of the fixed bank note to be identified is the corresponding currency type of the target bank note template.
Optionally, the device 3 of identification bank note currency type further includes:
Bank note global feature acquiring unit, the global feature for obtaining the bank note to be identified, wherein described whole special Sign includes at least one in following characteristics:Length characteristic, width characteristics, the Luminance Distribution feature of correspondence image, magnetic characteristic, Ultraviolet image feature and Infrared Image Features;
Candidate bank note template selection unit, it is described whole special for being obtained based on the bank note global feature acquiring unit Sign chooses the candidate bank note template to match with the bank note to be identified from preset bank note template library.
Judging unit 33 is additionally operable to, and the characteristics of image of obtained described image block is divided based on image segmentation unit 32, is sentenced It whether there is and the bank note phase to be identified in the candidate bank note template that the disconnected candidate bank note template selection unit is chosen Matched target bank note template.
Optionally, the device 3 of identification bank note currency type further includes:
Gray feature extraction unit, the gray feature for extracting described image block;
Judging unit 33 is additionally operable to, based on the gray feature of gray feature extraction unit extraction, described in judgement With the presence or absence of matching with the bank note to be identified in the candidate bank note template that candidate bank note template selection unit is chosen Target bank note template.
Optionally, the device 3 of identification bank note currency type further includes:
Normalized unit, the gray feature for being extracted to the gray feature extraction unit are normalized Processing;
Judging unit 33 is specifically used for, based on the gray feature after normalized, by described image block with it is described The correspondence image block of each bank note template is compared in candidate bank note template, to judge to whether there is in the candidate bank note template The target bank note template to match with the bank note to be identified.
Optionally, the gray feature is the gray feature of scheduled multiple dimensions, the ash of scheduled multiple dimensions Spending feature includes:Gray average feature, Haar features and the Gradient Features based on gray scale.
Optionally, the device 3 of identification bank note currency type further includes:
Fringe region positioning unit, the image of the bank note to be identified for positioning the acquisition of described image acquiring unit Fringe region;
Fringe region cuts off unit, and the fringe region for determining the fringe region positioning unit is waited for from described It identifies and is cut off on the image of bank note;
Image segmentation unit 32 is additionally operable to, by the image segmentation of the bank note to be identified after margins of excision region at two A above image block.
Optionally, the device 3 of identification bank note currency type further includes:
Bank note template adding device, for being that there is no the target bank note templates in the judging result of the judging unit When, it is added to the bank note to be identified as bank note template in the bank note template library, and receive input by user described wait for Identify currency type of the currency type of bank note as the bank note template added.
The image that the present invention passes through acquisition bank note to be identified;By the image segmentation of the bank note to be identified at more than two Image block;Based on the characteristics of image of described image block, judge to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches;If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is institute The corresponding currency type of target bank note template is stated, to realize the identification to bank note currency type;It is found that the present invention passes through to bank note to be identified Image be split, the characteristics of image of each image block obtained based on segmentation is that the bank note to be identified matches corresponding target Bank note template, compared with the prior art in matched matching way is carried out to the features of the specific regions such as the word of bank note or head portrait Identification fault rate is reduced, the accuracy that bank note currency type is identified is improved.
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 identification bank note currency type 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 image acquisition unit, image segmentation unit, judging unit and currency type determination unit, each unit concrete function is as follows:
Image acquisition unit, the image for obtaining bank note to be identified;
Image segmentation unit, the image segmentation of the bank note to be identified for obtaining described image acquiring unit is at two A above image block;
Judging unit, the characteristics of image of the described image block for being divided based on described image cutting unit are judged With the presence or absence of the target bank note template to match with the bank note to be identified in preset bank note template library;
Currency type determination unit, if the judging result for the judging unit is that there are the target bank note templates, really The currency type of the fixed bank note to be identified is the corresponding currency type of the target bank note template.
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 identification bank note currency type, which is characterized in that the method includes:
Obtain the image of bank note to be identified;
By the image segmentation of the bank note to be identified at more than two image blocks;
Based on the characteristics of image of described image block, judge to whether there is and the bank note phase to be identified in preset bank note template library Matched target bank note template;
If there are the target bank note templates, it is determined that the currency type of the bank note to be identified is that the target bank note template is corresponding Currency type.
2. the method for identification bank note currency type according to claim 1, which is characterized in that the figure based on described image block As feature, judge in preset bank note template library with the presence or absence of the target bank note template to match with the bank note to be identified it Before, further include:
Obtain the global feature of the bank note to be identified, wherein the global feature includes at least one in following characteristics:It is long Spend feature, width characteristics, the Luminance Distribution feature of correspondence image, magnetic characteristic, ultraviolet image feature and Infrared Image Features;
Based on the global feature, the candidate bank note to match with the bank note to be identified is chosen from preset bank note template library Template;
The characteristics of image based on described image block judges to whether there is and the paper to be identified in preset bank note template library The target bank note template that coin matches is:
Based on the characteristics of image of described image block, judge to whether there is and the bank note phase to be identified in the candidate bank note template Matched target bank note template.
3. the method for identification bank note currency type according to claim 2, which is characterized in that the figure based on described image block As feature, judge in the candidate bank note template with the presence or absence of the target bank note template to match with the bank note to be identified, packet It includes:
Extract the gray feature of described image block;
Based on the gray feature, judge in the candidate bank note template with the presence or absence of the mesh to match with the bank note to be identified Millimeter paper coin template.
4. the method for identification bank note currency type according to claim 3, which is characterized in that it is described to be based on the gray feature, Judge in the candidate bank note template with the presence or absence of the target bank note template to match with the bank note to be identified, including:
The gray feature is normalized;
Based on the gray feature after normalized, by described image block and each bank note template in the candidate bank note template Correspondence image block be compared, to judge in the candidate bank note template with the presence or absence of matching with the bank note to be identified Target bank note template.
5. the method for identification bank note currency type according to claim 3 or 4, which is characterized in that the gray feature is predetermined Multiple dimensions gray feature, the gray feature of scheduled multiple dimensions includes:Gray average feature, Haar features and Gradient Features based on gray scale.
6. the method for identification bank note currency type 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 identified into more than two image blocks, including:
Position the fringe region of the image of the bank note to be identified;
The fringe region is cut off from the image of the bank note to be identified;
By the image segmentation of the bank note to be identified after margins of excision region at more than two image blocks.
7. the method for identification bank note currency type according to any one of claims 1 to 4, which is characterized in that described based on described The characteristics of image of image block judges in preset bank note template library with the presence or absence of the target basis to match with the bank note to be identified After coin template, further include:
If the target bank note template is not present, it is added to the bank note template library using the bank note to be identified as bank note template In, and receive currency type of the currency type of the bank note to be identified input by user as the bank note template added.
8. a kind of device of identification bank note currency type, which is characterized in that described device includes:
Image acquisition unit, the image for obtaining bank note to be identified;
Image segmentation unit, the image segmentation of the bank note to be identified for obtaining described image acquiring unit at two with On image block;
Judging unit, the characteristics of image of the described image block for being divided based on described image cutting unit are judged default Bank note template library in the presence or absence of the target bank note template that matches with the bank note to be identified;
Currency type determination unit, if the judging result for the judging unit is that there are the target bank note templates, it is determined that institute The currency type for stating bank note to be identified is the corresponding currency type of the target bank note template.
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.
CN201810319343.2A 2018-04-11 2018-04-11 Method and device for identifying currency type of paper money and electronic equipment Active CN108665603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810319343.2A CN108665603B (en) 2018-04-11 2018-04-11 Method and device for identifying currency type of paper money and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810319343.2A CN108665603B (en) 2018-04-11 2018-04-11 Method and device for identifying currency type of paper money and electronic equipment

Publications (2)

Publication Number Publication Date
CN108665603A true CN108665603A (en) 2018-10-16
CN108665603B CN108665603B (en) 2020-06-09

Family

ID=63783297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810319343.2A Active CN108665603B (en) 2018-04-11 2018-04-11 Method and device for identifying currency type of paper money and electronic equipment

Country Status (1)

Country Link
CN (1) CN108665603B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859373A (en) * 2018-12-15 2019-06-07 深圳壹账通智能科技有限公司 Bank note face amount calculation method, device and relevant device based on image recognition
CN110415424A (en) * 2019-06-17 2019-11-05 众安信息技术服务有限公司 A kind of authentication method, apparatus, computer equipment and storage medium
CN111652318A (en) * 2020-06-05 2020-09-11 中国银行股份有限公司 Currency identification method, currency identification device and electronic equipment
WO2023070843A1 (en) * 2021-10-25 2023-05-04 广州广电运通金融电子股份有限公司 Multi-modal currency recognition system, method, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5771315A (en) * 1993-06-15 1998-06-23 Sharp Kabushiki Kaisha Image reading apparatus and image processor incorporating the same for comparing read patterns corresponding to visible and infrared light with registered patterns to identify copy-prohibited printed matter
CN103456075A (en) * 2013-09-06 2013-12-18 广州广电运通金融电子股份有限公司 Paper money processing method and device
CN106447905A (en) * 2016-09-12 2017-02-22 深圳怡化电脑股份有限公司 Banknote type identification method and device
CN106845469A (en) * 2017-01-24 2017-06-13 深圳怡化电脑股份有限公司 A kind of Paper Currency Identification and device
CN107610322A (en) * 2017-10-11 2018-01-19 深圳怡化电脑股份有限公司 Recognition methods, device, electronic equipment and the storage medium of bank note version

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5771315A (en) * 1993-06-15 1998-06-23 Sharp Kabushiki Kaisha Image reading apparatus and image processor incorporating the same for comparing read patterns corresponding to visible and infrared light with registered patterns to identify copy-prohibited printed matter
CN103456075A (en) * 2013-09-06 2013-12-18 广州广电运通金融电子股份有限公司 Paper money processing method and device
CN106447905A (en) * 2016-09-12 2017-02-22 深圳怡化电脑股份有限公司 Banknote type identification method and device
CN106845469A (en) * 2017-01-24 2017-06-13 深圳怡化电脑股份有限公司 A kind of Paper Currency Identification and device
CN107610322A (en) * 2017-10-11 2018-01-19 深圳怡化电脑股份有限公司 Recognition methods, device, electronic equipment and the storage medium of bank note version

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859373A (en) * 2018-12-15 2019-06-07 深圳壹账通智能科技有限公司 Bank note face amount calculation method, device and relevant device based on image recognition
CN110415424A (en) * 2019-06-17 2019-11-05 众安信息技术服务有限公司 A kind of authentication method, apparatus, computer equipment and storage medium
CN110415424B (en) * 2019-06-17 2022-02-11 众安信息技术服务有限公司 Anti-counterfeiting identification method and device, computer equipment and storage medium
CN111652318A (en) * 2020-06-05 2020-09-11 中国银行股份有限公司 Currency identification method, currency identification device and electronic equipment
CN111652318B (en) * 2020-06-05 2023-09-01 中国银行股份有限公司 Currency identification method, identification device and electronic equipment
WO2023070843A1 (en) * 2021-10-25 2023-05-04 广州广电运通金融电子股份有限公司 Multi-modal currency recognition system, method, storage medium and terminal

Also Published As

Publication number Publication date
CN108665603B (en) 2020-06-09

Similar Documents

Publication Publication Date Title
SA518400454B1 (en) Banknote Management Method and System Thereof
CN108665603A (en) Identify the method, apparatus and electronic equipment of bank note currency type
CN107393118B (en) A kind of recognition methods of bank note, device, terminal device and computer storage medium
CN104809453A (en) Authentication method based on fingerprints
CN109345375A (en) A kind of suspicious money laundering Activity recognition method and device
CN106875542A (en) A kind of recognition methods of bank note version and its device
CN108230536A (en) One kind is to light variable security index identification method and device
CN104050745A (en) High-speed coin sorting technology based on image identification
CN109784394A (en) A kind of recognition methods, system and the terminal device of reproduction image
CN109800745B (en) Bill detection method, device, terminal and computer readable storage medium
CN106339931A (en) Multifunctional taxation service system
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
Venu An Automatic recognition system of fake Indian currency notes detection using Image processing analysis
Amirsab et al. An automated recognition of fake or destroyed Indian currency notes
CN107705414B (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN109885708A (en) The searching method and device of certificate picture
CN107705418A (en) A kind of bank note towards recognition methods, device, equipment and readable storage medium storing program for executing
CN107527422A (en) A kind of offset printing is to print detection method, device, terminal device and readable storage medium storing program for executing
CN110309891A (en) Based on the anti-pushing system and method for reading big data
CN108492445A (en) The method and device of bank note classification
CN107358717B (en) A kind of Paper Currency Identification, system and its terminal device
CN109543554A (en) Bill detection method, device, terminal and computer readable storage medium
CN111401432B (en) Method, device, equipment and storage medium for identifying digital image identity forgery
CN108537945A (en) Bill method of detecting watermarks, system and self-service device
CN110826442B (en) Bill data processing method, system, equipment and medium based on in-vivo detection

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