[go: up one dir, main page]

CN103279383B - Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function - Google Patents

Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function Download PDF

Info

Publication number
CN103279383B
CN103279383B CN201310214867.2A CN201310214867A CN103279383B CN 103279383 B CN103279383 B CN 103279383B CN 201310214867 A CN201310214867 A CN 201310214867A CN 103279383 B CN103279383 B CN 103279383B
Authority
CN
China
Prior art keywords
quick response
response code
information
identification
image information
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
CN201310214867.2A
Other languages
Chinese (zh)
Other versions
CN103279383A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310214867.2A priority Critical patent/CN103279383B/en
Publication of CN103279383A publication Critical patent/CN103279383A/en
Application granted granted Critical
Publication of CN103279383B publication Critical patent/CN103279383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Character Discrimination (AREA)
  • Telephone Function (AREA)

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

A kind of photographic method with two-dimensional code scanning function and system
Technical field
The present invention relates to image taking technology field, particularly a kind of photographic method with two-dimensional code scanning function and system.
Background technology
Quick Response Code(2-dimensional bar code) it is according to certain rules in plane distribution with certain specific geometric figure Chequered with black and white graphic recording data symbol information, it is represented using several geometrical bodies corresponding with binary system Word numerical information, realizes information by image input device or photoelectric scanning device automatically identifying and reading and automatically processes.In the modern times In informatized life, this Quick Response Code is widely used in acquisition of information, web site url, advertisement pushing, data download, commodity The fields such as transaction, positioning/navigation, electronic certificate, logistics management.
At present, carry out the identification of Quick Response Code in intelligent terminal, often to be realized by special Quick Response Code identification software. This Quick Response Code identification software is scanned to Quick Response Code by opening the camera being carried on intelligent terminal, to obtain related two dimension Code information.Although, in intelligent terminal, Quick Response Code identification software and software of taking pictures obtain image again by opening camera Information, but both are often two softwares independently in intelligent terminal.User is needing to carry out Quick Response Code identification When, need to open corresponding Quick Response Code identification software.And when user need taken pictures when, then to open take pictures accordingly soft Part.So, use to user and bring inconvenience.
Content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of photographic method with two-dimensional code scanning function and system.
The purpose of the embodiment of the present invention is achieved by following technical proposals:
A kind of photographic method with two-dimensional code scanning function, including:
By camera real-time image acquisition information;
Detect whether to receive photographing instruction;
If receiving photographing instruction, camera is controlled to be taken pictures;
If not receiving photographing instruction, Quick Response Code identification is carried out to acquired image information;
If recognizing Quick Response Code in image information, two-dimensional code display identifies information.
If described do not receive photographing instruction, Quick Response Code identification is carried out to acquired image information, including:
If not receiving photographing instruction, fixed time intervals carry out Quick Response Code identification to acquired image information.
If described do not receive photographing instruction, Quick Response Code identification is carried out to acquired image information, including:
If not receiving photographing instruction, Quick Response Code identification is carried out to identification region in acquired image information;Described identification Region is the subregion in described image information.
Described identification region is central area and/or the focusing region of acquired image information.
It is provided with cancel button in described Quick Response Code identification information;Described cancel button is used for cancelling the identification prompting of this Quick Response Code Information.
Described photographic method, also includes:
If described Quick Response Code identification information does not receive operational order in setting time, cancel the identification of this Quick Response Code and carry Show information.
Described photographic method, also includes:
When recognizing described Quick Response Code by inductor detection, whether the displacement acceleration of terminal exceedes acceleration setting value;
If the displacement acceleration of terminal exceedes acceleration setting value when identifying described Quick Response Code, cancel the identification of this Quick Response Code and carry Show information.
If described recognize Quick Response Code in image information, two-dimensional code display identifies information, including:
If recognizing Quick Response Code in image information, described Quick Response Code being parsed, obtaining this 2 D code information;
According to acquired 2 D code information, judge the type of this Quick Response Code;
Show the Quick Response Code identification information of described Quick Response Code corresponding types.
Described photographic method, also includes:
According to the operational order that described Quick Response Code is identified with information, the respective operations of execution the type Quick Response Code.
A kind of camera system with two-dimensional code scanning function, including:Image information acquisition unit, photographing instruction detector unit, Take pictures performance element, Quick Response Code recognition unit and information display unit;
Described image information acquisition unit, for by camera real-time image acquisition information;
Described photographing instruction detector unit, for detecting whether receive photographing instruction;
Described performance element of taking pictures, for when receiving photographing instruction, controlling camera to be taken pictures;
Described Quick Response Code recognition unit, for when not receiving photographing instruction, to acquired in described image information acquisition unit Image information carry out Quick Response Code identification;
Described information display unit, for when described Quick Response Code recognition unit recognizes Quick Response Code in image information, Two-dimensional code display identifies information.
Described Quick Response Code recognition unit, for when not receiving photographing instruction, fixed time intervals obtain to described image information The image information acquired in unit is taken to carry out Quick Response Code identification.
Described Quick Response Code recognition unit, for when not receiving photographing instruction, to acquired in described image information acquisition unit Image information in identification region carry out Quick Response Code identification;Described identification region is the subregion in described image information.
Described identification region is central area and/or the focusing region of acquired image information.
Described camera system, also includes:Prompting message cancels unit;
Described prompting message is cancelled unit and is provided with cancel button in described Quick Response Code identification information;Described cancel button is used Identify information in cancelling this Quick Response Code.
Described camera system, also includes:Prompting message cancels unit;
Described prompting message cancels unit, does not receive operation for Quick Response Code identification information described in setting time and refers to When making, cancel this Quick Response Code identification information.
Described camera system, also includes:Inductor and prompting message cancel unit;
Described inductor, for when described Quick Response Code recognition unit recognizes described Quick Response Code, the displacement of detection terminal accelerates Whether degree exceedes acceleration setting value;
Described prompting message cancels unit, and displacement terminal is detected for inductor described when recognizing described Quick Response Code adds When speed exceedes acceleration setting value, cancel this Quick Response Code identification information.
Described information display unit, including:Quick Response Code parsing module, Quick Response Code type judging module and Quick Response Code prompting Information display module;
Described Quick Response Code parsing module, during for recognizing Quick Response Code in image information, parses to described Quick Response Code, Obtain this 2 D code information;
Described Quick Response Code type judging module, for according to acquired 2 D code information, judging the type of this Quick Response Code;
Described Quick Response Code information display module, the Quick Response Code for showing described Quick Response Code corresponding types identifies prompting letter Breath.
Described camera system, also includes:Quick Response Code performance element;
Described Quick Response Code performance element, for according to the operational order that described Quick Response Code is identified with information, executing the type The respective operations of Quick Response Code.
A kind of terminal, includes aforementioned arbitrary described camera system with two-dimensional code scanning function in described terminal.
By the embodiment of the present invention, the method and system, when intelligent terminal is opened camera and obtained image information, on the one hand may be used To achieve camera function;On the other hand two-dimensional code scanning function can be achieved, incorporate two-dimensional code scanning function and take pictures Function is, convenient for users.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, does not constitute Limitation of the invention.In the accompanying drawings:
Fig. 1 is the photographic method flow chart with two-dimensional code scanning function;
Fig. 2 is Quick Response Code identification information display process flow diagram flow chart;
Fig. 3 is business card Quick Response Code operation example figure one;
Fig. 4 is business card Quick Response Code operation example figure two;
Fig. 5 is the camera system structural representation with two-dimensional code scanning function;
Fig. 6 is information display cell structure schematic diagram.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, with reference to embodiment and accompanying drawing, to this Invention is described in further details.Here, the exemplary embodiment of the present invention and its illustrate for explaining the present invention, but simultaneously Not as a limitation of the invention.
Based on aforementioned problems of the prior art, we have proposed one kind and collect two-dimensional code scanning function and camera function in one The software of taking pictures of body.User finds there is Quick Response Code during taking pictures, you can directly Quick Response Code is scanned identifying, and no The special special-purpose software identifying Quick Response Code need to separately be opened.
Embodiment one
Fig. 1 is the photographic method flow chart with two-dimensional code scanning function.As illustrated, this has two-dimensional code scanning function Photographic method, including:
S1, by camera real-time image acquisition information;
By opening the camera of intelligent terminal, real-time image acquisition information.
S2, detects whether to receive photographing instruction;
Different intelligent terminal, can define different operating is photographing instruction.
S3, if receiving photographing instruction, controls camera to be taken pictures;
S4, if not receiving photographing instruction, carries out Quick Response Code identification to acquired image information;
Quick Response Code is identified be existing mature technology based on image information.In the present embodiment, it is possible to use existing each Plant Quick Response Code technology of identification and Quick Response Code identification is carried out to acquired image information.
S5, if recognizing Quick Response Code in image information, two-dimensional code display identifies information.
The method that the present embodiment is provided, when intelligent terminal is opened camera and obtained image information, on the one hand detects whether to connect Receive photographing instruction, control when receiving photographing instruction camera to be taken pictures, that is, achieve camera function;On the other hand When not receiving photographing instruction, based on Quick Response Code technology of identification, Quick Response Code knowledge is carried out to the image information acquired in camera Not, and pointed out when recognizing Quick Response Code, that is, achieved two-dimensional code scanning function.It can be seen that, said method incorporates two Dimension code scan function is with camera function, convenient for users.
Embodiment two
Because the operand of Quick Response Code recognizer is larger, if Quick Response Code knowledge is carried out in real time to the image information acquired in camera Not, then need to take a large amount of system resources.Therefore, the embodiment of the present invention is improved to above-mentioned steps S4, to reduce System resource shared by Quick Response Code identification in this step.
Mode one:
Described step S4, also includes:
If not receiving photographing instruction, fixed time intervals carry out Quick Response Code identification to acquired image information.
In the present embodiment, being not to carry out in real time is identified to the Quick Response Code of the image information acquired in camera, but every Carry out once every the set time.As such, it is possible to substantially reduce the required system resource taking of Quick Response Code identification.Certainly, institute The set time stating interval can be artificially set in advance.
Mode two:
Described step S4, also includes:
If not receiving photographing instruction, Quick Response Code identification is carried out to identification region in acquired image information;Described identification Region is the subregion in described image information.
In the present embodiment, all Quick Response Code identification is not carried out to acquired all images information, but wherein part is identified Region carries out Quick Response Code identification.Method by reducing identification region, reduces occupying system resources needed for Quick Response Code identification Purpose.
Preferably, described identification region is central area and/or the focusing region of acquired image information.Due to image In central area and focusing region be usually user and compare the region of concern, scan Quick Response Code therefore from this two regions It is relatively easy to obtain the 2 D code information of the required identification of user.In actual use, terminal can select this Liang Ge area according to setting One of domain or be simultaneously based on this two regions and carry out Quick Response Code identification.
Embodiment three
Because the photographic method that the embodiment of the present invention is provided is to integrate two-dimensional code scanning function with camera function.Cause This it is possible to sweeping to the Quick Response Code entering viewfinder range and carrying out Classical correlation and information alert when user takes pictures.So, User can be hindered normally to take pictures.In order to solve this problem, bring more preferable experience to user, present embodiments provide Several Quick Response Codes identify the cancellation scheme of information.
Scheme one:
In this programme, in described Quick Response Code identification information, it is provided with cancel button;Described cancel button be used for cancelling this two Dimension code identification information.
User passes through to operate this cancel button, you can cancel this Quick Response Code identification information.
Scheme two:
In this programme, described photographic method, also include:
If described Quick Response Code identification information does not receive operational order in setting time, cancel the identification of this Quick Response Code and carry Show information.
This programme passes through to detect the operation further whether user has to this Quick Response Code identification information in setting time, comes Judge whether this Quick Response Code is useful to user.If user is not carried out to this Quick Response Code identification information in this setting time Operation, then illustrate that this Quick Response Code is not used to user, therefore cancels this Quick Response Code identification information.
Scheme three:
In this programme, described photographic method, also include:
When recognizing described Quick Response Code by inductor detection, whether the displacement acceleration of terminal exceedes acceleration setting value;
If the displacement acceleration of terminal exceedes acceleration setting value when identifying described Quick Response Code, cancel the identification of this Quick Response Code and carry Show information.
It is of course also possible to when displacement acceleration terminal is detected in inductor exceedes acceleration setting value, directly not to this two Dimension code is identified, or directly this Quick Response Code identification information is not shown.Both schemes are with this programme substantially Identical, therefore also should be within protection domain shown in this programme.
User take pictures find a view during may sweep to enter viewfinder range Quick Response Code, because now user does not keep steady end End, therefore the Quick Response Code of this entrance viewfinder range should not be user's Quick Response Code of interest.Based on this, logical in this programme Cross inductor detection terminal identify Quick Response Code when displacement acceleration, the state that terminal at that time is judged with this be the state of not keeping steady also It is the state of keeping steady.If not keeping steady state, then ignore this Quick Response Code.
Example IV:
As it was previously stated, current Quick Response Code is widely used in multiple fields.Its institute of Quick Response Code for different field The effect realized and corresponding application are also different.Based on this, as shown in Fig. 2 in the present embodiment, if described in image information Recognize Quick Response Code, then two-dimensional code display identification information, including:
S51, if recognizing Quick Response Code in image information, parsing to described Quick Response Code, obtaining this 2 D code information;
S52, according to acquired 2 D code information, judges the type of this Quick Response Code;
Described two dimension code type can include but is not limited to:Business card Quick Response Code, network address Quick Response Code, download information Quick Response Code, Tripartite applies(APP, Application Program)Quick Response Code and text Quick Response Code etc..
S53, shows the Quick Response Code identification information of described Quick Response Code corresponding types.
Because the operation corresponding to dissimilar Quick Response Code also differs.By said method, terminal is recognizing Quick Response Code While, this Quick Response Code is parsed, determines the type of this Quick Response Code, and corresponding types are shown according to the type of Quick Response Code Quick Response Code identification information, to facilitate user that different types of Quick Response Code is operated.
Additionally, dissimilar Quick Response Code is shown based on said method with the Quick Response Code identification information of different corresponding types, institute State photographic method, also include:
According to the operational order that described Quick Response Code is identified with information, the respective operations of execution the type Quick Response Code.
Here, the respective operations of described dissimilar Quick Response Code are also different.As being by business card to business card Quick Response Code respective operations Information imports contact person, is to access Quick Response Code record website pages to network address Quick Response Code respective operations, to download information Quick Response Code Respective operations are to download the data of Quick Response Code record network address, are to call third party to answer to third-party application Quick Response Code respective operations With being the text message of two-dimensional code display record to text Quick Response Code respective operations.
And, even for same type of Quick Response Code, its Quick Response Code identifies that the form of information can also have multiple presenting Mode.We, just, are illustrated taking business card Quick Response Code as a example below:
1 as shown in figure 3, terminal recognition is to after business card Quick Response Code, and display business card Quick Response Code identification information includes:Two Dimension code type information(In figure shows " finding business card Quick Response Code ")Check button with card information(In figure shows " to be looked into See card information ").User clicks on after this card information checks button, and Quick Response Code identification information receives operational order, Show card information as shown in the figure.Include cancel button in this card information and import contact person's button.It is somebody's turn to do when user clicks on Import contact person's button, then this card information is imported in contact person's address list of terminal.
This method is advantageous in that, Quick Response Code identification information is simply it is easy to operate.
2 as shown in figure 4, compared to above-mentioned example, also wrap in the present embodiment in business card Quick Response Code identification information Include business card informative abstract, to point out whose business card this business card is.
This method is advantageous in that, can see the relevant information of business card in advance, chooses whether to enter to advance in order to user Single stepping.
Embodiment five
Fig. 5 is the camera system structural representation with two-dimensional code scanning function.As illustrated, this has two-dimensional code scanning work( The camera system of energy, including:Image information acquisition unit 1, photographing instruction detector unit 2, performance element 3 of taking pictures, two dimension Code recognition unit 4 and information display unit 5.
Described image information acquisition unit 1, for by camera real-time image acquisition information;
This image information acquisition unit 1 is by opening the camera of intelligent terminal, real-time image acquisition information.
Described photographing instruction detector unit 2, for detecting whether receive photographing instruction;
Different intelligent terminal, can define different operating is photographing instruction.
Described performance element 3 of taking pictures, for when receiving photographing instruction, controlling camera to be taken pictures;
Described Quick Response Code recognition unit 4, for when not receiving photographing instruction, to described image information acquisition unit 1 institute The image information obtaining carries out Quick Response Code identification;
Quick Response Code is identified be existing mature technology based on image information.In the present embodiment, Quick Response Code recognition unit 4 Using existing various Quick Response Code technology of identification, Quick Response Code identification can be carried out to acquired image information.
Described information display unit 5, for recognizing Quick Response Code in described Quick Response Code recognition unit 4 in image information When, two-dimensional code display identifies information.
The system that the present embodiment is provided, when intelligent terminal is opened camera and obtained image information, on the one hand pass through to take pictures finger Make detector unit 2 detect whether to receive photographing instruction, when receiving photographing instruction, shooting is controlled by performance element 3 of taking pictures Head is taken pictures, that is, achieve camera function;On the other hand when not receiving photographing instruction, by Quick Response Code recognition unit 4 Based on Quick Response Code technology of identification, Quick Response Code identification is carried out to the image information acquired in camera, and when recognizing Quick Response Code by Information display unit 5 is pointed out, that is, achieve two-dimensional code scanning function.It can be seen that, said system incorporates Quick Response Code Scan function is with camera function, convenient for users.
Embodiment six
Because the operand of Quick Response Code recognizer is larger, if Quick Response Code knowledge is carried out in real time to the image information acquired in camera Not, then need to take a large amount of system resources.Therefore, the embodiment of the present invention is improved to above-mentioned Quick Response Code recognition unit 4, To reduce in this step as the system resource that Quick Response Code identification is shared.
Mode one:
In the present embodiment, described Quick Response Code recognition unit 4, for when not receiving photographing instruction, fixed time intervals Quick Response Code identification is carried out to the image information acquired in described image information acquisition unit 1.
Improved by this embodiment, being not to carry out in real time is identified to the Quick Response Code of the image information acquired in camera, and It is to carry out once at interval of the set time.As such, it is possible to substantially reduce the required system resource taking of Quick Response Code identification.When So, the set time at described interval can be artificially set in advance.
Mode two:
In the present embodiment, described Quick Response Code recognition unit 4, for when not receiving photographing instruction, believing to described image In image information acquired in breath acquiring unit 1, identification region carries out Quick Response Code identification;Described identification region is believed for described image Subregion in breath.
Improved by this embodiment, all Quick Response Code identification is not carried out to acquired all images information, but in the middle part of it Point identification region carries out Quick Response Code identification.Method by reducing identification region, reducing required occupancy of Quick Response Code identification is The purpose of system resource.
Preferably, described identification region is central area and/or the focusing region of acquired image information.Due to image In central area and focusing region be usually user and compare the region of concern, scan Quick Response Code therefore from this two regions It is relatively easy to obtain the 2 D code information of the required identification of user.In actual use, terminal can select this Liang Ge area according to setting One of domain or be simultaneously based on this two regions and carry out Quick Response Code identification.
Embodiment seven
Because the camera system that the embodiment of the present invention is provided is to integrate two-dimensional code scanning function with camera function.Cause This it is possible to sweeping to the Quick Response Code entering viewfinder range and carrying out Classical correlation and information alert when user takes pictures.So, User can be hindered normally to take pictures.In order to solve this problem, bring more preferable experience to user, present embodiments provide Several Quick Response Codes identify the cancellation scheme of information.
Scheme one:
In this programme, described camera system, also include:Prompting message cancels unit.
Described prompting message is cancelled unit and is provided with cancel button in described Quick Response Code identification information;Described cancel button is used Identify information in cancelling this Quick Response Code.
User passes through to operate this cancel button, you can cancel this Quick Response Code identification information.
Scheme two:
In this programme, described camera system, also include:Prompting message cancels unit.
Described prompting message cancels unit, does not receive operation for Quick Response Code identification information described in setting time and refers to When making, cancel this Quick Response Code identification information.
This programme passes through to detect the operation further whether user has to this Quick Response Code identification information in setting time, comes Judge whether this Quick Response Code is useful to user.If user is not carried out to this Quick Response Code identification information in this setting time Operation, then illustrate that this Quick Response Code is not used to user, therefore cancels this Quick Response Code identification information.
Scheme three:
In this programme, described camera system, also include:Inductor and prompting message cancel unit.
Described inductor, for when described Quick Response Code recognition unit 4 recognizes described Quick Response Code, the displacement of detection terminal adds Whether speed exceedes acceleration setting value;
Described prompting message cancels unit, and displacement terminal is detected for inductor described when recognizing described Quick Response Code adds When speed exceedes acceleration setting value, cancel this Quick Response Code identification information.
It is of course also possible to when displacement acceleration terminal is detected in inductor exceedes acceleration setting value, directly not to this two Dimension code is identified, or directly this Quick Response Code identification information is not shown.Both schemes are with this programme substantially Identical, therefore also should be within protection domain shown in this programme.
User take pictures find a view during may sweep to enter viewfinder range Quick Response Code, because now user does not keep steady end End, therefore the Quick Response Code of this entrance viewfinder range should not be user's Quick Response Code of interest.Based on this, logical in this programme Cross inductor detection terminal identify Quick Response Code when displacement acceleration, the state that terminal at that time is judged with this be the state of not keeping steady also It is the state of keeping steady.If not keeping steady state, then ignore this Quick Response Code.
Embodiment eight
As it was previously stated, current Quick Response Code is widely used in multiple fields.Its institute of Quick Response Code for different field The effect realized and corresponding application are also different.Based on this, as shown in fig. 6, in the present embodiment, described information display is single Unit 5, including:Quick Response Code parsing module 51, Quick Response Code type judging module 52 and Quick Response Code information display module 53.
Described Quick Response Code parsing module 51, during for recognizing Quick Response Code in image information, parses to described Quick Response Code, Obtain this 2 D code information;
Described Quick Response Code type judging module 52, for according to acquired 2 D code information, judging the type of this Quick Response Code;
Described two dimension code type can include but is not limited to:Business card Quick Response Code, network address Quick Response Code, download information Quick Response Code, Tripartite applies(APP, Application Program)Quick Response Code and text Quick Response Code etc..
Described Quick Response Code information display module 53, the Quick Response Code for showing described Quick Response Code corresponding types identifies prompting letter Breath.
Because the operation corresponding to dissimilar Quick Response Code also differs.By said system, terminal is recognizing Quick Response Code While, this Quick Response Code is parsed, determines the type of this Quick Response Code, and corresponding types are shown according to the type of Quick Response Code Quick Response Code identification information, to facilitate user that different types of Quick Response Code is operated.
Additionally, dissimilar Quick Response Code is shown based on said system with the Quick Response Code identification information of different corresponding types, institute State camera system, also include:Quick Response Code performance element.
Described Quick Response Code performance element, for according to the operational order that described Quick Response Code is identified with information, executing the type The respective operations of Quick Response Code.
Here, the respective operations of described dissimilar Quick Response Code are also different.As being by business card to business card Quick Response Code respective operations Information imports contact person, is to access Quick Response Code record website pages to network address Quick Response Code respective operations, to download information Quick Response Code Respective operations are to download the data of Quick Response Code record network address, are to call third party to answer to third-party application Quick Response Code respective operations With being the text message of two-dimensional code display record to text Quick Response Code respective operations.
In sum, a kind of photographic method with two-dimensional code scanning function and system, the method are embodiments provided And system, when intelligent terminal is opened camera and obtained image information, on the one hand can achieve camera function;On the other hand can To achieve two-dimensional code scanning function, incorporate two-dimensional code scanning function with camera function.And, the method and be System can also carry out corresponding type operations according to the type of identified Quick Response Code, convenient for users.This area is general Technical staff is done any not creative transformation under this design philosophy, is regarded as in protection scope of the present invention Within.

Claims (17)

1. a kind of photographic method with two-dimensional code scanning function is it is characterised in that include:
By camera real-time image acquisition information;
Detect whether to receive photographing instruction;
If receiving photographing instruction, camera is controlled to be taken pictures;
If not receiving photographing instruction, Quick Response Code identification is carried out to acquired image information;
If recognizing Quick Response Code in image information, two-dimensional code display identifies information;
When recognizing described Quick Response Code by inductor detection, whether the displacement acceleration of terminal exceedes acceleration setting value;
If the displacement acceleration of terminal exceedes acceleration setting value when identifying described Quick Response Code, cancel described Quick Response Code identification and carry Show information.
2. there is the photographic method of two-dimensional code scanning function as claimed in claim 1 it is characterised in that:If described do not receive Photographing instruction, then carry out Quick Response Code identification to acquired image information, including:
If not receiving photographing instruction, fixed time intervals carry out Quick Response Code identification to acquired image information.
3. there is the photographic method of two-dimensional code scanning function as claimed in claim 1 it is characterised in that:If described do not receive Photographing instruction, then carry out Quick Response Code identification to acquired image information, including:
If not receiving photographing instruction, Quick Response Code identification is carried out to identification region in acquired image information;Described cog region Domain is the subregion in described image information.
4. there is the photographic method of two-dimensional code scanning function as claimed in claim 3 it is characterised in that:Described identification region is The central area of acquired image information and/or focusing region.
5. there is the photographic method of two-dimensional code scanning function as claimed in claim 1 it is characterised in that:Described Quick Response Code identification It is provided with cancel button in information;Described cancel button is used for cancelling this Quick Response Code identification information.
6. there is the photographic method of two-dimensional code scanning function as claimed in claim 1 it is characterised in that:Described photographic method, Also include:
If described Quick Response Code identification information does not receive operational order in setting time, cancel the identification prompting of this Quick Response Code Information.
7. there is the photographic method of two-dimensional code scanning function as claimed in claim 1 it is characterised in that:If described believe in image Quick Response Code is recognized, then two-dimensional code display identification information in breath, including:
If recognizing Quick Response Code in image information, described Quick Response Code being parsed, obtaining this 2 D code information;
According to acquired 2 D code information, judge the type of this Quick Response Code;
Show the Quick Response Code identification information of described Quick Response Code corresponding types.
8. there is the photographic method of two-dimensional code scanning function as claimed in claim 7 it is characterised in that:Described photographic method, Also include:
According to the operational order that described Quick Response Code is identified with information, the respective operations of execution the type Quick Response Code.
9. a kind of camera system with two-dimensional code scanning function is it is characterised in that include:Image information acquisition unit, take pictures Instruction detection unit, performance element of taking pictures, Quick Response Code recognition unit, information display unit, inductor and prompting message take Disappear unit;
Described image information acquisition unit, for by camera real-time image acquisition information;
Described photographing instruction detector unit, for detecting whether receive photographing instruction;
Described performance element of taking pictures, for when receiving photographing instruction, controlling camera to be taken pictures;
Described Quick Response Code recognition unit, for when not receiving photographing instruction, to acquired in described image information acquisition unit Image information carries out Quick Response Code identification;
Described information display unit, for when described Quick Response Code recognition unit recognizes Quick Response Code in image information, showing Show Quick Response Code identification information;
Described inductor, for when described Quick Response Code recognition unit recognizes described Quick Response Code, the displacement acceleration of detection terminal Whether exceed acceleration setting value;
Described prompting message cancels unit, and displacement terminal is detected for inductor described when recognizing described Quick Response Code accelerates When degree exceedes acceleration setting value, cancel described Quick Response Code and identify information.
10. there is the camera system of two-dimensional code scanning function as claimed in claim 9 it is characterised in that:
Described Quick Response Code recognition unit, for when not receiving photographing instruction, fixed time intervals are to described image acquisition of information Image information acquired in unit carries out Quick Response Code identification.
11. camera systems as claimed in claim 9 with two-dimensional code scanning function it is characterised in that:
Described Quick Response Code recognition unit, for when not receiving photographing instruction, to acquired in described image information acquisition unit In image information, identification region carries out Quick Response Code identification;Described identification region is the subregion in described image information.
12. camera systems as claimed in claim 11 with two-dimensional code scanning function it is characterised in that:Described identification region Central area for acquired image information and/or focusing region.
13. camera systems as claimed in claim 9 with two-dimensional code scanning function it is characterised in that:Described camera system, Also include:Prompting message cancels unit;
Described prompting message is cancelled unit and is provided with cancel button in described Quick Response Code identification information;Described cancel button is used for Cancel this Quick Response Code identification information.
14. camera systems as claimed in claim 9 with two-dimensional code scanning function it is characterised in that:Described camera system, Also include:Prompting message cancels unit;
Described prompting message cancels unit, does not receive operational order for Quick Response Code identification information described in setting time When, cancel this Quick Response Code identification information.
15. camera systems as claimed in claim 9 with two-dimensional code scanning function it is characterised in that:Described information Display unit, including:Quick Response Code parsing module, Quick Response Code type judging module and Quick Response Code information display module;
Described Quick Response Code parsing module, during for recognizing Quick Response Code in image information, parsing to described Quick Response Code, obtaining Take this 2 D code information;
Described Quick Response Code type judging module, for according to acquired 2 D code information, judging the type of this Quick Response Code;
Described Quick Response Code information display module, the Quick Response Code for showing described Quick Response Code corresponding types identifies information.
16. camera systems as claimed in claim 15 with two-dimensional code scanning function it is characterised in that:Described camera system, Also include:Quick Response Code performance element;
Described Quick Response Code performance element, for according to the operational order that described Quick Response Code is identified with information, executing the type two The respective operations of dimension code.
A kind of 17. terminals it is characterised in that:Described terminal includes arbitrary just like claim 9 to 16 described thering is two dimension The camera system of code scan function.
CN201310214867.2A 2013-05-31 2013-05-31 Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function Active CN103279383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310214867.2A CN103279383B (en) 2013-05-31 2013-05-31 Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310214867.2A CN103279383B (en) 2013-05-31 2013-05-31 Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function

Publications (2)

Publication Number Publication Date
CN103279383A CN103279383A (en) 2013-09-04
CN103279383B true CN103279383B (en) 2017-02-08

Family

ID=49061918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310214867.2A Active CN103279383B (en) 2013-05-31 2013-05-31 Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function

Country Status (1)

Country Link
CN (1) CN103279383B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143105A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Graph recognition method, device and system and terminal device
CN103761062B (en) * 2014-01-24 2016-06-22 孔阳 Method for displaying corresponding material in two-dimensional code area and mobile terminal
CN105072141A (en) * 2015-07-02 2015-11-18 丰唐物联技术(深圳)有限公司 Intelligent equipment networking method and intelligent equipment
CN105117676B (en) * 2015-07-27 2017-12-05 立德高科(昆山)数码科技有限责任公司 The method for avoiding two-dimensional code scanning region from sweeping Quick Response Code by mistake
CN105681522A (en) * 2016-02-25 2016-06-15 青岛海信移动通信技术股份有限公司 Electronic business card importing method and mobile terminal
CN108256377A (en) * 2016-03-31 2018-07-06 青岛海信移动通信技术股份有限公司 Two-dimension code image recognition methods and device
CN110678832A (en) 2017-06-02 2020-01-10 苹果公司 Device, method and graphical user interface for processing data encoded in a machine-readable format
CN107644188A (en) * 2017-09-30 2018-01-30 联想(北京)有限公司 A kind of information identifying method and electronic equipment
CN109725699B (en) * 2017-10-20 2022-05-20 荣耀终端有限公司 Identification code identification method, device and equipment
CN110032904B (en) * 2018-01-11 2020-10-23 维沃移动通信有限公司 Graphic code identification method and mobile terminal
CN108632533B (en) * 2018-06-11 2020-07-28 百富计算机技术(深圳)有限公司 Camera control method, mobile terminal and computer readable storage medium
CN113051950B (en) * 2019-12-27 2023-07-18 华为技术有限公司 Multi-bar code identification method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831375A (en) * 2012-04-17 2012-12-19 章云芳 Image signal processor with two-dimensional code identification and two-dimensional code identification method
CN102982302A (en) * 2012-11-06 2013-03-20 广东欧珀移动通信有限公司 A method for automatic identification of two-dimensional codes by mobile phones
CN103020574A (en) * 2012-11-22 2013-04-03 北京握奇数据系统有限公司 OTP (One Time Password) equipment and method combining photographing and bar code indentifying technologies

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8413884B2 (en) * 2011-03-03 2013-04-09 Life In Mobile, Inc. Method and apparatus for dynamically presenting content in response to successive scans of a static code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831375A (en) * 2012-04-17 2012-12-19 章云芳 Image signal processor with two-dimensional code identification and two-dimensional code identification method
CN102982302A (en) * 2012-11-06 2013-03-20 广东欧珀移动通信有限公司 A method for automatic identification of two-dimensional codes by mobile phones
CN103020574A (en) * 2012-11-22 2013-04-03 北京握奇数据系统有限公司 OTP (One Time Password) equipment and method combining photographing and bar code indentifying technologies

Also Published As

Publication number Publication date
CN103279383A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN103279383B (en) Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function
CN101667251B (en) OCR recognition method and device with auxiliary positioning function
CN106294134B (en) The collapse localization method and device of code
CN107357787B (en) Semantic interaction method and device and electronic equipment
CN108491866B (en) Pornographic picture identification method, electronic device and readable storage medium
CN103140862A (en) User interface system and method of operation thereof
CN104486495A (en) Method and device for displaying prompt message of new message at terminal
CN111444850B (en) Picture detection method and related device
CN107729791A (en) Information processing method and electronic equipment
CN112306326A (en) Online self-service conversation method and device, computer equipment and computer readable medium
CN108668241B (en) Information reminding method and device, storage medium and electronic equipment
CN117351462A (en) Construction operation detection model training method, device, equipment and storage medium
CN111539390A (en) Small target image identification method, equipment and system based on Yolov3
CN104598289B (en) A kind of recognition methods and a kind of electronic equipment
CN112492200B (en) Photographing method and device, electronic equipment and storage medium
CN115221452B (en) Portal construction method, system, electronic equipment and medium based on visual configuration
CN114708582B (en) Method and device for intelligent inspection of power data based on AI and RPA
CN112183149B (en) Graphic code processing method and device
CN107643968A (en) Crash log processing method and processing device
CN111104576A (en) Processing method, device and system for webpage identification and electronic equipment
CN111368726B (en) Construction site operation face personnel number statistics method, system, storage medium and device
CN110231960A (en) A kind of target screen determines method, apparatus and storage medium
CN111753617B (en) Wrong question information arranging method, electronic equipment and storage medium
CN109379361B (en) Address label determination method and device
CN113469138A (en) Object detection method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 100085 HAIDIAN, BEIJING

C14 Grant of patent or utility model
GR01 Patent grant