CN108363937B - Two-dimensional code scanning method and device and computer readable storage medium - Google Patents

Two-dimensional code scanning method and device and computer readable storage medium Download PDF

Info

Publication number
CN108363937B
CN108363937B CN201810249183.9A CN201810249183A CN108363937B CN 108363937 B CN108363937 B CN 108363937B CN 201810249183 A CN201810249183 A CN 201810249183A CN 108363937 B CN108363937 B CN 108363937B
Authority
CN
China
Prior art keywords
dimensional
dimensional code
information
code
view camera
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.)
Active
Application number
CN201810249183.9A
Other languages
Chinese (zh)
Other versions
CN108363937A (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.)
Xian Irain IoT Technology Service Co Ltd
Original Assignee
Xian Irain IoT Technology Service 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 Xian Irain IoT Technology Service Co Ltd filed Critical Xian Irain IoT Technology Service Co Ltd
Priority to CN201810249183.9A priority Critical patent/CN108363937B/en
Publication of CN108363937A publication Critical patent/CN108363937A/en
Application granted granted Critical
Publication of CN108363937B publication Critical patent/CN108363937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1447Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a two-dimension code scanning method, which comprises the following steps: when a code scanning instruction is received, scanning a three-dimensional two-dimensional code object by using a multi-view camera, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights; separating the information surface and the background surface with different heights by using the multi-view camera to identify the information surface and the background surface, wherein the multi-view camera has an accurate distance measurement function; acquiring and analyzing the content of the information plane, acquiring the content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information. The invention also discloses a two-dimensional code scanning device and a computer readable storage medium. The invention realizes the standard use of the two-dimension code.

Description

Two-dimensional code scanning method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of two-dimensional codes, in particular to a two-dimensional code scanning method and device and a computer readable storage medium.
Background
With the development of the times, the two-dimensional code is applied to the aspects of daily life of users, such as subway advertisements, newspapers, train tickets, airline tickets, fast food restaurants, movie theaters, group buying websites and various commodity outsourcing packages, and the users can perform corresponding operations of payment, access links and the like by scanning the two-dimensional code, so that great convenience is brought to the life of the users. However, the two-dimensional code can be quickly spread on a social platform such as a QQ, a wechat, a microblog and the like through a static picture, so that the two-dimensional code is easily used randomly, for example, a coupon is stolen or used for many times. Therefore, the two-dimensional code has the problem of non-standard use at present.
Disclosure of Invention
The invention mainly aims to provide a two-dimensional code scanning method, a two-dimensional code scanning device and a computer readable storage medium, and aims to solve the technical problem that two-dimensional codes in the prior art are not used in a standard mode.
In order to achieve the above object, the present invention provides a two-dimensional code scanning method, which comprises the following steps:
when a code scanning instruction is received, scanning a three-dimensional two-dimensional code object by using a multi-view camera, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights;
separating the information surface and the background surface with different heights by using the multi-view camera to identify the information surface and the background surface, wherein the multi-view camera has an accurate distance measurement function;
acquiring and analyzing the content of the information plane, acquiring the content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information.
Preferably, the step of acquiring and analyzing the content of the information plane to obtain the content information corresponding to the three-dimensional two-dimensional code includes:
separating information of different distances corresponding to the three-dimensional two-dimensional code by using the multi-view camera, wherein the information planes at the same distance contain complete two-dimensional code information;
and identifying the separated complete two-dimension code information, and analyzing the content information corresponding to the three-dimensional two-dimension code.
Preferably, after the step of separating the information plane and the background plane with different heights by using the multi-view camera, the method further comprises:
and if the information surface and the background surface are not separated, judging that the currently scanned three-dimensional two-dimensional code object is not a three-dimensional two-dimensional code, and outputting two-dimensional code identification failure information.
In addition, in order to achieve the above object, the present invention further provides a two-dimensional code scanning device, including: the two-dimensional code scanning system comprises a memory, a processor and a two-dimensional code scanning program which is stored on the memory and can run on the processor, wherein the two-dimensional code scanning program is configured to realize the steps of the two-dimensional code scanning method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a two-dimensional code scanning program is stored, and when executed by a processor, the two-dimensional code scanning program implements the steps of the two-dimensional code scanning method as described above.
According to the scheme provided by the invention, when a code scanning instruction is received, a current three-dimensional two-dimensional code object is scanned by using the multi-view camera, if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, the information plane and the background plane of the three-dimensional two-dimensional code with different heights are separated by using the accurate distance measuring function of the multi-view camera, the content of the information plane is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and corresponding operation is executed according to the obtained content information, namely only when the scanned current three-dimensional two-dimensional code object is the three-dimensional two-dimensional code and is not a plane picture corresponding to the three-dimensional two-dimensional code, the content information corresponding to the three-dimensional two-dimensional code can be obtained. Therefore, the corresponding operation can be executed only by scanning the plane picture corresponding to the two-dimensional code, and the standard use of the two-dimensional code is realized.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a two-dimensional code scanning method according to a first embodiment of the present invention;
fig. 3 is a schematic view of a refining process of acquiring and analyzing content of an information plane to obtain content information corresponding to a three-dimensional two-dimensional code according to a second embodiment of the two-dimensional code scanning method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: when a code scanning instruction is received, a current three-dimensional two-dimensional code object is scanned by using a multi-view camera, if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, an accurate distance measuring function of the multi-view camera is used for separating an information plane and a background plane of the three-dimensional two-dimensional code at different heights, the content of the information plane is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and corresponding operation is executed according to the obtained content information, namely, only when the scanned current three-dimensional two-dimensional code object is the three-dimensional two-dimensional code and is not a plane picture corresponding to the three-dimensional two-dimensional code, the content information corresponding to the three-dimensional two-dimensional code can be. By the technical scheme of the embodiment of the invention, the problem of non-standard use of the two-dimensional code is solved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the mobile terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a two-dimensional code scan program.
The processor 1001 and the memory 1005 in the mobile terminal of the present invention may be disposed in a two-dimensional code scanning apparatus, and the two-dimensional code scanning apparatus calls a two-dimensional code scanning program stored in the memory 1005 through the processor 1001 and performs the following operations:
when a code scanning instruction is received, scanning a three-dimensional two-dimensional code object by using a multi-view camera, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights;
separating the information surface and the background surface with different heights by using the multi-view camera to identify the information surface and the background surface, wherein the multi-view camera has an accurate distance measurement function;
acquiring and analyzing the content of the information plane, acquiring the content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information.
Further, the processor 1001 may call the two-dimensional code scanning program stored in the memory 1005, and further perform the following operations:
separating information of different distances corresponding to the three-dimensional two-dimensional code by using the multi-view camera, wherein the information planes at the same distance contain complete two-dimensional code information;
and identifying the separated complete two-dimension code information, and analyzing the content information corresponding to the three-dimensional two-dimension code.
Further, the processor 1001 may call the two-dimensional code scanning program stored in the memory 1005, and further perform the following operations:
and if the information surface and the background surface are not separated, judging that the currently scanned three-dimensional two-dimensional code object is not a three-dimensional two-dimensional code, and outputting two-dimensional code identification failure information.
According to the embodiment, when a code scanning instruction is received, a current three-dimensional two-dimensional code object is scanned by using the multi-view camera, if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, the information plane and the background plane of the three-dimensional two-dimensional code with different heights are separated by using the accurate distance measuring function of the multi-view camera, the content of the information plane is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and corresponding operation is executed according to the obtained content information, that is, only when the scanned current three-dimensional two-dimensional code object is the three-dimensional two-dimensional code and is not a planar picture corresponding to the three-dimensional two-dimensional code, the content information corresponding to the three-dimensional two-dimensional code can. Therefore, the corresponding operation can be executed only by scanning the plane picture corresponding to the two-dimensional code, and the standard use of the two-dimensional code is realized.
Based on the hardware structure, the embodiment of the two-dimension code scanning method is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a two-dimensional code scanning method according to a first embodiment of the present invention.
In a first embodiment, the two-dimensional code scanning method includes the following steps:
step S10, when a code scanning instruction is received, a multi-view camera is used for scanning a three-dimensional two-dimensional code object, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights;
step S20, separating the information plane and the background plane with different heights by using the multi-view camera, and identifying the information plane and the background plane, wherein the multi-view camera has an accurate distance measurement function;
and step S30, acquiring and analyzing the content of the information plane, acquiring the content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information.
With the development of the times, the two-dimensional code is applied to the aspects of daily life of users, such as subway advertisements, newspapers, train tickets, airline tickets, fast food restaurants, movie theaters, group buying websites and various commodity outsourcing packages, and the users can perform corresponding operations of payment, access links and the like by scanning the two-dimensional code, so that great convenience is brought to the life of the users. However, the two-dimensional code can be quickly spread on a social platform such as a QQ, a wechat, a microblog and the like through a static picture, so that the two-dimensional code is easily used randomly, for example, a coupon is stolen or used for many times. Therefore, the two-dimensional code has the problem of non-standard use at present.
In this embodiment, in order to avoid the messy use of the two-dimensional code, the two-dimensional code is designed to be a three-dimensional two-dimensional code, which is different from a common two-dimensional code in that the three-dimensional two-dimensional code includes an information plane and a background plane, and the information plane and the background plane are at different heights, wherein the information plane includes two-dimensional code information corresponding to the three-dimensional two-dimensional code, for example, identity verification information, geographic position information, payment information, vehicle pickup information, and the like.
When a user needs to identify a corresponding three-dimensional two-dimensional code object, the user uses a mobile terminal such as a smart phone and a PAD (PAD) to perform code scanning operation on the current three-dimensional two-dimensional code object, and a corresponding code scanning instruction is triggered. The mobile terminal is provided with a multi-view camera, and the multi-view camera has an accurate distance measurement function. And when the mobile terminal receives the code scanning instruction, the mobile terminal calls the multi-view camera to scan the current three-dimensional two-dimensional code object.
The current stereo two-dimensional code object may be a stereo two-dimensional code or a planar picture corresponding to the stereo two-dimensional code. When the mobile terminal receives the code scanning instruction, the current three-dimensional two-dimensional code is scanned, that is, the three-dimensional two-dimensional code may be scanned, and a plane picture corresponding to the three-dimensional two-dimensional code may also be scanned.
And scanning the current three-dimensional two-dimensional code object through the multi-view camera, and if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, separating information planes and background planes of the three-dimensional two-dimensional code at different heights by using the accurate ranging function of the multi-view camera.
After the information surface and the background surface of the three-dimensional two-dimensional code with different heights are separated, the information surface content of the three-dimensional two-dimensional code is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and the two-dimensional code scanning is successful. And then, the mobile terminal executes various operations such as corresponding payment and access link according to the content information corresponding to the obtained three-dimensional two-dimensional code.
On the contrary, if the current three-dimensional two-dimensional code object is a planar picture corresponding to the three-dimensional two-dimensional code, that is, the current three-dimensional two-dimensional code object is not the three-dimensional two-dimensional code, the information plane and the background plane cannot be separated by using the multi-view camera, and further the corresponding information plane content cannot be acquired and analyzed, so that the corresponding content information is acquired, and the two-dimensional code scanning fails. The user can not execute corresponding operations such as payment and access link, so that the disorder use of the two-dimensional code is avoided.
The two-dimensional code scanning method is exemplified by taking a reserved car taking of a stereo garage as an example.
In this example, the reserved car-taking three-dimensional two-dimensional code is set at a corresponding position of the stereo garage, when a user needs to reserve to take a car, the user must reach the stereo garage area to scan the reserved car-taking three-dimensional code, so that corresponding complete reserved car-taking information can be obtained, and then a corresponding reserved car-taking instruction is sent to take a car. If the user shoots the reserved car taking three-dimensional two-dimensional code before, the plane picture corresponding to the reserved car taking three-dimensional two-dimensional code is obtained, then the plane picture corresponding to the reserved car taking three-dimensional two-dimensional code is scanned when the user does not reach the three-dimensional garage, complete reserved car taking information cannot be obtained, and therefore a corresponding reserved car taking instruction cannot be sent to take a car, the occurrence of follow-up car jam caused by the fact that the user does not reach the three-dimensional garage after the car is taken is prevented, and the car taking order is guaranteed.
According to the scheme provided by the embodiment, when a code scanning instruction is received, a current three-dimensional two-dimensional code object is scanned by using the multi-view camera, if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, the information plane and the background plane of the three-dimensional two-dimensional code with different heights are separated by using the accurate distance measuring function of the multi-view camera, the content of the information plane is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and corresponding operation is executed according to the obtained content information, that is, only when the scanned current three-dimensional two-dimensional code object is the three-dimensional two-dimensional code and is not a plane picture corresponding to the three-dimensional two-dimensional code, the content information corresponding to the three-dimensional two-dimensional code. Therefore, the corresponding operation can be executed only by scanning the plane picture corresponding to the two-dimensional code, and the standard use of the two-dimensional code is realized.
Further, as shown in fig. 3, a second embodiment of the two-dimensional code scanning method according to the present invention is proposed based on the first embodiment, and in this embodiment, the step S30 includes:
step S31, separating information of different distances corresponding to the three-dimensional two-dimensional code by using the multi-view camera, wherein the information planes with the same distance contain a complete two-dimensional code information;
and step S32, identifying the separated complete two-dimension code information, and analyzing the content information corresponding to the three-dimensional two-dimension code.
In this embodiment, if the current stereoscopic two-dimensional code object scanned by the mobile terminal through the multi-view camera is a stereoscopic two-dimensional code, the mobile terminal separates information of different distances corresponding to the stereoscopic two-dimensional code through the multi-view camera to obtain information included in an information plane, where the information plane of the stereoscopic two-dimensional code includes a complete two-dimensional code information.
And then, the mobile terminal identifies the separated complete two-dimension code information, analyzes the content information corresponding to the three-dimensional two-dimension code, and successfully scans the code by the two-dimension code. And then, the mobile terminal executes various operations such as corresponding payment and access link according to the content information corresponding to the obtained three-dimensional two-dimensional code.
Further, after the step S20, the method further includes:
and step A, if the information surface and the background surface are not separated, judging that the currently scanned three-dimensional two-dimensional code object is not a three-dimensional two-dimensional code, and outputting two-dimensional code identification failure information.
Further, if the current three-dimensional two-dimensional code object is scanned by using the multi-view camera, the corresponding information plane and the background plane are not separated, that is, the current three-dimensional two-dimensional code object is likely to be only a planar picture corresponding to the three-dimensional two-dimensional code, and the source of the current three-dimensional two-dimensional code object may not be a spectrum, at this time, the mobile terminal determines that the currently scanned three-dimensional two-dimensional code object is not the three-dimensional two-dimensional code, and outputs corresponding two-dimensional code identification failure information.
For example, a text prompt message such as "two-dimensional code recognition failed" is displayed on the current display interface of the mobile terminal. In another example, a voice prompt message such as "two-dimensional code recognition failed" is played through a speaker. In this embodiment, the specific form of the two-dimensional code identification failure prompt information is not limited. The two-dimension code identification failure prompt information is sent out, so that a user can timely know the two-dimension code identification failure, and the user experience is improved.
According to the scheme provided by the embodiment, when the current three-dimensional two-dimensional code object is scanned by the multi-view camera and the corresponding information plane and the background plane are not separated, the currently scanned three-dimensional two-dimensional code object is judged not to be the three-dimensional two-dimensional code, and the two-dimensional code identification failure information is output so that a user can timely know the two-dimensional code identification failure, and therefore user experience is further improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a two-dimensional code scanning program is stored on the computer-readable storage medium, and when executed by a processor, the two-dimensional code scanning program implements the following operations:
when a code scanning instruction is received, scanning a three-dimensional two-dimensional code object by using a multi-view camera, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights;
separating the information surface and the background surface with different heights by using the multi-view camera to identify the information surface and the background surface, wherein the multi-view camera has an accurate distance measurement function;
acquiring and analyzing the content of the information plane, acquiring the content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information.
Further, the two-dimensional code scanning program, when executed by the processor, further implements the following operations:
separating information of different distances corresponding to the three-dimensional two-dimensional code by using the multi-view camera, wherein the information planes at the same distance contain complete two-dimensional code information;
and identifying the separated complete two-dimension code information, and analyzing the content information corresponding to the three-dimensional two-dimension code.
Further, the two-dimensional code scanning program, when executed by the processor, further implements the following operations:
and if the information surface and the background surface are not separated, judging that the currently scanned three-dimensional two-dimensional code object is not a three-dimensional two-dimensional code, and outputting two-dimensional code identification failure information.
According to the embodiment, when a code scanning instruction is received, a current three-dimensional two-dimensional code object is scanned by using the multi-view camera, if the current three-dimensional two-dimensional code object is a three-dimensional two-dimensional code, the information plane and the background plane of the three-dimensional two-dimensional code with different heights are separated by using the accurate distance measuring function of the multi-view camera, the content of the information plane is collected and analyzed, the content information corresponding to the three-dimensional two-dimensional code is obtained, and corresponding operation is executed according to the obtained content information, that is, only when the scanned current three-dimensional two-dimensional code object is the three-dimensional two-dimensional code and is not a planar picture corresponding to the three-dimensional two-dimensional code, the content information corresponding to the three-dimensional two-dimensional code can. Therefore, the corresponding operation can be executed only by scanning the plane picture corresponding to the two-dimensional code, and the standard use of the two-dimensional code is realized.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A two-dimension code scanning method is characterized by comprising the following steps:
when a code scanning instruction is received, scanning a three-dimensional two-dimensional code object by using a multi-view camera, wherein the three-dimensional two-dimensional code comprises an information surface and a background surface, and the information surface and the background surface are at different heights;
separating the information surface and the background surface with different heights by using the multi-view camera to identify the information surface and the background surface, wherein the multi-view camera has an accurate distance measurement function;
acquiring and analyzing the content of an information plane, acquiring content information corresponding to the three-dimensional two-dimensional code, and executing corresponding operation according to the acquired content information;
the method comprises the following steps of acquiring and analyzing the content of the information plane, and acquiring the content information corresponding to the three-dimensional two-dimensional code, wherein the steps comprise:
separating information of different distances corresponding to the three-dimensional two-dimensional code by using the multi-view camera, wherein the information planes at the same distance contain complete two-dimensional code information;
and identifying the separated complete two-dimension code information, and analyzing the content information corresponding to the three-dimensional two-dimension code.
2. The two-dimensional code scanning method according to claim 1, wherein after the step of separating the information plane and the background plane with different heights by using the multi-view camera, the method further comprises:
and if the information surface and the background surface are not separated, judging that the currently scanned three-dimensional two-dimensional code object is not a three-dimensional two-dimensional code, and outputting two-dimensional code identification failure information.
3. The utility model provides a two-dimensional code sweeps a yard device, its characterized in that, the two-dimensional code sweeps a yard device and includes: a memory, a processor, and a two-dimensional code scanning program stored on the memory and executable on the processor, the two-dimensional code scanning program configured to implement the steps of the two-dimensional code scanning method of claim 1 or 2.
4. A computer-readable storage medium, wherein a two-dimensional code scanning program is stored on the computer-readable storage medium, and when executed by a processor, the two-dimensional code scanning program implements the steps of the two-dimensional code scanning method according to claim 1 or 2.
CN201810249183.9A 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium Active CN108363937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810249183.9A CN108363937B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810249183.9A CN108363937B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108363937A CN108363937A (en) 2018-08-03
CN108363937B true CN108363937B (en) 2021-05-25

Family

ID=63001085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810249183.9A Active CN108363937B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108363937B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116372936B (en) * 2023-04-23 2024-08-02 深圳市功夫机器人有限公司 Robot control method, robot, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224903A (en) * 2015-09-28 2016-01-06 郝迎喜 A kind of method for anti-counterfeit of Quick Response Code and the reading device of Quick Response Code
CN105374285A (en) * 2015-12-14 2016-03-02 李峰 Anti-counterfeiting structure and method based on stereoscopic two-dimension code
CN105538896A (en) * 2016-01-05 2016-05-04 华南理工大学 Printing method and device for anti-counterfeiting two-dimensional code with printing height
CN107481376A (en) * 2017-08-21 2017-12-15 三维码(厦门)网络科技有限公司 A kind of three-dimension code method for unlocking based on intelligent use
CN206892906U (en) * 2017-05-16 2018-01-16 李峰 A kind of stereochemical structure three-dimension code and anti-counterfeit structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6246176B2 (en) * 2015-11-05 2017-12-13 株式会社オプティム Three-dimensional information code and three-dimensional information code reading device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224903A (en) * 2015-09-28 2016-01-06 郝迎喜 A kind of method for anti-counterfeit of Quick Response Code and the reading device of Quick Response Code
CN105374285A (en) * 2015-12-14 2016-03-02 李峰 Anti-counterfeiting structure and method based on stereoscopic two-dimension code
CN105538896A (en) * 2016-01-05 2016-05-04 华南理工大学 Printing method and device for anti-counterfeiting two-dimensional code with printing height
CN206892906U (en) * 2017-05-16 2018-01-16 李峰 A kind of stereochemical structure three-dimension code and anti-counterfeit structure
CN107481376A (en) * 2017-08-21 2017-12-15 三维码(厦门)网络科技有限公司 A kind of three-dimension code method for unlocking based on intelligent use

Also Published As

Publication number Publication date
CN108363937A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN108509818B (en) Two-dimensional code scanning method and device and computer readable storage medium
US20190124019A1 (en) Generating recommended responses based on historical message data
EP3483750A1 (en) Two-dimensional code information query method, server, client, and system
CN105721462B (en) Information pushing method and device
EP2814212A1 (en) Method and apparatus for adding friend, and storage medium
CN112100431B (en) Evaluation method, device and equipment of OCR system and readable storage medium
KR101363559B1 (en) Apparatus and Method for providing augment reality using additional information
CN111338693B (en) Model construction-based target file generation method, server and storage medium
US10997384B2 (en) Service process starting method and apparatus
CN111861228A (en) Customer service information processing method, device, equipment and medium based on user behaviors
CN112560840B (en) Method for identifying multiple identification areas, identification terminal, and readable storage medium
CN110704784A (en) Web page screen capturing method, device, equipment and computer readable storage medium
CN108933726A (en) A kind of content recommendation method, system, relevant device and storage medium
CN105357178A (en) Login method for vehicle-mounted terminal and vehicle-mounted terminal
CN105515887B (en) application testing method, server and system
CN107704893A (en) Generation and the method and Quick Response Code multiplex system of scanning Quick Response Code
CN108388672B (en) Video searching method and device and computer readable storage medium
CN108170785B (en) Method and device for guiding terminal search operation and computer readable storage medium
CN108363937B (en) Two-dimensional code scanning method and device and computer readable storage medium
CN109922457B (en) Information interaction method, device and system
CN108416246B (en) Two-dimensional code scanning method and device and computer readable storage medium
CN109299403A (en) Information-pushing method and relevant apparatus
CN110706221A (en) Verification method, verification device, storage medium and device for customizing pictures
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
US9208380B2 (en) Methods and systems for recognizing handwriting in handwritten documents

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
GR01 Patent grant
GR01 Patent grant