CN109460766A - A kind of device and method for extracting bill images from bill paper - Google Patents

A kind of device and method for extracting bill images from bill paper Download PDF

Info

Publication number
CN109460766A
CN109460766A CN201811147958.8A CN201811147958A CN109460766A CN 109460766 A CN109460766 A CN 109460766A CN 201811147958 A CN201811147958 A CN 201811147958A CN 109460766 A CN109460766 A CN 109460766A
Authority
CN
China
Prior art keywords
bill
paper
image
light guide
guide plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811147958.8A
Other languages
Chinese (zh)
Other versions
CN109460766B (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.)
Jinan Enterprise Finance Software Co.,Ltd.
Original Assignee
Beijing Dandora 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 Dandora Technology Co Ltd filed Critical Beijing Dandora Technology Co Ltd
Priority to CN201811147958.8A priority Critical patent/CN109460766B/en
Publication of CN109460766A publication Critical patent/CN109460766A/en
Application granted granted Critical
Publication of CN109460766B publication Critical patent/CN109460766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

A kind of device that bill images are extracted from bill paper of the present invention, which includes: the first imaging mechanism, for obtaining the first bill paper image for containing a plurality of bills;Light source and the second imaging mechanism, in the image of the another side acquisition bill paper of bill paper, obtaining the second bill paper image for containing a plurality of bill shades when the one side of bill paper provides light source;Image processing module, for according to bill shade each in the second bill paper image profile and position, extract corresponding each bill images in the first bill paper image.The method that there is further disclosed herein kinds to extract bill images from bill paper, the profile of bill shade and the position on paper can be found on the second bill paper image according to the shadow color difference that the bill being attached on paper is formed with paper in this way, to solve the problems, such as to be difficult to when bill and paper color are all white to obtain bill images from bill paper image.

Description

A kind of device and method for extracting bill images from bill paper
Technical field
The invention belongs to service equipment technical fields, particularly relate to a kind of device that bill images are extracted from bill paper And method.
Background technique
Since number is numerous, the bill of reimbursement is very more for big companies, needs many manpowers to receive processing bill, from And waste many manpowers of company, financial resources.For this purpose, this can be solved the problems, such as by the electronic disposal that bill data acquires.
For example, the patent document that Chinese Patent Application No. is CN201710983947.2 disclose a kind of reimbursement equipment and Its processing method, the reimbursement equipment carry out Image Acquisition to entity document sets by scanner and establish the pass between electronic documents Connection, and entity document sets can be delivered to the Bill box of the reimbursement equipment and be collected.For another example, Chinese Patent Application No. is The patent document of CN201710399047.3 discloses a kind of finance reimbursement unanimous vote according to intelligent checks system, by bill by sweeping Carry out Image Acquisition is retouched, then is identified and is handled by the invoice that image of the OCR module to scanning includes, and network can be passed through It is uploaded to Finance Center.As it can be seen that current scheme may be implemented to the electronic disposal of bill, the identification of ticket contents and It collects and uploads, to improve reimbursement efficiency.
But there is also following problems not yet to solve for current electronic disposal:
Before scanning, multiple bills non-touching can be pasted on a paper in order to scan, and most of bill background color is White, it is identical as the paper background color of the bill is pasted, therefore, the image scanned is often each bill profile and paper to melt be one Body, so as to cause isolating in the image from scanning, failure rate of each bill to store when is higher.
Summary of the invention
In view of this, the main purpose of the present invention is to provide a kind of from bill paper extract bill images device and Method is difficult to extract bill images from the first bill paper image when bill and paper color are all white to solve Problem.
The present invention it is a kind of from bill paper extract bill images device, the bill paper refer to be pasted with it is a plurality of mutually The paper of nonoverlapping bill, the device include:
First imaging mechanism, the image of the one side for being pasted with bill for acquiring bill paper are obtained containing a plurality of First bill paper image of bill;
Light source and the second imaging mechanism, for bill paper one side provide light source when, in the another side of bill paper The image of bill paper is acquired, the second bill paper image for containing a plurality of bill shades is obtained;
Image processing module, for according to bill shade each in the second bill paper image profile and position, extract Corresponding each bill images in first bill paper image.
By upper, the first and second bill paper image is generated by the first and second imaging mechanism respectively, passes through image processing module The profile of bill shade and the position on paper are found from the second bill paper image, from the first bill paper image Corresponding position extracts bill images, and the shadow color difference that is formed with paper of the bill that is attached on paper of basis can be the in this way The profile of bill shade and the position on paper are found on two bill paper images, to solve bill and paper color is all The problem of bill images are obtained from bill paper image is difficult to when white.
Preferably,
First imaging mechanism includes scanner, bill paper entrance of the entrance as described device;It is described to sweep Instrument is retouched for scanning the one side for being pasted with bill of bill paper, to obtain first bill paper for containing a plurality of bills Image;
The light source includes: the light guide plate closed or opened exported positioned at the bill paper of described device, for branch Support discharges the bill paper come from scanner outlet transfer;Setting is contacted with light guide plate and provides the lamp of light source to light guide plate Item;
Second imaging mechanism includes: the camera being arranged above light guide plate, for light guide plate be in closed state and When being provided light source and shone by lamp bar, the image for the bill paper that acquisition light guide plate is supported contains a plurality of bills to obtain Second bill paper image of shade;
Described image processing module is connect with the scanner and camera signals.
By upper, the first bill paper image is obtained by scanner scanning bill paper, light guide plate is sent out by camera The bill paper that light time is placed on light guide plate takes pictures to obtain the second bill paper image.
Preferably,
The light source includes: the light guide plate closed or opened exported positioned at the bill paper of described device, for branch Support or discharge the bill paper from the bill paper entrance in-migration of described device;Setting is contacted with light guide plate and is provided to light guide plate The lamp bar of light source;
First imaging mechanism and the second imaging mechanism are realized by the same camera, are set to above light guide plate;It leads Also there is a light compensating lamp above tabula rasa;The camera is in closed state for light guide plate and is provided light source and sent out by lamp bar Light time, the image for the bill paper that acquisition light guide plate is supported, to obtain the second bill paper for containing a plurality of bill shades Image, and be in closed state for light guide plate and when only light compensating lamp shines, acquire the bill paper that is supported of light guide plate Image, to obtain the first bill paper image for containing a plurality of bills;
Described image processing module is connect with the camera signals.
Preferably,
The light guide plate includes horizontally disposed two light guide plates;Further include two light guide plate horizontal directions of driving it is opposite or It is moved away to close or open the driving portion of bottom, the sliding rail for limiting and supporting the light guide plate to move along the direction.
By upper, the direction of light guide plate opening and closing increases the stabilization of light guide plate open or close along the length direction of sliding rail Property.
Preferably, the driving portion includes: the thread lead screw that both ends have different rotation direction screw threads, the electricity of its positive and negative rotation is driven Machine, thread lead screw both ends are equipped with two nuts, and two nuts are affixed with one side of two light guide plates respectively;
The sliding rail is located at the opposite other side of driving portion of two light guide plates, and two light guide plates pass through affixed with it one respectively Sliding block and the sliding rail assemble.
Preferably, the light guide plate includes horizontally disposed two adjacent light guide plates, two light guide plates can be around respective outside For axis rotation;It further include driving two light guide plates are synchronous to relatively rotate to close or open the driving portion of bottom.
A method of extracting bill images from bill paper, comprising steps of
A, the image for acquiring the one side for being pasted with bill of bill paper, obtains the first check paper for containing a plurality of bills Open image;
B, light source is provided in the one side of bill paper, and bill paper is acquired by camera in the another side of bill paper Image, obtain contain a plurality of bill shades the second bill paper image;
C, according to the profile of bill shade each in the second bill paper image and position, first bill is extracted Corresponding each bill images in paper image.
By upper, the bill images on the first bill paper image can be extracted and be saved according to above method step Come, facilitates the batch processing for carrying out bill.
Preferably,
The step A includes: the one side for being pasted with bill by scanner scanning bill paper, is obtained containing a plurality of First bill paper image of bill;
The step B includes: that bill paper is transferred on light guide plate, and controlling to light guide plate offer light source sends out light guide plate Light;By the image for the bill paper that camera is supported from bill paper top acquisition light guide plate, obtains and contain a plurality of bills Second bill paper image of shade.
Preferably,
The step A includes: that bill paper is transferred on light guide plate, and is pasted with the one side of bill upward;By light compensating lamp It shines from bill paper top, acquires the image for the bill paper that light guide plate is supported from bill paper top by camera, with Obtain the first bill paper image for containing a plurality of bills;
The step B includes: closing light compensating lamp, and controlling to light guide plate offer light source makes light guide plate shine;By camera from The image for the bill paper that bill paper top acquisition light guide plate is supported, obtains the second bill for containing a plurality of bill shades Paper image.
Preferably, in the second bill paper image described in the step C determination of the profile of each bill shade step packet It includes:
C1, to the second bill paper image carry out gray processing processing, and adjust its brightness, contrast and to its into Row noise reduction process;
C2, text, identification code and the lines on the second bill paper image after removing gray processing;
C3 carries out binary conversion treatment to the second bill paper image after gray processing, increases its color difference;
C4, the bill shadow outline on the second bill paper image after determining binaryzation;
The step C4 includes:
C41 calls edge contour fitting function, convex on the second bill paper image after finding binary conversion treatment The side N shape shade;
C42 calls contour fitting curvilinear function, fits the Polygonal Curves of the convex N-gon shadow outline;
C43 calls minimum circumscribed rectangle function, and the minimum for finding the Polygonal Curves of the convex N-gon shadow outline is outer Connect rectangle;
C44 is filtered out more excessive than bill actual size or too small with the rectangle of mutually nested relationship.
Detailed description of the invention
Fig. 1 is a kind of positive structure schematic that self-service receipts are returned ticket according to all-in-one machine of the present invention;
Fig. 2 is a kind of schematic diagram of internal structure that self-service receipts are returned ticket according to all-in-one machine of the present invention;
Fig. 3 is one of the structural schematic diagram of bill image builder of the present invention;
Fig. 4 is the second structural representation of bill image builder of the present invention;
Fig. 5 is the third structural representation of bill image builder of the present invention;
Fig. 6 is the flow chart that present system control mechanism shears bill image;
Fig. 7 is the flow chart that system control machine structure identifies the bill profile on the second bill paper image;
Fig. 8 is process of the system control machine structure to the gray scale of the second bill paper image, brightness, contrast and noise reduction process Figure;
Fig. 9 is the flow chart that system control machine structure eliminates the font lines on the second bill paper image;
Figure 10 is the flow chart that system control machine structure finds bill image profile on the second bill paper image;
Figure 11 is the structural schematic diagram of bill transport establishment of the present invention;
Figure 12 is the structural schematic diagram of pallet of the present invention;
Figure 13 is the structural schematic diagram of position in storehouse of the present invention.
Specific embodiment
With reference to Fig. 1 and Fig. 2, the self-service receipts of one kind are returned ticket according to all-in-one machine comprising human-computer interaction mechanism 1, bill image forming Mechanism 2, bill transport establishment 5, the system control machine structure 3 for controlling above four mechanisms operation, is arranged in one open-and-close mechanism 4 Casing is intracorporal to place the multiple positions in storehouse 6 for posting the paper (hereinafter referred to as bill paper) of bill and setting on shell front Window 7 of getting tickets.
Bill includes various purchase and consumption bills and vehicles ticket, in order to state unification when being submitted an expense account, by various purchases Object consumer bills and vehicles ticket are referred to as bill.
Human-computer interaction mechanism 1
Human-computer interaction mechanism 1 includes the display screen 11 being arranged on all-in-one machine shell front, is placed in 11 top of display screen For recognition of face second camera 12 and be placed in 11 lower part of display screen by identity code barcode scanning read operation people The scanning device 13 of member's identity;Operator prompts to carry out face knowledge first on display screen 11 when operating on display screen 11 Not, second camera 12 takes operator's face-image, carries out face characteristic with the face being stored in system control machine structure 3 Comparison, whether identification operator is our company personnel, and then operator selects corresponding operation, carries out bill reimbursement, ticket According to fetch or background work personnel carry out system maintenance, if carry out bill reimbursement need to identify operator's identity, need The identity code got tickets according to claimer or factor is swept in scanning device 13, is retired if the bill of reimbursement is unqualified When, reimbursement one code of getting tickets of bill people can be sent, bill claimer holds code barcode scanning in scanning device 13 of getting tickets, is being arranged Returned ticket window 71 below scanning device 13 fetches underproof bill paper, and qualified bill paper will be transferred to one It is placed in certain position in storehouse inside machine, when batch being needed to take out, needs window 72 of getting tickets from the batch that 71 lower part of returned ticket window is arranged in Take out the bill paper for the batch transferred out from corresponding position in storehouse;It is needed when carrying out system maintenance if it is background system maintenance personnel It just can be carried out operation by login password on display screen 11.
Bill image builder 2
With reference to Fig. 3 to 5, bill image builder 2 needs to generate the bill image to be submitted an expense account twice comprising setting exists The scanner 21 of all-in-one machine shell side, the Image Acquisition storehouse that the connection that connects is exported with scanner 21, Image Acquisition storehouse includes shell Body 22, be arranged in the top of shell 22 towards intracorporal first camera 23 of shell, be arranged in be opened/closed the of bottom in shell 22 One, two light guide plate 24 and 25, the first and second light guide plate 24 and 25 slide direction along from the bill paper of the outlet of scanner 21 output Setting forms supporting surface to the bill paper after closure, and is arranged in shell 22 and sets up separately two light guide plate two sides The first and second lamp bar of strip 26 (does not show) that lamp bar light source is imported into above-mentioned light guide plate on the second lamp bar figure, shell 22 includes top Plate, two side plates in left and right and back plate, shell 22, the first and second light guide plate 24 and 25 and scanner 21 form a closed cavity.Behaviour Make the inlet the one of bill (have down) that personnel are placed on bill paper scanner 21, scanner 21 is to the paper for posting bill It opens and is scanned, generate the first bill paper image of bill paper, the bill paper after scanning is fallen on from the outlet of scanner 21 On two light guide plates 24,25 in shell 22, system control machine structure 3 controls that the first and second lamp bar is bright, and the first camera 23 is to the One, the bill paper to be submitted an expense account on two light guide plates is taken pictures, and generates second of bill image, and system control machine structure 3 controls First and second lamp bar light on and off.The bill image twice that bill image builder 2 generates all is saved in system control machine structure 3 will Bill image is shear off from the image of bill paper.
System control machine structure 3
System control machine structure 3 is a small computer mainframe comprising: at the image of the algorithm routine including bill shearing Reason module, the business logic modules for realizing human-computer interaction, control open-and-close mechanism 4 and the control module of the operation of bill transport establishment 5, Memory module;Above-mentioned each module can also be realized by independent PLC.Wherein image processing module is according to the stickup bill on paper Part and bill part is not pasted since light transmittance is different, the image color that is formed on the second bill paper image difference (due to The difference of light transmittance, bill can form shade on the second bill paper image), bill is found on the second bill paper image Then profile, coordinate of the image on paper take out bill from the first bill paper image according to identical profile, coordinate Picture gets off the image cutting-out of bill part from first time bill image, saved by the memory module of system control machine structure 3 In the case where claimer's name is the file of name.In addition, the memory module of system control machine structure 3 is also stored with aftermentioned each storehouse The identification information and coordinate information of position 6, will executed by the received bill paper of scanner 21 by bill image builder 2 After image obtains, when being sent by aftermentioned bill transport establishment 5 to certain position in storehouse, system control machine structure 3 simultaneously also can be in memory module The position in storehouse identifies under middle corresponding record, can control bill transporter when user need to take out multiple bill papers being delivered The bill paper of multiple positions in storehouse is transferred to batch respectively and got tickets the corresponding position in storehouse of window 72 by structure 5, with by user from getting tickets in batches Window 72 takes out.In addition, the system control machine structure 3 can carry out network communication with Finance Center etc., which is repeated no more.
Specific steps such as Fig. 6 institute that system control machine structure 3 cuts down bill image from the first bill paper image Show comprising:
Step S1 identifies the bill profile on the second bill paper image;
In order to make the clear-cut display of bill, need to post name, the reimbursed sum of the claimer on the paper of bill, Post claimer's identity identification code and other fonts and lines removal, specific step is as follows, as shown in Figure 7:
Step S11 carries out gray processing processing to the second bill paper image, and adjusts its brightness, contrast and to it Noise reduction process is carried out, as shown in Figure 8;
Step S111 calls gradation conversion function Imgproc.cvtColor, and the second bill paper image color is converted As grey, facilitate subsequent binary conversion treatment;
Step S112 calls brightness principal function void Mat::convertTo (Mat&m, int rtype, double Alpha, double beta), the second bill paper image brilliance after gray processing is adjusted to properly, need exist for according to more Secondary test determines a suitable proportionality coefficient alpha and increment beta, could be adjusted to image brilliance properly, to make bill Image edge is shown clearly.
Step S113 calls contrast principal function Core.addWeighted (InputArray src1, double Alpha, InputArray src2, double beta, double gamma, OutArray dst, int dtype=-1), really Fixed suitable proportionality coefficient alpha and increment beta, the second bill paper image contrast after gray processing is adjusted to properly, Show that bill image edge clearly.
Step S114 carries out noise reduction process to the second bill paper image after gray processing, removes the white point on image, drop Low image unevenness, keeps bill image smooth;
The spiced salt is called to remove dryness the white point on function Imgproc.medianBlur removal image;
Smooth filter function Imgproc.blur is called, keeps image smooth.
Step S12, text, identification code and the lines on the second bill paper image after removing gray processing, makes bill wheel It is wide apparent, as shown in Figure 9;
Step S121 calls expansion function Imgproc.dilate, increases the white area in the second bill paper image Greatly, black region reduces, and reduces text, lines and identification code in bill paper;
Step S122 calls corrosion function Imgproc.erode, subtracts the white area in the second bill paper image It is small, make the pixel-reset of the white area of dislocation.
Step S123 repeats step S121 and step S122;
It calls expansion function and corrosion function to be repeated several times, gradually eliminates text, lines and the identification code in bill paper, Enhance bill contour sharpness.
Step S13 carries out binary conversion treatment to the second bill paper image after gray processing, makes the image after gray processing Color difference is maximum, and bill edge is clearest;
In order to promote computational efficiency, every figure at most takes 10,000 points, is ranked up to RGB, and the control of RGB coefficient is made to exist Between 0.35-0.55, the value of the RGB of the point less than certain RGB numerical value is set as zero, is 1 greater than certain numerical value, sets in this way Setting keeps bill profile apparent.
Step S14 finds bill shadow outline;
Specific step is as follows for it, as shown in Figure 10:
Step S141 calls edge contour fitting function Imgproc.findContours, after finding binary conversion treatment Convex N-gon shade on second bill paper image;
Bill is mostly rectangle, but the bill torn sometimes is irregular, at polygonal shape, it is necessary first to it is polygon to find this The shade of shape.
Step S142 calls contour fitting curvilinear function Imgproc.approxPolyDP, fits convex N-gon shade wheel Wide Polygonal Curves;
Step S143 calls minimum circumscribed rectangle function Imgproc.minAreaRect, finds convex N-gon shadow outline Polygonal Curves minimum circumscribed rectangle.
Step S144, specific filtration resistance bill actual size is excessive or too small and has the rectangle of mutually nested relationship.
Step S2 takes on the first bill paper image according to the bill image identified on the second bill paper image Bill images out;
According to coordinate of the remaining rectangle in paper after step S144 filtering to the first ticket formed with scanner scanning According to the bill images taken out on paper image in the coordinate range, it is saved in system control machine structure 3.
The open-and-close mechanism 4 for driving light guide plate 25,26 to be opened and closed
With continued reference to Fig. 3 to 5, open-and-close mechanism 4 includes the tool for opening and closing motor 41, being connected with the output shaft of folding motor 41 There is the thread lead screw 42 of different rotation direction screw threads, two nuts 43,44 cooperated with thread lead screw 42 be arranged in thread lead screw 42, Two nuts 43,44 are connected with two light guide plates that its underpart is arranged in respectively, two light guide plates 25,26 and the sliding rail along fixed setting Two sliding blocks 46,47 of 45 slidings are connected, and when folding motor 41 starts in this way, rotate, are arranged in screw thread silk with thread lead screw 42 With two light guide plate open or closes while two nuts 43,44 on thick stick 42 are opposite or move toward one another, two sliding blocks 46,47 along Sliding rail 45 moves along a straight line, and enhances the stationarity of two light guide plates movement.
After the completion of first camera 23 is taken pictures, system control machine structure 3 controls the first and second lamp bar according to built-in setting program It going out, the folding motor 41 of open-and-close mechanism 4, which starts, to be rotated forward, and two light guide plates of open-and-close mechanism are opened, and folding motor 41 stops operating, Bill paper is fallen on the pallet 51 below two light guide plates, be separated by after a certain period of time (this time according to paper fall when Between set), first motor 41 inverts, and two guide-lighting plate closings, bill transport establishment 5 starts carriage document.
Bill transport establishment 5
Figure 11 to 13 is please referred to, bill transport establishment 5 is made of three shaft mechanical arms, including the first driving portion 52, is assemblied in The pallet to move along a straight line on first driving portion 52 and under the driving of the first driving portion along the length direction of the first driving portion 52 51, the second driving portion 53 and first and second of length direction linear motion is vertically arranged and driven it along with the first driving portion 52 The third driving portion 54 that driving portion is all vertically arranged and the second driving portion is driven alongst to move along a straight line.
First and second driving portion is all thread lead screw nut body comprising driving motor, the output shaft phase with driving motor The nut of thread lead screw even, the nut being assemblied in the thread lead screw, pallet 51 and the first driving portion is connected, the first driving portion It is mounted on the nut of the second driving portion;When the driving motor starting of the first and second driving portion, coupled thread lead screw is driven Rotation, the nut assembled thereon move along a straight line along thread lead screw, and the first driving portion pushes pallet 51 along the first driving portion Thread lead screw linear motion, the first driving portion move along a straight line along the thread lead screw of the second driving portion.
Third driving portion includes two belt wheel mechanisms being vertically arranged 541 and 542, and each belt wheel mechanism includes driving electricity Machine, driving wheel, driven wheel and the belt for transmitting power with the output shaft coaxial arrangement of the driving motor, the second driving portion are set It sets on the belt of two belt wheel mechanisms, in the driving motor starting of two belt wheel mechanisms, is rotated with driving wheel, be wound on master Belt on driving wheel and driven wheel passes to power on driven wheel, and driving driven wheel rotation, belt also rotates with it, is arranged two The second driving portion on a belt is with the first driving portion and pallet together as the positive and negative rotation of driving motor moves along a straight line up and down.
Figure 12 is the structure chart of pallet 51, tool there are two the first rectangular teeth 511 arranged side by side, set up separately at two the Two L shape teeth 512 of one rectangular teeth, 511 two sides and it is connected with one end of two the first rectangular teeths 511 and two L shape teeth 512 Baffle 513, the upper surface on one side of the upper surface and two L shape teeth 512 of two the first rectangular teeths 511 forms a plane, The another side of two L shape teeth 512 forms rib and baffle 513 around the flat edge along forming one perpendicular to the plane upward Side wall, the side wall can stop the bill being placed in pallet 51 to slide, the side wall and the dustpan-shaped structure of plane composition, and two first The first inter-lobe clearance of equal width is provided between rectangular teeth 511 and between the first rectangular teeth 511 and L shape tooth 512.
Multiple positions in storehouse for placing bill paper are arranged in the inside of all-in-one machine, and Figure 13 is the structure chart of single position in storehouse, set thereon There are three the second rectangular teeth 61 of the setting of uniform intervals side by side, one end of three the second rectangular teeths 61 phases vertical with a transverse slat 63 Even, the other end end of each second rectangular teeth 61 is equipped with the rib 62 for stopping bill to slide, and the rib 62 and the transverse slat 63 are flat Row, the width of each second rectangular teeth 61 are less than the first inter-lobe clearance width of pallet 51, between three the second rectangular teeths 61 Second inter-lobe clearance width is greater than the width of two the first rectangular teeths.
During bill transport establishment 5 drives 51 carriage document of pallet, bill is placed when on position in storehouse 6, pallet 51 When moving downward from the top of position in storehouse 6, the gap between each tooth on pallet 51 is just occupied by three rectangular teeths of position in storehouse, Pallet 51 continues to move downward, and bill is fallen on position in storehouse 6, and the rib on each tooth of position in storehouse just prevents bill from sliding, and works as pallet When moving to below position in storehouse, is returned, then returned under the driving of second and third driving portion former by the first driving portion driving pallet 51 Continue to transport next bill in beginning position.
Wherein, the corresponding wherein position in storehouse 6 of the positive returned ticket window 71 of all-in-one machine shell is arranged, and the bill paper that need to be exited will It is transferred to the position in storehouse.The positive batch of all-in-one machine shell is got tickets, and also a corresponding wherein position in storehouse 6 is arranged window 72, and the position in storehouse is longitudinal Space can occupy multiple positions in storehouse, and the rib 62 of the position in storehouse is accordingly extended a distance up to the batch for being transferred to the position in storehouse Bill paper is limited.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.Example Such as, above-mentioned first and second light guide plate 24 and 25 can also be equal to one piece of light guide plate substitution of two light guide plate by area.
For another example, the acquisition mode of the first bill paper image can also be substituted above-mentioned make by following technical proposals The mode scanned with scanner 21:
Light compensating lamp towards the intracorporal normally off of shell is set at the top of the shell 22, when needing to acquire the first bill It when paper image, slides into bill paper on the first and second light guide plate 24 and 25 of closure by an entrance, controls the first and second lamp Item 26 is in close state, and the first bill paper image can be obtained in light compensating lamp and the unlatching of the first camera 23.
It is above-mentioned using scanner mode the advantages of be available with scanner can batch paper feed the advantages of, using scanner The high advantage of scan resolution.The method is relative to using the advantages of scanner mode: can make bill image forming machine 2 overall structure of structure is more compact, saves component and saves cost, also, see also the paper feed modular construction of scanner in entrance Place setting can automatic batch paper feed paper feed component.
For another example, also it can increase OCR module in system control machine structure 3, thus by the information in extracted bill images It is identified and is stored, and for uploading.

Claims (10)

1. a kind of device for extracting bill images from bill paper, the bill paper, which refers to, is pasted with a plurality of do not overlap The paper of bill, which is characterized in that the device includes:
First imaging mechanism, the image of the one side for being pasted with bill for acquiring bill paper obtain and contain a plurality of bills The first bill paper image;
Light source and the second imaging mechanism, for being acquired in the another side of bill paper when the one side of bill paper provides light source The image of bill paper obtains the second bill paper image for containing a plurality of bill shades;
Image processing module, for according to bill shade each in the second bill paper image profile and position, extract first Corresponding each bill images in bill paper image.
2. the apparatus according to claim 1, which is characterized in that
First imaging mechanism includes scanner, bill paper entrance of the entrance as described device;The scanner For scanning the one side for being pasted with bill of bill paper, to obtain the first bill paper shadow for containing a plurality of bills Picture;
The light source include: positioned at described device bill paper export the light guide plate closed or opened, be used to support or Discharge the bill paper come from scanner outlet transfer;Setting is contacted with light guide plate and provides the lamp bar of light source to light guide plate;
Second imaging mechanism includes: the camera being arranged above light guide plate, is in closed state and by lamp for light guide plate When item provides light source and shines, the image for the bill paper that acquisition light guide plate is supported contains a plurality of bill shades to obtain The second bill paper image;
Described image processing module is connect with the scanner and camera signals.
3. the apparatus according to claim 1, which is characterized in that
The light source include: positioned at described device bill paper export the light guide plate closed or opened, be used to support or Discharge the bill paper from the bill paper entrance in-migration of described device;Setting is contacted with light guide plate and provides light source to light guide plate Lamp bar;
First imaging mechanism and the second imaging mechanism are realized by the same camera, are set to above light guide plate;Light guide plate Top also has a light compensating lamp;When the camera is in closed state for light guide plate and is provided light source and shone by lamp bar, The image for the bill paper that acquisition light guide plate is supported, to obtain the second bill paper image for containing a plurality of bill shades, And be in closed state for light guide plate and when only light compensating lamp shines, the image of bill paper that light guide plate is supported is acquired, To obtain the first bill paper image for containing a plurality of bills;
Described image processing module is connect with the camera signals.
4. device according to claim 2 or 3, which is characterized in that the light guide plate includes horizontally disposed two leaded lights Plate;Further include the driving portion for driving two light guide plate horizontal directions to close or open bottom towards or away from mobile, limit and The sliding rail for supporting the light guide plate to move along the direction.
5. device according to claim 4, which is characterized in that the driving portion includes: that both ends have different rotation direction screw threads Thread lead screw, drive the motor of its positive and negative rotation, thread lead screw both ends are equipped with two nuts, two nuts respectively with two light guide plates It is affixed on one side;
The sliding rail is located at the opposite other side of driving portion of two light guide plates, and two light guide plates pass through a sliding block affixed with it respectively It is assembled with the sliding rail.
6. device according to claim 2 or 3, which is characterized in that the light guide plate includes horizontally disposed two adjoinings Light guide plate, two light guide plates can around respective outside be axis rotation;Further include that two light guide plates of driving are synchronous to relatively rotate to be closed Or open the driving portion of bottom.
7. a kind of method for extracting bill images from bill paper, which is characterized in that comprising steps of
A, the image for acquiring the one side for being pasted with bill of bill paper, obtains the first bill paper shadow for containing a plurality of bills Picture;
B, light source is provided in the one side of bill paper, and acquires the shadow of bill paper by camera in the another side of bill paper Picture obtains the second bill paper image for containing a plurality of bill shades;
C, according to the profile of bill shade each in the second bill paper image and position, first bill paper is extracted Corresponding each bill images in image.
8. the method according to the description of claim 7 is characterized in that
The step A includes: the one side for being pasted with bill by scanner scanning bill paper, obtains and contains a plurality of bills The first bill paper image;
The step B includes: that bill paper is transferred on light guide plate, and controlling to light guide plate offer light source makes light guide plate shine; By the image for the bill paper that camera is supported from bill paper top acquisition light guide plate, obtains and contain a plurality of bill shades The second bill paper image.
9. the method according to the description of claim 7 is characterized in that
The step A includes: that bill paper is transferred on light guide plate, and is pasted with the one side of bill upward;By light compensating lamp from ticket It shines according to paper top, by the image for the bill paper that camera is supported from bill paper top acquisition light guide plate, to obtain The first bill paper image containing a plurality of bills;
The step B includes: closing light compensating lamp, and controlling to light guide plate offer light source makes light guide plate shine;By camera from bill The image for the bill paper that paper top acquisition light guide plate is supported, obtains the second bill paper for containing a plurality of bill shades Image.
10. the method according to the description of claim 7 is characterized in that each ticket in the second bill paper image described in the step C Step according to the determination of the profile of shade includes:
C1 carries out gray processing processing to the second bill paper image, and adjusts its brightness, contrast and drop to it It makes an uproar processing;
C2, text, identification code and the lines on the second bill paper image after removing gray processing;
C3 carries out binary conversion treatment to the second bill paper image after gray processing, increases its color difference;
C4, the bill shadow outline on the second bill paper image after determining binaryzation;
The step C4 includes:
C41 calls edge contour fitting function, the convex side N on the second bill paper image after finding binary conversion treatment Shape shade;
C42 calls contour fitting curvilinear function, fits the Polygonal Curves of the convex N-gon shadow outline;
C43 calls minimum circumscribed rectangle function, finds the external square of minimum of the Polygonal Curves of the convex N-gon shadow outline Shape;
C44 is filtered out more excessive than bill actual size or too small with the rectangle of mutually nested relationship.
CN201811147958.8A 2018-09-29 2018-09-29 Device and method for extracting ticket image from ticket paper Active CN109460766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811147958.8A CN109460766B (en) 2018-09-29 2018-09-29 Device and method for extracting ticket image from ticket paper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811147958.8A CN109460766B (en) 2018-09-29 2018-09-29 Device and method for extracting ticket image from ticket paper

Publications (2)

Publication Number Publication Date
CN109460766A true CN109460766A (en) 2019-03-12
CN109460766B CN109460766B (en) 2022-03-15

Family

ID=65607199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811147958.8A Active CN109460766B (en) 2018-09-29 2018-09-29 Device and method for extracting ticket image from ticket paper

Country Status (1)

Country Link
CN (1) CN109460766B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210473A (en) * 2020-01-21 2020-05-29 上海悦易网络信息技术有限公司 Mobile phone contour positioning method and equipment
CN111833514A (en) * 2019-04-18 2020-10-27 济南企财通软件有限公司 Automatic division method for number of bills and automatic bill filing method comprising same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6455835B1 (en) * 2001-04-04 2002-09-24 International Business Machines Corporation System, method, and program product for acquiring accurate object silhouettes for shape recovery
CN107016363A (en) * 2017-03-30 2017-08-04 理光图像技术(上海)有限公司 Bill images managing device, bill images management system and method
CN107742119A (en) * 2017-11-14 2018-02-27 湖南大学 A kind of contour of object extraction and coalignment and method based on figure viewed from behind imaging
CN207397296U (en) * 2017-11-14 2018-05-22 湖南大学 A kind of object identification device based on figure viewed from behind imaging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6455835B1 (en) * 2001-04-04 2002-09-24 International Business Machines Corporation System, method, and program product for acquiring accurate object silhouettes for shape recovery
CN107016363A (en) * 2017-03-30 2017-08-04 理光图像技术(上海)有限公司 Bill images managing device, bill images management system and method
CN107742119A (en) * 2017-11-14 2018-02-27 湖南大学 A kind of contour of object extraction and coalignment and method based on figure viewed from behind imaging
CN207397296U (en) * 2017-11-14 2018-05-22 湖南大学 A kind of object identification device based on figure viewed from behind imaging

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833514A (en) * 2019-04-18 2020-10-27 济南企财通软件有限公司 Automatic division method for number of bills and automatic bill filing method comprising same
CN111210473A (en) * 2020-01-21 2020-05-29 上海悦易网络信息技术有限公司 Mobile phone contour positioning method and equipment

Also Published As

Publication number Publication date
CN109460766B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN109255881A (en) A kind of bill automatic archiving system and archiving method
US11676185B2 (en) System and methods of an expense management system based upon business document analysis
DE3787054T2 (en) System of digital images for processing orderly files.
CN101908136B (en) Table identifying and processing method and system
Piper et al. Automation of chromosome analysis
CN109460766A (en) A kind of device and method for extracting bill images from bill paper
EP2003599A1 (en) Optoelectronic sensor and method for recording codes
DE69621237T2 (en) HIGH-SPEED IMAGE DEVICE FOR CCD SCANNER
US8532389B2 (en) Method for image analysis, especially for mobile stations
AU3685299A (en) A method and apparatus for processing documents in an image-based document processing system
US20110081051A1 (en) Automated quality and usability assessment of scanned documents
WO2013011013A2 (en) Method and device for ocr-detection of valuable documents by means of a matrix camera
CN106803308B (en) Polychrome compensated scanning method and application and application system
DE112021001715B4 (en) BIOPTIC READER WITH VIDEO UPGRADE MODULE
CN110689958A (en) Cancer pathology auxiliary diagnosis method based on artificial intelligence technology
CN111310762A (en) Intelligent medical bill identification method based on Internet of things
CN110796210A (en) Method and device for identifying label information
DE69421293T2 (en) IMPROVEMENT IN IMAGE PROCESSING
CN209395458U (en) A kind of bill paper filing storage device
CN106033525A (en) Image-type bar-code scanner used for express item bar code identification
JP3050046B2 (en) Automatic particle classification system
CN106033526A (en) Method of positioning bar code area based on gradient direction characteristic matching algorithm
CN105243365A (en) Data processing method and data processing system
CN110378302A (en) A kind of customer engineering drawing intelligent identifying system based on PDF format Drawings and documents
CN106056730A (en) Community garage intelligent access control system based on license plate detection and application method thereof

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
TA01 Transfer of patent application right

Effective date of registration: 20220215

Address after: 250100 room 602-604, block B2, Sanqing century wealth center, No. 359, Shunhua Road, Jinan area, China (Shandong) pilot Free Trade Zone, Jinan City, Shandong Province

Applicant after: Jinan Enterprise Finance Software Co.,Ltd.

Address before: 100012 1503, unit 4, 15th floor, building 1, yard 1, JinFang Road, Chaoyang District, Beijing

Applicant before: BEIJING DANDUOLA TECHNOLOGY Co.,Ltd.

Applicant before: Yang Zhiyong

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant