CN109033913A - A kind of recognition methods of identification code and mobile terminal - Google Patents

A kind of recognition methods of identification code and mobile terminal Download PDF

Info

Publication number
CN109033913A
CN109033913A CN201810826622.8A CN201810826622A CN109033913A CN 109033913 A CN109033913 A CN 109033913A CN 201810826622 A CN201810826622 A CN 201810826622A CN 109033913 A CN109033913 A CN 109033913A
Authority
CN
China
Prior art keywords
identification code
photographing module
resolution
distance
module
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.)
Pending
Application number
CN201810826622.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810826622.8A priority Critical patent/CN109033913A/en
Publication of CN109033913A publication Critical patent/CN109033913A/en
Pending legal-status Critical Current

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (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)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of recognition methods of identification code and mobile terminal, the recognition methods includes: to obtain the distance between identification code and the photographing module;When the distance is less than or equal to pre-determined distance threshold value, the photographing module is controlled with first resolution and scans the identification code;When the distance is greater than the pre-determined distance threshold value, the photographing module is controlled with second resolution and scans the identification code, wherein the second resolution is greater than the first resolution;Identify the identification code scanned.By means of the invention it is possible to promote the recognition speed and discrimination of mobile terminal identification identification code.

Description

A kind of recognition methods of identification code and mobile terminal
Technical field
The present invention relates to the recognition methods of the communications field more particularly to a kind of identification code and mobile terminals.
Background technique
With the development of science and technology and the increase of people's demand, the integrated function of mobile terminal (for example, mobile phone) is increasingly It is more.Critical elements one of of the camera as mobile terminal, by other than, are answered in addition to as basic camera function of taking pictures Frequency for carrying out the scanning of identification code (for example, two dimensional code) is also higher and higher.
During realizing the embodiment of the present invention, inventors have found that being taken the photograph when mobile terminal identifies identification code As head can be very different the recognition speed and accuracy of the information of identification code under the identification code different distance, therefore, It is necessary to provide a kind of recognition methods of identification code, to promote the recognition speed and discrimination of identification code.
Summary of the invention
The embodiment of the present invention provides recognition methods and the mobile terminal of a kind of identification code, to promote mobile terminal identification identification The recognition speed and discrimination of code.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, a kind of recognition methods of identification code is provided, it is described applied to the mobile terminal with photographing module Method includes:
Obtain the distance between identification code and the photographing module;
When the distance is less than or equal to pre-determined distance threshold value, control described in the photographing module scans with first resolution Identification code;
When the distance is greater than the pre-determined distance threshold value, control described in the photographing module scans with second resolution Identification code, wherein the second resolution is greater than the first resolution;
Identify the identification code scanned.
Second aspect provides a kind of mobile terminal, including photographing module, the mobile terminal further include:
Module is obtained, for obtaining the distance between identification code and the photographing module;
Control module, for controlling the photographing module with first when the distance is less than or equal to pre-determined distance threshold value Identification code described in resolution scan controls the photographing module when the distance is greater than the pre-determined distance threshold value with second Identification code described in resolution scan, wherein the second resolution is greater than the first resolution;
Identification module, the identification code scanned for identification.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, by the difference according to the distance between identification code and photographing module, with different points Resolution scanning recognition code, and then improve the discrimination and recognition speed of identification identification code.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of the recognition methods for the identification code that one embodiment of the present of invention provides;
Fig. 2 be another embodiment of the present invention provides identification code recognition methods flow diagram;
Fig. 3 is the structural schematic diagram for the mobile terminal that one embodiment of the present of invention provides;
Fig. 4 be another embodiment of the present invention provides mobile terminal structural schematic diagram;
Fig. 5 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of the recognition methods for the identification code that one embodiment of the present of invention provides, as shown in Figure 1 The recognition methods of identification code the described method comprises the following steps applied to the terminal with photographing module:
Step 101 obtains the distance between identification code and photographing module.
Wherein, identification code can include the bar code of information, the letter for including for one-dimension code (for example, bar code), two dimensional code etc. Breath can be picture, network linking etc..
Step 102, when distance be less than or equal to pre-determined distance threshold value when, control photographing module with first resolution scanning recognition Code.
Step 103, when distance be greater than pre-determined distance threshold value when, control photographing module with second resolution scanning recognition code. Wherein, second resolution is greater than first resolution.
Illustratively, second resolution is 3876*2584 (10,000,000 pixel), and first resolution is 2580*1936 (500 Ten thousand pixels), certainly, according to practical application, second resolution and first resolution may be other reasonable numerical value.
The identification code that step 104, identification scan.
It through this embodiment, can be according to the difference of the distance between identification code and photographing module, at varying resolutions Scanning recognition code, and then improve the discrimination and recognition speed of identification identification code.
Fig. 2 be another embodiment of the present invention provides identification code recognition methods flow diagram, it is shown in Fig. 2 Embodiment and above-mentioned embodiment shown in FIG. 1 the difference is that, after step 104, can also include:
Step 105, when being identified successfully to the identification code scanned, display with the associated information of identification code.
User can according to being paid with the associated information of identification code of display, registration information, addition good friend, anti-fake look into Ask etc..Specifically, associated information can be picture, network linking etc..
As shown in Fig. 2, after step 104, can also include:
When to the identification code recognition failures scanned, return step 101.
By this embodiment, after scanning to identification code, corresponding operation can be executed according to scanning result.
In one embodiment of the present invention, before above-mentioned steps 101, may include:
The photographing module is controlled with first frequency to being scanned in its visual field, and obtains scanning result;
Above-mentioned steps 101 may include:
Determine that there are when identification code, obtain in the visual field existing identification code and take the photograph in the visual field according to scanning result As the distance between module.
Wherein, visual field is the regional scope that can be scanned and identify.
By this embodiment, compared to the prior art in carry out it is a series of triggering barcode scanning functions operations (for example, point Hit APP application icon-selection barcode scanning function) scheme that just can be carried out barcode scanning, by control photographing module with first frequency to it It is scanned in visual field, and is judged automatically in visual field according to scanning result there are when identification code, be based on identification code and photographing module The distance between selection first resolution or second resolution scanning recognition code so that not needing user carries out a series of triggerings The operation of barcode scanning function, it will be able to there are when identification code in the visual field of photographing module, scan and identify identification code.
Specifically, determining that there are identification codes in the visual field of photographing module when identification code characteristic point is arrived in scanning.For example, working as When scanning two dimensional code characteristic point, determine that there are two dimensional codes in the visual field of photographing module.
In one embodiment of the present invention, specifically, photographing module can be controlled in the case where putting out screen state with first frequency To being scanned in its visual field.It is corresponding, when being identified successfully to the identification code scanned, lights screen and show on the screen With the associated information of identification code.
By this embodiment, so that user does not have to be unlocked and does not have to carry out a series of triggerings in the case where putting out screen state The operation of barcode scanning function, it will be able to barcode scanning is carried out using mobile terminal, reduces the operation of user, it is whole using movement convenient for user End carries out barcode scanning.
In one embodiment of the present invention, the control photographing module is with first resolution scanning recognition code, comprising: control Photographing module processed is with first resolution second frequency scanning recognition code;Photographing module is controlled with second resolution scanning recognition code, It include: control photographing module with second resolution third frequency scanning identification code;Wherein, second frequency is greater than first frequency, the Three frequencies are greater than first frequency.
By this embodiment, first frequency is less than second frequency of the photographing module with first resolution scanning recognition code when Whether third frequency when with photographing module with second resolution scanning recognition code, can reduce in photographing module scanning field of view and deposit In the power consumption of identification code, and then it can reduce the power consumption of mobile terminal identification identification code.
In one embodiment of the present invention, the photographing module include two photosensitive units, above-mentioned acquisition identification code with The step of the distance between photographing module may include:
According to the phase information that two photosensitive units obtain respectively, the depth letter of identification code in photographing module visual field is obtained Breath;
According to depth information, the distance between identification code and photographing module are obtained.
By this embodiment, depth information is calculated using phase information, and calculate identification code using depth information and take the photograph As the distance between module, the distance between identification code and photographing module can be more accurately determined, so that can be more It adequately determines the resolution ratio of scanning recognition code, and then further promotes the accuracy rate and recognition speed of scanning recognition code.
Specifically, above-mentioned photographing module can be the camera shooting with 2PD (Phase Detection, phase-detection) function Head.
Fig. 3 is the structural schematic diagram for the mobile terminal that one embodiment of the present of invention provides.As shown in figure 3, mobile terminal Other than including photographing module 21, the mobile terminal further include:
Module 22 is obtained, for obtaining the distance between identification code and the photographing module 21;
Control module 23, for when the distance be less than or equal to pre-determined distance threshold value when, control the photographing module 21 with First resolution scans the identification code, when the distance is greater than the pre-determined distance threshold value, controls the photographing module 21 The identification code is scanned with second resolution, wherein the second resolution is greater than the first resolution;
Identification module 24, the identification code scanned for identification.
In one embodiment of the present invention, the control module 23, is also used to:
The photographing module 21 is controlled with first frequency to being scanned in its visual field, and obtains scanning result;
The acquisition module 22, is specifically used for:
Determine that there are when identification code, determine existing identification code and institute in the visual field in the visual field according to scanning result State the distance between photographing module 21.
In one embodiment of the present invention, the control module 23, is specifically used for:
It controls the photographing module and the identification code is scanned with the first resolution second frequency;
It controls the photographing module and the identification code is frequency scanned with the second resolution third;
Wherein, the second frequency is greater than the first frequency, and the third frequency is greater than the first frequency.
In one embodiment of the present invention, the photographing module 21 include two photosensitive units, the acquisition module 22, It is specifically used for:
According to the phase information that described two photosensitive units obtain respectively, the identification in 21 visual field of photographing module is obtained The depth information of code;
According to the depth information, the distance between the identification code and the photographing module 21 are obtained.
Fig. 4 be another embodiment of the present invention provides mobile terminal structural schematic diagram.Mobile end as shown in Figure 4 End with mobile terminal shown in Fig. 3 the difference is that, mobile terminal shown in Fig. 4 can also include:
Display module 25, for when identifying successfully to the identification code scanned, display to be associated with the identification code Information.
Mobile terminal provided in an embodiment of the present invention can be realized what mobile terminal in the embodiment of the method for Fig. 1, Fig. 2 was realized Each process, to avoid repeating, which is not described herein again.Mobile terminal provided by the invention, by according to identification code and camera shooting mould The difference of the distance between block, scanning recognition code at varying resolutions, and then improve discrimination and the knowledge of identification identification code Other speed.
Fig. 5 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention, the mobile terminal 300 Including but not limited to: radio frequency unit 301, audio output unit 303, input unit 304, sensor 305, is shown network module 302 Show the components such as unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 310 are used for:
Obtain the distance between identification code and the photographing module;
When the distance is less than or equal to pre-determined distance threshold value, control described in the photographing module scans with first resolution Identification code;
When the distance is greater than the pre-determined distance threshold value, control described in the photographing module scans with second resolution Identification code, wherein the second resolution is greater than the first resolution;
Identify the identification code scanned.
Mobile terminal provided by the invention, by the difference according to the distance between identification code and photographing module, with difference Resolution scan identification code, and then improve identification identification code discrimination and recognition speed.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 300 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 5, touch panel 3071 and display Panel 3061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 308 is the interface that external device (ED) is connect with mobile terminal 300.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 300 or can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage Data in device 309 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 310, and memory 309 is stored in On memory 309 and the computer program that can run on the processor 310, the computer program are executed by processor 310 Each process of the recognition methods embodiment of the above-mentioned identification code of Shi Shixian, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of the recognition methods embodiment of above-mentioned identification code when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of recognition methods of identification code, applied to the mobile terminal with photographing module, which is characterized in that the method packet It includes:
Obtain the distance between identification code and the photographing module;
When the distance is less than or equal to pre-determined distance threshold value, the photographing module is controlled with first resolution and scans the identification Code;
When the distance is greater than the pre-determined distance threshold value, the photographing module is controlled with second resolution and scans the identification Code, wherein the second resolution is greater than the first resolution;
Identify the identification code scanned.
2. the method as described in claim 1, which is characterized in that the distance between the acquisition identification code and the photographing module Before, further includes:
The photographing module is controlled with first frequency to being scanned in its visual field, and obtains scanning result;
The distance between the acquisition identification code and the photographing module, comprising:
Determine that there are when identification code, obtain existing identification code and institute in the visual field in the visual field according to the scanning result State the distance between photographing module.
3. method according to claim 2, which is characterized in that the control photographing module scans institute with first resolution State identification code, comprising:
It controls the photographing module and the identification code is scanned with the first resolution second frequency;
The control photographing module scans the identification code with second resolution, comprising:
It controls the photographing module and the identification code is frequency scanned with the second resolution third;
Wherein, the second frequency is greater than the first frequency, and the third frequency is greater than the first frequency.
4. the method as described in claim 1, which is characterized in that after the identification code that the identification scans, further includes:
When being identified successfully to the identification code scanned, display and the associated information of the identification code.
5. the method as described in claim 1, which is characterized in that the photographing module includes two photosensitive units, the acquisition The distance between identification code and the photographing module, comprising:
According to the phase information that described two photosensitive units obtain respectively, the depth of the identification code in the photographing module visual field is obtained Spend information;
According to the depth information, the distance between the identification code and the photographing module are obtained.
6. a kind of mobile terminal, including photographing module, which is characterized in that the mobile terminal further include:
Module is obtained, for obtaining the distance between identification code and the photographing module;
Control module, for controlling the photographing module and being differentiated with first when the distance is less than or equal to pre-determined distance threshold value Rate scans the identification code, when the distance is greater than the pre-determined distance threshold value, controls the photographing module and differentiates with second Rate scans the identification code, wherein the second resolution is greater than the first resolution;
Identification module, the identification code scanned for identification.
7. mobile terminal as claimed in claim 6, which is characterized in that the control module is also used to:
The photographing module is controlled with first frequency to being scanned in its visual field, and obtains scanning result;
The acquisition module, is specifically used for:
Determine that there are when identification code, obtain existing identification code and institute in the visual field in the visual field according to the scanning result State the distance between photographing module.
8. mobile terminal as claimed in claim 7, which is characterized in that the control module is specifically used for:
It controls the photographing module and the identification code is scanned with the first resolution second frequency;
It controls the photographing module and the identification code is frequency scanned with the second resolution third;
Wherein, the second frequency is greater than the first frequency, and the third frequency is greater than the first frequency.
9. mobile terminal as claimed in claim 6, which is characterized in that further include:
Display module, for showing and the associated information of the identification code when being identified successfully to the identification code scanned.
10. mobile terminal as claimed in claim 6, which is characterized in that the photographing module includes two photosensitive units, described Module is obtained, is specifically used for:
According to the phase information that described two photosensitive units obtain respectively, the depth of the identification code in the photographing module visual field is obtained Spend information;
According to the depth information, the distance between the identification code and the photographing module are obtained.
11. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in method the step of.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the step of method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor.
CN201810826622.8A 2018-07-25 2018-07-25 A kind of recognition methods of identification code and mobile terminal Pending CN109033913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810826622.8A CN109033913A (en) 2018-07-25 2018-07-25 A kind of recognition methods of identification code and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810826622.8A CN109033913A (en) 2018-07-25 2018-07-25 A kind of recognition methods of identification code and mobile terminal

Publications (1)

Publication Number Publication Date
CN109033913A true CN109033913A (en) 2018-12-18

Family

ID=64645155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810826622.8A Pending CN109033913A (en) 2018-07-25 2018-07-25 A kind of recognition methods of identification code and mobile terminal

Country Status (1)

Country Link
CN (1) CN109033913A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020221009A1 (en) * 2019-04-28 2020-11-05 维沃移动通信有限公司 Code scanning method and mobile terminal
US11128798B2 (en) 2019-08-13 2021-09-21 Asustek Computer Inc. Display device and control method thereof
WO2022227200A1 (en) * 2021-04-27 2022-11-03 东莞市小精灵教育软件有限公司 Method and apparatus for adjusting resolution during image capture, and smart device
WO2024045867A1 (en) * 2022-09-02 2024-03-07 浙江宇视科技有限公司 Camera rapid exposure method and apparatus, electronic device, and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693408A (en) * 2012-04-11 2012-09-26 广州市钛码电子科技有限公司 Micro laser scanning device and portable terminal thereof
CN104484645A (en) * 2014-11-14 2015-04-01 华中科技大学 Human-computer interaction-oriented '1' gesture-recognition method and system
CN106339653A (en) * 2016-08-24 2017-01-18 乐视控股(北京)有限公司 QR code scanning processing method and QR code scanning processing device
US9560272B2 (en) * 2014-03-24 2017-01-31 Samsung Electronics Co., Ltd. Electronic device and method for image data processing
CN106407868A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Two-dimensional scanning processing method and mobile terminal
CN107590469A (en) * 2017-09-18 2018-01-16 维沃移动通信有限公司 A kind of method for detecting human face and mobile terminal
CN108174619A (en) * 2015-09-30 2018-06-15 株式会社尼康 Photographing element and photographic device
CN108280384A (en) * 2017-12-30 2018-07-13 广州市钛码电子科技有限公司 A kind of two-dimensional code identification method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693408A (en) * 2012-04-11 2012-09-26 广州市钛码电子科技有限公司 Micro laser scanning device and portable terminal thereof
US9560272B2 (en) * 2014-03-24 2017-01-31 Samsung Electronics Co., Ltd. Electronic device and method for image data processing
CN104484645A (en) * 2014-11-14 2015-04-01 华中科技大学 Human-computer interaction-oriented '1' gesture-recognition method and system
CN108174619A (en) * 2015-09-30 2018-06-15 株式会社尼康 Photographing element and photographic device
CN106339653A (en) * 2016-08-24 2017-01-18 乐视控股(北京)有限公司 QR code scanning processing method and QR code scanning processing device
CN106407868A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Two-dimensional scanning processing method and mobile terminal
CN107590469A (en) * 2017-09-18 2018-01-16 维沃移动通信有限公司 A kind of method for detecting human face and mobile terminal
CN108280384A (en) * 2017-12-30 2018-07-13 广州市钛码电子科技有限公司 A kind of two-dimensional code identification method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020221009A1 (en) * 2019-04-28 2020-11-05 维沃移动通信有限公司 Code scanning method and mobile terminal
US11128798B2 (en) 2019-08-13 2021-09-21 Asustek Computer Inc. Display device and control method thereof
WO2022227200A1 (en) * 2021-04-27 2022-11-03 东莞市小精灵教育软件有限公司 Method and apparatus for adjusting resolution during image capture, and smart device
WO2024045867A1 (en) * 2022-09-02 2024-03-07 浙江宇视科技有限公司 Camera rapid exposure method and apparatus, electronic device, and medium

Similar Documents

Publication Publication Date Title
CN108427876A (en) A kind of fingerprint identification method and mobile terminal
CN108989668A (en) A kind of working method and mobile terminal of camera
CN108594942A (en) A kind of personal identification method and mobile terminal
CN109033913A (en) A kind of recognition methods of identification code and mobile terminal
CN109005336A (en) A kind of image capturing method and terminal device
CN109743503A (en) Reminding method and terminal
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN109523253A (en) A kind of method of payment and device
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN110110571A (en) A kind of barcode scanning method and mobile terminal
CN109144228A (en) A kind of fingerprint identification method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109005355A (en) A kind of image pickup method and mobile terminal
CN109819166A (en) A kind of image processing method and electronic equipment
CN109451144A (en) A kind of message treatment method and terminal device
CN109544172A (en) A kind of display methods and terminal device
CN107908983A (en) A kind of method and mobile terminal for controlling mobile terminal screen
CN107800968B (en) A kind of image pickup method and mobile terminal
CN109274957A (en) A kind of depth image image pickup method and mobile terminal
CN109858447A (en) A kind of information processing method and terminal
CN109976844A (en) A kind of message display method and mobile terminal
CN109639981A (en) A kind of image capturing method and mobile terminal
CN109348035A (en) A kind of recognition methods of telephone number and terminal device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218