CN107240184A - A kind of plastics coin version knows method for distinguishing, device and equipment - Google Patents

A kind of plastics coin version knows method for distinguishing, device and equipment Download PDF

Info

Publication number
CN107240184A
CN107240184A CN201710413339.8A CN201710413339A CN107240184A CN 107240184 A CN107240184 A CN 107240184A CN 201710413339 A CN201710413339 A CN 201710413339A CN 107240184 A CN107240184 A CN 107240184A
Authority
CN
China
Prior art keywords
detected
predeterminable area
version
plastics coin
coin
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
CN201710413339.8A
Other languages
Chinese (zh)
Other versions
CN107240184B (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 CN201710413339.8A priority Critical patent/CN107240184B/en
Publication of CN107240184A publication Critical patent/CN107240184A/en
Application granted granted Critical
Publication of CN107240184B publication Critical patent/CN107240184B/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

Landscapes

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

Abstract

Know method for distinguishing, device and equipment the embodiment of the invention discloses a kind of plastics coin version.This method includes:Interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, wherein, the predeterminable area is the region in the plastics coin to be detected with holographic windowing transparent characteristic;Edge extracting is carried out to the predeterminable area image to be detected, edge image to be detected is obtained;According to the edge image to be detected in the actual pixels number of predeterminated position, matched with least one standard pixel number, determine the version of the plastics coin to be detected.The embodiment of the present invention simplifies the process of plastics coin version identification, improves the speed and accuracy of version identification.

Description

A kind of plastics coin version knows method for distinguishing, device and equipment
Technical field
The present embodiments relate to currency recognition technology, more particularly to a kind of plastics coin version know method for distinguishing, device and Equipment.
Background technology
Kind of currencies is various, including a variety of species such as different currency types, different editions and different denominations.For same currency type Currency, it is understood that there may be different editions, the anti-counterfeiting characteristic of different editions is different, when carrying out true and false detection to currency, it is necessary to according to The anti-counterfeiting characteristic of currency is differentiated.Therefore, it is necessary to detected to currency version before currency true and false detection is carried out, with It is easy to extract the anti-counterfeiting characteristic of suitable currency version.
Existing currency version detection mode needs to extract ink feature, infrared signature and ultraviolet feature of currency etc., and Comprehensive analysis is carried out based on these features afterwards, currency version is determined.
But, the process for extracting these features is complicated, and these features are easily influenceed by outside environmental elements, based on these The currency version recognizer that feature is carried out is complicated.Thus existing currency version recognition methods process is complicated, and the degree of accuracy is low.
The content of the invention
The embodiment of the present invention provides a kind of plastics coin version and knows method for distinguishing, device and equipment, solves existing currency version This recognition methods process is complicated, the problem of degree of accuracy is low.
In a first aspect, knowing method for distinguishing the embodiments of the invention provide a kind of plastics coin version, this method includes:
Interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, wherein, it is described Predeterminable area is the region with holographic windowing transparent characteristic in the plastics coin to be detected;
Edge extracting is carried out to the predeterminable area image to be detected, edge image to be detected is obtained;
According to the edge image to be detected predeterminated position actual pixels number, with least one standard pixel number Matched, determine the version of the plastics coin to be detected.
Further, the interception it is default towards plastics coin to be detected predeterminable area before, in addition to:
According to the positive feature of plastics coin to be detected and the direction of negative attribute, the reality of the plastics coin to be detected is determined Towards;
When the reality towards with it is default towards it is inconsistent when, the plastics coin to be detected is rotated to the default face To.
Further, the interception it is default towards plastics coin to be detected predeterminable area before, in addition to:
According to the size of plastics coin to be detected, the real value of currency of the plastics coin to be detected is determined;
Wherein, the plastics coin to be detected is New Zealand Dollar;
The standard pixel number is the corresponding standard edge image of standard predeterminable area image in the predeterminated position Number of pixels;
The standard predeterminable area image includes:It is the real value of currency, described it is default towards, New Zealand of each version Image of the member in the predeterminable area.
Further, it is determined that after the version of the plastics coin to be detected, in addition to:
If the contour feature one of the contour feature of the predeterminable area image to be detected and the standard predeterminable area image Cause, then judge New Zealand's cartographic information in the predeterminable area image to be detected whether with the standard predeterminable area image New Zealand's cartographic information it is consistent, if unanimously, being detected using OCR character identifying methods in the predeterminable area image to be detected Value of money information it is whether consistent with the value of money information in the standard predeterminable area image, if unanimously, it is determined that described to be detected New Zealand Dollar is the bright version of the real value of currency;Wherein, the value of money information includes the numerical values recited of value of money and the row of value of money Sequential mode.
Further, it is determined that after the version of the New Zealand Dollar to be detected, in addition to:
If the gray scale of the predeterminable area image to be detected is divided into 3 levels of black-white-gray, region of the gray scale for ash is judged Profile whether be oval, if oval, then it is that black region is with gray scale in the standard predeterminable area image to judge gray scale Whether black region is consistent, if unanimously, it is determined that the versions in 1999 for the real value of currency of the New Zealand Dollar to be detected.
Further, according to the edge image to be detected predeterminated position actual pixels number, with least one Standard pixel number is matched, before the version for determining the plastics coin to be detected, in addition to:
At least one subregion in the edge image to be detected is chosen, wherein, the size of the subregion is expired Sufficient given threshold;
It regard the position of the subregion as predeterminated position.
Second aspect, the embodiment of the present invention additionally provides a kind of device of plastics coin version identification, and the device includes:
Predeterminable area interception module, for intercept it is default towards plastics coin to be detected predeterminable area, obtain to be detected Predeterminable area image;
Edge extracting module, for carrying out edge extracting to the predeterminable area image to be detected, obtains edge to be detected Image;
Version determining module, for according to the edge image to be detected predeterminated position actual pixels number, and extremely A few standard pixel number is matched, and determines the version of the plastics coin to be detected;
Wherein, the predeterminable area is the region with holographic windowing transparent characteristic in plastics coin.
Further, the device also includes:It is actual towards determining module, for the interception it is default towards it is to be detected Before the predeterminable area of plastics coin, according to the positive feature of plastics coin to be detected and the direction of negative attribute, determine described to be checked Survey plastics coin it is actual towards;
When the reality towards with it is default towards it is inconsistent when, the plastics coin to be detected is rotated to the default face To.
Further, the device also includes:Real value of currency determining module, for the interception it is default towards it is to be detected Before the predeterminable area of plastics coin, according to the size of plastics coin to be detected, the real value of currency of the plastics coin to be detected is determined;
Wherein, the plastics coin to be detected is New Zealand Dollar;
The standard pixel number is the corresponding standard edge image of standard predeterminable area image in the predeterminated position Number of pixels;
The standard predeterminable area image includes:It is the real value of currency, described it is default towards, New Zealand of each version Image of the member in the predeterminable area.
The third aspect, the embodiment of the present invention additionally provides a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Camera, for gathering image;
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes that the plastics coin version that any embodiment of the present invention is provided knows method for distinguishing.
The embodiment of the present invention is by intercepting predeterminable area image, and the plastics coin of different editions is with the transparent spy of holography windowing Property predeterminable area in have significant difference, the version for carrying out plastics coin to be detected using the image in this region is recognized, due to area The difference in domain is obvious, so improving the speed and accuracy of version identification;Directly using edge image to be detected in default position The actual pixels number put, is matched with standard pixel number, determines the version of plastics coin to be detected, compared to extraction ink The character pixel numbers such as feature, infrared signature and ultraviolet feature are more convenient for extracting and are difficult affected by environment, thus simplify modeling Expect the process of coin version identification, improve the speed and accuracy of version identification.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing does one and simply introduced, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this For the those of ordinary skill of field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic flow sheet that a kind of plastics coin version that the embodiment of the present invention one is provided knows method for distinguishing;
Fig. 2 is the schematic flow sheet that a kind of plastics coin version that the embodiment of the present invention two is provided knows method for distinguishing;
Fig. 3 a are 1999 editions New Zealand Dollar predeterminable area schematic diagrames that the embodiment of the present invention two is provided;
Fig. 3 b are the bright version New Zealand Dollar predeterminable area schematic diagrames that the embodiment of the present invention two is provided;
Fig. 4 a are 1999 editions New Zealand Dollar standard edge image schematic diagrames that the embodiment of the present invention two is provided;
Fig. 4 b are the bright version New Zealand Dollar standard edge image schematic diagrames that the embodiment of the present invention two is provided;
Fig. 5 is the schematic flow sheet that a kind of plastics coin version that the embodiment of the present invention three is provided knows method for distinguishing;
Fig. 6 is the schematic diagram for the bright version predeterminable area image to be detected that the embodiment of the present invention three is provided;
Fig. 7 is the schematic flow sheet that a kind of plastics coin version that the embodiment of the present invention four is provided knows method for distinguishing;
Fig. 8 is the schematic diagram for 1999 editions predeterminable area images to be detected that the embodiment of the present invention four is provided;
Fig. 9 is a kind of structural representation of the device for plastics coin version identification that the embodiment of the present invention five is provided;
Figure 10 is a kind of structural representation for equipment that the embodiment of the present invention six is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention Figure, technical scheme is clearly and completely described by embodiment, it is clear that described embodiment is the present invention one Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is the flow chart that a kind of plastics coin version that the embodiment of the present invention one is provided knows method for distinguishing.The present embodiment Technical scheme goes for recognizing the situation of plastics coin version.This method can be by a kind of plastics provided in an embodiment of the present invention The device of coin version identification is performed, and the device can realize using software and/or hardware by the way of, and is configured at currency and is detected Applied in equipment.This method specifically includes following operation:
S110, interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, its In, the predeterminable area is the region with holographic windowing transparent characteristic in the plastics coin to be detected.
Holography windowing transparent characteristic region is the characteristic that plastics coin has.Have in holography windowing transparent characteristic region transparent Window, transparency window refers to that the part of banknote directly displays out special base material without background color, can see banknote through window Scenery below, such as VND, New Zealand Dollar, Dollar A, less than 10 yuan of Singapore dollar, new edition Canadian Dollar and China Memorial money " imperial paper money " etc..Wherein, Holographic Characteristics refer to the holographic laser film block that pattern is attached on paper money paper, translation-angle Different colorful patterns can be seen in observation.
The plastics coin of different editions may have different patterns, example in the region with holographic windowing transparent characteristic Such as, New Zealand Dollar is gear in the pattern of 1999 editions, is New Zealand's map, the New Zealand of specific two version in the pattern of bright version Member also has specific difference.Therefore, it is possible to carry out the version detection of plastics coin using the region with holographic windowing transparent characteristic.
Plastics coin to be detected towards have positive positive, front reversely, reverse side is positive and reverse side is reverse.Optionally, it is described It is default towards to be positive positive, then the position according to the region with holographic windowing transparent characteristic in whole plastics coin, interception Predeterminable area, optionally, the predeterminable area include all patterns with holographic windowing transparent characteristic.
In another preferred embodiment of the present embodiment, the interception it is default towards plastics coin to be detected it is default Before region, the plastics coin version, which knows method for distinguishing, to be included:
According to the positive feature of plastics coin to be detected and the direction of negative attribute, the reality of the plastics coin to be detected is determined Towards.
When the reality towards with it is default towards it is inconsistent when, the plastics coin to be detected is rotated to the default face To.
By taking New Zealand Dollar as an example, positive feature for example can be portrait, and negative attribute can be for example animal, according to front The direction of feature and negative attribute, it may be determined that the direction of plastics coin to be detected.It is exemplary, when detecting upright portrait When, it may be determined that being oriented for plastics coin to be detected is positive positive;When detecting the portrait of handstand, it may be determined that modeling to be detected Being oriented for material coin is positive reverse;When detecting upright animal, it may be determined that plastics coin to be detected is being oriented reverse side just To;When detecting the animal of handstand, it may be determined that plastics coin to be detected to be oriented reverse side reverse.
When reality towards with it is default towards it is inconsistent when, plastics coin to be detected is rotated to default towards can ensure interception To the position of predeterminable area be fixed, improve the speed of sectional drawing predeterminable area.
S120, edge extracting is carried out to the predeterminable area image to be detected, obtain edge image to be detected.
The edge extracting can using Canny operators, Sobel operators, Roberts operators, Prewitt operators, Krisch operators or Gauss-Laplace operator etc..In the present embodiment, optionally, edge is carried out using Canny operators to carry Take.
S130, according to the edge image to be detected predeterminated position actual pixels number, with least one official portrait Plain number is matched, and determines the version of the plastics coin to be detected.
In edge image to be detected, background is black, and gray value is 0, and edge is white, and gray value is 1;It can also carry on the back Scape is white, and gray value is 1, and edge is black, and gray value is 0.Actual pixels number is number of pixels and background shared by edge Shared number of pixels.
Standard pixel number can be with the same currency type of plastics coin to be detected, and have determined the plastics coin of version with complete The number of pixels of the predeterminated position of the edge image of breath windowing characteristic area.Wherein, it has been determined that the plastics coin of version can be With plastics coin to be detected with any version of currency type, any value of money, it is any towards plastics coin.Have determined the plastics coin of version Can also be with plastics coin to be detected with currency type it is default towards any version, any value of money plastics coin.It is different towards The position of the corresponding holographic windowing characteristic area of plastics coin is different, therefore in the holographic windowing characteristic area of interception, interception it is pre- If the position in region is also different.The predeterminable area size of plastics coin to be detected predeterminable area preferably corresponding with standard pixel number It is in the same size.
Wherein, predeterminated position can be the optional position in edge image to be detected, it is preferred that predeterminated position is to belong to pre- If the subregion in region, number of pixels contained by a sub-regions is more, the error because single pixel can be avoided, causes overall False judgment.According to belonging to the standard pixel number matched with edge image to be detected in the actual pixels number of predeterminated position Version, then can determine the version of plastics coin to be detected, the matching of number of pixels is values match, and numerical value is differed in default threshold In value, then it is assumed that be mutually matched between numerical value, the matching of number of pixels improves the version recognition speed of plastics coin.
The embodiment of the present invention is by intercepting predeterminable area image, and the plastics coin of different editions is with the transparent spy of holography windowing Property predeterminable area in have significant difference, the version for carrying out plastics coin to be detected using the image in this region is recognized, due to area The difference in domain is obvious, so improving the speed and accuracy of version identification;Directly using edge image to be detected in default position The actual pixels number put, is matched with standard pixel number, determines the version of plastics coin to be detected, compared to extraction ink The character pixel numbers such as feature, infrared signature and ultraviolet feature are more convenient for extracting and are difficult affected by environment, thus simplify modeling Expect the process of coin version identification, improve the speed and accuracy of version identification.
Embodiment two
Fig. 2 is the flow chart that a kind of plastics coin version that the embodiment of the present invention two is provided knows method for distinguishing.The present invention is implemented Example on the basis of above-described embodiment, add the interception it is default towards plastics coin to be detected predeterminable area before Operation and according to the edge image to be detected predeterminated position actual pixels number, with least one standard pixel Number is matched, and determines the operation before the version of the plastics coin to be detected.
Accordingly, the method for the present embodiment includes:
S210, the size according to plastics coin to be detected, determine the real value of currency of the plastics coin to be detected, wherein, it is described Plastics coin to be detected is New Zealand Dollar.
The size of the different values of money of plastics coin to be detected is different, therefore can judge to be checked according to the size of plastics coin to be detected The real value of currency of plastics coin is surveyed, real value of currency constant speed degree really can be improved.
S220, interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, its In, the predeterminable area is the region with holographic windowing transparent characteristic in the plastics coin to be detected.
It is exemplary, by taking in New Zealand Dollar 50 yuan as an example, preset towards to be positive positive, then 1999 editions and bright version is pre- If area schematic is as shown in Figure 3 a and Figure 3 b shows.
S230, edge extracting is carried out to the predeterminable area image to be detected, obtain edge image to be detected.
S240, at least one subregion chosen in the edge image to be detected, wherein, the area of the subregion is big It is small to meet given threshold.
Subregion in edge image to be detected can be the subregion that optional area meets given threshold, optional , the given threshold of area ensures that area covers the number of pixels of setting quantity, and setting quantity is set as the case may be, herein Do not limit.Subregion in edge image to be detected can also be any one pocket obtained according to grid piecemeal, Grid piecemeal can be by the way of dividing equally, it would however also be possible to employ the non-mode divided equally, as long as meeting the fritter after grid piecemeal The area in region meets given threshold.At least one subregion is selected to ensure the multiple predeterminated positions of correspondence, to be checked Edge image is surveyed when the actual pixels number of multiple predeterminated positions is compared with standard pixel number, can be to multiple predeterminated positions Comparative result go average, improve the accuracy of comparative result.
S250, it regard the position of the subregion as predeterminated position.
S260, according to the edge image to be detected predeterminated position actual pixels number, with least one official portrait Plain number is matched, and determines the version of the plastics coin to be detected, and the standard pixel number is standard predeterminable area image Number of pixels of the corresponding standard edge image in the predeterminated position;The standard predeterminable area image includes:The reality It is value of money, described it is default towards, the image that the New Zealand Dollar of each version is in the predeterminable area.
The standard edge image schematic diagram of 1999 editions and bright 50 yuan of New Zealand Dollars of version is as shown in figures 4 a and 4b.Standard is pre- If area image for it is real value of currency, default towards, the image that the New Zealand Dollar of each version is in predeterminable area, it is ensured that The number of standard predeterminable area image is minimum, ensure value of money, towards with plastics coin identical to be detected in the case of, only version Difference, can improve plastics coin version to be detected constant speed degree really.
The embodiment of the present invention is by determining the real value of currency of plastics coin to be detected, and selection standard predeterminable area image is actual Value of money, the default image towards the New Zealand Dollar of, each version in predeterminable area, improve plastics coin version to be detected constant speed really Degree.
Embodiment three
Fig. 5 is the flow chart that a kind of plastics coin version that the embodiment of the present invention three is provided knows method for distinguishing.The present invention is implemented Example is added it is determined that operation after the version of the plastics coin to be detected on the basis of above-described embodiment.
Accordingly, the method for the present embodiment includes:
S310, interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, its In, the predeterminable area is the region with holographic windowing transparent characteristic in the plastics coin to be detected.
S320, edge extracting is carried out to the predeterminable area image to be detected, obtain edge image to be detected.
S330, according to the edge image to be detected predeterminated position actual pixels number, with least one official portrait Plain number is matched, and determines the version of the plastics coin to be detected.
If the profile of S340, the contour feature of the predeterminable area image to be detected and the standard predeterminable area image is special Levy consistent, then judge New Zealand's cartographic information in the predeterminable area image to be detected whether with the standard predeterminable area figure New Zealand's cartographic information as in is consistent, if unanimously, the predeterminable area figure to be detected is detected using OCR character identifying methods Whether the value of money information as in is consistent with the value of money information in the standard predeterminable area image, if unanimously, it is determined that described to treat Detect the bright version that New Zealand Dollar is the real value of currency;Wherein, the value of money information includes the numerical values recited and value of money of value of money Sortord.
The schematic diagram of bright version predeterminable area image to be detected is as shown in Figure 6.When the new west to be detected determined in S330 When Lan Yuan version is bright version, the wheel of predeterminable area image to be detected is further judged using edge extracting method and Chain-Code-Method Whether wide feature is consistent with the contour feature of standard predeterminable area image, wherein, according to any edge extracting method, extract respectively The contour feature of predeterminable area image to be detected and the contour feature of standard predeterminable area image, it is special to each profile with Chain-Code-Method Levy and encoded, obtain corresponding a string of the chain codes of each contour feature, when two catenas code similarity is more than predetermined threshold value, profile It is characterized as consistent.When inconsistent, then the version error or New Zealand Dollar to be detected that may determine that New Zealand Dollar to be detected are false Coin;When consistent, according to template matching method judge New Zealand's cartographic information in predeterminable area image to be detected whether with mould Plate is consistent.It is understood that New Zealand's cartographic information in predeterminable area image to be detected is consistent with template, i.e., according to matching Rule calculates the matching value of the pixel value of New Zealand's map in predeterminable area image to be detected and the pixel value of template, according to Judge whether the two is consistent with value.Matched rule for example can be Euclidean distance, then when matching value is less than predetermined threshold value, the two one Cause, matched rule can also be coefficient correlation, then when matching value is more than predetermined threshold value, the two is consistent.Standard predeterminable area image In New Zealand's cartographic information can be used as template;When inconsistent, then the version error of New Zealand Dollar to be detected is may determine that Or New Zealand Dollar to be detected is counterfeit money;When consistent, detected using OCR character identifying methods in predeterminable area image to be detected The numerical values recited and sortord of value of money whether the numerical values recited and sortord one with the value of money in standard predeterminable area image Cause, the sortord of the value of money in standard predeterminable area image just falls to sort for value of money numerical value;When inconsistent, then it can sentence The version error or New Zealand Dollar to be detected of disconnected New Zealand Dollar to be detected are counterfeit money;When consistent, then it can determine to be detected new Western blue member is the bright version of real value of currency.
The present embodiment is by it is determined that after the version of New Zealand Dollar to be detected, further according to the exterior contour of predeterminable area Feature, New Zealand's cartographic information and value of money information carry out the checking that version is bright version and value of money, it is ensured that version and coin It is worth the accuracy determined.
Example IV
Fig. 7 is the flow chart that a kind of plastics coin version that the embodiment of the present invention four is provided knows method for distinguishing.The present invention is implemented Example is added it is determined that operation after the version of the plastics coin to be detected on the basis of above-described embodiment.
Accordingly, the method for the present embodiment includes:
S410, interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, its In, the predeterminable area is the region with holographic windowing transparent characteristic in the plastics coin to be detected.
S420, edge extracting is carried out to the predeterminable area image to be detected, obtain edge image to be detected.
S430, according to the edge image to be detected predeterminated position actual pixels number, with least one official portrait Plain number is matched, and determines the version of the plastics coin to be detected.
If S440, the gray scale of the predeterminable area image to be detected are divided into 3 levels of black-white-gray, judge gray scale to be grey Whether the profile in region is oval, if oval, then ash in judging gray scale for black region and the standard predeterminable area image Spend for whether black region is consistent, if unanimously, it is determined that 1999 for the real value of currency of the New Zealand Dollar to be detected Version.
The schematic diagram of 1999 editions predeterminable area images to be detected is as shown in Figure 8.When the new west to be detected determined in S4330 When Lan Yuan version is 1999 editions, the level of the gray scale of predeterminable area image to be detected is further judged using grey level histogram method Whether it is 3 levels of black-white-gray, it is to be understood that gray scale meets the first preset range, the first default model for black gray value Enclose for example can be 0~20;Gray scale meets the second preset range for white gray value, and the second preset range for example can be 230 ~255;Gray scale meets the 3rd preset range for the gray value of ash, and the 3rd preset range for example can be 120~150.When to be checked When the level for surveying the gray scale of predeterminable area image is not 3, then the version error or to be checked of New Zealand Dollar to be detected is may determine that Survey New Zealand Dollar is counterfeit money;When the level of the gray scale of predeterminable area image to be detected is 3, using difference edge extract and Whether the profile that Hough transform class circle detection method is combined the region for judging that gray scale is ash is oval, when no, then can be sentenced The version error or New Zealand Dollar to be detected of disconnected New Zealand Dollar to be detected are counterfeit money;When being, using binaryzation and template matches Method judges whether gray scale is consistent with template for black region, and gray scale is that black region is mould in standard predeterminable area image Plate, when inconsistent, then the version error or New Zealand Dollar to be detected that may determine that New Zealand Dollar to be detected are counterfeit money;When consistent When, then it is 1999 editions of real value of currency that can determine New Zealand Dollar to be detected.
The present embodiment is by it is determined that after the version of New Zealand Dollar to be detected, further according to the gray scale of predeterminable area layer Level, gray scale are that the profile and gray scale in the region of ash are the checking that black region carries out that version is 1999 editions and value of money, it is ensured that The accuracy that version and value of money are determined.
Embodiment five
Fig. 9 is a kind of structured flowchart of the device for plastics coin version identification that the embodiment of the present invention five is provided.The device is used A kind of plastics coin version provided in the above-mentioned any embodiment of execution knows method for distinguishing.The device includes:
Predeterminable area interception module 510, for intercept it is default towards plastics coin to be detected predeterminable area, obtain to be checked Survey predeterminable area image;
Edge extracting module 520, for carrying out edge extracting to the predeterminable area image to be detected, obtains side to be detected Edge image;
Version determining module 530, for according to the edge image to be detected predeterminated position actual pixels number, with At least one standard pixel number is matched, and determines the version of the plastics coin to be detected;
Wherein, the predeterminable area is the region with holographic windowing transparent characteristic in plastics coin.
Further, described device also includes:It is actual towards determining module, for the interception it is default towards it is to be checked Before the predeterminable area for surveying plastics coin, according to the positive feature of plastics coin to be detected and the direction of negative attribute, it is determined that described treat Detect plastics coin it is actual towards;
When the reality towards with it is default towards it is inconsistent when, the plastics coin to be detected is rotated to the default face To.
Further, described device also includes:Real value of currency determining module, for the interception it is default towards it is to be checked Before the predeterminable area for surveying plastics coin, according to the size of plastics coin to be detected, the real value of currency of the plastics coin to be detected is determined;
Wherein, the plastics coin to be detected is New Zealand Dollar;
The standard pixel number is the corresponding standard edge image of standard predeterminable area image in the predeterminated position Number of pixels;
The standard predeterminable area image includes:It is the real value of currency, described it is default towards, New Zealand of each version Image of the member in the predeterminable area.
Further, described device also includes:Bright version determining module, for it is determined that the version of the plastics coin to be detected After this, if the contour feature one of the contour feature of the predeterminable area image to be detected and the standard predeterminable area image Cause, then judge New Zealand's cartographic information in the predeterminable area image to be detected whether with the standard predeterminable area image New Zealand's cartographic information it is consistent, if unanimously, being detected using OCR character identifying methods in the predeterminable area image to be detected Value of money information it is whether consistent with the value of money information in the standard predeterminable area image, if unanimously, it is determined that described to be detected New Zealand Dollar is the bright version of the real value of currency;Wherein, the value of money information includes the numerical values recited of value of money and the row of value of money Sequential mode.
Further, described device also includes:1999 editions determining modules, for it is determined that the New Zealand Dollar to be detected After version, if the gray scale of the predeterminable area image to be detected is divided into 3 levels of black-white-gray, region of the gray scale for ash is judged Profile whether be oval, if oval, then it is that black region is with gray scale in the standard predeterminable area image to judge gray scale Whether black region is consistent, if unanimously, it is determined that the versions in 1999 for the real value of currency of the New Zealand Dollar to be detected.
Further, described device also includes, and subregion chooses module, for existing according to the edge image to be detected The actual pixels number of predeterminated position, is matched with least one standard pixel number, determines the plastics coin to be detected Before version, at least one subregion in the edge image to be detected is chosen, wherein, the size of the subregion is expired Sufficient given threshold;It regard the position of the subregion as predeterminated position.
The device for the plastics coin version identification that the embodiment of the present invention five is provided, realizes the mistake of simplified plastics coin version identification Journey, improves the speed and accuracy of version identification.
The device for the plastics coin version identification that the embodiment of the present invention is provided can perform any embodiment of the present invention and be provided Plastics coin version know method for distinguishing, possess the corresponding functional module of execution method and beneficial effect.
Embodiment six
Figure 10 is a kind of structural representation for equipment that the embodiment of the present invention six is provided.Figure 10 is shown suitable for being used for realizing The block diagram of the example devices 12 of embodiment of the present invention.The equipment 12 that Figure 10 is shown is only an example, should not be to this hair The function of bright embodiment and use range band come any limitation.
As shown in Figure 10, equipment 12 is showed in the form of universal computing device.The component of equipment 12 can include but not limit In:One or more processor or processor 16, internal memory 28, connection different system component (internal memory 28 and processor 16) Bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by equipment 12 The usable medium of access, including volatibility and non-volatile media, moveable and immovable medium.
Internal memory 28 can include the computer system readable media of form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include other removable/nonremovable, volatile Property/nonvolatile computer system storage medium.Only as an example, storage system 34 can be used for read-write it is immovable, non- Volatibility magnetizing mediums (Figure 10 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Figure 10, can provide for pair The disc driver of removable non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (for example CD-ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through One or more data media interfaces is connected with bus 18.Internal memory 28 can include at least one program product, program production Product have one group of (for example, at least one) program module, and these program modules are configured to perform the work(of various embodiments of the present invention Energy.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and The realization of network environment is potentially included in each or certain combination in routine data, these examples.Program module 42 is usual Perform the function and/or method in embodiment described in the invention.
Equipment 12 can also communicate with one or more external equipments 14 (such as keyboard, sensing equipment, display 24), Can also enable a user to the equipment communication interacted with the equipment 12 with one or more, and/or with enable the equipment 12 with Any equipment (such as network interface card, modem etc.) communication that one or more of the other computing device is communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment/terminal/server 12 can also pass through Network adaptation Device 20 leads to one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) Letter.As illustrated, network adapter 20 is communicated by bus 18 with other modules of equipment/terminal/server 12.Should be bright In vain, although not shown in the drawings, other hardware and/or software module can be used with bonding apparatus/terminal/server 12, including but It is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive with And data backup storage system etc..
Camera 13 is can arbitrarily to collect the equipment of image.Sensor element 15 gathers the various parameters of plastics coin, And various parameters are sent to processor handled.
Processor 16 is stored in the program in system storage 28 by operation, so as to perform various function application and number According to processing, for example, realize that the plastics coin version that the embodiment of the present invention is provided knows method for distinguishing.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of plastics coin version knows method for distinguishing, it is characterised in that including:
Interception it is default towards plastics coin to be detected predeterminable area, obtain predeterminable area image to be detected, wherein, it is described default Region is the region with holographic windowing transparent characteristic in plastics coin;
Edge extracting is carried out to the predeterminable area image to be detected, edge image to be detected is obtained;
According to the edge image to be detected in the actual pixels number of predeterminated position, carried out with least one standard pixel number Matching, determines the version of the plastics coin to be detected.
2. according to the method described in claim 1, it is characterised in that the interception it is default towards plastics coin to be detected it is pre- If before region, in addition to:
According to the positive feature of plastics coin to be detected and the direction of negative attribute, the actual face of the plastics coin to be detected is determined To;
When the reality towards with it is default towards it is inconsistent when, by the plastics coin to be detected rotate to it is described it is default towards.
3. according to the method described in claim 1, it is characterised in that the interception it is default towards plastics coin to be detected it is pre- If before region, in addition to:
According to the size of plastics coin to be detected, the real value of currency of the plastics coin to be detected is determined;
Wherein, the plastics coin to be detected is New Zealand Dollar;
The standard pixel number is pixel of the corresponding standard edge image of standard predeterminable area image in the predeterminated position Number;
The standard predeterminable area image includes:It is the real value of currency, described it is default towards, the New Zealand Dollar of each version exists Image in the predeterminable area.
4. method according to claim 3, it is characterised in that it is determined that after the version of the plastics coin to be detected, going back Including:
If the contour feature of the predeterminable area image to be detected is consistent with the contour feature of the standard predeterminable area image, Judge New Zealand's cartographic information in the predeterminable area image to be detected whether with it is new in the standard predeterminable area image Western orchid cartographic information is consistent, if unanimously, the coin in the predeterminable area image to be detected is detected using OCR character identifying methods Whether value information is consistent with the value of money information in the standard predeterminable area image, if unanimously, it is determined that the new west to be detected The bright version of real value of currency described in Lan Yuanwei;Wherein, the value of money information includes the numerical values recited of value of money and the sequence side of value of money Formula.
5. method according to claim 3, it is characterised in that it is determined that after the version of the New Zealand Dollar to be detected, Also include:
If the gray scale of the predeterminable area image to be detected is divided into 3 levels of black-white-gray, wheel of the gray scale for the region of ash is judged Whether wide be oval, if oval, then it is that gray scale is black in black region and the standard predeterminable area image to judge gray scale Whether region is consistent, if unanimously, it is determined that the versions in 1999 for the real value of currency of the New Zealand Dollar to be detected.
6. method according to claim 3, it is characterised in that according to the edge image to be detected in predeterminated position Actual pixels number, is matched with least one standard pixel number, before the version for determining the plastics coin to be detected, also Including:
At least one subregion in the edge image to be detected is chosen, wherein, the size of the subregion, which is met, to be set Determine threshold value;
It regard the position of the subregion as predeterminated position.
7. a kind of device of plastics coin version identification, it is characterised in that including:
Predeterminable area interception module, for intercept it is default towards plastics coin to be detected predeterminable area, obtain to be detected default Area image, wherein, the predeterminable area is the region with holographic windowing transparent characteristic in plastics coin;
Edge extracting module, for carrying out edge extracting to the predeterminable area image to be detected, obtains edge image to be detected;
Version determining module, for according to the edge image to be detected predeterminated position actual pixels number, with least one Individual standard pixel number is matched, and determines the version of the plastics coin to be detected.
8. device according to claim 7, it is characterised in that also include:Reality is towards determining module, in the interception It is default towards plastics coin to be detected predeterminable area before, according to the positive feature of plastics coin to be detected and the side of negative attribute To, determine the plastics coin to be detected it is actual towards;
When the reality towards with it is default towards it is inconsistent when, by the plastics coin to be detected rotate to it is described it is default towards.
9. device according to claim 7, it is characterised in that also include:Real value of currency determining module, in the interception It is default towards plastics coin to be detected predeterminable area before, according to the size of plastics coin to be detected, determine the modeling to be detected Expect the real value of currency of coin;
Wherein, the plastics coin to be detected is New Zealand Dollar;
The standard pixel number is pixel of the corresponding standard edge image of standard predeterminable area image in the predeterminated position Number;
The standard predeterminable area image includes:It is the real value of currency, described it is default towards, the New Zealand Dollar of each version exists Image in the predeterminable area.
10. a kind of equipment, it is characterised in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Camera, for gathering image;
When one or more of programs are by one or more of computing devices so that one or more of processors are real Now the plastics coin version as described in any in claim 1-6 knows method for distinguishing.
CN201710413339.8A 2017-06-05 2017-06-05 Method, device and equipment for identifying versions of plastic coins Active CN107240184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710413339.8A CN107240184B (en) 2017-06-05 2017-06-05 Method, device and equipment for identifying versions of plastic coins

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710413339.8A CN107240184B (en) 2017-06-05 2017-06-05 Method, device and equipment for identifying versions of plastic coins

Publications (2)

Publication Number Publication Date
CN107240184A true CN107240184A (en) 2017-10-10
CN107240184B CN107240184B (en) 2020-03-27

Family

ID=59984891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710413339.8A Active CN107240184B (en) 2017-06-05 2017-06-05 Method, device and equipment for identifying versions of plastic coins

Country Status (1)

Country Link
CN (1) CN107240184B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705330A (en) * 2021-07-08 2021-11-26 厦门科路德科技有限公司 Seal authenticity identification method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069893A1 (en) * 2009-09-24 2011-03-24 Frank Metayer System and method for document location and recognition
CN105069900A (en) * 2015-08-14 2015-11-18 深圳怡化电脑股份有限公司 Method and device for processing banknote information
CN105243731A (en) * 2015-09-17 2016-01-13 华中科技大学 Spectrum-adaptive multinational paper money image recognition device, system and method
CN105303676A (en) * 2015-10-27 2016-02-03 深圳怡化电脑股份有限公司 Banknote version identification method and banknote version identification system
CN105957237A (en) * 2016-04-22 2016-09-21 深圳怡化电脑股份有限公司 Method and device for identifying version of banknote

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069893A1 (en) * 2009-09-24 2011-03-24 Frank Metayer System and method for document location and recognition
CN105069900A (en) * 2015-08-14 2015-11-18 深圳怡化电脑股份有限公司 Method and device for processing banknote information
CN105243731A (en) * 2015-09-17 2016-01-13 华中科技大学 Spectrum-adaptive multinational paper money image recognition device, system and method
CN105303676A (en) * 2015-10-27 2016-02-03 深圳怡化电脑股份有限公司 Banknote version identification method and banknote version identification system
CN105957237A (en) * 2016-04-22 2016-09-21 深圳怡化电脑股份有限公司 Method and device for identifying version of banknote

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705330A (en) * 2021-07-08 2021-11-26 厦门科路德科技有限公司 Seal authenticity identification method and system
CN113705330B (en) * 2021-07-08 2023-12-01 厦门科路德科技有限公司 Seal authenticity identification method and system

Also Published As

Publication number Publication date
CN107240184B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
EP3460765A1 (en) Banknote management method and system
CN103456075B (en) A kind of bill handling method and device
CN106952393B (en) Paper money identification method and device, electronic equipment and storage medium
CN105046807B (en) A kind of counterfeit money recognition methods and system based on smart mobile phone
CN107085883B (en) A kind of method and apparatus of paper money recognition
CN108320373B (en) Method and device for detecting anti-counterfeiting mark of paper money
CN104318238A (en) Method for extracting crown word numbers from scanned banknote images in banknote detection module
CN102324134A (en) Valuable document identification method and device
CN107180479A (en) A kind of bill discrimination method, device, equipment and storage medium
CN107610321B (en) A kind of identification forge or true or paper money method, apparatus, equipment and storage medium
CN109325424A (en) Discrimination method, device and the computer equipment of break in traffic rules and regulations case
CN106845469B (en) Paper money identification method and device
CN107610316B (en) Method and device for detecting defect of paper money and terminal equipment
CN103729656A (en) Seal imprint identification method and identification system
CN107067533A (en) The method and device that a kind of bank note differentiates
CN106898078B (en) Port currency version identification method and device
CN108806058A (en) A kind of paper currency detecting method and device
CN106683261A (en) Method and device for authentic identification of banknote
CN106599923A (en) Detecting method and detecting device for stamped anti-counterfeiting characteristic
Amirsab et al. An automated recognition of fake or destroyed Indian currency notes
CN107240184A (en) A kind of plastics coin version knows method for distinguishing, device and equipment
CN107358717B (en) A kind of Paper Currency Identification, system and its terminal device
CN103035061A (en) Anti-counterfeit characteristic generation method of valuable file and identification method and device thereof
CN109543554A (en) Bill detection method, device, terminal and computer readable storage medium
CN107038793A (en) A kind of recognition methods, device and the equipment of horizontally-spliced bank note

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