CN115346306A - Method and device for identifying stained paper money - Google Patents

Method and device for identifying stained paper money Download PDF

Info

Publication number
CN115346306A
CN115346306A CN202211037706.6A CN202211037706A CN115346306A CN 115346306 A CN115346306 A CN 115346306A CN 202211037706 A CN202211037706 A CN 202211037706A CN 115346306 A CN115346306 A CN 115346306A
Authority
CN
China
Prior art keywords
difference
target
paper money
determining
difference area
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
CN202211037706.6A
Other languages
Chinese (zh)
Other versions
CN115346306B (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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211037706.6A priority Critical patent/CN115346306B/en
Priority claimed from CN202211037706.6A external-priority patent/CN115346306B/en
Publication of CN115346306A publication Critical patent/CN115346306A/en
Application granted granted Critical
Publication of CN115346306B publication Critical patent/CN115346306B/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/202Testing patterns thereon using pattern matching
    • 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)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

The invention provides a method and a device for identifying stained paper money, which can be applied to the field of artificial intelligence or the field of finance. The invention can effectively identify various stained paper money, thereby ensuring the safe circulation of the paper money.

Description

Method and device for identifying stained paper money
Technical Field
The invention relates to the field of artificial intelligence, in particular to a method and a device for identifying stained paper money.
Background
During circulation, the paper money may be stained, and the paper money may have handwriting or patterns, printing or patterns, and other stains.
If the stained area of the bill is large or the degree of staining is high, the bill can be easily recognized. In some cases, the banknotes have a relatively small stained area and a relatively low degree of staining, but the stained writing or pattern on the banknotes relates to sensitive information which can have a negative effect if the banknotes are continuously circulated. There is currently no device that can effectively identify such sensitive information contaminated notes.
Disclosure of Invention
In view of this, the invention provides a method and a device for identifying stained paper money, which can effectively identify various stained paper money.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
a method of identifying an insulted banknote comprising:
acquiring target paper money;
acquiring front and back images of the target paper money;
respectively comparing the front and back images of the target paper money with the front and back images of standard paper money to determine whether the target paper money has a difference area;
if the difference area exists, judging whether sensitive information exists in the difference area;
if the sensitive information exists, determining that the target paper currency is stained paper currency;
if no sensitive information exists, acquiring the position information and the difference degree of the difference area;
and determining whether the target banknote is a stained banknote according to the position information of the difference area and the difference degree.
Optionally, the acquiring the target banknote includes:
acquiring paper money to be identified;
identifying the authenticity of the paper money to be identified;
and if the paper money to be recognized is true, determining the paper money to be recognized as the target paper money.
Optionally, comparing the front-back image of the target banknote with the front-back image of the standard banknote respectively to determine whether the target banknote has a difference region, including:
comparing the pixel color of the front and back side images of the target paper currency with the pixel color of the front and back side images of the standard paper currency respectively;
if the difference value between the color of each pixel in the front and back images of the target paper money and the color of the corresponding pixel in the standard front and back images is within a preset range, determining that the target paper money has no difference area;
otherwise, determining an area formed by corresponding pixels of which the difference values are not in the preset range as the difference area.
Optionally, the determining whether sensitive information exists in the difference region includes:
performing text recognition on the difference area;
if the text information is identified, calling a pre-constructed sensitive word bank, and judging whether the text information contains sensitive words in the sensitive word bank;
and if the text information is not recognized, inputting the image corresponding to the difference area into a pre-constructed sensitive pattern recognition model, and determining whether the difference area has sensitive information according to the recognition result of the sensitive pattern recognition model.
Optionally, the obtaining the position information and the difference degree of the difference region includes:
acquiring coordinate information of pixels constituting the difference region;
determining the position information of the difference area according to the coordinate information of the pixels forming the difference area;
and determining the difference degree of the difference area according to a preset corresponding relation between the color difference value and the difference degree and the difference value between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money.
Optionally, determining whether the target banknote is a stained banknote according to the position information and the difference degree of the difference area includes:
judging whether the difference area is in a preset key area or not according to the position information of the difference area;
if the difference area is in the preset key area, judging whether the difference degree of the difference area is greater than a first preset value;
if the number of the target paper currency is larger than the first preset value, determining that the target paper currency is stained paper currency;
if the number of the target paper currency is not larger than the first preset value, determining that the target paper currency is not stained paper currency;
if the difference area is not in the preset key area, judging whether the difference degree of the difference area is larger than a second preset value or not;
if the number of the target paper currency is larger than a second preset value, determining that the target paper currency is stained paper currency;
and if the target paper currency is not larger than the second preset value, determining that the target paper currency is not stained paper currency, wherein the first preset value is smaller than the second preset value.
Optionally, after determining that the target banknote is a stained banknote, the method further comprises:
and if the current business is a withdrawal business, the target paper money is put into a cache paper money box.
Optionally, after determining that the target banknote is a stained banknote, the method further comprises:
and if the current business is deposit business, prompting the client that the target paper currency is stained paper currency.
Optionally, after determining that the text information does not include the sensitive word in the sensitive word bank, the method further includes:
and if the current business is cash payment in the bank institution, sending the text information to a preset auditor, and determining whether to continue to execute the current business according to the audit result of the preset auditor.
An apparatus for recognizing a stained paper money, comprising:
a target banknote acquiring unit for acquiring a target banknote;
the paper money image acquisition unit is used for acquiring front and back images of the target paper money;
the paper money image comparison unit is used for respectively comparing the front and back images of the target paper money with the front and back images of the standard paper money and determining whether the target paper money has a difference area;
the sensitive information judging unit is used for judging whether sensitive information exists in the difference area or not under the condition that the target paper currency has the difference area, and if the sensitive information exists, determining that the target paper currency is stained paper currency;
the difference area information acquisition unit is used for acquiring the position information and the difference degree of the difference area under the condition that sensitive information does not exist in the difference area;
and the stained paper money determining unit is used for determining whether the target paper money is stained paper money according to the position information of the difference area and the difference degree.
Optionally, the target banknote acquiring unit is specifically configured to:
acquiring paper money to be recognized;
identifying the authenticity of the paper money to be identified;
and if the paper money to be identified is true, determining the paper money to be identified as the target paper money.
Optionally, the banknote image comparing unit is specifically configured to:
respectively comparing the pixel color of the front and back side images of the target paper currency with the pixel color of the front and back side images of the standard paper currency;
if the difference value between the color of each pixel in the front and back images of the target paper money and the color of the corresponding pixel in the standard front and back images is within a preset range, determining that the target paper money has no difference area;
otherwise, determining an area formed by corresponding pixels of which the difference values are not in the preset range as the difference area.
Optionally, the sensitive information determining unit is specifically configured to:
performing text recognition on the difference area;
if the text information is identified, calling a pre-constructed sensitive word bank, and judging whether the text information contains sensitive words in the sensitive word bank;
and if the text information is not recognized, inputting the image corresponding to the difference area into a pre-constructed sensitive pattern recognition model, and determining whether the difference area has sensitive information according to the recognition result of the sensitive pattern recognition model.
Optionally, the difference area information obtaining unit is specifically configured to:
acquiring coordinate information of pixels constituting the difference region;
determining the position information of the difference area according to the coordinate information of the pixels forming the difference area;
and determining the difference degree of the difference area according to a preset corresponding relation between the color difference value and the difference degree and the difference value between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money.
Optionally, the stained paper money determining unit is specifically configured to:
judging whether the difference area is in a preset key area or not according to the position information of the difference area;
if the difference area is in the preset key area, judging whether the difference degree of the difference area is greater than a first preset value;
if the number of the target paper currency is larger than the first preset value, determining that the target paper currency is stained paper currency;
if the number of the target paper currency is not larger than the first preset value, determining that the target paper currency is not stained paper currency;
if the difference area is not in the preset key area, judging whether the difference degree of the difference area is larger than a second preset value or not;
if the number of the target paper currency is larger than a second preset value, determining that the target paper currency is stained paper currency;
and if the target paper currency is not larger than the second preset value, determining that the target paper currency is not stained paper currency, wherein the first preset value is smaller than the second preset value.
Optionally, the apparatus further comprises:
and the first stained paper currency processing unit is used for putting the target paper currency into a cache paper currency box if the current service is a withdrawal service after the target paper currency is determined to be stained paper currency.
Optionally, the apparatus further comprises:
and the second stained paper currency processing unit is used for prompting the client that the target paper currency is stained paper currency if the current business is deposit business after the target paper currency is determined to be stained paper currency.
Optionally, the apparatus further comprises:
and the third stained paper money processing unit is used for sending the text information to a preset auditor if the current business is the cash payment in the bank institution after the text information is determined not to contain the sensitive words in the sensitive word bank, and determining whether to continue to execute the current business according to the audit result of the preset auditor.
Compared with the prior art, the invention has the following beneficial effects:
the invention discloses a method for identifying stained paper money, which is characterized in that front and back images of target paper money are respectively compared with front and back images of standard paper money to determine whether the target paper money has a difference area, if so, sensitive information stained paper money is identified by judging whether the difference area has sensitive information, and if not, stained paper money except the sensitive information is identified according to the position information and the difference degree of the difference area. The invention can effectively identify various stained paper money, thereby ensuring the safe circulation of the paper money.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for identifying a stained paper currency according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a portion of a method for identifying a stained paper currency according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a portion of a method for identifying a stained paper currency according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a portion of a method for identifying a stained paper currency according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a stained paper money recognition device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for identifying a stained banknote, which may be applied to a self-service device of a bank, such as a self-service teller machine, and may also be applied to a banknote verifying device in a banking institution, and the method specifically includes:
s101: acquiring target paper money;
the target banknote is a banknote waiting to be identified as a stained banknote.
Optionally, the target banknote may be a banknote which is subjected to authenticity identification to be true, and the target banknote waits for further identification of whether the target banknote is a stained banknote, and the method for identifying authenticity of the banknote may be any existing banknote identification method, which is not specifically limited in the present invention.
S102: acquiring front and back images of target paper money;
and scanning the front and back surfaces of the target paper money by using image scanning equipment to obtain front and back surface images of the target paper money.
S103: respectively comparing the front and back images of the target paper money with the front and back images of the standard paper money to determine whether the target paper money has a difference area;
note that, since the color of the bill slightly changes due to factors such as light and natural fading during circulation of the bill, if the pixel color of the front and back side images of the target bill does not match the pixel color of the front and back side images of the standard bill, the target bill is considered as a contaminated bill that may affect the current business, which is obviously inappropriate.
On this basis, the present embodiment provides an implementation manner that is selectable in S103, including:
and respectively comparing the pixel color of the front and back side images of the target paper currency with the pixel color of the front and back side images of the standard paper currency.
And if the difference value between the color of each pixel in the front and back images of the target paper currency and the color of the corresponding pixel in the standard front and back images is within a preset range, determining that the target paper currency has no difference area. The preset range is a preset color difference range which does not affect the current service.
Otherwise, determining the area formed by the corresponding pixels with the difference values out of the preset range as the difference area.
It is understood that if there are different regions in the target banknote, the different regions may be one or more.
If there is no difference region, execute S104: continuing to process the current service;
the current business can be a withdrawal business, a deposit business, a cash payment in a banking institution and the like.
If there is a difference region, execute S105: judging whether sensitive information exists in the difference area;
referring to fig. 2, the present embodiment provides an implementation manner of S105:
s201: performing text recognition on the difference area;
specifically, the difference region may be subjected to text Recognition by using an OCR (Optical Character Recognition) technique.
S202: if the text information is identified, calling a pre-constructed sensitive word bank, and judging whether the text information contains sensitive words in the sensitive word bank;
the sensitive words in the sensitive word bank are sensitive words influencing the circulation of the paper money, such as reverse publicity words, negative words and the like.
Specifically, word segmentation processing may be performed on the recognized text information, words after the word segmentation processing are matched with the sensitive word bank, and whether the text information includes a sensitive word in the sensitive word bank is determined according to a matching result.
S203: and if the text information is not recognized, inputting the image corresponding to the difference area into a pre-constructed sensitive pattern recognition model, and determining whether the sensitive information exists in the difference area according to the recognition result of the sensitive pattern recognition model.
If the text information is not recognized, the difference area may be a pattern or a stain without any practical significance, and the sensitive pattern recognition model needs to be called again to recognize whether the image corresponding to the difference area has sensitive information.
The sensitive pattern recognition model is obtained by utilizing a training sample to train a specific machine learning model in advance, the specific machine learning model can be a neural network model or other machine learning models, and the training sample is marked with whether sensitive information exists in advance.
Further, if the current business is cash payment in a bank institution, after the text information is determined not to contain the sensitive words in the sensitive word bank, the text information is sent to a preset auditor, and whether the current business is continuously executed or not is determined according to the audit result of the preset auditor.
If there is sensitive information, executing S106: determining the target paper currency as stained paper currency;
if there is no sensitive information, execute S107: acquiring position information and difference degree of the difference area;
referring to fig. 3, the present embodiment provides an alternative implementation manner of S107, including:
s301: acquiring coordinate information of pixels forming the difference area;
s302: determining the position information of the difference area according to the coordinate information of the pixels forming the difference area;
specifically, the position information of the difference region is determined according to the coordinate information of the pixels at the outline of the difference region.
S303: and determining the difference degree of the difference area according to the preset corresponding relation between the color difference value and the difference degree and the difference value between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money.
In order to conveniently quantify the color difference between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money, the embodiment expresses the color difference of the difference area by the difference degree.
S108: and determining whether the target banknote is a stained banknote according to the position information of the difference area and the difference degree.
Referring to fig. 4, this embodiment provides an alternative implementation manner of S108, including:
s401: judging whether the difference area is in a preset key area or not according to the position information of the difference area;
if the difference region is within the preset key region, executing S402: judging whether the difference degree of the difference area is larger than a first preset value or not;
if the value is greater than the first preset value, executing S403: determining the target paper currency as stained paper currency;
if not, executing S404: determining that the target banknote is not a stained banknote;
if the difference region is not within the preset key region, execute S405: judging whether the difference degree of the difference area is greater than a second preset value or not;
if the value is larger than the second preset value, executing S403: determining the target paper currency as stained paper currency;
if not, executing S404: the target banknote is determined not to be a stained banknote.
Wherein the first preset value is smaller than the second preset value.
The preset key area is an area which influences the circulation of the paper money in the preset paper money, such as an area containing key characters or key patterns in the standard paper money.
Further, the embodiment also discloses a processing method after the target banknote is determined as the stained banknote according to different businesses.
And if the current service is a withdrawal service, the target paper money is put into a cache paper money box, and the next paper money of the target paper money is identified.
If the current business is deposit business, the client is prompted that the target paper currency is stained paper currency, and the client can remove stains on the paper currency and then put the paper currency into the depositing and withdrawing machine to execute deposit operation.
In the method for identifying the stained paper money disclosed in the embodiment, the front and back images of the target paper money are respectively compared with the front and back images of the standard paper money to determine whether the target paper money has a difference area, if so, the stained paper money with the sensitive information is identified by judging whether the difference area has the sensitive information, and if not, the stained paper money except the sensitive information is identified according to the position information and the difference degree of the difference area. Can effectively identify various stained paper money, thereby ensuring the safe circulation of the paper money.
Based on the method for identifying the stained paper money disclosed in the above embodiment, the embodiment correspondingly discloses a device for identifying the stained paper money, please refer to fig. 5, and the device includes:
a target banknote acquiring unit 501 for acquiring a target banknote;
a banknote image acquisition unit 502 for acquiring front and back images of the target banknote;
a banknote image comparison unit 503, configured to compare the front and back images of the target banknote with the front and back images of the standard banknote, respectively, to determine whether the target banknote has a difference region;
the sensitive information judging unit 504 is configured to, in a case that the target banknote has a difference area, judge whether sensitive information exists in the difference area, and if the sensitive information exists, determine that the target banknote is a stained banknote;
a difference region information obtaining unit 505, configured to obtain location information and a difference degree of the difference region when there is no sensitive information in the difference region;
a stained banknote determination unit 506 for determining whether the target banknote is a stained banknote according to the position information of the difference region and the degree of difference.
Optionally, the target banknote acquiring unit 501 is specifically configured to:
acquiring paper money to be identified;
identifying the authenticity of the paper money to be identified;
and if the paper money to be identified is true, determining the paper money to be identified as the target paper money.
Optionally, the banknote image comparing unit 503 is specifically configured to:
comparing the pixel color of the front and back side images of the target paper currency with the pixel color of the front and back side images of the standard paper currency respectively;
if the difference value between the color of each pixel in the front and back images of the target paper money and the color of the corresponding pixel in the standard front and back images is within a preset range, determining that the target paper money has no difference area;
otherwise, determining an area formed by corresponding pixels of which the difference values are not in the preset range as the difference area.
Optionally, the sensitive information determining unit 504 is specifically configured to:
performing text recognition on the difference area;
if the text information is identified, calling a pre-constructed sensitive word bank, and judging whether the text information contains sensitive words in the sensitive word bank;
and if the text information is not recognized, inputting the image corresponding to the difference area into a pre-constructed sensitive pattern recognition model, and determining whether the difference area has sensitive information according to the recognition result of the sensitive pattern recognition model.
Optionally, the difference area information obtaining unit 505 is specifically configured to:
acquiring coordinate information of pixels forming the difference area;
determining the position information of the difference area according to the coordinate information of the pixels forming the difference area;
and determining the difference degree of the difference area according to a preset corresponding relation between the color difference value and the difference degree and the difference value between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money.
Optionally, the stained paper money determining unit 506 is specifically configured to:
judging whether the difference area is in a preset key area or not according to the position information of the difference area;
if the difference area is in the preset key area, judging whether the difference degree of the difference area is greater than a first preset value;
if the number of the target paper currency is larger than the first preset value, determining that the target paper currency is stained paper currency;
if the number of the target paper currency is not larger than the first preset value, determining that the target paper currency is not stained paper currency;
if the difference area is not in the preset key area, judging whether the difference degree of the difference area is larger than a second preset value or not;
if the number of the target paper currency is larger than a second preset value, determining that the target paper currency is stained paper currency;
and if the target paper currency is not larger than the second preset value, determining that the target paper currency is not stained paper currency, wherein the first preset value is smaller than the second preset value.
Optionally, the apparatus further comprises:
and the first stained paper currency processing unit is used for putting the target paper currency into a cache paper currency box if the current service is a withdrawal service after the target paper currency is determined to be stained paper currency.
Optionally, the apparatus further comprises:
and the second stained paper currency processing unit is used for prompting the client that the target paper currency is stained paper currency if the current business is deposit business after the target paper currency is determined to be stained paper currency.
Optionally, the apparatus further comprises:
and the third stained paper money processing unit is used for sending the text information to a preset auditor if the current business is the cash payment in the bank institution after the text information is determined not to contain the sensitive words in the sensitive word bank, and determining whether to continue to execute the current business according to the audit result of the preset auditor.
In the stained paper money identification device disclosed in this embodiment, the front and back images of the target paper money are respectively compared with the front and back images of the standard paper money to determine whether the target paper money has a difference area, if so, the stained paper money with the sensitive information is identified by judging whether the difference area has the sensitive information, and if not, the stained paper money except the sensitive information is identified according to the position information and the difference degree of the difference area. The embodiment can effectively identify various stained paper money, and further ensures the safe circulation of the paper money.
It should be noted that the method and apparatus for identifying a stained paper currency provided by the present invention can be applied to the field of artificial intelligence or the field of finance, and the above are only examples, and do not limit the application field of the method and apparatus for identifying a stained paper currency provided by the present invention.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments may be combined arbitrarily, and the above description of the disclosed embodiments may replace or combine features described in the embodiments in the present specification, so as to enable a person skilled in the art to implement or use the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of identifying a stained banknote, comprising:
acquiring target paper money;
acquiring front and back images of the target paper money;
respectively comparing the front and back images of the target paper money with the front and back images of the standard paper money to determine whether the target paper money has a difference area;
if the difference area exists, judging whether the difference area has sensitive information;
if the sensitive information exists, determining the target paper currency as stained paper currency;
if no sensitive information exists, acquiring the position information and the difference degree of the difference area;
and determining whether the target paper currency is a stained paper currency or not according to the position information and the difference degree of the difference area.
2. The method according to claim 1, wherein said acquiring target banknotes comprises:
acquiring paper money to be identified;
identifying the authenticity of the paper money to be identified;
and if the paper money to be identified is true, determining the paper money to be identified as the target paper money.
3. The method according to claim 1, wherein comparing the front and back images of the target banknote with the front and back images of a standard banknote, respectively, to determine whether the target banknote has a difference region comprises:
comparing the pixel color of the front and back side images of the target paper currency with the pixel color of the front and back side images of the standard paper currency respectively;
if the difference value between the color of each pixel in the front and back images of the target paper money and the color of the corresponding pixel in the standard front and back images is within a preset range, determining that the target paper money has no difference area;
otherwise, determining an area formed by corresponding pixels of which the difference values are not in the preset range as the difference area.
4. The method of claim 1, wherein determining whether sensitive information is present in the difference region comprises:
performing text recognition on the difference area;
if the text information is identified, calling a pre-constructed sensitive word bank, and judging whether the text information contains sensitive words in the sensitive word bank;
and if the text information is not recognized, inputting the image corresponding to the difference area into a pre-constructed sensitive pattern recognition model, and determining whether the difference area has sensitive information according to the recognition result of the sensitive pattern recognition model.
5. The method of claim 1, wherein obtaining the position information and the difference degree of the difference region comprises:
acquiring coordinate information of pixels constituting the difference region;
determining the position information of the difference area according to the coordinate information of the pixels forming the difference area;
and determining the difference degree of the difference area according to a preset corresponding relation between the color difference value and the difference degree and the difference value between the color of the pixel forming the difference area and the color of the corresponding pixel in the front and back images of the standard paper money.
6. The method according to claim 1, wherein determining whether the target banknote is a stained banknote based on the position information of the difference region and the degree of difference comprises:
judging whether the difference area is in a preset key area or not according to the position information of the difference area;
if the difference area is in the preset key area, judging whether the difference degree of the difference area is greater than a first preset value;
if the number of the target paper currency is larger than the first preset value, determining that the target paper currency is stained paper currency;
if the number of the target paper currency is not larger than the first preset value, determining that the target paper currency is not stained paper currency;
if the difference area is not in the preset key area, judging whether the difference degree of the difference area is larger than a second preset value or not;
if the number of the target paper currency is larger than a second preset value, determining that the target paper currency is stained paper currency;
and if the target paper currency is not larger than the second preset value, determining that the target paper currency is not stained paper currency, wherein the first preset value is smaller than the second preset value.
7. The method according to claim 1, wherein after determining that the target banknote is a soiled banknote, the method further comprises:
and if the current business is a withdrawal business, the target paper money is put into a cache paper money box.
8. The method according to claim 1, wherein after determining that the target banknote is a soiled banknote, the method further comprises:
and if the current business is deposit business, prompting the client that the target paper currency is stained paper currency.
9. The method of claim 4, wherein after determining that the text information does not contain a sensitive word in the sensitive thesaurus, the method further comprises:
and if the current business is cash payment in the bank institution, sending the text information to a preset auditor, and determining whether to continue to execute the current business according to the audit result of the preset auditor.
10. A stained paper money discriminating apparatus characterized by comprising:
a target banknote acquisition unit for acquiring a target banknote;
a paper money image acquisition unit for acquiring front and back images of the target paper money;
the paper money image comparison unit is used for respectively comparing the front and back images of the target paper money with the front and back images of the standard paper money to determine whether the target paper money has a difference area;
the sensitive information judging unit is used for judging whether sensitive information exists in the difference area or not under the condition that the target paper currency has the difference area, and if the sensitive information exists, determining that the target paper currency is stained paper currency;
the difference area information acquisition unit is used for acquiring the position information and the difference degree of the difference area under the condition that sensitive information does not exist in the difference area;
and the stained paper money determining unit is used for determining whether the target paper money is stained paper money according to the position information of the difference area and the difference degree.
CN202211037706.6A 2022-08-26 Method and device for identifying stained paper money Active CN115346306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211037706.6A CN115346306B (en) 2022-08-26 Method and device for identifying stained paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211037706.6A CN115346306B (en) 2022-08-26 Method and device for identifying stained paper money

Publications (2)

Publication Number Publication Date
CN115346306A true CN115346306A (en) 2022-11-15
CN115346306B CN115346306B (en) 2024-06-11

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117314897A (en) * 2023-11-28 2023-12-29 恒银金融科技股份有限公司 Method and device for discriminating distortion of banknote image

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236897A (en) * 2011-05-09 2011-11-09 哈尔滨工业大学 Method for detecting old and new as well as deformity of paper currency by sorting machine based on paper currency degeneration energy function
CN104200561A (en) * 2014-06-16 2014-12-10 华中科技大学 Method for identifying character-stained RMB based on texture features
CN107067000A (en) * 2017-03-31 2017-08-18 深圳怡化电脑股份有限公司 A kind of recognition methods of bank note degree and device
KR101781009B1 (en) * 2016-08-31 2017-10-23 노틸러스효성 주식회사 Soiled banknote discrimination method
CN107895424A (en) * 2017-10-31 2018-04-10 深圳怡化电脑股份有限公司 A kind of recognition methods of bank note, system and financial terminal
CN109408632A (en) * 2018-09-13 2019-03-01 北京中科闻歌科技股份有限公司 A kind of information security recognition methods
CN110910561A (en) * 2018-09-18 2020-03-24 深圳怡化电脑股份有限公司 Banknote contamination identification method and device, storage medium and financial equipment
CN112001282A (en) * 2020-08-12 2020-11-27 腾讯音乐娱乐科技(深圳)有限公司 Image recognition method
WO2022142041A1 (en) * 2020-12-29 2022-07-07 平安科技(深圳)有限公司 Training method and apparatus for intent recognition model, computer device, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236897A (en) * 2011-05-09 2011-11-09 哈尔滨工业大学 Method for detecting old and new as well as deformity of paper currency by sorting machine based on paper currency degeneration energy function
CN104200561A (en) * 2014-06-16 2014-12-10 华中科技大学 Method for identifying character-stained RMB based on texture features
KR101781009B1 (en) * 2016-08-31 2017-10-23 노틸러스효성 주식회사 Soiled banknote discrimination method
CN107067000A (en) * 2017-03-31 2017-08-18 深圳怡化电脑股份有限公司 A kind of recognition methods of bank note degree and device
CN107895424A (en) * 2017-10-31 2018-04-10 深圳怡化电脑股份有限公司 A kind of recognition methods of bank note, system and financial terminal
CN109408632A (en) * 2018-09-13 2019-03-01 北京中科闻歌科技股份有限公司 A kind of information security recognition methods
CN110910561A (en) * 2018-09-18 2020-03-24 深圳怡化电脑股份有限公司 Banknote contamination identification method and device, storage medium and financial equipment
CN112001282A (en) * 2020-08-12 2020-11-27 腾讯音乐娱乐科技(深圳)有限公司 Image recognition method
WO2022142041A1 (en) * 2020-12-29 2022-07-07 平安科技(深圳)有限公司 Training method and apparatus for intent recognition model, computer device, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117314897A (en) * 2023-11-28 2023-12-29 恒银金融科技股份有限公司 Method and device for discriminating distortion of banknote image
CN117314897B (en) * 2023-11-28 2024-03-19 恒银金融科技股份有限公司 Method and device for discriminating distortion of banknote image

Similar Documents

Publication Publication Date Title
CN101226655B (en) Validation template for valuable media of multiple classes
US8611665B2 (en) Method of recognizing a media item
Mirza et al. Paper currency verification system based on characteristic extraction using image processing
CN106952393B (en) Paper money identification method and device, electronic equipment and storage medium
CN107103683B (en) Paper money identification method and device, electronic equipment and storage medium
CN107016363A (en) Bill images managing device, bill images management system and method
KR101781009B1 (en) Soiled banknote discrimination method
Roy et al. Machine-assisted authentication of paper currency: an experiment on Indian banknotes
CN106845469B (en) Paper money identification method and device
Gautam Indian currency detection using image recognition technique
CN107134047A (en) White watermark detection method and device
CN104537364A (en) Dollar bill denomination and edition identifying method based on texture analysis
Ali et al. Recognition system for Pakistani paper currency
CN108806058A (en) A kind of paper currency detecting method and device
CN107680246B (en) Method and equipment for positioning curve boundary in paper money pattern
WO2018130119A1 (en) Double prefix number-based paper money authenticity identification method and system
Chae et al. A study on the Korean banknote recognition using RGB and UV information
CN115346306B (en) Method and device for identifying stained paper money
CN111563845B (en) Bill surface scratch detection method, device, equipment and storage medium
CN115346306A (en) Method and device for identifying stained paper money
KR20180020596A (en) Simulation method for creating soiled banknote images
Chambers Digital currency forensics
Sooruth et al. Automatic South African Coin Recognition Through Visual Template Matching
NR A Review on Fake currency detection using feature extraction
KR20120084946A (en) Method for detecting counterfeits of banknotes using bayesian approach

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