A camera method and system with two-dimensional code scanning function

A two-dimensional code scanning and two-dimensional code technology is applied in the field of photographing methods and systems with two-dimensional code scanning function, which can solve problems such as inconvenience and achieve the effect of convenient use.

Active Publication Date: 2017-02-08
XIAOMI INC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, it brings a lot of inconvenience to users

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
  • A camera method and system with two-dimensional code scanning function
  • A camera method and system with two-dimensional code scanning function
  • A camera method and system with two-dimensional code scanning function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] figure 1 It is a flow chart of a photographing method with a two-dimensional code scanning function. As shown in the figure, the method of taking pictures with the function of scanning two-dimensional codes includes:

[0064] S1, real-time acquisition of image information through the camera;

[0065] By turning on the camera of the smart terminal, image information can be obtained in real time.

[0066]S2, detecting whether a photographing instruction is received;

[0067] Different smart terminals can define different operations as camera instructions.

[0068] S3, if a photographing instruction is received, control the camera to photograph;

[0069] S4, if the photographing instruction is not received, perform two-dimensional code recognition on the acquired image information;

[0070] Recognition of two-dimensional codes based on image information is a mature technology. In this embodiment, various existing two-dimensional code recognition technologies can be u...

Embodiment 2

[0074] Due to the large computational load of the two-dimensional code recognition algorithm, if the two-dimensional code recognition is performed on the image information acquired by the camera in real time, a large amount of system resources will be required. Therefore, the embodiment of the present invention improves the above step S4, so as to reduce the system resources occupied by the two-dimensional code recognition in this step.

[0075] method one:

[0076] The step S4 also includes:

[0077] If no photographing instruction is received, two-dimensional code recognition is performed on the acquired image information at fixed intervals.

[0078] In this embodiment, the recognition of the two-dimensional code of the image information acquired by the camera is not performed in real time, but is performed at regular intervals. In this way, the system resources occupied by two-dimensional code recognition can be greatly reduced. Certainly, the fixed time of the interval ...

Embodiment 3

[0085] Because the photographing method provided by the embodiment of the present invention integrates the two-dimensional code scanning function and the photographing function into one. Therefore, it is possible for the user to scan the QR code that enters the viewfinder range when taking a photo and perform relevant identification and information prompts. Like this, can hinder the user to take a picture normally. In order to solve this problem and bring better user experience to the user, this embodiment provides several solutions for canceling the two-dimensional code recognition prompt information.

[0086] Option One:

[0087] In this solution, a cancel button is provided in the two-dimensional code recognition prompt information; the cancel button is used to cancel the two-dimensional code recognition prompt information.

[0088] The user can cancel the two-dimensional code recognition prompt information by operating the cancel button.

[0089] Option II:

[0090] In...

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 provides a photographing method with a two-dimensional bar code scanning function and a photographing system with a two-dimensional bar code scanning function. The photographing method includes: acquiring image information by a camera in real time; detecting whether a photographing instruction is received or not; controlling the camera to photograph when the photographing instruction is received; performing two-dimensional bar code recognition for the acquired image information if the photographing instruction is not received; and displaying two-dimensional bar code recognition prompt information when two-dimensional bar codes are recognized in the image information. The photographing method and the photographing system have the advantages that when the camera of an intelligent terminal is turned on for acquiring the image information, on one hand, a photographing function can be achieved; and on the other hand, the two-dimensional bar code scanning function can be achieved, the two-dimensional bar code scanning function and the photographing function are integrated, and users' use is facilitated.

Description

technical field [0001] The invention relates to the technical field of image shooting, in particular to a method and system for taking pictures with a two-dimensional code scanning function. Background technique [0002] Two-dimensional bar code (2-dimensional bar code) records data symbol information with a specific geometric figure distributed in black and white on a plane according to certain rules. It uses several geometric figures corresponding to binary to represent text values. Information is automatically read by image input equipment or photoelectric scanning equipment to realize automatic processing of information. In modern information life, this QR code is widely used in information acquisition, website link, advertisement push, data download, commodity transaction, positioning / navigation, electronic voucher, logistics management and other fields. [0003] At present, the recognition of two-dimensional codes in smart terminals is often realized by special two-di...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 王博朱和泉张波
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products