CN109087439B - Bill checking method, terminal device, storage medium and electronic device - Google Patents

Bill checking method, terminal device, storage medium and electronic device Download PDF

Info

Publication number
CN109087439B
CN109087439B CN201810720225.2A CN201810720225A CN109087439B CN 109087439 B CN109087439 B CN 109087439B CN 201810720225 A CN201810720225 A CN 201810720225A CN 109087439 B CN109087439 B CN 109087439B
Authority
CN
China
Prior art keywords
bill
information
real image
verified
characteristic elements
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
CN201810720225.2A
Other languages
Chinese (zh)
Other versions
CN109087439A (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 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

Images

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a bill checking method, terminal equipment, a storage medium and electronic equipment. The bill verification method provided by the invention comprises the following steps: acquiring characteristic elements in a real image corresponding to a bill to be verified, judging whether the characteristic elements are the same as preset characteristic elements or not, and finally, overlapping and displaying corresponding information content in the real image according to the judgment result. The bill checking method provided by the invention directly displays different information in the real image of the effective bill or the invalid bill in an overlapping manner, so that the bill checking result is clear and visible, the speed of bill checking is greatly increased, the bill checking efficiency is improved, people are relieved from repeated and boring bill checking work, and the labor cost is reduced.

Description

Bill checking method, terminal device, storage medium and electronic device
Technical Field
The invention relates to the technical field of bill processing, in particular to a bill checking method, terminal equipment, a storage medium and electronic equipment.
Background
With the improvement of the living standard and the acceleration of the work rhythm of people, people need to remove various bills in daily life and work, for example: invoices, tickets, and entrance tickets, etc.
Although many tickets are being gradually replaced by electronic tickets, the validation of tickets has become increasingly automated and intelligent. There are still many scenarios that require manual detection of the validity and validity of the ticket. Such as paper bill financial reimbursement, performance movie tickets, ticket checking and the like. Generally, manual detection needs to check multiple items of check items, such as the authenticity, date, departure time, destination, owner, etc. of a ticket, the authenticity, date, time, and field of a performance ticket, the date, category, heading, amount, official seal, etc. of an invoice, so that the checking efficiency is low, and the labor cost is high.
Therefore, a large amount of manpower and material resources are required to be occupied depending on a manual inspection method, the reliability of the inspection is low, and errors are easy to occur.
Disclosure of Invention
The invention provides a bill checking method, terminal equipment, a storage medium and electronic equipment, and aims to solve the technical problems that time and labor are consumed in the existing manual ticket checking process, and the checking reliability is low.
In a first aspect, the present invention provides a bill verification method, including:
acquiring characteristic elements in a real image corresponding to a bill to be checked, wherein the characteristic elements are used for representing the validity of the bill to be checked;
judging whether the characteristic elements are the same as preset characteristic elements or not;
and displaying corresponding information content in the real image in an overlapping manner according to the judgment result, wherein if the judgment result is yes, first information is displayed in the real image in the overlapping manner, the first information table is used for representing that the bill to be verified is an effective bill, if the judgment result is no, second information is displayed in the overlapping manner in the real image, and the second information table is used for representing that the bill to be verified is an ineffective bill.
In a possible design, the displaying the corresponding information content in the real image according to the determination result includes:
determining the relative position between a real scene corresponding to the real image and a preset virtual scene;
fusing the real image and the virtual image according to the relative position, wherein the virtual image comprises: the first information or the second information.
In a possible design, the obtaining of the feature elements in the real image corresponding to the bill to be verified includes:
carrying out binarization processing on the real image to separate foreground information and background information corresponding to the real image;
and performing character recognition processing on the foreground information to acquire character features in the real image, and taking the character features as the feature elements.
In one possible design, before the performing the character recognition processing on the foreground information, the method further includes:
and carrying out denoising processing on the foreground information.
In one possible design, after denoising the foreground information, the method further includes:
and performing layout segmentation processing on the foreground information to take each segmented area as an independent identification area.
In a second aspect, the present invention further provides a terminal device, including:
the acquiring module acquires characteristic elements in the real image corresponding to the bill to be checked, wherein the characteristic elements are used for representing the validity of the bill to be checked;
the judging module is used for judging whether the characteristic elements are the same as preset characteristic elements or not;
and the display module is used for displaying corresponding information content in the real image in an overlapping mode according to the judgment result, if the judgment result is yes, first information is displayed in the real image in an overlapping mode, the first information table is used for representing that the bill to be verified is an effective bill, if the judgment result is no, second information is displayed in the real image in an overlapping mode, and the second information table is used for representing that the bill to be verified is an invalid bill.
In one possible design, the display module is specifically configured to:
determining the relative position between a real scene corresponding to the real image and a preset virtual scene;
and fusing the real image and the virtual image according to the relative position, wherein the virtual image is the first information or the second information.
In one possible design, the obtaining module is specifically configured to:
carrying out binarization processing on the real image to separate foreground information and background information corresponding to the real image;
and performing character recognition processing on the foreground information to acquire character features in the real image, and taking the character features as the feature elements.
In one possible design, the obtaining module is further configured to:
and carrying out denoising processing on the foreground information.
In one possible design, the obtaining module is further configured to:
and performing layout segmentation processing on the foreground information to take each segmented area as an independent identification area.
In a third aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements any one of the possible ticket verification methods provided in the first aspect.
In a fourth aspect, the present invention further provides an electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any one of the possible ticket validation methods provided in the first aspect via execution of the executable instructions.
According to the bill verification method, the terminal device, the storage medium and the electronic device, the characteristic elements in the real image corresponding to the bill to be verified are obtained, whether the obtained characteristic elements are the same as the preset characteristic elements is judged, corresponding information contents are displayed in the real image in a superposition mode according to the judgment result, different information is displayed in the real image of the effective bill or the invalid bill in a direct superposition mode, the bill verification result is clear and visible, the bill verification speed is greatly increased, the bill verification efficiency is improved, people are relieved from repeated and boring bill verification labor, and the labor cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram illustrating an application scenario of a ticket validation method in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a ticket validation method in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a ticket validation method in accordance with yet another exemplary embodiment;
FIG. 4 is a schematic diagram of a terminal device shown in accordance with an exemplary embodiment;
fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a diagram illustrating an application scenario of a ticket checking method according to an exemplary embodiment. As shown in fig. 1, when the bill verification method provided in this embodiment is applied, a camera on a terminal device is used to obtain a real image of a bill to be verified, where the terminal device may be an electronic device with real image acquisition, data processing, and display functions, such as a smart phone, a tablet computer, a personal computer, and AR glasses. For example, when the ticket checker checks the train ticket, the ticket checker may collect a real image of the train ticket with the information content through the terminal device. Then compare whether the characteristic element on the reality image of this train ticket is the same with predetermined characteristic element in local or in the high in the clouds server, wherein, this characteristic element can be for characters characteristic, image characteristic and profile feature etc. does not restrict this characteristic element's concrete form in this embodiment. After the judgment and comparison, corresponding information content is displayed in an overlapping mode on the basis of the real image displayed by the terminal equipment according to the judged result, wherein if the train ticket is an effective train ticket, first information is displayed in the overlapping mode in the real image displayed by the terminal equipment, and the first information can be 'passing' text information or other graphic information; however, if the train ticket is a valid train ticket, the second information, for example, text information of "no pass" or other graphic information, is displayed in a superimposed manner in the real image displayed by the terminal device, so that the time and effort of ticket checking by the ticket checker are saved, and the checking accuracy is improved.
FIG. 2 is a flow diagram illustrating a ticket validation method according to an exemplary embodiment. The bill verification method shown in fig. 2 includes:
step 101, obtaining characteristic elements in a real image corresponding to a bill to be verified.
Specifically, the real image of the bill to be verified can be acquired through a camera on the terminal device, wherein the terminal device can be an electronic device with real image acquisition, data processing and display functions, such as a smart phone, a tablet computer, a personal computer and AR glasses.
Then, the characteristic elements in the real image corresponding to the bill to be verified are obtained through an image recognition method, and the characteristic elements can be used for representing the effectiveness of the bill to be verified. The characteristic elements in the real image can be character characteristics in the real image corresponding to the bill to be verified, and characters in the real image can be recognized in an optical character recognition mode and then converted into editable texts.
It should be noted that, in the method provided in this embodiment, the process of acquiring the feature elements in the real image corresponding to the to-be-verified bill may be completed on the terminal device or may also be completed on the cloud server.
For example, when the ticket checker checks the train ticket, the ticket checker may collect a real image of the train ticket with the information content through the terminal device. Specifically, in the ticket checking process, a ticket checker can shoot the train ticket to be checked by using a camera of the smart phone, or the ticket checker directly wears the AR glasses and then ensures that the train ticket to be checked is within the visual field range of the AR glasses.
And 102, judging whether the characteristic elements are the same as the preset characteristic elements or not, if so, executing a step 103, and if not, executing a step 104.
After the characteristic elements in the real image corresponding to the bill to be verified are obtained, whether the bill to be verified is effective or not can be determined by judging whether the characteristic elements are the same as the preset characteristic elements or not.
For the condition that the characteristic elements in the real image are character characteristics in the real image corresponding to the bill to be verified, the converted editable text can be compared with the preset text, if the converted editable text is consistent with the preset text, the bill to be verified is an effective bill, and if the converted editable text is inconsistent with the preset text, the bill to be verified is an invalid bill.
For example, when a ticket checker checks a train ticket, face-to-face text information of the train ticket to be checked currently may be acquired, where the text information may include: and comparing the text information with relevant information registered in the system, wherein the text information comprises train number, an initial station, a terminal station, departure time, a ticket gate, passenger information and the like, if the text information and the relevant information are consistent, the train ticket is valid, and if the text information and the relevant information are not consistent, the ticket to be verified is an invalid ticket. Obviously, the information of train ticket registration is updated in real time, and dynamic changes are carried out along with actions of purchasing, signing changing, ticket returning and the like of passengers, so that the process of comparing the characteristic elements can be carried out in the cloud server. The ticket checker obtains a real image of the train ticket to be checked through the terminal device, extracts corresponding character features, and then sends the character features to the cloud server, so that whether the character features are consistent with preset character features or not is judged in the server, and a judgment result is returned to the terminal device.
And 103, displaying the first information in the real image in an overlapping mode.
Specifically, if the feature elements in the real image corresponding to the acquired bill to be verified are the same as the preset feature elements, the bill to be verified is considered to be an effective bill. At this time, the first information may be displayed in a superimposed manner in a real image corresponding to the bill to be verified displayed by the terminal device, where the first information may be text information, other graphic information, or video information.
For example, if the train ticket is a valid train ticket, the first information, for example, the text information of "pass through" or the video information of the relevant guidance station, is displayed in a superimposed manner on the real image displayed on the terminal device.
And 104, displaying the second information in the real image in an overlapping mode.
Specifically, if the characteristic elements in the real image corresponding to the acquired bill to be verified are different from the preset characteristic elements, the bill to be verified is considered to be an invalid bill. At this time, second information can be displayed in a superimposed manner in a real image corresponding to the bill to be verified displayed by the terminal device, wherein the second information can be text information, other graphic information or video information.
For example, if the train ticket is an invalid train ticket, the second information, for example, text information of "no pass" or video information of a relevant guidance ticket purchase or replenishment ticket, may be displayed superimposed on the real image displayed on the terminal device.
In the embodiment, the characteristic elements in the real image corresponding to the bill to be checked are obtained, whether the obtained characteristic elements are the same as the preset characteristic elements is judged, corresponding information contents are displayed in the real image in a superposition mode according to the judgment result, different information is displayed in the real image of the effective bill or the invalid bill in a direct superposition mode, the bill checking result is clear and visible, the bill checking speed is greatly increased, the bill checking efficiency is greatly improved, people are relieved from repeated and boring bill checking labor, and the labor cost is reduced.
FIG. 3 is a flow chart diagram illustrating a ticket validation method according to yet another exemplary embodiment. As shown in fig. 3, the bill verification method provided in this embodiment includes:
and step 201, performing binarization processing on the real image.
Specifically, the real image of the bill to be verified is acquired through the camera on the terminal device, most of the real image is a color image, the information content of the color image is huge, the image content can be simply divided into foreground and background, in order to enable the calculation speed to be faster and better identify characters, the color image can be processed firstly, so that only foreground information and background information of the image are obtained, the foreground information can be simply defined to be black, the background information is white, a binary image is formed, and therefore the effective separation of the foreground information and the background information corresponding to the real image is achieved.
And step 202, performing noise removal processing on the foreground information.
And because some miscellaneous points usually exist in the binary image, denoising processing can be carried out according to the characteristics of different noises, so that the subsequent character recognition has higher accuracy.
And step 203, performing character recognition processing on the foreground information, and taking the recognized character features as feature elements.
And performing character recognition processing on the foreground information after the binarization processing, and taking the recognized character features as feature elements.
In order to further improve the identification accuracy, the foreground information may be subjected to layout segmentation processing, so that each segmented area is taken as an independent identification area.
Step 204, determining whether the feature element is the same as the preset feature element, if so, executing step 205, and if not, executing step 206.
And if the feature elements in the real image are the character features in the real image corresponding to the bill to be verified, comparing the converted editable text with a preset text, if the editable text is consistent with the preset text, indicating that the bill to be verified is a valid bill, and if the editable text is inconsistent with the preset text, indicating that the bill to be verified is an invalid bill.
For example, when a ticket checker checks a train ticket, face-to-face text information of the train ticket to be checked currently may be acquired, where the text information may include: and comparing the text information with relevant information registered in the system, wherein the text information comprises train number, an initial station, a terminal station, departure time, a ticket gate, passenger information and the like, if the text information and the relevant information are consistent, the train ticket is valid, and if the text information and the relevant information are not consistent, the ticket to be verified is an invalid ticket. Obviously, the information of train ticket registration is updated in real time, and dynamic changes are carried out along with actions of purchasing, signing changing, ticket returning and the like of passengers, so that the process of comparing the characteristic elements can be carried out in the cloud server. The ticket checker obtains a real image of the train ticket to be checked through the terminal device, extracts corresponding character features, and then sends the character features to the cloud server, so that whether the character features are consistent with preset character features or not is judged in the server, and a judgment result is returned to the terminal device.
Step 205, displaying the first information in the real image in an overlapping manner.
Specifically, if the feature elements in the real image corresponding to the acquired bill to be verified are the same as the preset feature elements, the bill to be verified is considered to be an effective bill. At this time, the first information may be displayed in a superimposed manner in a real image corresponding to the bill to be verified displayed by the terminal device, where the first information may be text information, other graphic information, or video information.
The verification result of the bill can be displayed in a virtual reality mode by determining the relative position between the real scene corresponding to the real image and the preset virtual scene and then fusing the real image and the virtual image according to the relative position, wherein the virtual image is first information, and the virtual image can be video information.
For example, if the train ticket is a valid train ticket, the first information, for example, the text information of "pass through" or the video information of the relevant guidance station, is displayed in a superimposed manner on the real image displayed on the terminal device.
And step 206, displaying the second information in the real image in an overlapping mode.
Specifically, if the characteristic elements in the real image corresponding to the acquired bill to be verified are different from the preset characteristic elements, the bill to be verified is considered to be an invalid bill. At this time, second information can be displayed in a superimposed manner in a real image corresponding to the bill to be verified displayed by the terminal device, wherein the second information can be text information, other graphic information or video information.
The verification result of the bill can be displayed in a virtual reality mode by determining the relative position between the real scene corresponding to the real image and the preset virtual scene and then fusing the real image and the virtual image according to the relative position, wherein the virtual image is the second information, and the virtual image can be video information.
For example, if the train ticket is an invalid train ticket, the second information, for example, text information of "no pass" or video information of a relevant guidance ticket purchase or replenishment ticket, may be displayed superimposed on the real image displayed on the terminal device.
In the embodiment, the character features in the real image corresponding to the bill to be checked are acquired, whether the acquired character features are the same as the preset character features is judged, the corresponding virtual images are displayed in the real image in an overlapping mode according to the judgment result, different virtual images are displayed in the real image of the effective bill or the invalid bill in an overlapping mode, so that the bill checking result is clearly displayed through a virtual reality means, the bill checking speed is greatly increased, the bill checking efficiency is greatly improved, people are relieved from repeated and boring bill checking labor, and the labor cost is reduced.
Fig. 4 is a schematic structural diagram of a terminal device shown according to an exemplary embodiment. As shown in fig. 3, the terminal device provided in this embodiment includes:
an obtaining module 301, configured to obtain a feature element in a real image corresponding to a to-be-verified bill, where the feature element is used to represent validity of the to-be-verified bill;
and acquiring characteristic elements in a real image corresponding to the bill to be verified by an image recognition method, wherein the characteristic elements can be used for representing the validity of the bill to be verified. The characteristic elements in the real image can be character characteristics in the real image corresponding to the bill to be verified, and characters in the real image can be recognized in an optical character recognition mode and then converted into editable texts.
A judging module 302, configured to judge whether the feature element is the same as a preset feature element;
after the characteristic elements in the real image corresponding to the bill to be verified are obtained, whether the bill to be verified is effective or not can be determined by judging whether the characteristic elements are the same as the preset characteristic elements or not.
For the condition that the characteristic elements in the real image are character characteristics in the real image corresponding to the bill to be verified, the converted editable text can be compared with the preset text, if the converted editable text is consistent with the preset text, the bill to be verified is an effective bill, and if the converted editable text is inconsistent with the preset text, the bill to be verified is an invalid bill.
A display module 303, configured to display corresponding information content in the real image in an overlapping manner according to the determination result, where if the determination result is yes, a first information is displayed in the real image in an overlapping manner, the first information table is used to represent that the bill to be verified is an effective bill, if the determination result is no, a second information is displayed in the real image in an overlapping manner, and the second information table is used to represent that the bill to be verified is an invalid bill.
In one possible design, the display module 303 is specifically configured to:
determining the relative position between a real scene corresponding to the real image and a preset virtual scene;
fusing the real image and the virtual image according to the relative position, wherein the virtual image comprises: the first information or the second information.
In a possible design, the obtaining module 301 is specifically configured to:
carrying out binarization processing on the real image to separate foreground information and background information corresponding to the real image;
and performing character recognition processing on the foreground information to acquire character features in the real image, and taking the character features as the feature elements.
In one possible design, the obtaining module 301 is further configured to:
and carrying out denoising processing on the foreground information.
In one possible design, the obtaining module 301 is further configured to:
and performing layout segmentation processing on the foreground information to take each segmented area as an independent identification area.
It should be noted that the terminal device in the embodiment shown in fig. 4 may be configured to execute the methods in the embodiments shown in fig. 2 and fig. 3, and specific implementation manners and technical effects are similar and are not described herein again.
The present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the technical solutions of any of the foregoing method embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. As shown in fig. 5, the electronic device provided in this embodiment includes:
a processor 401; and
a memory 402 for storing executable instructions for the processor;
the processor is configured to execute the technical solution of any one of the foregoing method embodiments by executing the executable instructions, and the implementation principle and technical effect thereof are similar and will not be described herein again.
Also, the functions of the modules in the above-described apparatus may be implemented by the processor 401.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A method of bill validation, comprising:
acquiring characteristic elements in a real image corresponding to a bill to be checked, wherein the characteristic elements are used for representing the effectiveness of the bill to be checked;
judging whether the characteristic elements are the same as preset characteristic elements or not;
and displaying corresponding information content in the real image in an overlapping manner according to the judgment result, wherein if the judgment result is yes, first information is displayed in the real image in the overlapping manner, the first information table is used for representing that the bill to be verified is an effective bill, if the judgment result is no, second information is displayed in the overlapping manner in the real image, and the second information table is used for representing that the bill to be verified is an ineffective bill.
2. The bill verification method according to claim 1, wherein the displaying of the corresponding information content in the real image in an overlapping manner according to the determination result comprises:
determining the relative position between a real scene corresponding to the real image and a preset virtual scene;
fusing the real image and the virtual image according to the relative position, wherein the virtual image comprises: the first information or the second information.
3. The bill verification method according to claim 1 or 2, wherein the obtaining of the feature elements in the real image corresponding to the bill to be verified includes:
carrying out binarization processing on the real image to separate foreground information and background information corresponding to the real image;
and performing character recognition processing on the foreground information to acquire character features in the real image, and taking the character features as the feature elements.
4. The bill verification method according to claim 3, further comprising, before said character recognition processing on said foreground information:
and carrying out denoising processing on the foreground information.
5. The bill validation method of claim 4, further comprising, after denoising the foreground information:
and performing layout segmentation processing on the foreground information to take each segmented area as an independent identification area.
6. A terminal device, comprising:
the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring characteristic elements in a real image corresponding to a bill to be verified, and the characteristic elements are used for representing the effectiveness of the bill to be verified;
the judging module is used for judging whether the characteristic elements are the same as preset characteristic elements or not;
and the display module is used for displaying corresponding information content in the real image in an overlapping mode according to the judgment result, if the judgment result is yes, first information is displayed in the real image in an overlapping mode, the first information table is used for representing that the bill to be verified is an effective bill, if the judgment result is no, second information is displayed in the real image in an overlapping mode, and the second information table is used for representing that the bill to be verified is an invalid bill.
7. The terminal device according to claim 6, wherein the display module is specifically configured to:
determining the relative position between a real scene corresponding to the real image and a preset virtual scene;
fusing the real image and the virtual image according to the relative position, wherein the virtual image comprises: the first information or the second information.
8. The terminal device according to claim 6 or 7, wherein the obtaining module is specifically configured to:
carrying out binarization processing on the real image to separate foreground information and background information corresponding to the real image;
and performing character recognition processing on the foreground information to acquire character features in the real image, and taking the character features as the feature elements.
9. The terminal device of claim 8, wherein the obtaining module is further configured to:
and carrying out denoising processing on the foreground information.
10. The terminal device of claim 9, wherein the obtaining module is further configured to:
and performing layout segmentation processing on the foreground information to take each segmented area as an independent identification area.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the ticket checking method according to any one of claims 1-5.
12. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the ticket validation method of any of claims 1-5 via execution of the executable instructions.
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 CN109087439A (en) 2018-12-25
CN109087439B true 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)

Families Citing this family (3)

* 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
CN115169335B (en) * 2022-09-07 2023-01-13 深圳高灯计算机科技有限公司 Invoice data calibration method and device, computer equipment and storage medium
CN117611363B (en) * 2023-10-25 2024-07-09 浙江爱信诺航天信息技术有限公司 Online verification method and medium for certificates

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

Also Published As

Publication number Publication date
CN109087439A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US10699103B2 (en) Living body detecting method and apparatus, device and storage medium
CN110766014B (en) Bill information positioning method, system and computer readable storage medium
CN109087439B (en) Bill checking method, terminal device, storage medium and electronic device
CN112487848B (en) Character recognition method and terminal equipment
CN109325424A (en) Discrimination method, device and the computer equipment of break in traffic rules and regulations case
CN111950353A (en) Seal text recognition method and device and electronic equipment
CN111160395A (en) Image recognition method and device, electronic equipment and storage medium
CN111680546A (en) Attention detection method, attention detection device, electronic equipment and storage medium
CN109948521A (en) Image correcting error method and device, equipment and storage medium
CN112541443A (en) Invoice information extraction method and device, computer equipment and storage medium
CN108875556A (en) Method, apparatus, system and the computer storage medium veritified for the testimony of a witness
CN111062262B (en) Invoice recognition method and invoice recognition device
CN112434689A (en) Method, device and equipment for identifying information in picture and storage medium
CN112668580A (en) Text recognition method, text recognition device and terminal equipment
CN103488966A (en) Intelligent mobile phone capable of identifying real-name ticket information
CN112487982A (en) Merchant information auditing method, system and storage medium
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
CN108648189A (en) Image fuzzy detection method, apparatus, computing device and readable storage medium storing program for executing
CN114332809A (en) Image identification method and device, electronic equipment and storage medium
CN111738252A (en) Method and device for detecting text lines in image and computer system
CN112396060A (en) Identity card identification method based on identity card segmentation model and related equipment thereof
CN110909816A (en) Picture identification method and device
CN111950356B (en) Seal text positioning method and device and electronic equipment
CN113111734B (en) Watermark classification model training method and device
CN111626244B (en) Image recognition method, device, electronic equipment and medium

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