CN109087439A - Bill method of calibration, terminal device, storage medium and electronic equipment - Google Patents

Bill method of calibration, terminal device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109087439A
CN109087439A CN201810720225.2A CN201810720225A CN109087439A CN 109087439 A CN109087439 A CN 109087439A CN 201810720225 A CN201810720225 A CN 201810720225A CN 109087439 A CN109087439 A CN 109087439A
Authority
CN
China
Prior art keywords
bill
information
reality imagery
characteristic element
verified
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
CN201810720225.2A
Other languages
Chinese (zh)
Other versions
CN109087439B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810720225.2A priority Critical patent/CN109087439B/en
Publication of CN109087439A publication Critical patent/CN109087439A/en
Application granted granted Critical
Publication of CN109087439B publication Critical patent/CN109087439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets

Abstract

The present invention provides a kind of bill method of calibration, terminal device, storage medium and electronic equipment.Bill method of calibration provided by the invention, it include: the characteristic element obtained in the corresponding reality imagery of bill to be verified, judge whether the characteristic element identical as preset characteristic element, finally according to the judging result in the reality imagery the corresponding information content of Overlapping display.Bill method of calibration provided by the invention, pass through the different information of direct Overlapping display in the reality imagery of effective bill or invalid bill, so that bill check results are high-visible, and the speed of bill verification is also greatly speeded up, to improve the efficiency of bill validation, and people are reduced into human cost from repeating to free in uninteresting bill validation labour.

Description

Bill method of calibration, terminal device, storage medium and electronic equipment
Technical field
The present invention relates to bill handling technology field more particularly to a kind of bill methods of calibration, terminal device, storage medium And electronic equipment.
Background technique
With the improvement of people ' s living standards and the quickening of work rhythm, people need to solve in daily life and work Except all kinds of different bills, such as: invoice, ticket and admission ticket etc..
Although gradually substituting by electronic bill, the inspection of bill have also become more and more current many bills Automation and intelligence.But still there are many scenes to need to rely on the artificial detection for carrying out bill legitimacy and validity.Such as paper The reimbursement of matter bill finance, performance film admission ticket, ticket ticket checking etc..Usual artificial detection needs to check multiple inspection entry, such as vehicle The true and false, date, the time of departure, destination, owner of ticket etc. perform the true and false, the date, time, play of ticketing service, the day of invoice Phase, classification, new line, the amount of money, official seal etc. cause the efficiency checked relatively low, and human cost is high.
As it can be seen that the method for depending on desk checking, needs to occupy a large amount of manpower and material resources, and the reliability verified compared with It is low, extremely it is easy error.
Summary of the invention
The present invention provides a kind of bill method of calibration, terminal device, storage medium and electronic equipment, existing artificial to solve It is taken time and effort in ticketing process, and the technical problem that the reliability verified is lower.
In a first aspect, the present invention provides a kind of bill method of calibration, comprising:
The characteristic element in the corresponding reality imagery of bill to be verified is obtained, the characteristic element is described to be checked for characterizing The validity of ticket checking evidence;
Judge whether the characteristic element is identical as preset characteristic element;
According to the judging result in the reality imagery the corresponding information content of Overlapping display, wherein if judgement knot Fruit is yes, the then Overlapping display first information in the reality imagery, and the first information table is for characterizing the ticket to be verified According to for effective bill, if judging result is no, the second information of Overlapping display in the reality imagery, second information table It is invalid bill for characterizing the bill to be verified.
It is described that corresponding information is shown in the reality imagery according to the judging result in a kind of possible design Content, comprising:
Determine the relative position between the corresponding real scene of the reality imagery and preset virtual scene;
The reality imagery and virtual image are merged depending on that relative position, wherein the virtual image includes: described The first information or second information.
In a kind of possible design, the characteristic element obtained in the corresponding reality imagery of bill to be verified, comprising:
Binary conversion treatment is carried out to the reality imagery, to separate the corresponding foreground information of the reality imagery and background Information;
Character recognition processing is carried out to the foreground information, to obtain the character features in the reality imagery, and by institute Character features are stated as the characteristic element.
In a kind of possible design, before the progress character recognition processing to the foreground information, further includes:
Noise processed is removed to the foreground information.
In a kind of possible design, after being removed noise processed to the foreground information, further includes:
Page Segmentation processing is carried out to the foreground information, is used as independent cog region in each region after dividing Domain.
Second aspect, the present invention also provides a kind of terminal devices, comprising:
Module is obtained, the characteristic element in the corresponding reality imagery of bill to be verified is obtained, the characteristic element is used for table Levy the validity of the bill to be tested;
Judgment module, for judging whether the characteristic element is identical as preset characteristic element;
Display module, for according to the judging result in the reality imagery the corresponding information content of Overlapping display, Wherein, if the determination result is YES, then the Overlapping display first information in the reality imagery, the first information table are used to characterize The bill to be verified is effective bill, if judging result is no, the second information of Overlapping display in the reality imagery, institute It is invalid bill that the second information table, which is stated, for characterizing the bill to be verified.
In a kind of possible design, the display module is specifically used for:
Determine the relative position between the corresponding real scene of the reality imagery and preset virtual scene;
The reality imagery and virtual image are merged depending on that relative position, wherein the virtual image is described the One information or second information.
In a kind of possible design, the acquisition module is specifically used for:
Binary conversion treatment is carried out to the reality imagery, to separate the corresponding foreground information of the reality imagery and background Information;
Character recognition processing is carried out to the foreground information, to obtain the character features in the reality imagery, and by institute Character features are stated as the characteristic element.
In a kind of possible design, the acquisition module is also used to:
Noise processed is removed to the foreground information.
In a kind of possible design, the acquisition module is also used to:
Page Segmentation processing is carried out to the foreground information, is used as independent cog region in each region after dividing Domain.
The third aspect, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Any one the possible bill method of calibration provided in first aspect is provided when sequence is executed by processor.
Fourth aspect, the present invention also provides a kind of electronic equipment, comprising:
Processor;And
Memory, the executable instruction for storage processor;
Wherein, processor is configured to execute any one possibility provided in first aspect via executable instruction is executed Bill method of calibration.
A kind of bill method of calibration, terminal device, storage medium and electronic equipment provided by the invention, first pass through acquisition to The characteristic element in the corresponding reality imagery of bill is verified, then judges that the characteristic element got is with preset characteristic element It is no identical, further according to judgement result in reality imagery the corresponding information content of Overlapping display, by effective bill or The different information of direct Overlapping display in the reality imagery of invalid bill, so that bill check results are high-visible, and Also the speed of bill verification has been greatly speeded up, to improve the efficiency of bill validation, and the bill that people are uninteresting from repetition It examines and is freed in labour, reduce human cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenario diagram of bill method of calibration shown according to an exemplary embodiment;
Fig. 2 is the flow chart of bill method of calibration shown according to an exemplary embodiment;
Fig. 3 is the flow chart of the bill method of calibration shown according to a further exemplary embodiment;
Fig. 4 is the structural schematic diagram of terminal device shown according to an exemplary embodiment;
Fig. 5 is the structural schematic diagram of present invention electronic equipment shown according to an exemplary embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenario diagram of bill method of calibration shown according to an exemplary embodiment.As shown in Figure 1, this reality The bill method of calibration of example offer is applied in use, obtaining the real shadow of bill to be verified by the camera on terminal device Picture, wherein terminal device can have for smart phone, tablet computer, personal computer, AR glasses etc. real world images acquisition, The electronic equipment of data processing and display function.For example, ticket collector can first pass through when ticket collector verifies train ticket Above-mentioned terminal device acquisition train ticket has the reality imagery of information content one side.Then local or beyond the clouds in server It compares characteristic element on the reality imagery of the train ticket and whether preset characteristic element is identical, wherein this feature element can Think character features, characteristics of image and contour feature etc., in the present embodiment not to the concrete form of this feature element into Row limits.Judgement compare after, according to the result judged on the basis of the reality imagery that terminal device is shown Overlapping display pair The information content answered, wherein aobvious being superimposed in the reality imagery that terminal device is shown if the train ticket is effective train ticket Show the first information, for example, it may be the text information of " passing through ", is also possible to other graphical informations;But if the train ticket is Effective train ticket, then in the second information of Overlapping display in the reality imagery that terminal device is shown, for example, it may be " not passing through " Text information, be also possible to other graphical informations, to save the ticket checking time and efforts of ticket agent, while also improving The accuracy of verification.
Fig. 2 is the flow chart of bill method of calibration shown according to an exemplary embodiment.Bill verification as shown in Figure 2 Method, comprising:
Characteristic element in step 101, the corresponding reality imagery of acquisition bill to be verified.
Specifically, it can be the reality imagery that bill to be verified is obtained by the camera on terminal device, wherein terminal Equipment can have real world images acquisition, data processing and be shown for smart phone, tablet computer, personal computer, AR glasses etc. Show the electronic equipment of function.
Then, the characteristic element in the corresponding reality imagery of bill to be verified is obtained by the method for image recognition, and be somebody's turn to do Characteristic element can be used for characterizing the validity of the bill to be tested.Wherein, for the characteristic element in reality imagery can for The character features in the corresponding reality imagery of bill are verified, can be and identify the reality shadow by way of optical character identification Text as in, is then converted into editable text.
It is worth explanatorily, the feature in the method provided by the present embodiment, in the corresponding reality imagery of bill to be verified Element acquisition process can be to be completed on the terminal device, is also possible to complete on server beyond the clouds, in the present embodiment In the carrier that the acquisition process is not executed specifically be defined, only need to guarantee, when if desired being realized on server beyond the clouds, It should keep reliably communicating to connect between terminal device and cloud server.
For example, ticket collector can first pass through above-mentioned terminal device acquisition train when ticket collector verifies train ticket Ticket has the reality imagery of information content one side.Specifically, in ticketing process, ticket collector can use the camera shooting of smart phone Head shoots train ticket to be verified or ticket collector directly wears AR glasses, then ensures the train ticket to be verified in AR glasses Field range within.
Whether step 102, judging characteristic element and preset characteristic element are identical, if the determination result is YES, execute step 103, if judging result be it is no, then follow the steps 104.
After getting the characteristic element in the corresponding reality imagery of bill to be verified, judging characteristic element can be passed through It is whether identical as preset characteristic element so that it is determined that whether the bill to be verified effective.
The case where being the character features in the corresponding reality imagery of bill to be verified for the characteristic element in reality imagery, Editable text after conversion can be compared with preset text, if the two is consistent, illustrate that the bill to be verified is Effective bill illustrates that the bill to be verified is invalid bill if the two is inconsistent.
For example, when ticket collector verifies train ticket, the nominal value text letter of available current train ticket to be verified Breath, which may include: train number, the starting station, terminus, departure time, ticketing spot and rider's information etc., by this The relevant information registered in text information and system compares, if the two is consistent, illustrates that the train ticket is effective, if the two is not Unanimously, then illustrate that the bill to be verified is invalid bill.It is worth explanatorily, since the information of train ticket registration is real-time update , understand the purchase of passenger therewith, change the behaviors such as label, returned ticket progress dynamic change, therefore, the mistake that can be compared for characteristic element Journey can carry out in server beyond the clouds.Ticket collector gets the reality imagery of train ticket to be verified by terminal device, and mentions After taking corresponding character features, which is sent to cloud server, so as to judge text spy in the server Whether sign is consistent with preset character features, and the result of judgement is being back to terminal device.
Step 103, the Overlapping display first information in reality imagery.
Specifically, the characteristic element in the corresponding reality imagery of bill to be verified got and preset characteristic element phase Together, then it is assumed that the bill to be verified is effective bill.At this point, can the corresponding reality of bill to be verified that shows of terminal device The Overlapping display first information in image, wherein text information, other graphical informations or the video that the first information can be Information.
For example, if the train ticket is effective train ticket, in the Overlapping display the in the reality imagery that terminal device is shown One information, for example, it may be the text information of " passing through ", is also possible to the video information that related guidance is entered the station.
Step 104, the second information of Overlapping display in reality imagery.
Specifically, the characteristic element in the corresponding reality imagery of bill to be verified and preset characteristic element got is not It is identical, then it is assumed that the bill to be verified is invalid bill.At this point, can the bill to be verified that shows of terminal device it is corresponding existing The second information of Overlapping display in real image, wherein text information, other graphical informations or the view that second information can be Frequency information.
For example, if the train ticket is invalid train ticket, in the Overlapping display the in the reality imagery that terminal device is shown Two information, for example, it may be the text information of " not passing through ", is also possible to the video information that related guidance buys tickets or buys one's ticket after normal time.
In the present embodiment, the characteristic element obtained in the corresponding reality imagery of bill to be verified is first passed through, is then judged Whether the characteristic element got identical as preset characteristic element, further according to judgement result in reality imagery Overlapping display The corresponding information content, by the different information of direct Overlapping display in the reality imagery of effective bill or invalid bill, So that bill check results are high-visible, and have also greatly speeded up the speed of bill verification, to greatly improve ticket Human cost is reduced from repeating to free in uninteresting bill validation labour according to the efficiency of inspection, and by people.
Fig. 3 is the flow chart of the bill method of calibration shown according to a further exemplary embodiment.As shown in figure 3, this implementation The bill method of calibration that example provides, comprising:
Step 201 carries out binary conversion treatment to reality imagery.
Specifically, in the reality imagery for obtaining bill to be verified by the camera on terminal device, most of is colored Image, and chromatic image information contained amount is huge, for the content of image, we can simply be divided into prospect and background, be It makes calculating speed faster, preferably identifies text, first cromogram can be handled, make picture foreground information and back Scape information, can simply define foreground information is black, and background information is white, binary picture is formed, to realize reality The corresponding foreground information of image and background information efficiently separate.
Step 202 is removed noise processed to foreground information.
And due to also usually there will be some miscellaneous points in binary picture, it can be carried out at denoising according to the feature of different noises Reason, so that subsequent character recognition has higher accuracy.
Step 203 carries out character recognition processing to foreground information, using the character features of identification as characteristic element.
Character recognition processing is carried out to the foreground information after binary conversion treatment, using the character features of identification as characteristic element Element.
In order to further improve identification accuracy, Page Segmentation processing can also be carried out to foreground information, will divided Independent identification region is used as in each region afterwards.
Whether step 204, judging characteristic element and preset characteristic element are identical, if the determination result is YES, execute step 205, if judging result be it is no, then follow the steps 206.
The case where characteristic element in reality imagery is the character features in the corresponding reality imagery of bill to be verified, can be with Editable text after conversion is compared with preset text, if the two is consistent, illustrates that the bill to be verified is effective Bill illustrates that the bill to be verified is invalid bill if the two is inconsistent.
For example, when ticket collector verifies train ticket, the nominal value text letter of available current train ticket to be verified Breath, which may include: train number, the starting station, terminus, departure time, ticketing spot and rider's information etc., by this The relevant information registered in text information and system compares, if the two is consistent, illustrates that the train ticket is effective, if the two is not Unanimously, then illustrate that the bill to be verified is invalid bill.It is worth explanatorily, since the information of train ticket registration is real-time update , understand the purchase of passenger therewith, change the behaviors such as label, returned ticket progress dynamic change, therefore, the mistake that can be compared for characteristic element Journey can carry out in server beyond the clouds.Ticket collector gets the reality imagery of train ticket to be verified by terminal device, and mentions After taking corresponding character features, which is sent to cloud server, so as to judge text spy in the server Whether sign is consistent with preset character features, and the result of judgement is being back to terminal device.
Step 205, the Overlapping display first information in reality imagery.
Specifically, the characteristic element in the corresponding reality imagery of bill to be verified got and preset characteristic element phase Together, then it is assumed that the bill to be verified is effective bill.At this point, can the corresponding reality of bill to be verified that shows of terminal device The Overlapping display first information in image, wherein text information, other graphical informations or the video that the first information can be Information.
It can be by determining the relative position between the corresponding real scene of reality imagery and preset virtual scene, then Reality imagery and virtual image are merged depending on the relative position, wherein virtual image is the first information, which can be view Frequency information, to show the check results of bill by way of virtual reality.
For example, if the train ticket is effective train ticket, in the Overlapping display the in the reality imagery that terminal device is shown One information, for example, it may be the text information of " passing through ", is also possible to the video information that related guidance is entered the station.
Step 206, the second information of Overlapping display in reality imagery.
Specifically, the characteristic element in the corresponding reality imagery of bill to be verified and preset characteristic element got is not It is identical, then it is assumed that the bill to be verified is invalid bill.At this point, can the bill to be verified that shows of terminal device it is corresponding existing The second information of Overlapping display in real image, wherein text information, other graphical informations or the view that second information can be Frequency information.
It can be by determining the relative position between the corresponding real scene of reality imagery and preset virtual scene, then Reality imagery and virtual image are merged depending on the relative position, wherein virtual image is the second information, which can be view Frequency information, to show the check results of bill by way of virtual reality.
For example, if the train ticket is invalid train ticket, in the Overlapping display the in the reality imagery that terminal device is shown Two information, for example, it may be the text information of " not passing through ", is also possible to the video information that related guidance buys tickets or buys one's ticket after normal time.
In the present embodiment, the character features obtained in the corresponding reality imagery of bill to be verified are first passed through, are then judged Whether the character features got identical as preset character features, further according to judgement result in reality imagery Overlapping display Corresponding virtual image passes through the different virtual shadow of Overlapping display direct in the reality imagery of effective bill or invalid bill Picture so that the means by virtual reality clearly show bill check results, and has also greatly speeded up ticket According to the speed of verification, to greatly improve the efficiency of bill validation, and people are solved from the uninteresting bill validation labour of repetition It releases, reduces human cost.
Fig. 4 is the structural schematic diagram of terminal device shown according to an exemplary embodiment.As shown in figure 3, the present embodiment The terminal device of offer, comprising:
Module 301 is obtained, for obtaining the characteristic element in the corresponding reality imagery of bill to be verified, the characteristic element For characterizing the validity of the bill to be tested;
The characteristic element in the corresponding reality imagery of bill to be verified is obtained by the method for image recognition, and this feature is first Element can be used for characterizing the validity of the bill to be tested.It wherein, can be ticket to be verified for the characteristic element in reality imagery According to the character features in corresponding reality imagery, it can be and identified by way of optical character identification in the reality imagery Then text is converted into editable text.
Judgment module 302, for judging whether the characteristic element is identical as preset characteristic element;
After getting the characteristic element in the corresponding reality imagery of bill to be verified, judging characteristic element can be passed through It is whether identical as preset characteristic element so that it is determined that whether the bill to be verified effective.
The case where being the character features in the corresponding reality imagery of bill to be verified for the characteristic element in reality imagery, Editable text after conversion can be compared with preset text, if the two is consistent, illustrate that the bill to be verified is Effective bill illustrates that the bill to be verified is invalid bill if the two is inconsistent.
Display module 303, for according to the judging result in the reality imagery in the corresponding information of Overlapping display Hold, wherein if the determination result is YES, then the Overlapping display first information in the reality imagery, the first information table are used for Characterizing the bill to be verified is effective bill, if judging result is no, the letter of Overlapping display second in the reality imagery Breath, second information table are invalid bill for characterizing the bill to be verified.
In a kind of possible design, the display module 303 is specifically used for:
Determine the relative position between the corresponding real scene of the reality imagery and preset virtual scene;
The reality imagery and virtual image are merged depending on that relative position, wherein the virtual image includes: described The first information or second information.
In a kind of possible design, the acquisition module 301 is specifically used for:
Binary conversion treatment is carried out to the reality imagery, to separate the corresponding foreground information of the reality imagery and background Information;
Character recognition processing is carried out to the foreground information, to obtain the character features in the reality imagery, and by institute Character features are stated as the characteristic element.
In a kind of possible design, the acquisition module 301 is also used to:
Noise processed is removed to the foreground information.
In a kind of possible design, the acquisition module 301 is also used to:
Page Segmentation processing is carried out to the foreground information, is used as independent cog region in each region after dividing Domain.
It is worth explanatorily, the terminal device in embodiment illustrated in fig. 4 can be used for executing above-mentioned Fig. 2 and embodiment illustrated in fig. 3 In method, specific implementation is similar with technical effect, and which is not described herein again.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed Device realizes the technical solution of any one of aforementioned embodiment of the method when executing, it is similar that the realization principle and technical effect are similar, herein no longer It repeats.
Fig. 5 is the structural schematic diagram of present invention electronic equipment shown according to an exemplary embodiment.As shown in figure 5, this The electronic equipment that embodiment provides, comprising:
Processor 401;And
Memory 402, the executable instruction for storage processor;
Wherein, processor is configured to execute the technical side of any one of aforementioned embodiment of the method via executable instruction is executed Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Also, the function of each module in above equipment can be realized by processor 401.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or part of or all technical features are carried out etc. With replacement;And these modifications or substitutions, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution Range.

Claims (12)

1. a kind of bill method of calibration characterized by comprising
The characteristic element in the corresponding reality imagery of bill to be verified is obtained, the characteristic element is for characterizing the ticket checking to be checked According to validity;
Judge whether the characteristic element is identical as preset characteristic element;
According to the judging result in the reality imagery the corresponding information content of Overlapping display, wherein if judging result is It is, then the Overlapping display first information in the reality imagery that the first information table is for characterizing the bill to be verified Effective bill, if judging result be it is no, the second information of Overlapping display in the reality imagery, second information table is used for Characterizing the bill to be verified is invalid bill.
2. a kind of bill method of calibration according to claim 1, which is characterized in that it is described according to the judging result in institute State the corresponding information content of Overlapping display in reality imagery, comprising:
Determine the relative position between the corresponding real scene of the reality imagery and preset virtual scene;
The reality imagery and virtual image are merged depending on that relative position, wherein the virtual image includes: described first Information or second information.
3. a kind of bill method of calibration according to claim 1 or 2, which is characterized in that described to obtain bill pair to be verified The characteristic element in reality imagery answered, comprising:
Binary conversion treatment is carried out to the reality imagery, to separate the corresponding foreground information of the reality imagery and background letter Breath;
Character recognition processing is carried out to the foreground information, to obtain the character features in the reality imagery, and by the text Word feature is as the characteristic element.
4. a kind of bill method of calibration according to claim 3, which is characterized in that carried out described to the foreground information Before character recognition processing, further includes:
Noise processed is removed to the foreground information.
5. a kind of bill method of calibration according to claim 4, which is characterized in that be removed to the foreground information After noise processed, further includes:
Page Segmentation processing is carried out to the foreground information, is used as independent identification region in each region after dividing.
6. a kind of terminal device characterized by comprising
Module is obtained, for obtaining the characteristic element in the corresponding reality imagery of bill to be verified, the characteristic element is used for table Levy the validity of the bill to be tested;
Judgment module, for judging whether the characteristic element is identical as preset characteristic element;
Display module, for according to the judging result in the reality imagery the corresponding information content of Overlapping display, wherein If the determination result is YES, then the Overlapping display first information in the reality imagery, the first information table are described for characterizing Bill to be verified is effective bill, if judging result is no, the second information of Overlapping display in the reality imagery, described the Two information tables are invalid bill for characterizing the bill to be verified.
7. terminal device according to claim 6, which is characterized in that the display module is specifically used for:
Determine the relative position between the corresponding real scene of the reality imagery and preset virtual scene;
The reality imagery and virtual image are merged depending on that relative position, wherein the virtual image includes: described first Information or second information.
8. terminal device according to claim 6 or 7, which is characterized in that the acquisition module is specifically used for:
Binary conversion treatment is carried out to the reality imagery, to separate the corresponding foreground information of the reality imagery and background letter Breath;
Character recognition processing is carried out to the foreground information, to obtain the character features in the reality imagery, and by the text Word feature is as the characteristic element.
9. terminal device according to claim 8, which is characterized in that the acquisition module is also used to:
Noise processed is removed to the foreground information.
10. terminal device according to claim 9, which is characterized in that the acquisition module is also used to:
Page Segmentation processing is carried out to the foreground information, is used as independent identification region in each region after dividing.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Claim 1-5 described in any item bill methods of calibration are realized when execution.
12. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-5 described in any item via executing the executable instruction and carry out perform claim Bill method of calibration.
CN201810720225.2A 2018-07-03 2018-07-03 Bill checking method, terminal device, storage medium and electronic device Active CN109087439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810720225.2A CN109087439B (en) 2018-07-03 2018-07-03 Bill checking method, terminal device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810720225.2A CN109087439B (en) 2018-07-03 2018-07-03 Bill checking method, terminal device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109087439A true CN109087439A (en) 2018-12-25
CN109087439B CN109087439B (en) 2021-02-09

Family

ID=64837229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810720225.2A Active CN109087439B (en) 2018-07-03 2018-07-03 Bill checking method, terminal device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109087439B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986379A (en) * 2020-09-02 2020-11-24 中国银行股份有限公司 Method for acquiring anti-counterfeiting point information of paper money, client and server
CN115169335A (en) * 2022-09-07 2022-10-11 深圳高灯计算机科技有限公司 Invoice data calibration method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059885A (en) * 2006-11-03 2007-10-24 朱杰 A ticket true/false verifying system and method
CN102194275A (en) * 2010-03-15 2011-09-21 党力 Automatic ticket checking method for train tickets
CN105631051A (en) * 2016-02-29 2016-06-01 华南理工大学 Character recognition based mobile augmented reality reading method and reading system thereof
CN106408743A (en) * 2016-09-13 2017-02-15 北京中电普华信息技术有限公司 Bill check system
CN107424221A (en) * 2017-03-31 2017-12-01 上海雷腾软件股份有限公司 A kind of method and apparatus of ticket verification
CN107945288A (en) * 2017-11-24 2018-04-20 大连奇辉计算机网络有限公司 Ticket identifies ticket checking system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059885A (en) * 2006-11-03 2007-10-24 朱杰 A ticket true/false verifying system and method
CN102194275A (en) * 2010-03-15 2011-09-21 党力 Automatic ticket checking method for train tickets
CN105631051A (en) * 2016-02-29 2016-06-01 华南理工大学 Character recognition based mobile augmented reality reading method and reading system thereof
CN106408743A (en) * 2016-09-13 2017-02-15 北京中电普华信息技术有限公司 Bill check system
CN107424221A (en) * 2017-03-31 2017-12-01 上海雷腾软件股份有限公司 A kind of method and apparatus of ticket verification
CN107945288A (en) * 2017-11-24 2018-04-20 大连奇辉计算机网络有限公司 Ticket identifies ticket checking system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986379A (en) * 2020-09-02 2020-11-24 中国银行股份有限公司 Method for acquiring anti-counterfeiting point information of paper money, client and server
CN115169335A (en) * 2022-09-07 2022-10-11 深圳高灯计算机科技有限公司 Invoice data calibration method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109087439B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
US10699103B2 (en) Living body detecting method and apparatus, device and storage medium
US11610394B2 (en) Neural network model training method and apparatus, living body detecting method and apparatus, device and storage medium
CN108875731B (en) Target identification method, device, system and storage medium
CN109271878A (en) Image-recognizing method, pattern recognition device and electronic equipment
US11367310B2 (en) Method and apparatus for identity verification, electronic device, computer program, and storage medium
CN111914775B (en) Living body detection method, living body detection device, electronic equipment and storage medium
CN111160395A (en) Image recognition method and device, electronic equipment and storage medium
CN110008664A (en) Authentication information acquisition, account-opening method, device and electronic equipment
CN108875556A (en) Method, apparatus, system and the computer storage medium veritified for the testimony of a witness
CN109948521A (en) Image correcting error method and device, equipment and storage medium
CN113490947A (en) Detection model training method and device, detection model using method and storage medium
CN108171208A (en) Information acquisition method and device
CN111209856B (en) Invoice information identification method and device, electronic equipment and storage medium
CN112241667A (en) Image detection method, device, equipment and storage medium
CN113255516A (en) Living body detection method and device and electronic equipment
CN113361643A (en) Deep learning-based universal mark identification method, system, equipment and storage medium
CN109087439A (en) Bill method of calibration, terminal device, storage medium and electronic equipment
CN110889470B (en) Method and apparatus for processing image
CN114359931A (en) Express bill identification method and device, computer equipment and storage medium
CN113516131A (en) Image processing method, device, equipment and storage medium
CN111985935A (en) Method, device and equipment for checking merchant information
CN111027371A (en) Intelligent vehicle checking method and system, computer equipment and storage medium
CN111242112A (en) Image processing method, identity information processing method and device
CN112487848B (en) Character recognition method and terminal equipment
CN112613891B (en) Shop registration information verification method, device and equipment

Legal Events

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