CN107527050A - A kind of acquisition method, device, equipment and the storage medium of tax reciept number - Google Patents
A kind of acquisition method, device, equipment and the storage medium of tax reciept number Download PDFInfo
- Publication number
- CN107527050A CN107527050A CN201710741301.3A CN201710741301A CN107527050A CN 107527050 A CN107527050 A CN 107527050A CN 201710741301 A CN201710741301 A CN 201710741301A CN 107527050 A CN107527050 A CN 107527050A
- Authority
- CN
- China
- Prior art keywords
- tax reciept
- measured
- tax
- reciept
- image
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
Abstract
The invention discloses a kind of acquisition method, device, equipment and the storage medium of tax reciept number.This method includes:Detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel;Obtain the characteristic information of the nominal value of the tax reciept to be measured;According to the system time and the characteristic information, quarter and finish time at the beginning of the tax reciept number field progress IMAQ to the tax reciept to be measured are confirmed.The present invention is only scanned and intercepted to the tax reciept number field of tax reciept by infrared emission sensor and microcontroller, solve the problems, such as to scan view picture tax reciept image and add collection information content and the relatively low microcontroller of operational capability is difficult to operation image related algorithm, realize the effect for reducing hardware cost and quickly intercepting effective image information.
Description
Technical field
The present embodiments relate to acquisition technology, more particularly to a kind of acquisition method of tax reciept number, device, equipment
And storage medium.
Background technology
With the development of science and technology, in order to help the tax authority further to improve and optimize paying taxes service, tax efficiency is done in raising,
Related research and development department have developed tax administration self-service terminating machine product.Because the system design of tax administration self-service terminating machine product is reasonable,
Securely and reliably, friendly interface and easy to operate, receives the favor of more and more people.
During being scanned acquisition to tax reciept number image in tax administration self-service terminal, Most current scheme is to sweep
View picture tax reciept image is retouched, then the operation image Processing Algorithm in embedded device, tax reciept number image is intercepted.
But the process for scanning interception is more complicated, and the usual operational capability of microcontroller in embedded device is than relatively low,
It is difficult to operation image related algorithm.Also, scanning view picture tax reciept image adds unnecessary information gathering amount.
The content of the invention
The present invention provides a kind of acquisition method, device, equipment and the storage medium of tax reciept number, to realize that quick interception has
The image information and reduction hardware cost of effect.
In a first aspect, the embodiments of the invention provide a kind of acquisition method of tax reciept number, the acquisition method includes:
Detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel;
Obtain the characteristic information of the nominal value of the tax reciept to be measured;
According to the system time and the characteristic information, confirm to carry out figure to the tax reciept number field of the tax reciept to be measured
As quarter and finish time at the beginning of gathering.
Second aspect, the embodiment of the present invention additionally provide a kind of harvester of tax reciept number, and the harvester includes:
Logging modle, when triggering the system of infrared emission sensor for detecting and recording tax reciept to be measured in sense channel
Between;
Acquisition module, the characteristic information of the nominal value for obtaining the tax reciept to be measured;
Module is confirmed, for according to the system time and the characteristic information, confirming the tax reciept to the tax reciept to be measured
Number field carved at the beginning of IMAQ and finish time.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing
Device realizes the acquisition method of tax reciept number as described above.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, the program realize the acquisition method of tax reciept number as described above when being executed by processor.
The present invention is only scanned and cut to the tax reciept number field of tax reciept by infrared emission sensor and microcontroller
Take, solve scanning view picture tax reciept image and add collection information content and the relatively low microcontroller of operational capability is difficult to service chart
As the problem of related algorithm, the effect for reducing hardware cost and quickly intercepting effective image information is realized.
Brief description of the drawings
Fig. 1 is the flow chart of the acquisition method of the tax reciept number in the embodiment of the present invention one.
Fig. 2 is the flow chart of the acquisition method of the tax reciept number in the embodiment of the present invention two.
Fig. 3 is the structural representation of the harvester of the tax reciept number in the embodiment of the present invention three.
Fig. 4 is the structure of the tax reciept number field progress image capturing system to tax reciept to be measured in the embodiment of the present invention four
Schematic diagram.
Fig. 5 is a kind of structural representation of equipment in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is the flow chart of the acquisition method for the tax reciept number that the embodiment of the present invention one provides, and the present embodiment is applicable to
Check numbers and carry out the situation of IMAQ, this method can be performed by image capture device, specifically comprised the following steps:
Step S110, detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel.
In one infrared emission sensor of porch design and installation of the sense channel of tax administration self-service terminal, when user makes
When carrying out respective service with tax administration self-service terminal, time of the tax reciept to be measured in sense channel porch triggering infrared emission sensor
It is recorded as system time.That is, when there is tax reciept to pass through infrared emission sensor, because tax reciept has blocked infrared emission sensor
The infrared-ray of transmitting terminal transmitting so that infrared emission sensor receiving terminal can not receive infrared ray, will trigger infrared emission
Sensor, and the triggering moment is recorded as system time.
Wherein, tax administration self-service terminal can be divided into several type, and a type machine can provide for taxpayer self-service declare dutiable goods, increases
It is worth the clothes such as the certification of tax special invoice, the checking of value-added tax common invoice, Shipping invoices certification, tax declaration and the inquiry of concerning taxes policy
Business, two type machines can provide old testing for VAT invoice, various selling invoices electronics draft banks for taxpayer and sell value-added tax and send out
Ticket paper invoice etc. services.Similarly, tax reciept to be measured also includes polytype, such as, VAT invoice, Shipping invoices and
The different types of invoice such as value-added tax common invoice.
Exemplarily, when a user is carrying out self-service declare dutiable goods using tax self-aided terminal to a certain VAT invoice
When, when the tax reciept is put into sense channel entrance by user, the motor in sense channel starts to start work, and the tax reciept is brought into
Into sense channel.Simultaneously as infrared emission sensor is designed with the porch of sense channel, when tax reciept is by infrared right
Penetrate sensor so that when infrared emission sensor receiving terminal can not receive infrared ray, it is, has detected tax reciept triggering, and
The triggering moment is recorded, and the triggering moment is recorded as system time.
Step S120, the characteristic information of the nominal value of the tax reciept to be measured is obtained.
Preferably, the characteristic information of the nominal value of the tax reciept to be measured in the embodiment of the present invention includes the width of tax reciept to be measured and treated
Survey distance of the tax reciept number field of tax reciept away from tax reciept edge.Because tax reciept to be measured is except having VAT invoice, value-added tax
A variety of invoice types such as common invoice and Shipping invoices, also, tax reciept to be measured is also divided into two kinds of flat push type invoice and roll type bill
Type, then different types of tax reciept, the characteristic information of its nominal value are also different.That is, different types of tax reciept, the width and tax of tax reciept
Distance of the tax reciept number field of ticket away from tax reciept edge is also different.
When a VAT invoice is put into sense channel porch by user, tax reciept is brought into sense channel by motor
When, toll fare ticket type type obtains the characteristic information of tax reciept, in particular to toll fare ticket type type obtains the width and tax reciept number of tax reciept
Distance of the code region away from tax reciept edge.
Step S130, according to the system time and the characteristic information, the tax reciept number to the tax reciept to be measured is confirmed
Region carved at the beginning of IMAQ and finish time.
When detecting and obtaining the system time and characteristic information of tax reciept to be measured, it is possible to according to the tax reciept to be measured
System time and characteristic information, confirm tax reciept to be measured width and tax reciept to be measured tax reciept number field in the at par of tax reciept
Position.Further, it is possible to quarter and finish time at the beginning of calculating to tax reciept number IMAQ.
Wherein, there are a variety of tax reciept information in the nominal value of tax reciept, including:Invoice title, Invoice, invoice codes, invoice
Number, date of making out an invoice tax reciept information related to category of employment etc..It should be noted that the invoice number in the embodiment of the present invention is
For tax reciept number.Invoice codes on every invoice can be with identical, but the invoice number on every invoice is different.Therefore,
The relevant information of different user corresponding to different tax reciepts can be obtained by invoice number.
Illustrate by taking the VAT invoice of flat push type, Shipping invoices as an example, lead to when tax reciept is put into detection by user
During road, it is possible to the type of tax reciept is detected by the sensor in tax self-aided terminal, and the width of tax reciept is obtained according to type
Degree and distance of the tax reciept number field away from tax reciept edge.
I.e., it is possible to obtain, the length of the VAT invoice (in the case where certification is gone in not cutting edge) of flat push type is 24cm,
Width is 14cm, and the length of Shipping invoices is 24cm, and wide is 17.8cm.Also, the tax reciept number of the VAT invoice of flat push type
The tax reciept number field of code and Shipping invoices is also different in position at par, the tax of the VAT invoice of flat push type
Ticket number is in the front-right of invoice title, and the tax reciept number of Shipping invoices is in the lower right of invoice title.Meanwhile according to tax reciept
The position of number field, calculate quarter and finish time at the beginning of being acquired to tax reciept number image.
Wherein, tax reciept number image is acquired by microprocessor control imaging sensor to it.That is, microcontroller
Quarter and finish time at the beginning of device control imaging sensor collection tax reciept number image.Due to the special hair of the value-added tax of flat push type
Ticket is different with the length and width of Shipping invoices, simultaneously as the length of the tax reciept number of VAT invoice and Shipping invoices
Degree is different.Wherein, the length of the tax reciept number of VAT invoice is 10, and the tax reciept number length of Shipping invoices is 8
Position.Carved at the beginning of being then acquired to the tax reciept number images of both tax reciepts and finish time is also different.This implementation
The technical scheme of example, the system time of infrared emission sensor is triggered by detecting and recording tax reciept to be measured in sense channel;
Obtain the characteristic information of the nominal value of the tax reciept to be measured;According to the system time and the characteristic information, confirm to treat to described
Survey tax reciept tax reciept number field carry out IMAQ at the beginning of carve and finish time, solve scanning view picture tax reciept image and
Add collection information content and the problem of the relatively low microcontroller of operational capability is difficult to operation image related algorithm, realize reduction
Hardware cost and the effect for quickly intercepting effective image information.
Embodiment two
Fig. 2 is the flow chart of the acquisition method for the tax reciept number that the embodiment of the present invention two provides, and the present embodiment is applicable to
Check numbers and carry out the situation of IMAQ, this method can be performed by image capture device, specifically comprised the following steps:
Step S210, detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel.
It should be noted that what the tax reciept to be measured was to determine in the direction for the sense channel for entering tax administration self-service terminal,
That is, as inserted bank card on self-service automatic teller machine, what the direction that every bank card inserts machine mouth was to determine, in order to user's
It is follow-up to use.
Wherein, the tax reciept to be measured enter tax administration self-service terminal sense channel direction, can be divided into tax reciept has tax
Ticket information upward and tax reciept title outside, have tax reciept information while upward and tax reciept title in inner side, have tax reciept
The one of information is down and tax reciept title is in outside, and have the one of tax reciept information down and tax reciept title four kinds of inner side not
Same approach axis.But tax reciept to be measured enters factory of the direction in tax administration self-service end product of the sense channel of tax administration self-service terminal
Unified setting is just carried out when business produces the end product to its direction, with user-friendly.Wherein, in the embodiment of the present invention
In, illustrated exemplified by having the one side of tax reciept information upward and tax reciept title is in outside.
Preferably, when user the associative operation such as declare dutiable goods using tax self-aided terminal, and by a special hair of value-added tax
When ticket is put into the porch of sense channel with certain direction, the motor in tax administration self-service terminal with certain speed V evenly
Drive VAT invoice enter sense channel in, and detect record VAT invoice triggered in sense channel it is infrared
The system time of opposite type sensor.
Step S220, the width of the tax reciept to be measured in the sense channel is detected, and according to the width from the tax to prestore
Ticket mark sheet obtains the distance of the tax reciept number field of tax reciept to be measured away from tax reciept edge.
Preferably, in the tax reciept mark sheet to prestore, there is the characteristic information of the different type tax reciept pre-saved.
That is, in the tax reciept mark sheet to prestore, preserve different type tax reciept width and tax reciept number field away from tax reciept edge away from
From., will be according to the width of tax reciept to be measured to prestoring when the sensor in sense channel detects the width of tax reciept to be measured
Tax reciept mark sheet scans for inquiring about, to obtain the distance of the tax reciept number field of tax reciept to be measured away from tax reciept edge.Wherein,
The tax reciept mark sheet to prestore is stored in the memory of tax administration self-service terminal.
Meanwhile if corresponding tax reciept number field is not inquired away from tax reciept side by search in the tax reciept mark sheet to prestore
The distance on edge, then tax administration self-service terminal tax reciept to be measured is exited automatically, go out bank card as, self-service automatic teller machine is unidentified, will
Automatically bank card is exited, so that obtain user carries out Self-Service in other tax administration self-service terminals.
By taking VAT invoice as an example, when user is carried out certainly using tax self-aided terminal to a VAT invoice
Help when declaring dutiable goods, the VAT invoice is put into the porch of the sense channel of tax administration self-service terminal, electricity with certain direction
Machine is brought VAT invoice in sense channel into certain speed V.When the sensor in sense channel detects the increasing
When being worth the width of tax special invoice, the tax reciept mark sheet to prestore is scanned for inquiring about according to the width detected, until inquiry
Untill distance of the tax reciept number field away from VAT invoice edge corresponding to the width of the VAT invoice.If
In the defined period, do not inquire distance of the tax reciept number field away from the VAT invoice edge always, then the tax from
Terminal is helped automatically to exit the VAT invoice, now, user may be selected to carry out in other tax administration self-service terminals self-service
Service, it can also be serviced accordingly at artificial place.
Step S230, according to the system time and the characteristic information, the tax reciept number to the tax reciept to be measured is confirmed
Region carved at the beginning of IMAQ and finish time.
It should be noted that the microcontroller in tax administration self-service terminal will trigger infrared emission according to the tax reciept to be measured of acquisition
The system time of sensor, and the distance of the width of tax reciept to be measured and tax reciept number field away from tax reciept edge, calculate image
Sensor is carved at the beginning of carrying out IMAQ to the tax reciept number field of the tax reciept to be measured and finish time.
Wherein, start time is confirmed according to T2=T1+S/V, finish time is confirmed according to T3=T2+W/V, wherein, T1 tables
Show the system time of the tax reciept triggering infrared emission sensor to be measured, T2 represents to carve at the beginning of described image collection, T3 tables
Show the finish time of described image collection, S represents the distance of the tax reciept to be measured away from tax reciept edge, and W represents the tax reciept to be measured
Width, V represents the speed that the tax reciept to be measured passes through sense channel.
Preferably, by taking flat push type VAT invoice as an example, when flat push type VAT invoice is put into inspection by user
Survey at feeder connection, motor at the uniform velocity brings VAT invoice into sense channel with certain speed V, and detects and record the increasing
It is worth the system time T1 of tax special invoice triggering infrared emission sensor, and the VAT invoice is detected by sensor
Width be W1=14cm, microcontroller is by the information according to W1 from memory in search inquiry tax reciept mark sheet, with inquiry
Untill the number field of the VAT invoice is away from the distance S1 at invoice edge.Then, according to T2=T1+S1/V confirmations pair
The tax reciept number field of the VAT invoice carved at the beginning of IMAQ, and according to T3=T2+W1/V confirmations pair
The tax reciept number field of the VAT invoice carries out the finish time of IMAQ.
Meanwhile quarter and finish time at the beginning of IMAQ and interception are carried out to Quick Response Code, it can also be entered using the method
Row confirms.
Step S240, image is carried out to the tax reciept to be measured between the start time and finish time by setpoint frequency
Collection, to obtain the image of multiframe tax reciept number field.
During due to the number of tax reciept to be measured being acquired and being intercepted, tax reciept to be measured is the process moved in sense channel
Middle progress, then what imaging sensor collected is the dynamic image of tax reciept number, meanwhile, it may be such that the figure of tax reciept number
As resolution ratio is relatively low.
Preferably, according to requirement of the user to image definition, microcontroller imaging sensor will be controlled to be set with different
Determine frequency and IMAQ is carried out to the tax reciept to be measured between the start time and finish time, to obtain multiframe tax reciept number
The image in code region.Wherein, described image sensor carries out IMAQ to tax reciept number, usually line by line to tax reciept
Number image is acquired, to generate multiframe tax reciept number image.
Wherein, the mode that IMAQ is carried out to tax reciept number can determine according to user to the requirement of image definition.
Meanwhile tax reciept number image can be acquired and be intercepted according to the distance that tax reciept moves in sense channel, to obtain image
Different definition.That is, when user is 300dpi and 600dpi to the resolution ratio of image, then movement of the tax reciept in sense channel
Distance is different.Wherein, the displacement that image resolution ratio is 300dpi is than displacement that image resolution ratio is 600dpi
With regard to slightly larger.
Step S250, the image of tax reciept number field described in multiframe is combined, to obtain the tax of the tax reciept to be measured
Ticket image information.
It should be noted that imaging sensor carries out IMAQ to tax reciept number, generation multiframe tax reciept number field
During image, microcontroller will be combined to the image of tax reciept number field described in multiframe, so as to obtain the tax reciept to be measured
Tax reciept image information.Meanwhile the image of the multiframe tax reciept number field collected is optionally saved in local by user, with
When facilitating user again by the tax administration self-service terminal inquiry, the relevant information of fast searching to tax reciept.But in order to prevent tax
The storage content being engaged in self-aided terminal memory is excessive, need to clear up the internal memory of the memory of tax administration self-service terminal in time, i.e. preserves
Tax reciept relevant information to local can be deleted automatically within the regular hour by system.
When getting the tax reciept image information of the tax reciept to be measured, it is possible to inquire the phase at par of tax reciept to be measured
Information is closed, it is also possible to inquire the relevant information of user.When system is verified and confirmed to the information of the tax reciept to be measured
Afterwards, just user's operation for carrying out next step is prompted by display screen interface.The technical scheme of the present embodiment, by detecting and recording
Tax reciept to be measured triggers the system time of infrared emission sensor in sense channel;Obtain the feature of the nominal value of the tax reciept to be measured
Information;According to the system time and the characteristic information, confirm to carry out image to the tax reciept number field of the tax reciept to be measured
Quarter and finish time at the beginning of collection;By setpoint frequency between the start time and finish time to the tax reciept to be measured
IMAQ is carried out, to obtain the image of multiframe tax reciept number field;Group is carried out to the image of tax reciept number field described in multiframe
Close, to obtain the tax reciept image information of the tax reciept to be measured, solve scanning view picture tax reciept image and add collection information content,
And the relatively low microcontroller of operational capability the problem of being difficult to operation image related algorithm, realizing reduces hardware cost and quick
Intercept the effect of effective image information.
Embodiment three
Fig. 3 is the structural representation of the harvester for the tax reciept number that the embodiment of the present invention three provides, and the present embodiment can fit
The situation of IMAQ is carried out for checking numbers, the harvester specifically includes:Logging modle 310, acquisition module 320, confirm
Module 330.
Wherein, logging modle 310, infrared emission sensor is triggered in sense channel for detecting and recording tax reciept to be measured
System time;
Acquisition module 320, the characteristic information of the nominal value for obtaining the tax reciept to be measured;
Module 330 is confirmed, for according to the system time and the characteristic information, confirming the tax to the tax reciept to be measured
Ticket number region carved at the beginning of IMAQ and finish time.
Wherein, start time is confirmed according to T2=T1+S/V, finish time is confirmed according to T3=T2+W/V.Wherein, T1 tables
Show the system time of the tax reciept triggering infrared emission sensor to be measured, T2 represents to carve at the beginning of described image collection, T3 tables
Show the finish time of described image collection, S represents the distance of the tax reciept to be measured away from tax reciept edge, and W represents the tax reciept to be measured
Width, V represents the speed that the tax reciept to be measured passes through sense channel.
Further, acquisition module also includes:
Detection unit, for detecting the width of the tax reciept to be measured in the sense channel;
Acquiring unit, for obtaining the tax reciept number of the tax reciept to be measured from the tax reciept mark sheet to prestore according to the width
Distance of the region away from tax reciept edge.
Further, the harvester of the tax reciept number also includes:
Gather acquisition module 340, for by setpoint frequency between the start time and finish time to described to be measured
Tax reciept carries out IMAQ, to obtain the image of multiframe tax reciept number field.
Further, the harvester also includes:
Acquisition module 350 is combined, for being combined to the image of tax reciept number field described in multiframe, to be treated described in acquisition
Survey the tax reciept image information of tax reciept.
The technical scheme of the present embodiment, by microprocessor control infrared emission sensor and imaging sensor to tax to be measured
The image of the number field of ticket is acquired, i.e. microcontroller is not required to operation image Processing Algorithm tax reciept number is intercepted,
The processing requirement to microcontroller is reduced, hardware cost is create a further reduction and reduces unnecessary image information collecting
Amount.
The harvester of above-mentioned tax reciept number can perform the collection side for the tax reciept number that any embodiment of the present invention is provided
Method, possess the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is the knot that the tax reciept number field to tax reciept to be measured that the embodiment of the present invention four provides carries out image capturing system
Structure schematic diagram, the present embodiment are on the basis of embodiment three, to acquisition module and confirm that module is further optimized.Should
System includes:Infrared emission sensor 420, sense channel 430 and imaging sensor 440.
Infrared emission sensor 420, for detecting and recording the system time that tax reciept 410 enters sense channel 430.
Imaging sensor 440, for carrying out IMAQ to the number field of tax reciept 410.
Exemplarily, when tax reciept 410 is put into the porch of the sense channel 430 of tax administration self-service terminal by user, detection is simultaneously
The system time T1 that tax reciept 410 triggers infrared emission sensor 420 is recorded, then motor is even by tax reciept 410 with certain speed V
Speed belt enters in sense channel 430, obtains the distance S of width W and tax reciept number field 450 away from tax reciept edge of tax reciept 410, and root
Confirm start time according to T2=T1+S/V, finish time is confirmed according to T3=T2+W/V, i.e. number at the T2 moment to tax reciept 410
Code region 450 proceeds by IMAQ, and terminates at the T3 moment to the IMAQ of the number field 450 of tax reciept 420 (during T3
Carve, do not marked in figure).Now, the collection gathered to the tax reciept of tax reciept 410, and tax reciept information is verified and confirmed, and prompt
User carries out the operation of next step.
The technical scheme of the present embodiment, by microprocessor control infrared emission sensor and imaging sensor to tax to be measured
The image of the number field of ticket is acquired, i.e. microcontroller is not required to operation image Processing Algorithm tax reciept number is intercepted,
The processing requirement to microcontroller is reduced, hardware cost is create a further reduction and reduces unnecessary image information collecting
Amount.
Embodiment five
Fig. 5 is a kind of structural representation for equipment that the embodiment of the present invention five provides.Fig. 5 is shown suitable for being used for realizing this
The block diagram of the exemplary computer device 12 of invention embodiment.The computer equipment 12 that Fig. 5 is shown is only an example, no
The function and use range for tackling the embodiment of the present invention bring any restrictions.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to:One or more processor or processing unit 16, system storage 28, connect different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not
Movably, non-volatile magnetic media (Fig. 5 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 5, can with
There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce
Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould
Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making
Obtain any equipment that the computer equipment 12 can be communicated with one or more of the other computing device (such as network interface card, modulatedemodulate
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As illustrated, network adapter 20 is led to by bus 18 and other modules of computer equipment 12
Letter.It should be understood that although not shown in the drawings, can combine computer equipment 12 use other hardware and/or software module, including
But it is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive
And data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and
Data processing, such as realize the acquisition method for the tax reciept number that the embodiment of the present invention is provided:
Detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel;
Obtain the characteristic information of the nominal value of the tax reciept to be measured;
According to the system time and the characteristic information, confirm to carry out figure to the tax reciept number field of the tax reciept to be measured
As quarter and finish time at the beginning of gathering.
Wherein, start time is confirmed according to T2=T1+S/V, finish time is confirmed according to T3=T2+W/V, wherein, T1 tables
Show the system time of the tax reciept triggering infrared emission sensor to be measured, T2 represents to carve at the beginning of described image collection, T3 tables
Show the finish time of described image collection, S represents the distance of the tax reciept to be measured away from tax reciept edge, and W represents the tax reciept to be measured
Width, V represents the speed that the tax reciept to be measured passes through sense channel.
Further, the characteristic information of the nominal value of the tax reciept to be measured is obtained, including:
The width of the tax reciept to be measured in the sense channel is detected, and is obtained according to the width from the tax reciept mark sheet to prestore
Take the distance of the tax reciept number field of tax reciept to be measured away from tax reciept edge.
Further, according to the system time and the characteristic information, the tax reciept number to the tax reciept to be measured is confirmed
Region carved at the beginning of IMAQ and after finish time, in addition to:
IMAQ is carried out to the tax reciept to be measured between the start time and finish time by setpoint frequency, to obtain
Take the image of multiframe tax reciept number field.
Further, image is carried out to the tax reciept to be measured between the start time and finish time by setpoint frequency
Collection, after obtaining the image of multiframe tax reciept number field, in addition to:
The image of tax reciept number field described in multiframe is combined, to obtain the tax reciept image of the tax reciept to be measured letter
Breath.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, should
The acquisition method of the tax reciept number provided such as all inventive embodiments of the application is provided when program is executed by processor:
Detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel;
Obtain the characteristic information of the nominal value of the tax reciept to be measured;
According to the system time and the characteristic information, confirm to carry out figure to the tax reciept number field of the tax reciept to be measured
As quarter and finish time at the beginning of gathering.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used
Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable
Storage medium for example can be system, device or the device of -- but being not limited to -- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor,
Or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:With one
The electrical connection of individual or multiple wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion
Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. acquisition method of tax reciept number, it is characterised in that including:Detect and record the system time that tax reciept to be measured triggers infrared emission sensor in sense channel;Obtain the characteristic information of the nominal value of the tax reciept to be measured;According to the system time and the characteristic information, confirm that carrying out image to the tax reciept number field of the tax reciept to be measured adopts Quarter and finish time at the beginning of collection.
- 2. according to the method for claim 1, it is characterised in that the feature letter of the nominal value for obtaining the tax reciept to be measured Breath, including:The width of the tax reciept to be measured in the sense channel is detected, and institute is obtained from the tax reciept mark sheet to prestore according to the width State distance of the tax reciept number field of tax reciept to be measured away from tax reciept edge.
- 3. according to the method for claim 2, it is characterised in that start time is confirmed according to T2=T1+S/V, according to T3= T2+W/V confirms finish time, wherein, T1 represents the system time of the tax reciept triggering infrared emission sensor to be measured, and T2 is represented Described image is carved at the beginning of gathering, and T3 represents the finish time of described image collection, and S represents the tax reciept to be measured away from tax reciept side The distance on edge, W represent the width of the tax reciept to be measured, and V represents the speed that the tax reciept to be measured passes through sense channel.
- 4. according to the method for claim 1, it is characterised in that it is described according to the system time and the characteristic information, Confirm the tax reciept number field of the tax reciept to be measured is carried out to carve at the beginning of IMAQ and after finish time, in addition to:IMAQ is carried out to the tax reciept to be measured between the start time and finish time by setpoint frequency, it is more to obtain The image of frame tax reciept number field.
- 5. according to the method for claim 4, it is characterised in that it is described by setpoint frequency the start time and at the end of IMAQ is carried out to the tax reciept to be measured between quarter, after obtaining the image of multiframe tax reciept number field, in addition to:The image of tax reciept number field described in multiframe is combined, to obtain the tax reciept image information of the tax reciept to be measured.
- A kind of 6. harvester of tax reciept number, it is characterised in that including:Logging modle, the system time of infrared emission sensor is triggered for detecting and recording tax reciept to be measured in sense channel;Acquisition module, the characteristic information of the nominal value for obtaining the tax reciept to be measured;Module is confirmed, for according to the system time and the characteristic information, confirming the tax reciept number to the tax reciept to be measured Region carved at the beginning of IMAQ and finish time.
- 7. device according to claim 6, it is characterised in that also include:Acquisition module is gathered, for being carried out by setpoint frequency between the start time and finish time to the tax reciept to be measured IMAQ, to obtain the image of multiframe tax reciept number field.
- 8. device according to claim 7, it is characterised in that also include:Acquisition module is combined, for being combined to the image of tax reciept number field described in multiframe, to obtain the tax reciept to be measured Tax reciept image information.
- 9. a kind of equipment, it is characterised in that the equipment includes:One or more processors;Storage device, for storing one or more programs;When one or more of programs are by one or more of computing devices so that one or more of processors are real The now acquisition method of the tax reciept number as described in any in claim 1-5.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The acquisition method of the tax reciept number as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710741301.3A CN107527050A (en) | 2017-08-25 | 2017-08-25 | A kind of acquisition method, device, equipment and the storage medium of tax reciept number |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710741301.3A CN107527050A (en) | 2017-08-25 | 2017-08-25 | A kind of acquisition method, device, equipment and the storage medium of tax reciept number |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107527050A true CN107527050A (en) | 2017-12-29 |
Family
ID=60682260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710741301.3A Pending CN107527050A (en) | 2017-08-25 | 2017-08-25 | A kind of acquisition method, device, equipment and the storage medium of tax reciept number |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107527050A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108805684A (en) * | 2018-04-17 | 2018-11-13 | 海闻科技有限公司 | A kind of tax administration platform application system |
CN109448213A (en) * | 2018-09-18 | 2019-03-08 | 深圳市思乐数据技术有限公司 | Lottery ticket arrangement for reading and lottery ticket read detection method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101458392A (en) * | 2007-12-13 | 2009-06-17 | 株式会社理光 | Optical scanning device and image forming apparatus |
CN101623959A (en) * | 2008-07-10 | 2010-01-13 | 江门市得实计算机外部设备有限公司 | Print and scanning all-in-one machine, print and scanning certification all-in-one system and operating method thereof |
CN105430300A (en) * | 2015-12-01 | 2016-03-23 | 天逸瑞狮(苏州)口腔医疗科技股份有限公司 | Image scanning system, device and method |
-
2017
- 2017-08-25 CN CN201710741301.3A patent/CN107527050A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101458392A (en) * | 2007-12-13 | 2009-06-17 | 株式会社理光 | Optical scanning device and image forming apparatus |
CN101623959A (en) * | 2008-07-10 | 2010-01-13 | 江门市得实计算机外部设备有限公司 | Print and scanning all-in-one machine, print and scanning certification all-in-one system and operating method thereof |
CN105430300A (en) * | 2015-12-01 | 2016-03-23 | 天逸瑞狮(苏州)口腔医疗科技股份有限公司 | Image scanning system, device and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108805684A (en) * | 2018-04-17 | 2018-11-13 | 海闻科技有限公司 | A kind of tax administration platform application system |
CN109448213A (en) * | 2018-09-18 | 2019-03-08 | 深圳市思乐数据技术有限公司 | Lottery ticket arrangement for reading and lottery ticket read detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10740372B2 (en) | System and method for extracting data from a non-structured document | |
US9129176B2 (en) | Method and apparatus for assembling an image of a document | |
EP4246369A1 (en) | Code scanning method and apparatus | |
CN110998626A (en) | Providing hands-free data for interaction | |
CN108182270A (en) | Search for content transmission and searching method, smart pen, search terminal and storage medium | |
CN110945552B (en) | Product sales reporting method, payment method and terminal equipment | |
CN108154707A (en) | A kind of parking data processing terminal equipment and managing system of car parking | |
CN110443245B (en) | License plate region positioning method, device and equipment in non-limited scene | |
CN108172019A (en) | Parking lot management method, apparatus and computer readable storage medium | |
US9947164B2 (en) | Automatic fault diagnosis method and device for sorting machine | |
CN103383732A (en) | Image processing method and device | |
CN107590490A (en) | Unanimous vote face information acquisition method, device and the computer-readable recording medium of invoice | |
CN107527050A (en) | A kind of acquisition method, device, equipment and the storage medium of tax reciept number | |
CN110599156A (en) | Money collection method, money collection device, terminal equipment and medium | |
CN112884988A (en) | Self-service payment service terminal for electric charge | |
CN112907761B (en) | Method, electronic device, and computer storage medium for parking management | |
CN110647824B (en) | Value-added tax invoice layout extraction method based on computer vision technology | |
US9471759B2 (en) | Enabling device functionality based on indoor positioning system detection of physical customer presence | |
CN109087109B (en) | Mobile payment confirmation method, device, system and storage medium | |
CN108304815A (en) | A kind of data capture method, device, server and storage medium | |
CN107274590A (en) | A kind of monitoring system, method, device, financial machine and tool and storage medium | |
CN108038921A (en) | A kind of vehicle in and out port management method, device and storage medium | |
WO2023098320A1 (en) | Method, apparatus, device, system, and storage medium for vehicle fee charging and program product | |
CN108198326B (en) | Method and device for transmitting paper money data, electronic equipment and storage medium | |
CN111723730B (en) | Method for predicting number of target objects and related 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171229 |
|
RJ01 | Rejection of invention patent application after publication |