Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Two-dimensional code identification method and device, mobile terminal and readable storage medium

A mobile terminal and identification method technology, applied in electromagnetic radiation induction and other directions, can solve the problems of low success rate and slow identification speed, and achieve the effect of improving user experience, identification speed and success rate

Pending Publication Date: 2019-05-03
NUBIA TECHNOLOGY CO LTD
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to propose a two-dimensional code recognition method, device, mobile terminal and readable storage medium, aiming to solve the problems of slow recognition speed and low success rate when the mobile terminal performs two-dimensional code recognition

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Two-dimensional code identification method and device, mobile terminal and readable storage medium
  • Two-dimensional code identification method and device, mobile terminal and readable storage medium
  • Two-dimensional code identification method and device, mobile terminal and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Such as image 3 As shown, in this embodiment, a two-dimensional code recognition method includes:

[0073] S10. Acquiring attitude information of the mobile terminal;

[0074] S20. Collect the scanning plane information of the two-dimensional code recognition device through the camera of the mobile terminal;

[0075] S30. Adjust the two-dimensional code on the mobile terminal according to the posture information and the scanning plane information.

[0076] In this embodiment, the front-facing camera of the mobile terminal actively identifies the scanning plane of the two-dimensional code recognition device, collects data from the accelerometer and gyroscope at the same time, obtains the attitude information of the mobile terminal, and actively adjusts the two-dimensional code according to the scanning plane and attitude information. The two-dimensional code is distorted so that the two-dimensional code is parallel to the scanning plane, which improves the recognition...

Embodiment 2

[0103] Such as Figure 13 As shown, in this embodiment, a two-dimensional code recognition device includes:

[0104] Obtaining module 31, is used for obtaining the gesture information of mobile terminal;

[0105] The collection module 32 is used to collect the scanning plane information of the two-dimensional code identification device through the camera of the mobile terminal;

[0106] An adjustment module 33, configured to adjust the two-dimensional code on the mobile terminal according to the posture information and the scanning plane information.

[0107]In this embodiment, the front-facing camera of the mobile terminal actively identifies the scanning plane of the two-dimensional code recognition device, collects data from the accelerometer and gyroscope at the same time, obtains the attitude information of the mobile terminal, and actively adjusts the two-dimensional code according to the scanning plane and attitude information. The two-dimensional code is distorted so...

Embodiment 3

[0129] Such as Figure 14 As shown, in this embodiment, the two-dimensional code recognition device also includes:

[0130] The de-shaking module 34 is used to detect the shaking information of the mobile terminal according to the posture information; and adjust the display position of the two-dimensional code in real time according to the shaking information, so that the two-dimensional code and the scanning plane are relatively static.

[0131] In this embodiment, when the user holds a mobile terminal such as a mobile phone, there will inevitably be shaking, which will cause difficulty in identifying the QR code on the screen of the mobile phone by the two-dimensional code recognition device. , Acceleration sensor data, detect the shaking of the mobile phone, actively adjust the position of the two-dimensional code display, so that the two-dimensional code image displayed on the mobile phone screen remains still relative to the two-dimensional code recognition device, which ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a two-dimensional code recognition method and device, a mobile terminal and a readable storage medium, and relates to the field of mobile terminals. The method comprises the following steps: acquiring attitude information of a mobile terminal, acquiring scanning plane information of the two-dimensional code recognition equipment through a camera of the mobile terminal; Adjusting a two-dimensional code on the mobile terminal according to the attitude information and the scanning plane information; the scanning plane of the two-dimensional code recognition equipment is actively recognized through the front camera of the mobile terminal; meanwhile, data of the accelerometer and the gyroscope are collected to obtain attitude information of the mobile terminal, and two-dimensional code distortion is actively adjusted according to the scanning plane and the attitude information, so that the two-dimensional code is parallel to the scanning plane, the recognition speedand the success rate of the two-dimensional code are improved, and the user experience is improved.

Description

technical field [0001] The present invention relates to the field of mobile terminals, in particular to a two-dimensional code identification method and device, a mobile terminal and a readable storage medium. Background technique [0002] With the development of the mobile Internet and the popularization and application of smart phones, the application of QR codes is becoming more and more widespread. In particular, many cities have opened the function of scanning QR codes to take buses and subways, which greatly facilitates the travel of the masses. However, when the QR code on the mobile phone screen is placed in the scanning area of ​​the QR code recognition device, due to the non-parallel posture of the mobile phone screen and the scanning area and the inevitable shaking of the human hand, the recognition speed is often slow and the success rate is low. Contents of the invention [0003] The main purpose of the present invention is to provide a two-dimensional code re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06K7/14
Inventor 刘允礼
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products