CN108416894B - Intelligent scanning currency identification method, device, storage medium and system - Google Patents

Intelligent scanning currency identification method, device, storage medium and system Download PDF

Info

Publication number
CN108416894B
CN108416894B CN201810189673.4A CN201810189673A CN108416894B CN 108416894 B CN108416894 B CN 108416894B CN 201810189673 A CN201810189673 A CN 201810189673A CN 108416894 B CN108416894 B CN 108416894B
Authority
CN
China
Prior art keywords
currency
information
scanning image
image
depreciation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810189673.4A
Other languages
Chinese (zh)
Other versions
CN108416894A (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.)
Huizhou University
Original Assignee
Huizhou University
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 Huizhou University filed Critical Huizhou University
Priority to CN201810189673.4A priority Critical patent/CN108416894B/en
Publication of CN108416894A publication Critical patent/CN108416894A/en
Application granted granted Critical
Publication of CN108416894B publication Critical patent/CN108416894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The embodiment of the application provides an intelligent scanning currency identification method, an intelligent scanning currency identification device, a storage medium and an intelligent scanning currency identification system, wherein the method comprises the following steps: acquiring a front scanning image and a back scanning image of the currency; extracting sub-images of the numbering area of the front scanning image; identifying the sub-image to obtain a number of the currency; calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image; and inquiring whether the serial number exists from the server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information.

Description

Intelligent scanning currency identification method, device, storage medium and system
Technical Field
The application relates to the field of banknote identification, in particular to an intelligent scanning currency identification method, device, storage medium and system.
Background
The banknote identification in the prior art is usually to judge the light transmission or paper quality of the banknote, but with the continuous progress of the technology, the counterfeit banknote technology is developed more and more, the light transmission or the paper quality is closer to the real banknote more and more, and the counterfeit banknote is often to be defended. The counterfeit money cannot be effectively identified by judging the light transmission or paper quality of the counterfeit money.
Therefore, the prior art has defects and needs to be improved urgently.
Disclosure of Invention
The embodiment of the application provides an intelligent scanning currency identification method, an intelligent scanning currency identification device, a storage medium and an intelligent scanning currency identification system, which can be used for identifying the authenticity of currency.
The embodiment of the application provides an intelligent scanning currency identification method, which is used for identifying currency and comprises the following steps:
acquiring a front scanning image and a back scanning image of the currency;
extracting sub-images of the numbering area of the front scanning image;
identifying the sub-image to obtain a number of the currency;
calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image;
inquiring whether the serial number exists from a server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information, wherein the method comprises the following steps: and if the current depreciation degree is less than the historical depreciation degree, the currency is a counterfeit currency, and the depreciation degree is determined according to the depreciation degree information. .
In the intelligent scanning currency identification method according to the present invention, the step of extracting the sub-image of the preset area of the front scan image includes:
acquiring the face value type of the currency;
acquiring position information of a corresponding numbering area on the front scanning image according to the face value type;
and extracting the sub-images of the number areas from the front scanning image according to the position information.
In the method for intelligently scanning currency, the step of obtaining the denomination type of the currency comprises:
and acquiring face value type information input by a user.
In the method for intelligently scanning currency, the step of obtaining the denomination type of the currency comprises:
identifying a front scanning image of the currency to acquire color information of the front scanning image;
and judging the denomination type of the currency according to the color information.
In the intelligent scanning currency authentication method according to the present invention, the step of calculating the current depreciation degree information of the currency based on the front side scanned image and the back side scanned image includes:
acquiring the depreciation information of the currency according to the front scanning image and the back scanning image;
acquiring the average gray values of the front scanning image and the back scanning image;
calculating the contamination information of the currency according to the average gray value;
and acquiring the current depreciation degree information of the currency according to the contamination information and the depreciation information.
The embodiment of the invention also provides an intelligent scanning currency identification device, which comprises:
the acquisition module is used for acquiring a front scanning image and a back scanning image of the currency;
the extraction module is used for extracting the subimages of the numbering areas of the front scanning image;
the identification module is used for identifying the sub-image to acquire the number of the currency;
the calculating module is used for calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image;
a judging module, configured to query whether the serial number exists from a server according to the serial number query, if so, obtain historical depreciation degree information of the currency, and judge authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information, where the judging module includes: and if the current depreciation degree is less than the historical depreciation degree, the currency is a counterfeit currency, and the depreciation degree is determined according to the depreciation degree information. .
In the smart scan currency authentication apparatus of the present invention, the extracting module includes:
a first acquisition unit configured to acquire a denomination type of the money;
the second acquisition unit is used for acquiring the position information of the corresponding numbering area on the front scanning image according to the face value type;
and the first extraction unit is used for extracting the sub-images of the number areas from the front scanning image according to the position information.
In the smart scan currency authentication apparatus of the present invention, the calculation module includes:
a third acquisition unit, configured to acquire the depreciation information of the money according to the front-side scanned image and the back-side scanned image;
the fourth acquisition unit is used for acquiring the average gray value of the front scanning image and the back scanning image;
a first calculation unit configured to calculate contamination information of the money from the average gradation value;
a fifth acquisition unit acquires current depreciation degree information of the money from the contamination information and the depreciation information.
A storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform any of the methods described above.
A system comprising a processor and a memory, the memory having stored therein a computer program, the processor being adapted to perform the method of any of the preceding claims by invoking the computer program stored in the memory.
In view of the above, the present invention obtains the front side scanning image and the back side scanning image of the money; extracting sub-images of the numbering area of the front scanning image; identifying the sub-image to obtain a number of the currency; calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image; inquiring whether the serial number exists from the server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information; therefore, the method assists the staff in identifying the authenticity of the bank note, and has the beneficial effect of improving the authenticity identification accuracy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a flow chart of a method for intelligently scanning currency authentication according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a smart scanning currency evaluation device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, or apparatus, terminal, system comprising a list of steps is not necessarily limited to those steps or modules or elements expressly listed, and may include other steps or modules or elements not expressly listed, or inherent to such process, method, apparatus, terminal, or system.
Referring to fig. 1, fig. 1 is a flowchart of a smart scan currency authentication method for authenticating currency according to an embodiment of the present application, the method including the steps of:
s101, acquiring a front scanning image and a back scanning image of the currency.
In this step, the currency to be authenticated is scanned by the scanning lens, thereby acquiring a front-side scanned image and a back-side scanned image of the currency.
And S102, extracting the sub-images of the number areas of the front scanning image.
The number of the banknote is set in a specific area of the front face, so that a sub-image of the number area must be extracted to identify the number. For different denominations of currency, the position of the currency in the numbering area is different due to different sizes and layout designs of the currency.
In some embodiments, this step S102 includes the following sub-steps:
and S1021, acquiring the denomination type of the currency.
There are many methods for obtaining the face value type, and the face value type can be obtained according to the face value type input by the user.
Other methods can also be used, for example, a front scan image of the banknote is identified to obtain color information of the front scan image; and judging the denomination type of the currency according to the color information. For example, a RMB denomination of 50 is dominated by green, and a RMB denomination of 100 is dominated by red. Accordingly, after the color information is recognized, the face value type information can be recognized.
And S1022, acquiring the position information of the corresponding numbering area on the front scanning image according to the face value type.
And S1023, extracting the sub-image of the number area from the front scanning image according to the position information.
S103, identifying the sub-image to acquire the number of the currency.
The sub-images can be identified by a common image identification method to obtain the numbers therein.
And S104, calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image.
The current depreciation degree information may include a degree of depreciation of the currency, a degree of soiling, and the like.
In some embodiments, this step S104 includes the following sub-steps:
s1041, acquiring the depreciation information of the currency according to the front scanning image and the back scanning image; such as scanning the number of folds or wrinkles thereon, etc.
S1042, obtaining the average gray value of the front scanning image and the back scanning image;
s1043, calculating contamination information of the currency according to the average gray value; the actual mean gray value of the new banknote is compared with the calculated mean gray value and soiling information is calculated, which is measured in a graduated manner.
And S1044, acquiring the current depreciation degree information of the currency according to the contamination information and the depreciation information.
S105, inquiring whether the serial number exists from the server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information. In the actual discrimination, if the number does not exist, the banknote is a counterfeit banknote, and if the number exists and the current depreciation degree is significantly smaller than the historical depreciation degree, the banknote is a counterfeit banknote.
From the above, the present invention provides a method for identifying currency by smart scan, which is used for identifying currency, and comprises the following steps: acquiring a front scanning image and a back scanning image of the currency; extracting sub-images of the numbering area of the front scanning image; identifying the sub-image to obtain a number of the currency; calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image; inquiring whether the serial number exists from the server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information; therefore, the method assists the staff in identifying the authenticity of the bank note, and has the beneficial effect of improving the authenticity identification accuracy.
Referring to fig. 2, the present invention further provides an intelligent scanning currency identification apparatus, including:
an acquiring module 201, configured to acquire a front side scanned image and a back side scanned image of the currency;
an extracting module 202, configured to extract sub-images of the number area of the front side scanned image;
an identification module 203, configured to identify the sub-image to obtain a number of the currency;
a calculating module 204, configured to calculate current depreciation degree information of the currency according to the front-side scanned image and the back-side scanned image;
a determining module 205, configured to query whether the serial number exists from the server according to the serial number query, if so, obtain historical depreciation degree information of the currency, and determine whether the currency is true or false according to the historical depreciation degree information and the current depreciation degree information.
In the smart scan currency authentication apparatus of the present invention, the extracting module includes:
a first acquisition unit configured to acquire a denomination type of the money;
the second acquisition unit is used for acquiring the position information of the corresponding numbering area on the front scanning image according to the face value type;
and the first extraction unit is used for extracting the sub-images of the number areas from the front scanning image according to the position information.
In the smart scan currency authentication apparatus of the present invention, the calculation module includes:
a third acquisition unit, configured to acquire the depreciation information of the money according to the front-side scanned image and the back-side scanned image;
the fourth acquisition unit is used for acquiring the average gray value of the front scanning image and the back scanning image;
a first calculation unit configured to calculate contamination information of the money from the average gradation value;
a fifth acquisition unit acquires current depreciation degree information of the money from the contamination information and the depreciation information.
In view of the above, the present invention obtains the front side scanning image and the back side scanning image of the money; extracting sub-images of the numbering area of the front scanning image; identifying the sub-image to obtain a number of the currency; calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image; inquiring whether the serial number exists from the server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information; therefore, the method assists the staff in identifying the authenticity of the bank note, and has the beneficial effect of improving the authenticity identification accuracy.
The present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the smart scan currency authentication method according to any of the above embodiments.
The embodiment of the present application further provides a system, which includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute any one of the above described smart scan currency authentication methods by calling the computer program stored in the memory.
It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by hardware related to instructions of a program, and the program can be stored in a computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The intelligent scanning currency identification method, the intelligent scanning currency identification device, the intelligent scanning currency identification storage medium and the intelligent scanning currency identification system provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An intelligent scanning currency authentication method for authenticating currency, the method comprising the steps of:
acquiring a front scanning image and a back scanning image of the currency;
extracting sub-images of the numbering area of the front scanning image;
identifying the sub-image to obtain a number of the currency;
calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image;
inquiring whether the serial number exists from a server according to the serial number inquiry, if so, acquiring historical depreciation degree information of the currency, and judging the authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information, wherein the method comprises the following steps: and if the current depreciation degree is less than the historical depreciation degree, the currency is a counterfeit currency, and the depreciation degree is determined according to the depreciation degree information.
2. The smart scan currency identification method according to claim 1, wherein the step of extracting a sub-image of a preset area of the front scan image comprises:
acquiring the face value type of the currency;
acquiring position information of a corresponding numbering area on the front scanning image according to the face value type;
and extracting the sub-images of the number areas from the front scanning image according to the position information.
3. The smart scan currency authentication method of claim 2, wherein the step of obtaining the denomination type of the currency comprises:
and acquiring face value type information input by a user.
4. The smart scan currency authentication method of claim 2, wherein the step of obtaining the denomination type of the currency comprises:
identifying a front scanning image of the currency to acquire color information of the front scanning image;
and judging the denomination type of the currency according to the color information.
5. The smart scan currency authentication method of claim 1, wherein the step of calculating current depreciation information for the currency from the front side scan image and the back side scan image comprises:
acquiring the depreciation information of the currency according to the front scanning image and the back scanning image;
acquiring the average gray values of the front scanning image and the back scanning image;
calculating the contamination information of the currency according to the average gray value;
and acquiring the current depreciation degree information of the currency according to the contamination information and the depreciation information.
6. A smart scanned currency validator comprising:
the acquisition module is used for acquiring a front scanning image and a back scanning image of the currency;
the extraction module is used for extracting the subimages of the numbering areas of the front scanning image;
the identification module is used for identifying the sub-image to acquire the number of the currency;
the calculating module is used for calculating the current depreciation degree information of the currency according to the front scanning image and the back scanning image;
a judging module, configured to query whether the serial number exists from a server according to the serial number query, if so, obtain historical depreciation degree information of the currency, and judge authenticity of the currency according to the historical depreciation degree information and the current depreciation degree information, where the judging module includes: and if the current depreciation degree is less than the historical depreciation degree, the currency is a counterfeit currency, and the depreciation degree is determined according to the depreciation degree information.
7. The smart scanning currency validator according to claim 6, wherein the extraction module comprises:
a first acquisition unit configured to acquire a denomination type of the money;
the second acquisition unit is used for acquiring the position information of the corresponding numbering area on the front scanning image according to the face value type;
and the first extraction unit is used for extracting the sub-images of the number areas from the front scanning image according to the position information.
8. The smart scanning currency validator according to claim 6, wherein the computing module comprises:
a third acquisition unit, configured to acquire the depreciation information of the money according to the front-side scanned image and the back-side scanned image;
the fourth acquisition unit is used for acquiring the average gray value of the front scanning image and the back scanning image;
a first calculation unit configured to calculate contamination information of the money from the average gradation value;
a fifth acquisition unit acquires current depreciation degree information of the money from the contamination information and the depreciation information.
9. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 5.
10. A system comprising a processor and a memory, the memory having stored therein a computer program, the processor being configured to perform the method of any one of claims 1 to 5 by invoking the computer program stored in the memory.
CN201810189673.4A 2018-03-08 2018-03-08 Intelligent scanning currency identification method, device, storage medium and system Active CN108416894B (en)

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 CN108416894A (en) 2018-08-17
CN108416894B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976475A (en) * 2010-06-08 2011-02-16 北京新岸线软件科技有限公司 Paper money identification method and device
CN107331032A (en) * 2017-07-11 2017-11-07 中央民族大学 A kind of method of the identification note true and false

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293285A (en) * 2004-03-31 2005-10-20 Toshiba Corp Paper sheet processing device
CN102930635B (en) * 2012-11-01 2014-10-08 广东欧珀移动通信有限公司 Mobile terminal with currency authenticity identification function and currency authenticity identification method thereof
CN103971447B (en) * 2013-02-04 2017-11-14 山东新北洋信息技术股份有限公司 Paper money identifier and its processing method and bill handling state recording method
CN104537756B (en) * 2015-01-22 2018-04-20 广州广电运通金融电子股份有限公司 A kind of assortment of bank note discrimination method and device based on Lab color spaces
CN105184952B (en) * 2015-10-12 2018-07-06 昆山古鳌电子机械有限公司 A kind of bank note treatment device
CN107705415A (en) * 2017-10-25 2018-02-16 深圳怡化电脑股份有限公司 The detection method and detection device that a kind of bank note writing is stained
CN107767528B (en) * 2017-11-13 2019-12-10 深圳怡化电脑股份有限公司 Paper money inspection method and device, ATM (automatic teller machine) and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976475A (en) * 2010-06-08 2011-02-16 北京新岸线软件科技有限公司 Paper money identification method and device
CN107331032A (en) * 2017-07-11 2017-11-07 中央民族大学 A kind of method of the identification note true and false

Also Published As

Publication number Publication date
CN108416894A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN107085883B (en) A kind of method and apparatus of paper money recognition
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
CN107016363A (en) Bill images managing device, bill images management system and method
JP2006301881A (en) Currency identifying device, currency identifying method and currency identifying program
JP5372183B2 (en) Coin classification device and coin classification method
CN105788064B (en) Bill identification method and device
CN107610320A (en) A kind of bank slip recognition method and apparatus
CN107134047A (en) White watermark detection method and device
Qiao et al. Source camera device identification based on raw images
CN106599923B (en) Method and device for detecting seal anti-counterfeiting features
CN108806058A (en) A kind of paper currency detecting method and device
Ryu et al. Document forgery detection with SVM classifier and image quality measures
CN107705418B (en) Paper currency facing identification method, device, equipment and readable storage medium
CN106296975B (en) method and device for identifying face value of dollar paper money
CN108416894B (en) Intelligent scanning currency identification method, device, storage medium and system
CN113379961B (en) Method, device, equipment and storage medium for assisting identification of bank notes and tickets
CN111462392A (en) Method and device for identifying paper money based on multispectral image similarity algorithm
CN114757317B (en) Method for making and verifying anti-fake grain pattern
KR101812206B1 (en) Counterfeit discrimnation and tracking system and method performing thereof
KR101232684B1 (en) Method for detecting counterfeits of banknotes using Bayesian approach
CN108537945B (en) Bill watermark detection method and system and self-service equipment
TWI378406B (en) Method for performing color analysis operation on image corresponding to monetary banknote
CN108961530B (en) Paper currency defect identification method and system

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