CN106408745B - Banknote detection method and device based on mobile terminal - Google Patents

Banknote detection method and device based on mobile terminal Download PDF

Info

Publication number
CN106408745B
CN106408745B CN201610860382.4A CN201610860382A CN106408745B CN 106408745 B CN106408745 B CN 106408745B CN 201610860382 A CN201610860382 A CN 201610860382A CN 106408745 B CN106408745 B CN 106408745B
Authority
CN
China
Prior art keywords
money
checking
phosphor pattern
template
mobile terminal
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
CN201610860382.4A
Other languages
Chinese (zh)
Other versions
CN106408745A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610860382.4A priority Critical patent/CN106408745B/en
Publication of CN106408745A publication Critical patent/CN106408745A/en
Application granted granted Critical
Publication of CN106408745B publication Critical patent/CN106408745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation
    • G07D7/128Viewing devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The disclosure is directed to a kind of banknote detection method and device based on mobile terminal.This method comprises: starting cash examining function, and control the ultraviolet light module in mobile terminal and issue ultraviolet light in the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal;During issuing ultraviolet light, the image of banknote is shot;Money-checking result is determined according to the phosphor pattern in described image;Show money-checking result.By the way that ultraviolet light module is arranged in the terminal, in the case where receiving money-checking request, the ultraviolet light module controlled in mobile terminal issues ultraviolet light, the image of banknote is shot during issuing ultraviolet light, determine money-checking according to the phosphor pattern in image as a result, and show money-checking as a result, banknote detection method and device according to the disclosure based on mobile terminal can complete money-checking by mobile terminal, and money-checking is shown as a result, to substantially increase the convenience of money-checking to user.

Description

Banknote detection method and device based on mobile terminal
Technical field
This disclosure relates to technical field of mobile terminals, more particularly to banknote detection method and device based on mobile terminal.
Background technique
The main method of money-checking is divided into artificial differential method and machine detection method.In the related technology, paper money counter is examined using fluorescence Survey technology, magnetic detecting technique, infrared through-transmission technique, laser measuring technology and multispectral detection technique etc. reflect to RMB The functions such as pseudo- and counting.However, the volume of paper money counter is larger, it is not easy to carry.
With the rapid development of mobile communication technology, the mobile terminals such as smart phone have become people's daily life can not Or lack, portable tool, it brings great convenience to people's lives, study and work.It is, therefore, desirable to provide one A new technical solution, to realize cash examining function by mobile terminals such as smart phones.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of banknote detection method and dress based on mobile terminal It sets.
According to the first aspect of the embodiments of the present disclosure, a kind of banknote detection method based on mobile terminal is provided, comprising:
In the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal, Start cash examining function, and controls the ultraviolet light module in the mobile terminal and issue ultraviolet light;
During issuing ultraviolet light, the image of banknote is shot;
Money-checking result is determined according to the phosphor pattern in described image;
Show money-checking result.
For the above method, in one possible implementation, money-checking is determined according to the phosphor pattern in described image As a result, comprising:
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking As a result.
For the above method, in one possible implementation, by described image phosphor pattern be stored in advance Template set in template compare, to determine money-checking result, comprising:
Phosphor pattern in described image is similar to any one template in the pre-stored template set In the case that degree is greater than the first preset value, money-checking result is determined as genuine notes;
Phosphor pattern in described image and the similarity of each template in the pre-stored template set are equal In the case where less than or equal to first preset value, the money-checking result is determined as counterfeit money.
For the above method, in one possible implementation, by described image phosphor pattern be stored in advance Template set in template compare, to determine money-checking result, comprising:
Phosphor pattern in described image is similar to any one template in the pre-stored template set In the case that degree is greater than the second preset value, money-checking result is determined as genuine notes;
The maximum of the similarity of the template in phosphor pattern and the pre-stored template set in described image In the case that value is greater than third preset value and is less than or equal to second preset value, money-checking result is determined as doubtful counterfeit money;
Phosphor pattern in described image and the similarity of each template in the pre-stored template set are equal In the case where less than or equal to the third preset value, the money-checking result is determined as counterfeit money.
For the above method, in one possible implementation, pass through presetting on mobile terminal receiving user In the case where the money-checking request that button or touch screen issue, start cash examining function, comprising:
In the case where receiving the money-checking request that user is issued by double-click power key, start cash examining function.
For the above method, in one possible implementation, after the image of shooting banknote, the method is also wrapped It includes:
The ultraviolet light module is controlled to stop shining.
According to the second aspect of an embodiment of the present disclosure, a kind of banknote tester based on mobile terminal is provided, comprising:
First control module, for receiving what user was issued by pre-set button on mobile terminal or touch screen In the case that money-checking is requested, start cash examining function, and controls the ultraviolet light module in the mobile terminal and issue ultraviolet light;
Shooting module, for shooting the image of banknote during issuing ultraviolet light;
Determining module, for determining money-checking result according to the phosphor pattern in described image;
Display module, for showing money-checking result.
For above-mentioned apparatus, in one possible implementation, the determining module is used for:
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking As a result.
For above-mentioned apparatus, in one possible implementation, the determining module includes:
First determines submodule, in the phosphor pattern and the pre-stored template set in described image In the case that the similarity of any one template is greater than the first preset value, money-checking result is determined as genuine notes;
Second determines submodule, in the phosphor pattern and the pre-stored template set in described image In the case that the similarity of each template is respectively less than or is equal to first preset value, the money-checking result is determined as counterfeit money.
For above-mentioned apparatus, in one possible implementation, the determining module includes:
Third determines submodule, in the phosphor pattern and the pre-stored template set in described image In the case that the similarity of any one template is greater than the second preset value, money-checking result is determined as genuine notes;
4th determines submodule, in the phosphor pattern and the pre-stored template set in described image In the case that the maximum value of the similarity of template is greater than third preset value and is less than or equal to second preset value, by money-checking knot Fruit is determined as doubtful counterfeit money;
5th determines submodule, in the phosphor pattern and the pre-stored template set in described image In the case that the similarity of each template is respectively less than or is equal to the third preset value, the money-checking result is determined as counterfeit money.
For above-mentioned apparatus, in one possible implementation, first control module is used for:
In the case where receiving the money-checking request that user is issued by double-click power key, start cash examining function, and control Ultraviolet light module in the mobile terminal issues ultraviolet light.
For above-mentioned apparatus, in one possible implementation, described device further include:
Second control module stops shining for controlling the ultraviolet light module.
According to the third aspect of an embodiment of the present disclosure, a kind of banknote tester based on mobile terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
In the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal, Start cash examining function, and controls the ultraviolet light module in the mobile terminal and issue ultraviolet light;
During issuing ultraviolet light, the image of banknote is shot;
Money-checking result is determined according to the phosphor pattern in described image;
Show money-checking result.
The technical scheme provided by this disclosed embodiment can include the following benefits: by being arranged in the terminal Ultraviolet light module is receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal In the case of, start cash examining function, and control the ultraviolet light module in mobile terminal and issue ultraviolet light, issues ultraviolet light The image for shooting banknote in the process, determines money-checking according to the phosphor pattern in image as a result, and showing money-checking as a result, according to this public affairs The banknote detection method based on mobile terminal and device for the embodiment opened can complete money-checking by mobile terminal, and show to user Money-checking is as a result, to substantially increase the convenience of money-checking.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of banknote detection method based on mobile terminal shown according to an exemplary embodiment.
Fig. 2 is a kind of stream of banknote detection method based on mobile terminal shown according to an example of an exemplary embodiment Cheng Tu.
Fig. 3 is a kind of stream of banknote detection method based on mobile terminal shown according to an example of an exemplary embodiment Cheng Tu.
Fig. 4 is a kind of block diagram of banknote tester based on mobile terminal shown according to an exemplary embodiment.
Fig. 5 is a kind of frame of banknote tester based on mobile terminal shown according to an example of an exemplary embodiment Figure.
Fig. 6 is a kind of block diagram of the device 800 of money-checking for mobile terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of banknote detection method based on mobile terminal shown according to an exemplary embodiment.The party The executing subject of method can be the mobile terminals such as mobile phone or tablet computer, or other money-checking dresses based on mobile terminal It sets, is not limited thereto.As shown in Figure 1, this approach includes the following steps.
In step s 11, in the money-checking for receiving user and being issued by pre-set button on mobile terminal or touch screen In the case where request, start cash examining function, and controls the ultraviolet light module in mobile terminal and issue ultraviolet light.
In the present embodiment, ultraviolet light module is added in the terminal, and the ultraviolet light module is for issuing Ultraviolet light.
In one possible implementation, aperture can be covered after mobile terminal, so that ultraviolet light module The ultraviolet light of sending can be irradiated by the aperture come.
As an example of the present embodiment, it can receive user and pass through a button in pre-set button on mobile terminal The money-checking of sending is requested.Wherein, pre-set button may include physical button and virtual push button, and physical button may include power supply Key, screen locking key, volume up key and volume down key etc., are not limited thereto.
In one possible implementation, pass through the pre-set button or touch screen on mobile terminal receiving user In the case where the money-checking request of sending, start cash examining function, comprising: pass through the money-checking of double-click power key sending receiving user In the case where request, start cash examining function.It in this implementation, can be in the case where detecting that user double-clicks power key Judgement receives money-checking request.
As another example of the present embodiment, can receive user by pre-set button on mobile terminal it is multiple by The money-checking request that the combination of button issues.
As another example of the present embodiment, it can receive user and requested by the money-checking that touch screen issues.For example, In the case that detection user slides two circles on the touchscreen counterclockwise, it is possible to determine that receive money-checking request.
In step s 12, during issuing ultraviolet light, the image of banknote is shot.
In the present embodiment, during ultraviolet light module issues ultraviolet light, pass through the camera of mobile terminal Shoot the image of banknote.
In step s 13, money-checking result is determined according to the phosphor pattern in the image.
Wherein, phosphor pattern can be the phosphor pattern that the anti-fake region of banknote is formed under ultraviolet light.
In one possible implementation, money-checking result is determined according to the phosphor pattern in the image, comprising: by the figure Phosphor pattern as in is compared with the template in pre-stored template set, to determine money-checking result.It hereinafter will be to this Implementation is described, and details are not described herein.
In alternatively possible implementation, money-checking result is determined according to the fluorescent image in the image, comprising: at this Comprising in the case where fluorescent image, which is determined as genuine notes in image;Not the case where not including fluorescent image in the images Under, which is determined as counterfeit money.
In step S14, money-checking result is shown.
In the present embodiment, after determining money-checking result, money-checking is shown on the screen of the mobile terminal as a result, to use Family can obtain intuitive money-checking as a result, improving the experience that user carries out money-checking using mobile terminal.In addition, relative to ultraviolet Light irradiates after banknote by way of user's naked eyes identification phosphor pattern, and the present embodiment can be improved the accuracy of money-checking.
In one possible implementation, money-checking result can be genuine notes or counterfeit money.
In alternatively possible implementation, money-checking result can be genuine notes, doubtful counterfeit money or counterfeit money.
In one possible implementation, money-checking result can also be including value of money, such as 100 yuan, 50 yuan etc..
In one possible implementation, money-checking result can also include currency type, such as RMB, dollar etc..
By the way that ultraviolet light module is arranged in the terminal, receive user by mobile terminal it is default by In the case where the money-checking request that button or touch screen issue, start cash examining function, and control the ultraviolet light in mobile terminal Module issues ultraviolet light, and the image of banknote is shot during issuing ultraviolet light, is tested according to the phosphor pattern determination in image Paper money is as a result, and show money-checking as a result, the banknote detection method according to an embodiment of the present disclosure based on mobile terminal can pass through movement Terminal completes money-checking, and to user shows money-checking as a result, to substantially increasing the convenience of money-checking, and can increase mobile terminal Function, improve the practicability of mobile terminal.
Also, since the present embodiment determines money-checking using the image of banknote as a result, making it possible to by image procossing Power, realize richer cash examining function and more accurate money-checking result.
Fig. 2 is a kind of stream of banknote detection method based on mobile terminal shown according to an example of an exemplary embodiment Cheng Tu.As shown in Fig. 2, this method comprises:
In the step s 21, in the money-checking for receiving user and being issued by pre-set button on mobile terminal or touch screen In the case where request, start cash examining function, and controls the ultraviolet light module in mobile terminal and issue ultraviolet light.
In step S22, during issuing ultraviolet light, the image of banknote is shot.
In step S23, the phosphor pattern in the image is compared with the template in pre-stored template set, To determine money-checking result.
In step s 24, money-checking result is shown.
Wherein, the description to step S11, S13 and S14 is seen above to step S21, S23 and S24.
Wherein, pre-stored template set may include the corresponding template of banknote of different values of money, can also include not With the banknote of currency type, corresponding template, is not limited thereto.
In this example, after the image of shooting banknote, the phosphor pattern in the image is detected, and will be in the image Phosphor pattern is compared with the template in pre-stored template set, to determine money-checking as a result, so as to improve money-checking Accuracy.
In one possible implementation, by the phosphor pattern in the image and the mould in pre-stored template set Plate compares, to determine money-checking result, comprising: appointing in phosphor pattern and pre-stored template set in the images In the case that the similarity for a template of anticipating is greater than the first preset value, money-checking result is determined as genuine notes;In the images glimmering In the case that the similarity of each template in light pattern and pre-stored template set is respectively less than or is equal to the first preset value, Money-checking result is determined as counterfeit money.In this implementation, money-checking result is genuine notes or counterfeit money.In this implementation, in advance First preset value is first set, the similarity of the phosphor pattern in the image and the template in pre-stored template set is calculated, And be compared the similarity being calculated with the first preset value, to determine money-checking result.Wherein, the first preset value can root It is arranged according to the experience of those skilled in the art, is not limited thereto.
Herein referred template can be for any form of template as comparison basis, such as various face amounts and coin The genuine notes of kind are in the phosphor pattern under ultraviolet light or the feature vector etc. extracted from the phosphor pattern.
Herein referred similarity can be any metric that can indicate the similarity degree between two objects, such as For image, the vector distance etc. between image feature vector can be, those skilled in the art can use arbitrarily The relevant technologies determine the similarity of each template in the phosphor pattern in image and pre-stored template set, herein not It is restricted.
In one possible implementation, by the phosphor pattern in the image and the mould in pre-stored template set Plate compares, and can be the phosphor pattern first extracted in image and is compared again with template, is also possible to template traversing graph Picture is to be matched to fluorescent pattern portion, then is compared, and this is not restricted.
In one possible implementation, by the phosphor pattern in the image and the mould in pre-stored template set Plate compares, to determine money-checking result, comprising: appointing in phosphor pattern and pre-stored template set in the images In the case that the similarity for a template of anticipating is greater than the second preset value, money-checking result is determined as genuine notes;In the images glimmering The maximum value of light pattern and the similarity of the template in pre-stored template set is greater than third preset value and is less than or equal to In the case where second preset value, money-checking result is determined as doubtful counterfeit money;Phosphor pattern in the images with it is pre-stored In the case that the similarity of each template in template set is respectively less than or is equal to third preset value, money-checking result is determined as vacation Paper money.In this implementation, money-checking result is genuine notes, doubtful counterfeit money or counterfeit money.In this implementation, second is preset Preset value and third preset value, the phosphor pattern calculated in the image are similar to the template in pre-stored template set Degree, and the similarity being calculated is compared with the second preset value, third preset value, to determine money-checking result.Wherein, Two preset values are greater than third preset value.Second preset value and third preset value can be set according to the experience of those skilled in the art It sets, is not limited thereto.
Fig. 3 is a kind of stream of banknote detection method based on mobile terminal shown according to an example of an exemplary embodiment Cheng Tu.As shown in figure 3, this method comprises:
In step S31, pass through the money-checking of pre-set button or touch screen sending on mobile terminal receiving user In the case where request, start cash examining function, and controls the ultraviolet light module in mobile terminal and issue ultraviolet light.
In step s 32, during issuing ultraviolet light, the image of banknote is shot.
In step S33, control ultraviolet light module stops shining.
In step S34, money-checking result is determined according to the phosphor pattern in the image.
In step s 35, money-checking result is shown.
Wherein, the description to step S11, S12, S13 and S14 is seen above to step S31, S32, S34 and S35.
In this example, after the image of shooting banknote, control ultraviolet light module stops shining, mobile eventually with saving The power consumption at end.
Fig. 4 is a kind of block diagram of banknote tester based on mobile terminal shown according to an exemplary embodiment.Referring to figure 4, which includes the first control module 41, shooting module 42, determining module 43 and display module 44.First control module 41 It is configured as in the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal, Start cash examining function, and controls the ultraviolet light module in the mobile terminal and issue ultraviolet light.The shooting module 42 is matched It is set to during issuing ultraviolet light, shoots the image of banknote.The determining module 43 is configured as according in described image Phosphor pattern determines money-checking result.The display module 44 is configured as display money-checking result.
Fig. 5 is a kind of frame of banknote tester based on mobile terminal shown according to an example of an exemplary embodiment Figure.It is as shown in Figure 5:
In one possible implementation, the determining module 43 be configured as by described image phosphor pattern with Template in pre-stored template set compares, to determine money-checking result.
In one possible implementation, the determining module 43 includes that the first determining submodule 431 and second determines Submodule 432.The first determining submodule 431 is configured as phosphor pattern and the pre-stored mould in described image In the case that the similarity of any one template in plate set is greater than the first preset value, money-checking result is determined as genuine notes.It should Second determine submodule 432 be configured as the phosphor pattern in described image with it is each in the pre-stored template set In the case that the similarity of a template is respectively less than or is equal to first preset value, the money-checking result is determined as counterfeit money.
In one possible implementation, the determining module 43 includes that third determines that submodule the 433, the 4th determines son Module 434 and the 5th determines submodule 435.The third determines that submodule 433 is configured as the phosphor pattern in described image In the case where being greater than the second preset value with the similarity of any one template in the pre-stored template set, by money-checking As a result it is determined as genuine notes.4th determines that submodule 434 is configured as the phosphor pattern in described image and deposits in advance with described The maximum value of the similarity of template in the template set of storage is greater than third preset value and is less than or equal to second preset value In the case where, money-checking result is determined as doubtful counterfeit money.5th determining submodule 435 is configured as glimmering in described image The similarity of each template in light pattern and the pre-stored template set is respectively less than or is equal to the third preset value In the case where, the money-checking result is determined as counterfeit money.
In one possible implementation, the first control module 41 is configured as receiving user by double-clicking power supply In the case where the money-checking request that key issues, start cash examining function, and controls the hair of the ultraviolet light module in the mobile terminal Ultraviolet light out.
In one possible implementation, described device further includes the second control module 45.Second control module 45 It is configured as controlling the ultraviolet light module to stop shining.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
By the way that ultraviolet light module is arranged in the terminal, receive user by mobile terminal it is default by In the case where the money-checking request that button or touch screen issue, start cash examining function, and control the ultraviolet light in mobile terminal Module issues ultraviolet light, and the image of banknote is shot during issuing ultraviolet light, is tested according to the phosphor pattern determination in image Paper money is as a result, and show money-checking as a result, the banknote tester according to an embodiment of the present disclosure based on mobile terminal can pass through movement Terminal completes money-checking, and shows money-checking as a result, to substantially increase the convenience of money-checking to user.
Fig. 6 is a kind of block diagram of the device 800 of money-checking for mobile terminal shown according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 6, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (9)

1. a kind of banknote detection method based on mobile terminal characterized by comprising
In the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal, starting Cash examining function, and control the ultraviolet light module in the mobile terminal and issue ultraviolet light;
During issuing ultraviolet light, the image of banknote is shot;
Money-checking result is determined according to the phosphor pattern in described image;
Show money-checking result;
The phosphor pattern according in described image determines money-checking result, comprising:
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking knot Fruit;Wherein, the template includes: phosphor pattern of the genuine notes of various face amounts and currency type under ultraviolet light or from phosphor pattern The feature vector of middle extraction;
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking knot Fruit, comprising:
Phosphor pattern in described image and the similarity of any one template in the pre-stored template set are big In the case where the second preset value, money-checking result is determined as genuine notes;
Phosphor pattern in described image and the maximum value of the similarity of the template in the pre-stored template set are big In third preset value and in the case where being less than or equal to second preset value, money-checking result is determined as doubtful counterfeit money;
The similarity of phosphor pattern in described image and each template in the pre-stored template set is respectively less than Or in the case where being equal to the third preset value, the money-checking result is determined as counterfeit money.
2. the banknote detection method according to claim 1 based on mobile terminal, which is characterized in that by the fluorescence in described image Pattern is compared with the template in pre-stored template set, to determine money-checking result, further includes:
Phosphor pattern in described image and the similarity of any one template in the pre-stored template set are big In the case where the first preset value, money-checking result is determined as genuine notes;
The similarity of phosphor pattern in described image and each template in the pre-stored template set is respectively less than Or in the case where being equal to first preset value, the money-checking result is determined as counterfeit money.
3. the banknote detection method according to claim 1 based on mobile terminal, which is characterized in that pass through shifting receiving user In the case where the money-checking request that pre-set button or touch screen in dynamic terminal issue, start cash examining function, comprising:
In the case where receiving the money-checking request that user is issued by double-click power key, start cash examining function.
4. the banknote detection method according to claim 1 based on mobile terminal, which is characterized in that shooting banknote image it Afterwards, the method also includes:
The ultraviolet light module is controlled to stop shining.
5. a kind of banknote tester based on mobile terminal characterized by comprising
First control module, in the money-checking for receiving user and being issued by pre-set button on mobile terminal or touch screen In the case where request, start cash examining function, and controls the ultraviolet light module in the mobile terminal and issue ultraviolet light;
Shooting module, for shooting the image of banknote during issuing ultraviolet light;
Determining module, for determining money-checking result according to the phosphor pattern in described image;
Display module, for showing money-checking result;
The determining module is used for:
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking knot Fruit;Wherein, the template includes: phosphor pattern of the genuine notes of various face amounts and currency type under ultraviolet light or from phosphor pattern The feature vector of middle extraction;
The determining module includes:
Third determines submodule, in described image phosphor pattern with it is any in the pre-stored template set In the case that the similarity of one template is greater than the second preset value, money-checking result is determined as genuine notes;
4th determines submodule, for the phosphor pattern in described image and the template in the pre-stored template set Similarity maximum value be greater than third preset value and be less than or equal to second preset value in the case where, money-checking result is true It is set to doubtful counterfeit money;
5th determine submodule, in described image phosphor pattern with it is each in the pre-stored template set In the case that the similarity of template is respectively less than or is equal to the third preset value, the money-checking result is determined as counterfeit money.
6. the banknote tester according to claim 5 based on mobile terminal, which is characterized in that the determining module is also wrapped It includes:
First determine submodule, in described image phosphor pattern with it is any in the pre-stored template set In the case that the similarity of one template is greater than the first preset value, money-checking result is determined as genuine notes;
Second determine submodule, in described image phosphor pattern with it is each in the pre-stored template set In the case that the similarity of template is respectively less than or is equal to first preset value, the money-checking result is determined as counterfeit money.
7. the banknote tester according to claim 5 based on mobile terminal, which is characterized in that first control module is used In:
Receive user by double-click power key issue money-checking request in the case where, start cash examining function, and control described in Ultraviolet light module in mobile terminal issues ultraviolet light.
8. the banknote tester according to claim 5 based on mobile terminal, which is characterized in that described device further include:
Second control module stops shining for controlling the ultraviolet light module.
9. a kind of banknote tester based on mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
In the case where receiving money-checking request of the user by pre-set button or touch screen sending on mobile terminal, starting Cash examining function, and control the ultraviolet light module in the mobile terminal and issue ultraviolet light;
During issuing ultraviolet light, the image of banknote is shot;
Money-checking result is determined according to the phosphor pattern in described image;
Show money-checking result;
The phosphor pattern according in described image determines money-checking result, comprising:
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking knot Fruit;Wherein, the template includes: phosphor pattern of the genuine notes of various face amounts and currency type under ultraviolet light or from phosphor pattern The feature vector of middle extraction;
Phosphor pattern in described image is compared with the template in pre-stored template set, to determine money-checking knot Fruit, comprising:
Phosphor pattern in described image and the similarity of any one template in the pre-stored template set are big In the case where the second preset value, money-checking result is determined as genuine notes;
Phosphor pattern in described image and the maximum value of the similarity of the template in the pre-stored template set are big In third preset value and in the case where being less than or equal to second preset value, money-checking result is determined as doubtful counterfeit money;
The similarity of phosphor pattern in described image and each template in the pre-stored template set is respectively less than Or in the case where being equal to the third preset value, the money-checking result is determined as counterfeit money.
CN201610860382.4A 2016-09-28 2016-09-28 Banknote detection method and device based on mobile terminal Active CN106408745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610860382.4A CN106408745B (en) 2016-09-28 2016-09-28 Banknote detection method and device based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610860382.4A CN106408745B (en) 2016-09-28 2016-09-28 Banknote detection method and device based on mobile terminal

Publications (2)

Publication Number Publication Date
CN106408745A CN106408745A (en) 2017-02-15
CN106408745B true CN106408745B (en) 2019-09-17

Family

ID=58015738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610860382.4A Active CN106408745B (en) 2016-09-28 2016-09-28 Banknote detection method and device based on mobile terminal

Country Status (1)

Country Link
CN (1) CN106408745B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492185A (en) * 2017-07-27 2017-12-19 上海青橙实业有限公司 Currency recognition method and apparatus based on mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209132A (en) * 2011-05-25 2011-10-05 谢艳丽 Mobile phone capable of recognizing false money
CN102722934A (en) * 2012-06-25 2012-10-10 金峰 Banknote intelligent digital imaging light-variable characteristic black and white data imaging device
CN203705715U (en) * 2013-12-12 2014-07-09 厦门力鼎光电技术有限公司 A lens assembly which can be used in a matched mode with different kinds of handsets
CN104639760A (en) * 2015-02-13 2015-05-20 海南亚元防伪技术研究所 Mobile phone money detecting method
CN105374105A (en) * 2015-10-16 2016-03-02 浙江依特诺科技股份有限公司 Method used by mobile terminal for identifying authenticity of banknote
CN105635354A (en) * 2014-11-27 2016-06-01 西安丁子电子信息科技有限公司 Multifunctional mobile phone outside equipment
CN105704262A (en) * 2014-11-27 2016-06-22 西安丁子电子信息科技有限公司 Multifunctional intelligent mobile phone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209132A (en) * 2011-05-25 2011-10-05 谢艳丽 Mobile phone capable of recognizing false money
CN102722934A (en) * 2012-06-25 2012-10-10 金峰 Banknote intelligent digital imaging light-variable characteristic black and white data imaging device
CN203705715U (en) * 2013-12-12 2014-07-09 厦门力鼎光电技术有限公司 A lens assembly which can be used in a matched mode with different kinds of handsets
CN105635354A (en) * 2014-11-27 2016-06-01 西安丁子电子信息科技有限公司 Multifunctional mobile phone outside equipment
CN105704262A (en) * 2014-11-27 2016-06-22 西安丁子电子信息科技有限公司 Multifunctional intelligent mobile phone
CN104639760A (en) * 2015-02-13 2015-05-20 海南亚元防伪技术研究所 Mobile phone money detecting method
CN105374105A (en) * 2015-10-16 2016-03-02 浙江依特诺科技股份有限公司 Method used by mobile terminal for identifying authenticity of banknote

Also Published As

Publication number Publication date
CN106408745A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN104753766B (en) Expression sending method and device
CN110458062A (en) Face identification method and device, electronic equipment and storage medium
CN108764069A (en) Biopsy method and device
CN106295515B (en) Determine the method and device of the human face region in image
CN106104601A (en) Virtual card Activiation method and device
CN110503023A (en) Biopsy method and device, electronic equipment and storage medium
CN106339695B (en) Face similarity detection method, device and terminal
CN110298310A (en) Image processing method and device, electronic equipment and storage medium
WO2017113930A1 (en) Fingerprint recognition method and device
CN107992814A (en) Object finding method and device
CN105447750A (en) Information identification method, apparatus, terminal and server
CN106355549A (en) Photographing method and equipment
CN104951935A (en) Bill splitting method and device
CN105208284B (en) Shoot based reminding method and device
CN107766820A (en) Image classification method and device
CN109978891A (en) Image processing method and device, electronic equipment and storage medium
CN106529277A (en) Message preview method and device
CN107169429A (en) Vivo identification method and device
CN107038428A (en) Vivo identification method and device
CN108495168A (en) The display methods and device of barrage information
CN107992811A (en) Face identification method and device
CN109671051A (en) Picture quality detection model training method and device, electronic equipment and storage medium
CN107844766A (en) Acquisition methods, device and the equipment of facial image fuzziness
CN108122020A (en) Two-dimensional code generation method and device and two-dimensional code identification method and device
CN106408745B (en) Banknote detection method and device based on mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant