CN109886672A - Two dimensional code method of payment and device based on dual camera - Google Patents

Two dimensional code method of payment and device based on dual camera Download PDF

Info

Publication number
CN109886672A
CN109886672A CN201910118698.XA CN201910118698A CN109886672A CN 109886672 A CN109886672 A CN 109886672A CN 201910118698 A CN201910118698 A CN 201910118698A CN 109886672 A CN109886672 A CN 109886672A
Authority
CN
China
Prior art keywords
light
screen
reading device
dual camera
code
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
Application number
CN201910118698.XA
Other languages
Chinese (zh)
Inventor
王越
晏成
凌涛
王志申
姚远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Inspiry Technology Co Ltd
Original Assignee
Beijing Inspiry 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 Inspiry Technology Co Ltd filed Critical Beijing Inspiry Technology Co Ltd
Priority to CN201910118698.XA priority Critical patent/CN109886672A/en
Publication of CN109886672A publication Critical patent/CN109886672A/en
Pending legal-status Critical Current

Links

Abstract

The two dimensional code method of payment based on dual camera that present disclose provides a kind of, it is in the standby state configured with dual camera and the two dimension code reading device of decoding mould group light-operated under screen, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the occlusion area that user touches screen;The graphic feature parameter of image in 2 D code information in occlusion area is inputted to the quality evaluation network model constructed in advance, obtain recognition result and completes to pay.The method increase the accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device based on dual camera, meanwhile, safety and applicability are provided for subsequent transaction payment.The disclosure additionally provides a kind of two dimensional code payment mechanism based on dual camera.

Description

Two dimensional code method of payment and device based on dual camera
Technical field
This disclosure relates to two dimension code reading and field of photoelectric technology, in particular to a kind of two based on dual camera Tie up code method of payment and device.
Background technique
In the prior art, popularizing with network payment, mobile payment become many citizen especially young man and are keen to The means of payment, whether the payment of supermarket's sales counter, food market buy vegetables or station buy tickets, market shopping, people need to only take out hand Machine, opposite beneficiary two dimensional code, which is swept to sweep, can be completed barcode scanning payment, and operating process is simple and convenient.But since two dimensional code makes door Sill are low and are easily stolen, therefore there is the risk that information is tampered or forges, as criminal takes advantage of businessman not note that in quotient Oneself preprepared two dimensional code is sticked on the gathering two dimensional code of family, can be in and sit back and wait and collect money, cause the great wealth of businessman Produce loss.
For above situation, current general countermeasure is to require customer true face-to-face with businessman's progress before payment Recognize, complete to pay again after confirmation is errorless, since payment two dimensional code is easily maliciously replaced, confirms beneficiary information face-to-face The safety for advantageously ensuring that payment again is paid afterwards, avoids unnecessary loss of property.However, there are following for this means of payment Disadvantage: security performance is not high;Convenience is not strong, and accuracy is not high.
Summary of the invention
The technical issues of in order to solve in the prior art, the embodiment of the present disclosure provide a kind of two dimension based on dual camera Code method of payment and device, the two dimension code reading device of light-operated decoding mould group is in standby shape under configured with dual camera and screen Under state, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the blocked area that user touches screen Domain;The graphic feature parameter of image in 2 D code information in occlusion area is inputted to the quality evaluation network model constructed in advance, is obtained It takes recognition result and completes to pay.The essence of the recognition two dimensional code of the two dimension code reading device based on dual camera is improved as a result, Parasexuality and ease for use, meanwhile, safety and applicability are provided for subsequent transaction payment.
In a first aspect, the embodiment of the present disclosure provides a kind of two dimensional code method of payment based on dual camera, including following Step: it is in the standby state configured with dual camera and the two dimension code reading device of decoding mould group light-operated under screen, if detection Operation is blocked to the screen of the two dimension code reading device to user, then obtains the occlusion area that user blocks the screen, Wherein, the two dimension code reading device include dual camera and the relatively described dual camera the screen of predeterminable area setting under Light-operated decoding mould group, the dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with second partially under the screen Mating plate, first polaroid is consistent with the polarization direction of second polaroid, and first polaroid and described second is partially For mating plate for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is first Light passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the screen ordinate The light of axis forward direction irradiation, for being filtered to the second optical noise, second optical noise is second polaroid Direct line, the direct line are the light reversely irradiated in the transmitting light along the screen axis of ordinates;It will be described The graphic feature parameter of image in 2 D code information inputs the quality evaluation network model constructed in advance in occlusion area, obtains identification As a result it and completes to pay.
In one of the embodiments, further include: the double of bar code reading are suitable for the configuration for being laid in multiple scenes and are taken the photograph As the two dimension code reading device of head and the control system based on central processing unit carries out networking, and to being laid in multiple scenes Support and input equipment and printing equipment synergistic application the two dimension code reading device, the control two dimension code reading device Electric terminal and server cluster three be attached, wherein support to assist with the input equipment and the printing equipment With application the two dimension code reading device include at least one be suitable for bar code reading camera, it is described at least one be applicable in Change in the light that the camera of bar code reading is used for 360 ° of full angles of real-time perception, will pass through the central processing unit triggering Liquid crystal display completes the variation operation of display content.
The described pair of support for being laid in multiple scenes is cooperateed with input equipment and printing equipment in one of the embodiments, The two dimension code reading device of application, the electric terminal of the control two dimension code reading device and server cluster three into Row connection includes: at least one the described two dimension code reading device and cloud server cluster that will be laid in multiple scenes by WIFI It is attached;By bluetooth connection by least one the described two dimension code reading device for being laid in multiple scenes and control described two The electric terminal of dimension code reading device is attached.
In one of the embodiments, further include: collect image in 2 D code, the image in 2 D code of collection is divided into low quality Two training sets of image in 2 D code and high quality image in 2 D code, are marked the image of two training sets respectively;To label The low quality image in 2 D code and high quality image in 2 D code of completion are trained, and construct the quality evaluation network model.
In one of the embodiments, further include: if the graphic feature of image in 2 D code information is joined in the occlusion area Number then passes through pre- lower than the graphic feature parameter of the image in 2 D code information in the quality evaluation network model constructed in advance The quality enhancing network model first constructed carries out the quality enhancing operation of image in 2 D code.
The quality enhancing network model is to learn high quality two using TP-GAN technology in one of the embodiments, The low quality image in 2 D code that label is completed is carried out the supplement of integrity degree and clarity and is converted into height by the characteristics of tieing up code image The model that the building of quality image in 2 D code generates.
Light-operated decoding mould group setting is being carried on the back built in the two dimension code reading device under the screen in one of the embodiments, The lower section of optical mode group, light-operated decoding mould group is used to receive the mobile electron that the irradiation user of infrared light supply sending uses under the screen Infrared signal after terminal and across backlight module, the infrared signal is for detecting the mobile electronic terminal that user uses The image in 2 D code information transferred and shown.
Second aspect, the embodiment of the present disclosure provide a kind of computer readable storage medium, are stored thereon with computer journey The step of sequence, which realizes above-mentioned method when being executed by processor.
The third aspect, the embodiment of the present disclosure provide a kind of computer equipment, including memory, processor and are stored in On reservoir and the computer program that can run on a processor, the processor realize above-mentioned method when executing described program Step.
Fourth aspect, the embodiment of the present disclosure provide a kind of two dimensional code payment mechanism based on dual camera, described device It include: acquisition module, for being in standby configured with dual camera and the two dimension code reading device of decoding mould group light-operated under screen Under state, if detecting, user blocks operation to the screen of the two dimension code reading device, obtains user and blocks the screen The occlusion area of curtain, wherein the two dimension code reading device includes the predeterminable area of dual camera and the relatively described dual camera Light-operated decoding mould group under the screen being arranged, the dual camera are provided with the first polaroid, light-operated decoding mould group under the screen It is provided with the second polaroid, first polaroid is consistent with the polarization direction of second polaroid, first polaroid With second polaroid for being filtered to the first optical noise, first optical noise is reflection light, described anti- Penetrate light be the first light pass through the screen reflection light, first light in the transmitting light of the screen along institute The light of screen axis of ordinates forward direction irradiation is stated, second polaroid is for being filtered the second optical noise, and described the Two optical noises are direct line, are reversely irradiated in the direct line transmitting light along the screen axis of ordinates Light;Identification and payment module, it is preparatory for inputting the graphic feature parameter of image in 2 D code information in the occlusion area The quality evaluation network model of building obtains recognition result and completes to pay.
A kind of two dimensional code method of payment and device based on dual camera provided by the invention, configured with dual camera with The two dimension code reading device of light-operated decoding mould group is in the standby state under screen, if detecting user to two dimension code reading device Screen blocks operation, then obtains the occlusion area that user touches screen;By the figure of image in 2 D code information in occlusion area Characteristic parameter inputs the quality evaluation network model constructed in advance, obtains recognition result and completes to pay.The method increase bases In the accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device of dual camera, meanwhile, it is subsequent transaction payment Safety and applicability are provided.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the embodiment of the present disclosure, below to needed in embodiment description Attached drawing is briefly described:
Fig. 1 is that the step process of two dimensional code method of payment of one of the one embodiment of the invention based on dual camera is shown It is intended to;And
Fig. 2 is the structural representation of two dimensional code payment mechanism of one of the one embodiment of the invention based on dual camera Figure.
Specific embodiment
The application is further discussed in detail with reference to the accompanying drawings and examples.
In following introductions, term " first ", " second " only for descriptive purposes, and should not be understood as instruction or dark Show relative importance.Following introductions provide multiple embodiments of the disclosure, can replace or merge between different embodiments Combination, therefore the application is it is also contemplated that all possible combinations comprising documented identical and/or different embodiments.Thus, such as Fruit one embodiment include feature A, B, C, another embodiment include feature B, D, then the application also should be regarded as include containing A, the every other possible combined embodiment of one or more of B, C, D, although the embodiment may be in the following contents In have specific literature record.
In order to make the objectives, technical solutions, and advantages of the present invention clearer, by the following examples, it and combines attached Figure carries out a kind of specific embodiment of two dimensional code method of payment and device based on dual camera of the present invention further detailed Explanation.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, for the process signal of two dimensional code method of payment of one of the one embodiment based on dual camera Figure, specifically includes the following steps:
Step 102, the two dimension code reading device of light-operated decoding mould group is in standby shape under configured with dual camera and screen Under state, if detecting, user blocks operation to the screen of two dimension code reading device, obtains the blocked area that user blocks screen Domain.
It should be noted that two dimension code reading device includes dual camera and is arranged with respect to the predeterminable area of dual camera Light-operated decoding mould group under screen.The lower section of two dimension code reading device transparent display screen is arranged in the first camera in dual camera, For receiving the optical signal reflected to form via user using electronics mobile terminal above transparent display screen, wherein light Signal is used to detect the characteristic information that user uses electronics mobile terminal, in the sensing chip built in the first camera for being based on Optical signal across the first camera is imaged, wherein between the photosurface of sensing chip and the imaging surface of the first camera Distance be more than or equal to preset value, the imaging surface of the first camera be located at the photosurface of sensing chip top or under Side, preset value are 10 μm.In addition, it should be noted that, the lens focus range of the first camera is 0.4mm-1.8mm.In addition, It should also be noted that, the sensing chip built in the first camera is fixed on the upper table of flexible circuit board by crystal-bonding adhesive Face, and sensing chip is electrically connected flexible circuit board by binding line.Wherein, fixed glue has at least one in following characteristic Kind: it is opaque to visible light but, with a thickness of 0.02mm~0.10mm, viscosity > 20000mPas, cure shrinkage < 3%.In addition, also needing It is noted that being fixed with optically filtering piece by optical cement on sensing chip, wherein optically filtering piece is infrared cutoff light It learns filter plate and/or blue light ends optical filter.Those skilled in the art will also be appreciated that first in dual camera Camera, which can also be used to receive the light reflected to form that touches or press via user's finger above transparent display screen, to be believed Number, wherein optical signal is used to detect the biological information of user's finger.
Further, the lower section of two dimension code reading device transparent display screen is arranged in the second camera in dual camera, For receiving the light reflected to form via user using the two dimensional code that electronics mobile terminal is shown above transparent display screen Signal, wherein optical signal is used to detect the image feature information for the two dimensional code that user is shown using electronics mobile terminal, second Sensing chip built in camera is used to be imaged based on the optical signal for passing through second camera, wherein the sense of sensing chip The distance between imaging surface of smooth surface and second camera is more than or equal to preset value, and the imaging surface of second camera, which is located at, to be passed The either above or below of the photosurface of sense chip, preset value are 10 μm.It should be noted that the lens focus model of second camera It encloses for 0.2mm-2.0mm.In addition it is also necessary to which explanation, the sensing chip built in second camera are fixed on by crystal-bonding adhesive The upper surface of flexible circuit board, and sensing chip is electrically connected flexible circuit board by binding line.Wherein, fixed glue tool There is at least one of following characteristic: being opaque to visible light but, with a thickness of 0.02mm~0.10mm, viscosity > 20000mPas, solidification is received Shrinkage < 3%.In addition it is also necessary to which explanation, is fixed with optically filtering piece by optical cement on sensing chip, wherein light Learning filter plate is that infrared cutoff optically filtering piece and/or blue light end optical filter.
In addition, it should be noted that, backlight module built in two dimension code reading device is arranged in light-operated decoding mould group under screen Lower section after the mobile electronic terminal that the irradiation user that light-operated decoding mould group is used to receive infrared light supply sending under screen uses and passes through The infrared signal of backlight module, infrared signal is for detecting the two dimension that the mobile electronic terminal that user uses is transferred and shown Code image information.Wherein, mist degree when infrared signal passes through backlight module is less than visible light for displaying images and passes through back Mist degree when optical mode group;Dual camera is provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under screen, and first Polaroid is consistent with the polarization direction of the second polaroid, and the first polaroid and the second polaroid are used to carry out the first optical noise Filtering, the first optical noise are reflection light, and reflection light is the light that the first light passes through screen reflection, and the first light is screen Along the light of screen axis of ordinates forward direction irradiation in the transmitting light of curtain, the second polaroid is for filtering the second optical noise Wave, the second optical noise are direct line, and direct line is to emit the light reversely irradiated in light along screen axis of ordinates.
In addition, it should be noted that, light-operated decoding mould group includes collimation lens, the second polaroid, infrared IR film, light under screen Two dimensional code sensor is learned, the second polaroid is provided between collimation lens and infrared IR film, infrared IR film is set to optics two dimension The surface of code sensor.Collimation lens and the second polaroid is integrally disposed or lamination setting.Second polaroid and IR film are integrated Setting or lamination setting.In addition it is also necessary to illustrate, light-operated decoding mould group can also include collimation lens, second under screen Polaroid, infrared IR film, optics two dimensional code sensor, are provided with the second polarisation between infrared IR film and optics two dimensional code sensor Piece, infrared IR film are set to the surface of collimation lens.Infrared IR film and the second polaroid is integrally disposed or lamination setting.The Two polaroids and the setting of optics two dimensional code sensor integration or lamination setting.Wherein, the screen of two dimension code reading device includes Liquid crystal display LCD screen or Organic Light Emitting Diode OLED display screen.And first optical noise and/or the second optical noise be The light of predeterminable area transmitting.
In addition it is also necessary to explanation, the two dimension code reading of light-operated decoding mould group is filled under configured with dual camera and screen It sets and is in the standby state, user blocks operation to the screen of two dimension code reading device if detecting, obtains user and blocks It include: the configuration for being laid in multiple scenes is suitable for the dual camera of bar code reading and is based on before the occlusion area of screen The two dimension code reading device of the control system of central processor carries out networking, and support and input equipment to multiple scenes are laid in And printing equipment synergistic application two dimension code reading device, control two dimension code reading device electric terminal and server cluster Three is attached, wherein supports that with input equipment and the two dimension code reading device of printing equipment synergistic application include at least one A camera suitable for bar code reading, at least one camera for being suitable for bar code reading are used for 360 ° of full angles of real-time perception Light variation, with will pass through central processing unit triggering liquid crystal display complete display content variation operation.Specifically, to being laid in The support of multiple scenes and input equipment and the two dimension code reading device of printing equipment synergistic application, control two dimension code reading device Electric terminal and server cluster three be attached include: by WIFI by be laid in multiple scenes at least one two Dimension code reading device is attached with cloud server cluster;At least one two dimension of multiple scenes will be laid in by bluetooth connection Code reading device and the electric terminal of control two dimension code reading device are attached.Further, it is also possible to pass through wired connection for cloth The electric terminal for being located at least one two dimension code reading device and control two dimension code reading device of multiple scenes is attached.By This, improves the diversity and multi-selection of networking arrangement.
It should be noted that the dual camera for being suitable for being not limited to bar code reading, which can perceive front, bar code or two dimension When code, display content is removed, display screen is become into transparent glass convenient for recognition.The intelligence of two dimension code reading device is enhanced as a result, It can property and ease for use.In addition, can also be known while screen display content by being handled based on preset algorithm in central processing unit Read bar code or QR code content.The diversity and flexibility that two dimension code reading device uses are improved as a result,.
In addition it is also necessary to which explanation, two dimension code reading device can also be preferable configured with double screen, which is double The asynchronous liquid crystal display panel in face specifically includes first substrate and the first liquid crystal display for being respectively arranged at first substrate two sides With the second liquid crystal display, the first liquid crystal display includes the first electrode layer and successively close to one side surface of first substrate Liquid crystal layer, the second electrode lay and the second substrate in first electrode layer are set;Second liquid crystal display includes close to first The third electrode layer of another side surface of substrate and the bistable liquid crystal layer being successively set on third electrode layer, the 4th electrode layer, Third substrate and backlight module.Specifically, first electrode layer and third electrode layer have phase equipotential.First substrate is equipped with extremely Few one runs through the via hole of first substrate, and first electrode layer and third electrode layer are formed by via hole to be electrically connected.First electrode layer Be equipped with flexible drive circuit board between third electrode layer, first electrode layer and third electrode layer respectively with flexible drive circuit board Form electrical connection.When electric field is null field between third electrode layer and the 4th electrode layer, the second liquid crystal cells are real under ambient Now reflection display;There are when electric field between third electrode layer and the 4th electrode layer, pellucidity is presented in the second liquid crystal cells.Third There are when electric field between electrode layer and the 4th electrode layer, pellucidity is presented in the second liquid crystal cells, and the light in backlight module is worn The second liquid crystal display and first substrate are crossed, the first liquid crystal display is using light as backlight.First electrode layer or It include the first tft array layer in two electrode layers;It include the second tft array layer in third electrode layer or the 4th electrode layer.Second base Plate is equipped with the first polaroid far from the side of liquid crystal layer, and color membrane substrates are additionally provided between the second substrate and the second electrode lay;Third The second polaroid is equipped between substrate and backlight module or between first substrate and first electrode layer.Pass through two-sided asynchronous liquid crystal The setting for showing panel effectively improves the ease for use paid for mobile payment device and high experience property.
It will be appreciated by persons skilled in the art that the control system based on central processing unit mainly incudes mould by barcode scanning Block, backlight module, supplementary lighting module, image capture module, decoder module, main control module composition.Specifically, barcode scanning induction module position In two dimension code reading device, i.e., above barcode scanning box, the barcode scanning movement of user can be perceived, this perception information is transmitted to master control mould Block, i.e. main control chip are handled.After main control chip receives user's barcode scanning signal, control transparence display window is closed all aobvious Show content, transparence display window becomes to complete transparent glass, and image in 2 D code information is allowed to complete across transparency display window Mouth is imaged.Induction module includes but is not limited to one of following several forms or multiple combinations mode: infrared distance perception Answer module;Ultrasonic distance induction module;Light sensing module;Electromagnetic field inducing module.In addition it is also necessary to which explanation, sweeps Also reusable image capture module carries out operation realization to code induction module, monitors mobile variation or light by image capture module Variation, perception barcode scanning movement.Further, transparence display window can show according to the instruction that main control module transmits and mention accordingly Show guidance information, all displays are closed in the instruction that can also be transmitted according to main control module, are become transparent glass window, are allowed two dimensional code Image light in image capture module normal through being imaged.Transparent liquid crystal display, example can be selected in transparence display window Such as transparent TN-LCD, transparent TFT-LCD, transparent OLED display screen, transparent PDP display screen plasma display.
Further, it should be noted that backlight module passes through light guide plate, light using white led lamps as light source The modes such as bowl form uniform white light, obtain clearly as the backlight of transparent video screen, while also as barcode scanning light filling Clear image in 2 D code information.Supplementary lighting module is located at transparence display with image capture module positioned at the top of transparent display screen The two sides of optical window.When distinguishing papery bar code, clearly bar code image information can be obtained as fill-in light photograph.Image capture module The image information in front of equipment can be obtained, collected image in 2 D code information is transmitted to decoder module.Decoder module is to obtaining The image in 2 D code information taken carries out image procossing, and carries out two dimensional code decoding according to decoding algorithm, and decoding result is transmitted to Main control module.Main control module realizes operation, the control of each functional module of equipment.In addition, the use based on two dimension code reading device Before barcode scanning, scanning guidance information, amount of money prompt information or other ad contents are shown on device transparency display window.Work as barcode scanning It when induction module perceives barcode scanning payment movement, closes window and shows information, become fully transparent barcode scanning recognition optical window, image Acquisition module obtains the two-dimensional barcode information in front by transparent optical window, and decoder module obtains image in 2 D code information and is decoded, After completing decoding, transparence display window shows the contents such as result information, advertising information.Subsequent equipment is recycled into next barcode scanning Logic.The diversity and flexibility of the application of two dimension code reading device are increased as a result,.
In addition it is also necessary to explanation, the structure of two dimension code reading device can also be to be configured with LCD screen and leaded light The spine two dimension code reading device of the shared windows of plate form, and including barcode scanning lamp bowl.Specifically, LCD screen and light guide plate The shared windows of form specifically include shared windows main body;Fixed window is provided in main body;Fixed window includes right-angled intersection The fisrt feature window and second feature window of setting;At least one is provided on fisrt feature window and second feature window Fixed device.Fixed device includes grab and card slot;Grab and card slot are separately positioned on fisrt feature window or second feature window The opposite sides of mouth is fixed after capable of being blocked LCD screen or light guide plate form by card slot by grab.In addition, Fixed device includes the grab being arranged in pairs, and each pair of grab is separately positioned on the opposite of fisrt feature window or second feature window Two sides.Grab includes being fixedly connected with portion and clamping portion;Portion is fixedly connected with to be fixedly connected with shared windows main body;Clamping portion fixation is set It sets in the side for being fixedly connected with portion.Clamping portion is provided with slide-in inclined-plane far from the side of main body, can facilitate light guide plate form or The entrance of LCD screen.Clamping portion is close to shared windows, the i.e. side of the side of tabula rasa form or LCD screen main body and fixation Interconnecting piece is vertical.Being fixedly connected with portion is elastic material.On different grabs, the distance between clamping portion and shared windows main body are no Together.Fisrt feature window and the coaxial arrangement of second feature window.It further include third feature window;Third feature window is respectively with One characteristic window is connected to second feature window intersection;It is provided at least one on third feature window and fixes device.
In addition it is also necessary to which explanation, supports the two dimension code reading device with input equipment and printing equipment synergistic application In input equipment be with the input keyboard of desktop computer cooperating or the input keyboard of PC all-in-one machine or have computing function with Assist the digital function keyboard of delivery operation function.Printing equipment is printer, is specifically included: paper feeding entrance is arranged and prints Mouthful body, be provided with thermal printing module in body, it is low to be provided at least one between paper feeding entrance and thermal printing module Warm cooling chamber, thermal printing module and printing outlet between by transmission mechanism be connected in turn overlay film module, be cold-pressed module, Cut module.Specifically, at least one sub-cooled chamber is used to reduce paper surface temperature using cold air;Thermal printing module For printing to paper, printed paper transport is given to overlay film module;Overlay film module is for receiving thermal printing module The paper of transmission, and by paper overlay film, give paper transport coated with film to cold pressing module;Cold pressing module is for receiving overlay film module The paper of transmission is cold-pressed paper on overlay film surface, and gives the paper sheet delivery after cold pressing to cutting module;Module is cut to use In the paper for receiving cold pressing module transfer, paper is cut by specification, and give the paper transport after the completion of cutting to printing outlet.This Outside, sub-cooled chamber is additionally provided between thermal printing module and overlay film module.In addition, being additionally provided on body interconnected Display module, controller, thermal printing module, cold pressing module, cut module and connect with controller and by work overlay film module Working condition is transferred to display module to controller, controller by state transfer.
Step 104, the quality that the graphic feature parameter input of image in 2 D code information in occlusion area constructs in advance is commented Valence network model obtains recognition result and completes to pay.
In one embodiment, the two dimensional code method of payment based on dual camera that the disclosure proposes further include: collect two Code image is tieed up, the image in 2 D code of collection is divided into two training sets of low quality image in 2 D code and high quality image in 2 D code, The image of two training sets is marked respectively,;The low quality image in 2 D code and high quality two dimensional code figure that label is completed As being trained, quality evaluation network model is constructed.Wherein, it should be noted that collect image in 2 D code, observer according to The integrity degree and clarity for collecting image in 2 D code are divided into two training of low quality image in 2 D code and high quality image in 2 D code Collection, and using Resnet as base network model, introduce labeled low quality image in 2 D code and high quality two dimensional code figure Picture constructs quality evaluation network model.
Further, if the graphic feature parameter of image in 2 D code information is commented lower than the quality constructed in advance in occlusion area The graphic feature parameter of image in 2 D code information in valence network model, then by the quality that constructs in advance enhance network model into The quality of row image in 2 D code enhances operation.Wherein, quality enhancing network model is to learn high quality two using TP-GAN technology The low quality image in 2 D code that label is completed is carried out the supplement of integrity degree and clarity and is converted into height by the characteristics of tieing up code image The model that the building of quality image in 2 D code generates.
Further, it is preferable that if recognition result is low quality image in 2 D code, first input quality enhances network mould Type carries out image in 2 D code enhancing, and low quality image in 2 D code is converted into high quality image in 2 D code, then inputs cost again Sensitive network model carries out two dimensional code Statistical error.Wherein, using Resnet as base network model, learn high quality two dimensional code The characteristics of image, introduces cost-sensitive information, completes the building of cost-sensitive network model.
A kind of two dimensional code method of payment based on dual camera provided by the invention, the light under configured with dual camera and screen The two dimension code reading device of control decoding mould group is in the standby state, if detecting user to the screen of two dimension code reading device Operation is blocked, then obtains the occlusion area that user touches screen;By the graphic feature ginseng of image in 2 D code information in occlusion area The quality evaluation network model that number input constructs in advance obtains recognition result and completes to pay.The method increase taken the photograph based on double As the accuracy and ease for use of the recognition two dimensional code of the two dimension code reading device of head, meanwhile, peace is provided for subsequent transaction payment Quan Xingyu applicability.
Based on the same inventive concept, a kind of two dimensional code payment mechanism based on dual camera is additionally provided.Due to this device The principle solved the problems, such as is similar to a kind of aforementioned two dimensional code method of payment based on dual camera, and therefore, the implementation of the device can To realize that overlaps will not be repeated according to the specific steps of preceding method.
As shown in Fig. 2, for the structural representation of two dimensional code payment mechanism of one of the one embodiment based on dual camera Figure.The two dimensional code payment mechanism 10 based on dual camera includes: to obtain module 200 and identification and payment module 400.
Wherein, module 200 is obtained to be used to fill configured with dual camera and the two dimension code reading of decoding mould group light-operated under screen It sets and is in the standby state, user blocks operation to the screen of two dimension code reading device if detecting, obtains user and blocks The occlusion area of screen, wherein two dimension code reading device includes dual camera and is arranged with respect to the predeterminable area of dual camera Light-operated decoding mould group under screen, dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with the second polaroid under screen, the One polaroid is consistent with the polarization direction of the second polaroid, the first polaroid and the second polaroid be used for the first optical noise into Row filtering, the first optical noise are reflection light, and reflection light is the light that the first light passes through screen reflection, and the first light is Along the light of screen axis of ordinates forward direction irradiation in the transmitting light of screen, the second polaroid is used to carry out the second optical noise Filtering, the second optical noise are direct line, and direct line is to emit the light reversely irradiated in light along screen axis of ordinates; Identification is used to the graphic feature parameter of image in 2 D code information in occlusion area inputting the matter constructed in advance with payment module 400 Amount evaluation network model, obtains recognition result and completes to pay.
A kind of two dimensional code payment mechanism based on dual camera provided by the invention is taken the photograph by obtaining module configured with double As head and under shielding, the two dimension code reading device of light-operated decoding mould group is in the standby state, if detecting user to two dimension code reading The screen of device blocks operation, then obtains the occlusion area that user touches screen;By identification and payment module by blocked area The graphic feature parameter of image in 2 D code information inputs the quality evaluation network model constructed in advance in domain, obtains recognition result simultaneously Complete payment.The arrangement increases the two dimension code reading device based on dual camera recognition two dimensional code accuracy with it is easy-to-use Property, meanwhile, safety and applicability are provided for subsequent transaction payment.
The embodiment of the invention also provides a kind of computer readable storage medium, stored on the computer readable storage medium There is computer program, which is executed by processor in Fig. 1.
The embodiment of the invention also provides a kind of computer program products comprising instruction.When the computer program product exists When being run on computer, so that the method that computer executes above-mentioned Fig. 1.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and being not intended to It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
In addition, as used herein, the "or" instruction separation used in the enumerating of the item started with "at least one" It enumerates, such as enumerating for " at least one of A, B or C " means A or B or C or AB or AC or BC or ABC (i.e. A and B and C). In addition, wording " exemplary " does not mean that the example of description is preferred or more preferable than other examples.
Above description is had been presented for for purposes of illustration and description.In addition, this description is not intended to the reality of the disclosure It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.

Claims (10)

1. a kind of two dimensional code method of payment based on dual camera, which comprises the following steps:
It is in the standby state configured with dual camera and the two dimension code reading device of decoding mould group light-operated under screen, if detecting User blocks operation to the screen of the two dimension code reading device, then obtains the occlusion area that user blocks the screen, In, the two dimension code reading device include the predeterminable area setting of dual camera and the relatively described dual camera the screen under light Control decoding mould group, the dual camera are provided with the first polaroid, and light-operated decoding mould group is provided with the second polarisation under the screen Piece, first polaroid is consistent with the polarization direction of second polaroid, first polaroid and second polarisation For piece for being filtered to the first optical noise, first optical noise is reflection light, and the reflection light is the first light Line passes through the light of the screen reflection, and first light is in the transmitting light of the screen along the screen axis of ordinates The light of forward direction irradiation, for second polaroid for being filtered to the second optical noise, second optical noise is straight Light is penetrated, the direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates;
The graphic feature parameter of image in 2 D code information in the occlusion area is inputted to the quality evaluation network mould constructed in advance Type obtains recognition result and completes to pay.
2. the two dimensional code method of payment according to claim 1 based on dual camera, which is characterized in that further include: to cloth The configuration for being located at multiple scenes is suitable for the dual camera and described two of the control system based on central processing unit of bar code reading It ties up code reading device and carries out networking, and to the institute of the support and input equipment and printing equipment synergistic application that are laid in multiple scenes Two dimension code reading device, the electric terminal of the control two dimension code reading device and server cluster three is stated to be attached, Wherein, support that with the two dimension code reading device of the input equipment and the printing equipment synergistic application include at least one Suitable for the camera of bar code reading, at least one described camera for being suitable for bar code reading is used for 360 ° of full-shapes of real-time perception The light of degree changes, will pass through the variation operation that the central processing unit triggering liquid crystal display completes display content.
3. the two dimensional code method of payment according to claim 2 based on dual camera, which is characterized in that described pair is laid in The support of multiple scenes and input equipment and the two dimension code reading device of printing equipment synergistic application, the control two dimensional code It includes: that will be laid in multiple scenes extremely by WIFI that the electric terminal of reading device and server cluster three, which are attached, A few two dimension code reading device is attached with cloud server cluster;
By at least one the described two dimension code reading device for being laid in multiple scenes and the two dimensional code is controlled by bluetooth connection The electric terminal of reading device is attached.
4. the two dimensional code method of payment according to claim 1 based on dual camera, which is characterized in that further include: it collects The image in 2 D code of collection is divided into two training of low quality image in 2 D code and high quality image in 2 D code by image in 2 D code Collection, is marked the image of two training sets respectively;
The low quality image in 2 D code and high quality image in 2 D code complete to label are trained, and construct the quality evaluation net Network model.
5. the two dimensional code method of payment according to claim 1 based on dual camera, which is characterized in that further include: if institute The graphic feature parameter for stating image in 2 D code information in occlusion area is lower than in the quality evaluation network model constructed in advance Image in 2 D code information graphic feature parameter, then network model is enhanced by the quality that constructs in advance and carries out image in 2 D code Quality enhance operation.
6. the two dimensional code method of payment according to claim 5 based on dual camera, which is characterized in that the quality enhancing Network model is the characteristics of learning high quality image in 2 D code using TP-GAN technology, the low quality two dimensional code that label is completed Image carries out the supplement of integrity degree and clarity and is converted into the model that the building of high quality image in 2 D code generates.
7. the two dimensional code method of payment according to claim 1 based on dual camera, which is characterized in that light-operated under the screen The lower section of backlight module built in the two dimension code reading device is arranged in decoding mould group, and light-operated decoding mould group is for connecing under the screen It is described red after the mobile electronic terminal that the irradiation user for receiving infrared light supply sending uses and across the infrared signal of backlight module Outer optical signal is for detecting the image in 2 D code information that the mobile electronic terminal that user uses is transferred and shown.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-7 the method is realized when row.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes side described in any one of described claim 1-7 when executing described program The step of method.
10. a kind of two dimensional code payment mechanism based on dual camera, which is characterized in that described device includes:
Module is obtained, the two dimension code reading device for decoding mould group light-operated under configured with dual camera and screen is in standby shape Under state, if detecting, user blocks operation to the screen of the two dimension code reading device, obtains user and blocks the screen Occlusion area, wherein the two dimension code reading device includes that the predeterminable area of dual camera and the relatively described dual camera is set Light-operated decoding mould group under the screen set, the dual camera are provided with the first polaroid, and light-operated decoding mould group is set under the screen Be equipped with the second polaroid, first polaroid is consistent with the polarization direction of second polaroid, first polaroid and For second polaroid for being filtered to the first optical noise, first optical noise is reflection light, the reflection Light is the light that the first light passes through the screen reflection, and first light is in the transmitting light of the screen along described The light of screen axis of ordinates forward direction irradiation, second polaroid is for being filtered the second optical noise, and described second Optical noise is direct line, and the direct line is the light reversely irradiated in the transmitting light along the screen axis of ordinates Line;
Identification and payment module, for the graphic feature parameter of image in 2 D code information in the occlusion area to be inputted preparatory structure The quality evaluation network model built obtains recognition result and completes to pay.
CN201910118698.XA 2019-02-17 2019-02-17 Two dimensional code method of payment and device based on dual camera Pending CN109886672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910118698.XA CN109886672A (en) 2019-02-17 2019-02-17 Two dimensional code method of payment and device based on dual camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910118698.XA CN109886672A (en) 2019-02-17 2019-02-17 Two dimensional code method of payment and device based on dual camera

Publications (1)

Publication Number Publication Date
CN109886672A true CN109886672A (en) 2019-06-14

Family

ID=66928309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910118698.XA Pending CN109886672A (en) 2019-02-17 2019-02-17 Two dimensional code method of payment and device based on dual camera

Country Status (1)

Country Link
CN (1) CN109886672A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113887257A (en) * 2021-09-15 2022-01-04 福建新大陆自动识别技术有限公司 Double-camera bar code reading module and bar code reading method
CN114155664A (en) * 2020-09-07 2022-03-08 松下知识产权经营株式会社 Payment terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4181071B2 (en) * 2004-02-27 2008-11-12 株式会社東研 Double line sensor camera and code reader using the camera
CN106991311A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of information processing method and mobile terminal
CN107111737A (en) * 2017-03-16 2017-08-29 福建联迪商用设备有限公司 Dual camera scanner and its scan method
CN107633164A (en) * 2017-09-28 2018-01-26 珠海市魅族科技有限公司 Pay control method, device, computer installation and computer-readable recording medium
CN109214376A (en) * 2018-11-22 2019-01-15 济南浪潮高新科技投资发展有限公司 A kind of fingerprint identification method and device based on depth stratification
CN109284742A (en) * 2018-10-30 2019-01-29 Oppo广东移动通信有限公司 Shield lower fingerprint mould group, electronic equipment and fingerprint image processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4181071B2 (en) * 2004-02-27 2008-11-12 株式会社東研 Double line sensor camera and code reader using the camera
CN107111737A (en) * 2017-03-16 2017-08-29 福建联迪商用设备有限公司 Dual camera scanner and its scan method
CN106991311A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of information processing method and mobile terminal
CN107633164A (en) * 2017-09-28 2018-01-26 珠海市魅族科技有限公司 Pay control method, device, computer installation and computer-readable recording medium
CN109284742A (en) * 2018-10-30 2019-01-29 Oppo广东移动通信有限公司 Shield lower fingerprint mould group, electronic equipment and fingerprint image processing method
CN109214376A (en) * 2018-11-22 2019-01-15 济南浪潮高新科技投资发展有限公司 A kind of fingerprint identification method and device based on depth stratification

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114155664A (en) * 2020-09-07 2022-03-08 松下知识产权经营株式会社 Payment terminal
CN113887257A (en) * 2021-09-15 2022-01-04 福建新大陆自动识别技术有限公司 Double-camera bar code reading module and bar code reading method
CN113887257B (en) * 2021-09-15 2023-07-04 福建新大陆自动识别技术有限公司 Double-shooting bar code reading module and bar code reading method

Similar Documents

Publication Publication Date Title
CN109670819A (en) Double vehicle positioning stop fields method of payment and device based on GPS and LBS
CN106339648B (en) Scanner comprising an adjustable mirror
US20130222353A1 (en) Prism illumination-optic
CN110210878A (en) Commodity source tracing method and device based on two dimension code reading device
CN109886672A (en) Two dimensional code method of payment and device based on dual camera
CN109886671A (en) Two dimensional code method of payment and device based on double screen
CN109961283A (en) Two dimensional code method of payment and device based on dynamic password and digital certificate
CN109634646A (en) The method and apparatus of barcode scanning terminal coupling firmware updating based on SFTP
CN109636405A (en) Barcode scanning method of payment and device based on face identification functions
CN109658107A (en) Barcode scanning method of payment and device based on biological characteristic identification function
CN109614964A (en) Suitable for the fingerprint identification method and device under shielding
CN109901865A (en) The method and apparatus of firmware upgrade
US11057606B2 (en) Method and display system for information display based on positions of human gaze and object
CN109829350A (en) The two dimensional code method of payment and device of compatible for wired and wireless two-channel access public network
CN109872147A (en) Noninductive method of payment and device based on LBS
CN109753834A (en) Performance test methods and device based on two dimension code reading device
CN109977717A (en) Bar code method of payment and device based on light and shade code
CN109903403A (en) Expressway tol lcollection method and device based on LBS
CN209216152U (en) Support the payment mechanism of the passive barcode scanning of external equipment
CN209231980U (en) Barcode scanning payment mechanism based on face identification functions
CN109903038A (en) The two dimensional code method of payment and device that multi information is superimposed under complex background
CN109886054A (en) The two dimensional code method of payment and device of compatible for wired and wireless two-channel access Intranet
CN109902526A (en) Two dimensional code method of payment and device based on quantum communication network
CN109978090A (en) The method of payment and device combined based on two dimensional code and private mark
Héricz et al. Investigation of a 3D head-mounted projection display using retro-reflective screen

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190614