CN108416894A - Intelligent scanning currency discrimination method, device, storage medium and system - Google Patents
Intelligent scanning currency discrimination method, device, storage medium and system Download PDFInfo
- Publication number
- CN108416894A CN108416894A CN201810189673.4A CN201810189673A CN108416894A CN 108416894 A CN108416894 A CN 108416894A CN 201810189673 A CN201810189673 A CN 201810189673A CN 108416894 A CN108416894 A CN 108416894A
- Authority
- CN
- China
- Prior art keywords
- currency
- scan image
- information
- front scan
- subgraph
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D7/00—Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
- G07D7/20—Testing patterns thereon
- G07D7/2016—Testing 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)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
The embodiment of the present application provides intelligent scanning currency discrimination method, device, storage medium and system, and this approach includes the following steps:Obtain the front scan image and back scan image of the currency;Extract the subgraph of the numbering area of the front scan image;The subgraph is identified to obtain the number of the currency;The current depreciation degree information of the currency is calculated according to the front scan image and back scan image;It whether there is from the server inquiry number according to number inquiry, if the history depreciation degree information for obtaining the currency in the presence of if, and judge according to the history depreciation degree information and the current depreciation degree information true and false of the currency.
Description
Technical field
This application involves banknotes to differentiate field, more particularly to a kind of intelligent scanning currency discrimination method, device, storage medium
And system.
Background technology
Banknote in the prior art is identified to be judged often by its translucency or papery, but with technology
Be constantly progressive, counterfeit money technology is also more and more flourishing, and translucency or papery become closer to genuine notes ticket, and counterfeit money often allows people's air defense
I is unequal to anti-.It depends merely on and its translucency or papery is judged can not effectively to differentiate counterfeit money.
Therefore, the prior art is defective, needs to improve.
Invention content
A kind of intelligent scanning currency discrimination method of the embodiment of the present application offer, device, storage medium and system, can be to goods
The coin true and false is differentiated.
The embodiment of the present application provides a kind of intelligent scanning currency discrimination method, is used for the discriminating of currency, this method include with
Lower step:
Obtain the front scan image and back scan image of the currency;
Extract the subgraph of the numbering area of the front scan image;
The subgraph is identified to obtain the number of the currency;
The current depreciation degree information of the currency is calculated according to the front scan image and back scan image;
It whether there is from the server inquiry number according to number inquiry, if obtaining going through for the currency in the presence of if
History depreciation degree information, and institute is judged according to the history depreciation degree information and the current depreciation degree information
State the true and false of currency.
In intelligent scanning currency discrimination method of the present invention, the preset areas of the extraction front scan image
The step of subgraph in domain includes:
Obtain the face amount type of the currency;
Location information of the corresponding numbering area on the front scan image is obtained according to the face amount type;
The subgraph of numbering area is extracted from the front scan image according to the positional information.
In intelligent scanning currency discrimination method of the present invention, the step of the face amount type for obtaining the currency
Including:
Obtain face amount type information input by user.
In intelligent scanning currency discrimination method of the present invention, the step of the face amount type for obtaining the currency
Including:
The front scan image of the currency is identified, to obtain the colouring information that the front scan image has;
The face amount type of the currency is judged according to the colouring information.
It is described according to the front scan image and the back side in intelligent scanning currency discrimination method of the present invention
Scan image calculates the step of current depreciation degree information of the currency and includes:
Information is lost according to what the front scan image and back scan image obtained the currency;
Obtain the average gray value of the front scan image and back scan image;
It is stained information according to what the average gray value calculated the currency;
It is stained information and the current depreciation degree information for losing currency described in acquisition of information according to described.
The embodiment of the present invention additionally provides a kind of intelligent scanning currency identification device, including:
Acquisition module, the front scan image for obtaining the currency and back scan image;
Extraction module, the subgraph of the numbering area for extracting the front scan image;
Identification module, for the subgraph being identified to obtain the number of the currency;
Computing module, the current depreciation for calculating the currency according to the front scan image and back scan image
Degree information;
Judgment module, for whether there is from the server inquiry number according to number inquiry, if being obtained in the presence of if
The history depreciation degree information of the currency is taken, and according to the history depreciation degree information and the current depreciation
Degree information judges the true and false of the currency.
In intelligent scanning currency identification device of the present invention, the extraction module includes:
First acquisition unit, the face amount type for obtaining the currency;
Second acquisition unit, for obtaining corresponding numbering area on the front scan image according to the face amount type
Location information;
First extraction unit, the subgraph for extracting numbering area from the front scan image according to the positional information
Picture.
In intelligent scanning currency identification device of the present invention, the computing module includes:
Third acquiring unit loses letter for obtain the currency according to the front scan image and back scan image
Breath;
4th acquiring unit, the average gray value for obtaining the front scan image and back scan image;
First computing unit is stained information for calculate the currency according to the average gray value;
5th acquiring unit is stained information and the current depreciation degree for losing currency described in acquisition of information according to
Information.
A kind of storage medium is stored with computer program in the storage medium, when the computer program is in computer
When upper operation so that the computer executes method described in any one of the above embodiments.
A kind of system, including processor and memory, computer program is stored in the memory, and the processor is logical
The computer program for calling and being stored in the memory is crossed, for executing method described in any one of the above embodiments.
From the foregoing, it will be observed that front scan image and back scan image of the present invention by the acquisition currency;Extraction institute
State the subgraph of the numbering area of front scan image;The subgraph is identified to obtain the number of the currency;Root
The current depreciation degree information of the currency is calculated according to the front scan image and back scan image;According to the volume
Number inquiry from the server inquiry it is described number whether there is, if obtained in the presence of if the currency history depreciation degree believe
It ceases, and judges the true and false of the currency according to the history depreciation degree information and the current depreciation degree information;
To which ancillary staff carries out true and false discriminating to banknote, has and improve the advantageous effect that the true and false differentiates accuracy rate.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described.It should be evident that the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
The flow diagram of Fig. 1 intelligent scanning currency discrimination methods provided by the embodiments of the present application.
Fig. 2 is intelligent scanning currency identification device structural schematic diagram provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of not making the creative labor
Example, belongs to the protection domain of the application.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing etc.
(If there is)It is for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that this
The object of sample description can be interchanged in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning
Figure, which is to cover, non-exclusive includes.For example, containing the process of series of steps, method or containing a series of modules or list
The device of member, terminal, system those of are not necessarily limited to clearly to list step or module or unit, can also include unclear
The step of ground is listed or module or unit can also include for intrinsic its of these processes, method, apparatus, terminal or system
Its step or module or unit.
With reference to figure 1, Fig. 1 provides a kind of flow chart of intelligent scanning currency discrimination method for the embodiment of the present application, is used for
The discriminating of currency, this approach includes the following steps:
S101, the front scan image and back scan image for obtaining the currency.
Currency to be identified is scanned by scanning lens in this step, to obtain the front scan image of the currency with
And back scan image.
S102, the extraction front scan image numbering area subgraph.
The number of currency is all set at positive specific region, therefore to identify that the number must first extract the number
The subgraph in region.And for the currency of different denominations, since the size of currency and own layout's design are different, the numbering area
It the position of currency where domain also can be different.
In some embodiments, step S102 includes following sub-step:
S1021, the face amount type for obtaining the currency.
Wherein, the method for obtaining face amount type has very much, can be obtained according to face amount type input by user.
Other methods can also be used, for example, the front scan image to the currency is identified, with obtain it is described just
The colouring information that Surface scan image has;The face amount type of the currency is judged according to the colouring information.For example, for face amount
For 50 RMB, based on green, for the name coin of face amount 100, based on red.Therefore, it identifies
Face amount type information can be identified after colouring information.
S1022, position letter of the corresponding numbering area on the front scan image is obtained according to the face amount type
Breath.
S1023, the subgraph for extracting numbering area from the front scan image according to the positional information.
S103, the subgraph is identified to obtain the number of the currency.
Subgraph is identified, common image-recognizing method may be used, to obtain number therein.
S104, the current depreciation degree that the currency is calculated according to the front scan image and back scan image
Information.
Current depreciation degree information may include that the currency loses degree and degree etc..
In some embodiments, step S104 includes following sub-step:
S1041, obtain the currency according to the front scan image and back scan image lose information;Such as it scans
The quantity etc. of folding line or fold thereon.
S1042, the average gray value for obtaining the front scan image and back scan image;
S1043, calculate the currency according to the average gray value be stained information;The actual average gray value of new banknote and meter
The average gray value of calculating is compared, and is calculated and is stained information, this is stained information and is measured otherwise with grade.
S1044, information and the current depreciation degree letter for losing currency described in acquisition of information are stained according to
Breath.
S105, whether there is from the server inquiry number according to number inquiry, if obtaining institute in the presence of if
The history depreciation degree information of currency is stated, and according to the history depreciation degree information and the current depreciation degree
Information judges the true and false of the currency.In actually differentiating, the specification banknote is counterfeit money if the number is not present, if
The number exists, and the current depreciation degree is significantly less than history depreciation degree, then the specification currency or counterfeit money.
From the foregoing, it will be observed that a kind of intelligent scanning currency discrimination method provided by the invention, is used for the discriminating of currency, this method packet
Include following steps:Obtain the front scan image and back scan image of the currency;Extract the front scan image
The subgraph of numbering area;The subgraph is identified to obtain the number of the currency;According to the front scan figure
Picture and back scan image calculate the current depreciation degree information of the currency;It is inquired from the service according to the number
The device inquiry number whether there is, and if obtaining the history depreciation degree information of the currency in the presence of if, and be gone through according to described
History depreciation degree information and the current depreciation degree information judge the true and false of the currency;To ancillary staff
True and false discriminating is carried out to banknote, has and improves the advantageous effect that the true and false differentiates accuracy rate.
Fig. 2 is please referred to, the present invention also provides a kind of intelligent scanning currency identification devices, including:
Acquisition module 201, the front scan image for obtaining the currency and back scan image;
Extraction module 202, the subgraph of the numbering area for extracting the front scan image;
Identification module 203, for the subgraph being identified to obtain the number of the currency;
Computing module 204, the current folding for calculating the currency according to the front scan image and back scan image
Oldization degree information;
Judgment module 205, for whether there is from the server inquiry number according to number inquiry, if in the presence of if
The history depreciation degree information of the currency is obtained, and according to the history depreciation degree information and the current depreciation
Change the true and false that degree information judges the currency.
In intelligent scanning currency identification device of the present invention, the extraction module includes:
First acquisition unit, the face amount type for obtaining the currency;
Second acquisition unit, for obtaining corresponding numbering area on the front scan image according to the face amount type
Location information;
First extraction unit, the subgraph for extracting numbering area from the front scan image according to the positional information
Picture.
In intelligent scanning currency identification device of the present invention, the computing module includes:
Third acquiring unit loses letter for obtain the currency according to the front scan image and back scan image
Breath;
4th acquiring unit, the average gray value for obtaining the front scan image and back scan image;
First computing unit is stained information for calculate the currency according to the average gray value;
5th acquiring unit is stained information and the current depreciation degree for losing currency described in acquisition of information according to
Information.
From the foregoing, it will be observed that front scan image and back scan image of the present invention by the acquisition currency;Extraction institute
State the subgraph of the numbering area of front scan image;The subgraph is identified to obtain the number of the currency;Root
The current depreciation degree information of the currency is calculated according to the front scan image and back scan image;According to the volume
Number inquiry from the server inquiry it is described number whether there is, if obtained in the presence of if the currency history depreciation degree believe
It ceases, and judges the true and false of the currency according to the history depreciation degree information and the current depreciation degree information;
To which ancillary staff carries out true and false discriminating to banknote, has and improve the advantageous effect that the true and false differentiates accuracy rate.
The embodiment of the present application also provides a kind of storage medium, and computer program is stored in the storage medium, when the calculating
When machine program is run on computers, which executes the intelligent scanning currency discrimination method described in any of the above-described embodiment.
The embodiment of the present application also carries a kind of system, including processor and memory, and computer is stored in the memory
Program, the processor is by calling the computer program stored in the memory, for executing any of the above-described institute
The intelligent scanning currency discrimination method stated.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable storage medium
In matter, which can include but is not limited to:Read-only memory(ROM, Read Only Memory), random access memory
Device(RAM, Random Access Memory), disk or CD etc..
Intelligent scanning currency discrimination method, device, storage medium and the system that the embodiment of the present application is provided above into
It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (10)
1. a kind of intelligent scanning currency discrimination method is used for the discriminating of currency, which is characterized in that this approach includes the following steps:
Obtain the front scan image and back scan image of the currency;
Extract the subgraph of the numbering area of the front scan image;
The subgraph is identified to obtain the number of the currency;
The current depreciation degree information of the currency is calculated according to the front scan image and back scan image;
It whether there is from the server inquiry number according to number inquiry, if obtaining going through for the currency in the presence of if
History depreciation degree information, and institute is judged according to the history depreciation degree information and the current depreciation degree information
State the true and false of currency.
2. intelligent scanning currency discrimination method according to claim 1, which is characterized in that the extraction front scan
The step of subgraph of the predeterminable area of image includes:
Obtain the face amount type of the currency;
Location information of the corresponding numbering area on the front scan image is obtained according to the face amount type;
The subgraph of numbering area is extracted from the front scan image according to the positional information.
3. intelligent scanning currency discrimination method according to claim 2, which is characterized in that the face for obtaining the currency
The step of Value Types includes:
Obtain face amount type information input by user.
4. intelligent scanning currency discrimination method according to claim 2, which is characterized in that the face for obtaining the currency
The step of Value Types includes:
The front scan image of the currency is identified, to obtain the colouring information that the front scan image has;
The face amount type of the currency is judged according to the colouring information.
5. intelligent scanning currency discrimination method according to claim 1, which is characterized in that described according to the front scan
Image and back scan image calculate the step of current depreciation degree information of the currency and include:
Information is lost according to what the front scan image and back scan image obtained the currency;
Obtain the average gray value of the front scan image and back scan image;
It is stained information according to what the average gray value calculated the currency;
It is stained information and the current depreciation degree information for losing currency described in acquisition of information according to described.
6. a kind of intelligent scanning currency identification device, which is characterized in that including:
Acquisition module, the front scan image for obtaining the currency and back scan image;
Extraction module, the subgraph of the numbering area for extracting the front scan image;
Identification module, for the subgraph being identified to obtain the number of the currency;
Computing module, the current depreciation for calculating the currency according to the front scan image and back scan image
Degree information;
Judgment module, for whether there is from the server inquiry number according to number inquiry, if being obtained in the presence of if
The history depreciation degree information of the currency is taken, and according to the history depreciation degree information and the current depreciation
Degree information judges the true and false of the currency.
7. intelligent scanning currency identification device according to claim 6, which is characterized in that the extraction module includes:
First acquisition unit, the face amount type for obtaining the currency;
Second acquisition unit, for obtaining corresponding numbering area on the front scan image according to the face amount type
Location information;
First extraction unit, the subgraph for extracting numbering area from the front scan image according to the positional information
Picture.
8. intelligent scanning currency identification device according to claim 6, which is characterized in that the computing module includes:
Third acquiring unit loses letter for obtain the currency according to the front scan image and back scan image
Breath;
4th acquiring unit, the average gray value for obtaining the front scan image and back scan image;
First computing unit is stained information for calculate the currency according to the average gray value;
5th acquiring unit is stained information and the current depreciation degree for losing currency described in acquisition of information according to
Information.
9. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer program
When running on computers so that the computer perform claim requires 1 to 5 any one of them method.
10. a kind of system, which is characterized in that including processor and memory, computer program, institute are stored in the memory
Processor is stated by calling the computer program stored in the memory, any one of 1 to 5 institute is required for perform claim
The method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810189673.4A CN108416894B (en) | 2018-03-08 | 2018-03-08 | Intelligent scanning currency identification method, device, storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810189673.4A CN108416894B (en) | 2018-03-08 | 2018-03-08 | Intelligent scanning currency identification method, device, storage medium and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108416894A true CN108416894A (en) | 2018-08-17 |
CN108416894B CN108416894B (en) | 2021-09-03 |
Family
ID=63130340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810189673.4A Active CN108416894B (en) | 2018-03-08 | 2018-03-08 | Intelligent scanning currency identification method, device, storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108416894B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005293285A (en) * | 2004-03-31 | 2005-10-20 | Toshiba Corp | Paper sheet processing device |
CN101976475A (en) * | 2010-06-08 | 2011-02-16 | 北京新岸线软件科技有限公司 | Paper money identification method and device |
CN102930635A (en) * | 2012-11-01 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal with currency authenticity identification function and currency authenticity identification method thereof |
CN103971447A (en) * | 2013-02-04 | 2014-08-06 | 山东新北洋信息技术股份有限公司 | Paper currency recognition device, handling method implemented by same and paper currency handling status recording method |
CN104537756A (en) * | 2015-01-22 | 2015-04-22 | 广州广电运通金融电子股份有限公司 | Banknote classification and identification method and device based on Lab color space |
CN105184952A (en) * | 2015-10-12 | 2015-12-23 | 昆山古鳌电子机械有限公司 | Banknote processing device |
CN107331032A (en) * | 2017-07-11 | 2017-11-07 | 中央民族大学 | A kind of method of the identification note true and false |
CN107705415A (en) * | 2017-10-25 | 2018-02-16 | 深圳怡化电脑股份有限公司 | The detection method and detection device that a kind of bank note writing is stained |
CN107767528A (en) * | 2017-11-13 | 2018-03-06 | 深圳怡化电脑股份有限公司 | A kind of method for inspecting paper currency, device, ATM and storage medium |
-
2018
- 2018-03-08 CN CN201810189673.4A patent/CN108416894B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005293285A (en) * | 2004-03-31 | 2005-10-20 | Toshiba Corp | Paper sheet processing device |
CN101976475A (en) * | 2010-06-08 | 2011-02-16 | 北京新岸线软件科技有限公司 | Paper money identification method and device |
CN102930635A (en) * | 2012-11-01 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal with currency authenticity identification function and currency authenticity identification method thereof |
CN103971447A (en) * | 2013-02-04 | 2014-08-06 | 山东新北洋信息技术股份有限公司 | Paper currency recognition device, handling method implemented by same and paper currency handling status recording method |
CN104537756A (en) * | 2015-01-22 | 2015-04-22 | 广州广电运通金融电子股份有限公司 | Banknote classification and identification method and device based on Lab color space |
CN105184952A (en) * | 2015-10-12 | 2015-12-23 | 昆山古鳌电子机械有限公司 | Banknote processing device |
CN107331032A (en) * | 2017-07-11 | 2017-11-07 | 中央民族大学 | A kind of method of the identification note true and false |
CN107705415A (en) * | 2017-10-25 | 2018-02-16 | 深圳怡化电脑股份有限公司 | The detection method and detection device that a kind of bank note writing is stained |
CN107767528A (en) * | 2017-11-13 | 2018-03-06 | 深圳怡化电脑股份有限公司 | A kind of method for inspecting paper currency, device, ATM and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108416894B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101414440B1 (en) | Paper notes management system, paper notes identification apparatus, paper notes management apparatus, method for managing paper notes, and computer readable medium in which program for managing paper notes is stored | |
CN107610322B (en) | Banknote version identification method and device, electronic equipment and storage medium | |
CN107103683B (en) | Paper money identification method and device, electronic equipment and storage medium | |
CN108320373B (en) | Method and device for detecting anti-counterfeiting mark of paper money | |
JPWO2009040922A1 (en) | Paper sheet processing equipment | |
WO2016123903A1 (en) | Folded bill identification method and device | |
CN104574638A (en) | Method for identifying RMB | |
CN107610316B (en) | Method and device for detecting defect of paper money and terminal equipment | |
CN106920318B (en) | Method and device for identifying paper money | |
CN109410172A (en) | Detection method, device, storage medium and the processor of paper sheet thickness | |
CN103886309A (en) | Method for identifying dollar denominations through facial recognition | |
CN107134047A (en) | White watermark detection method and device | |
CN108510639B (en) | Paper money counterfeit discriminating method and device, currency detector and storage medium | |
CN106683261B (en) | A kind of false distinguishing method and apparatus of bank note | |
CN106447905B (en) | A kind of bank note currency type recognition methods and device | |
CN106599923B (en) | Method and device for detecting seal anti-counterfeiting features | |
CN108806058A (en) | A kind of paper currency detecting method and device | |
CN107134048A (en) | A kind of bill anti-counterfeit discrimination method of Intelligent Recognition watermark feature | |
CN106447897A (en) | Method and apparatus for detecting magnetic characteristics of paper note | |
CN107527423B (en) | Paper money anti-counterfeiting identification method and paper money identification device | |
WO2018130119A1 (en) | Double prefix number-based paper money authenticity identification method and system | |
CN106447904B (en) | Method and device for identifying paper money | |
CN113379961B (en) | Method, device, equipment and storage medium for assisting identification of bank notes and tickets | |
CN108416894A (en) | Intelligent scanning currency discrimination method, device, storage medium and system | |
CN106296975A (en) | The recognition methods of a kind of dollar bill face amount and device |
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 |