Payment method capable of consumption payment by mobile phone on basis of two-dimension code and payment system thereof
A payment system and two-dimensional code technology, which is applied in the field of payment method and payment system based on two-dimensional codes for consumer settlement using mobile phones, can solve the problems of not being able to meet real-time performance, time-consuming, low reading rate, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0148] S101, the QR code image collected by the camera of the cash register, such as Figure 7 ;
[0149] S102, will Figure 7 A grayscale image is obtained after grayscale, such as Figure 8 ;
[0150] S103, judging Figure 8 If the unsharpness does not exceed the threshold, go to S105;
[0151] S105, will Figure 8 Binarization processing, this example uses the otsu algorithm, such as Figure 9 ;
[0152] S106, judging Figure 9 If the unsharpness does not exceed the threshold, go to S108;
[0153] S108, using the position detection graphic method to calculate the rotation angle;
[0154] S109, use the bilinear interpolation method to rotate the image to a horizontal position, such as Figure 10 ;
[0155] S110, judging whether the decoding is successful, this example is successful, output information:
[0156] "Mobile phone number: 13023956999
[0158] Card number: 6013826402010708847
[0159] Account Name: Zhuang Zhiqiang
[016...
Embodiment 2
[0162] S101, the QR code image collected by the camera of the cash register, such as Figure 11 ;
[0163] S102, will Figure 11 A grayscale image is obtained after grayscale, such as Figure 12 ;
[0164] S103, judging Figure 12 If the unsharpness does not exceed the threshold, go to S105;
[0165] S105, will Figure 12 Binarization processing, this example uses the otsu algorithm, such as Figure 13 ;
[0166] S106, judging Figure 13 If the unsharpness has exceeded the threshold, go to S112;
[0167] S112, re-binarize the grayscaled image, this figure uses the niblack algorithm, such as Figure 14 ;
[0168] S113, judging Figure 14 If the unsharpness does not exceed the threshold, go to S108;
[0169] All the other are with embodiment 1.
Embodiment 3
[0171] S101--S109 steps are the same as embodiment 1, after obtaining the image after rotation, as Figure 15 , in step S110, if the decoding is unsuccessful, go to S111;
[0172] S111, judging that the filter has not been passed, and turning to S107;
[0173] S107, perform median filtering on the binarized image, and the filter window coefficient used for filtering in this embodiment is
[0174] λ = 1 1 2 1 1 1 1 2 1 1 2 2 3 2 2 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com