CN107800968B - A kind of image pickup method and mobile terminal - Google Patents

A kind of image pickup method and mobile terminal Download PDF

Info

Publication number
CN107800968B
CN107800968B CN201711078387.2A CN201711078387A CN107800968B CN 107800968 B CN107800968 B CN 107800968B CN 201711078387 A CN201711078387 A CN 201711078387A CN 107800968 B CN107800968 B CN 107800968B
Authority
CN
China
Prior art keywords
camera
shot
motor behavior
shooting
mobile terminal
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
CN201711078387.2A
Other languages
Chinese (zh)
Other versions
CN107800968A (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.)
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 CN201711078387.2A priority Critical patent/CN107800968B/en
Publication of CN107800968A publication Critical patent/CN107800968A/en
Application granted granted Critical
Publication of CN107800968B publication Critical patent/CN107800968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/62Control of parameters via user interfaces
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The present invention provides a kind of image pickup method and mobile terminal, this method comprises: whether the motor behavior for detecting the camera with respect to object to be shot meets preset condition in the moving process of camera;If the motor behavior meets preset condition, start the camera, the object to be shot is shot.In this way, whether the motor behavior by detection camera with respect to object to be shot meets preset condition, to start camera, and shooting of the completion to object to be shot, relative to needing user to remove manually opened camera, and complete to shoot, it can simplify shooting process, solve the problems, such as that there are cumbersome in existing shooting process.

Description

A kind of image pickup method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of image pickup methods and mobile terminal.
Background technique
With the continuous development of mobile terminal technology, more and more users get used to mobile terminal and carry out image bat It takes the photograph.During carrying out image taking using mobile terminal, it is necessary first to which user starts camera application program, pre- into shooting It lookes at interface, then also needs user to select preposition or rear camera, and carry out focus operation, it is complete finally to press shooting button At the shooting of photo, entire shooting process is cumbersome.
As it can be seen that existing shooting process there is a problem of it is cumbersome.
Summary of the invention
The embodiment of the present invention provides a kind of image pickup method and mobile terminal, with solve existing shooting process exist operate it is numerous Trivial problem.
In order to solve the above technical problems, the present invention is implemented as follows: a kind of image pickup method, applied to including camera Mobile terminal, comprising: in the moving process of camera, detect the camera with respect to object to be shot motor behavior whether Meet preset condition;If the motor behavior meets preset condition, start the camera, the object to be shot is carried out Shooting.
In a first aspect, the embodiment of the invention provides a kind of image pickup method, applied to the mobile terminal including camera, packet It includes:
In the moving process of camera, detect the camera whether meet with respect to the motor behavior of object to be shot it is pre- If condition;
If the motor behavior meets preset condition, start the camera, the object to be shot is shot.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including camera, and the mobile terminal also wraps It includes:
First detection module, in the moving process of camera, detecting the camera with respect to object to be shot Whether motor behavior meets preset condition;
Shooting module starts the camera if meeting preset condition for the motor behavior, to described to be captured Object is shot.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory and are stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of existing above-mentioned image pickup method.
In embodiments of the present invention, in the moving process of camera, the camera is detected with respect to object to be shot Whether motor behavior meets preset condition;If the motor behavior meets preset condition, start the camera, to it is described to Shooting object is shot.In this way, whether preset condition is met with respect to the motor behavior of object to be shot by detection camera, Start camera, and complete the shooting to object to be shot, relative to needing user to remove manually opened camera, and completes to clap It takes the photograph, can simplify shooting process, solve the problems, such as that there are cumbersome in existing shooting process.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart for the image pickup method that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides image pickup method flow chart;
Fig. 3 is one of the structure chart of mobile terminal that one embodiment of the invention provides;
Fig. 4 is the structure chart of first detection module in the mobile terminal of one embodiment of the invention offer;
Fig. 5 is the first structure chart for determining submodule in the mobile terminal of one embodiment of the invention offer;
Fig. 6 is the structure chart of shooting module in the mobile terminal of one embodiment of the invention offer;
Fig. 7 is the two of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides mobile terminal structure chart.
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.
Referring to Fig. 1, Fig. 1 it is the flow chart for the image pickup method that one embodiment of the invention provides, as shown in Figure 1, including following Step:
Step 101, in the moving process of camera, the motor behavior for detecting the camera with respect to object to be shot is It is no to meet preset condition.
In the step, camera can be fixed on mobile terminal, and when mobile terminal is moved, camera can also To follow mobile terminal to move simultaneously;And since camera is fixed on mobile terminal, then camera and mobile terminal Movement is synchronous always.
In this way, in the moving process of camera, i.e., it, can in the moving process for the mobile terminal for being equipped with the camera To be to determine by detecting whether the camera meets preset condition relative to the motor behavior of the object of the desired shooting of user It is no to need to open camera, and the object for completing to want user shooting is shot.
Wherein, the motor behavior for meeting preset condition can move along a straight line, curvilinear motion, broken line movement etc., and user can be with Meet the motor behavior of preset condition according to concrete scene setting.
It should be noted that the motion sensor senses on mobile terminal can be passed through in embodiment of the present invention The motor behavior of camera.
If step 102, the motor behavior meet preset condition, start the camera, to the object to be shot It is shot.
In the step, if detecting, the camera meets preset condition with respect to the motor behavior of object to be shot, opens Camera is opened, and object to be shot is shot.
For example, meeting the motor behavior of preset condition for broken line movement, and detect camera object relatively to be captured The motor behavior of body is broken line movement, it is determined that the motor behavior meets preset condition;And camera is opened, to described wait clap Object is taken the photograph to be shot.
In this way, whether meeting preset condition with respect to the motor behavior of object to be shot by detection camera, Lai Qidong is taken the photograph As head, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, and completes to shoot, Ke Yijian Change shooting process, solves the problems, such as to be rapidly completed to object to be shot in existing shooting process there are cumbersome Shooting or Image Acquisition.
In the embodiment of the present invention, above-mentioned mobile terminal can any mobile terminal including camera, such as: it is mobile phone, flat Plate computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) Or wearable device (Wearable Device) etc..
It is relatively to be captured to detect the camera in the moving process of camera for the image pickup method of the embodiment of the present invention Whether the motor behavior of object meets preset condition;If the motor behavior meets preset condition, start the camera, it is right The object to be shot is shot.In this way, whether being met by detection camera with respect to the motor behavior of object to be shot pre- If condition, Lai Qidong camera, and complete shooting to object to be shot, relative to needing user to remove manually opened camera, and Shooting is completed, shooting process is can simplify, solves the problems, such as that there are cumbersome in existing shooting process.
Referring to fig. 2, Fig. 2 be another embodiment of the present invention provides image pickup method flow chart, as shown in Fig. 2, include with Lower step:
Step 201, in the moving process of camera, detect the camera and the object to be shot it is opposite away from From.
In the step, in the moving process of camera, it can be detected by the distance measuring sensor being set on mobile terminal Relative distance between camera and object to be shot.
It should be noted that for the mobile terminal including front camera and rear camera, mobile terminal can be set The preposition distance measuring sensor for detecting distance between front camera and object to be shot is set, and for detecting postposition camera shooting The postposition distance measuring sensor of distance between head and object to be shot.
Wherein, the distance measuring sensor in the embodiment of the present invention can be infrared distance sensor.
Optionally, before step 201, the method, which can also include: detecting whether to exist, acts on fingerprint key Touch control operation.
It, can be by detecting whether to act on the touch control operation of fingerprint key, to trigger step in present embodiment 201.Wherein, if detecting the touch control operation for acting on fingerprint key, step 201 is triggered;Finger is acted on if being not detected The touch control operation of line key, then terminate process.It, can be to avoid to appointing in this way, trigger shooting process by touch fingerprint key What, which meets object to be shot corresponding to the motor behavior of preset condition, is shot, and reduces unrelated shooting, while can also mention Rise user's operation experience.
Step 202, according to the situation of change of the relative distance, determine that the relatively described object to be shot of the camera is It is no to exist first close to rear separate motor behavior.
In the step, camera shooting can be determined according to the situation of change of the relative distance between camera and object to be shot The opposite object to be shot of head is with the presence or absence of first close to rear separate motor behavior.First close rear separate motor behavior if it exists, Then follow the steps 203;First then terminate process close to rear separate motor behavior if it does not exist.
Optionally, if step 202 can also include: detect that the relative distance becomes smaller in first time period, and Detect that the relative distance becomes larger in second time period, it is determined that there are the elder generations close to rear separate fortune for the camera Dynamic behavior;If detecting the relative distance in the first time period less than the first pre-determined distance, and described Detect that the relative distance is greater than the second pre-determined distance in second time period, determining the camera, there are the elder generations after Separate motor behavior;Wherein, the first time period is earlier than the second time period, and second pre-determined distance is greater than institute State the first pre-determined distance.
It, can be by the way that within a preset time period, detection camera be opposite with respect to object to be shot in present embodiment Distance, if detecting, the situation of change of relative distance is first to become smaller to become larger afterwards, and can determining camera, there are above-mentioned elder generation is close Separate motor behavior afterwards;Can also by within a preset time period, detection camera with respect to object to be shot with respect to away from From less than the first pre-determined distance, and detecting that relative distance less than in a certain period after the first pre-determined distance, and examines The relative distance that camera is measured with respect to object to be shot is greater than the second pre-determined distance, then can determine that there are above-mentioned elder generations for camera Close to rear separate motor behavior, wherein the second pre-determined distance is greater than the first pre-determined distance.
Specifically, such as the first pre-determined distance is 5 centimetres, the second preview time is 8 centimetres, in the moving process of camera In, when the relative distance that the opposite object to be shot of camera is detected in first time period is 4 centimetres, then it can determine camera shooting There is the motor behavior close to object to be shot in head;Detect that camera is opposite with respect to object to be shot in second time period Distance be 9 centimetres, then can determine camera exist far from object to be shot motor behavior, wherein first time period earlier than Second time period.It is assured that camera in this way with respect to object to be shot, exists first close to rear separate motor behavior.
It should be noted that in the present embodiment, the first pre-determined distance and the second pre-determined distance, user can be according to reality Border photographed scene is set;First time period and second time period, user can also set according to actual photographed scene.
If there are the elder generations for the relatively described object to be shot of step 203, the camera close to rear separate motor behavior, Then meet preset condition.
Step 204, the starting camera, shoot the object to be shot.
In the step, if detecting, the camera meets preset condition with respect to the motor behavior of object to be shot, opens Camera is opened, and object to be shot is shot.
For example, in the present embodiment, meet the motor behavior of preset condition for first close rear separate motor behavior, and When detect motor behavior of the camera with respect to object to be shot be above-mentioned elder generation close to after separate motor behavior, it is determined that The motor behavior meets preset condition;And camera is opened, the object to be shot is shot.
Optionally, step 204 can also include: the first position coordinate for obtaining the camera, and the first position is sat It is designated as the position coordinates of camera when relative distance minimum of the camera with the object to be shot;It is taken the photograph described in acquisition As the second position coordinate of head, the second position coordinate is the camera during far from the object to be shot, After the camera remains static, the position coordinates of the camera;Start camera, and by shooting preview interface with The first position coordinate and the associated object of second position coordinate, as shooting focus, and according to the shooting focus The object to be shot is shot.
In present embodiment, by obtaining the first position coordinate and second position coordinate of camera, and by first position Coordinate object corresponding in shooting preview interface corresponding with second position coordinate line, as shooting focus, and according to the bat Focus is taken the photograph to shoot object to be shot.
It wherein, can be according to gravity sensor and gyroscope the detection movement being set on mobile terminal in present embodiment Whether terminal is kept in motion, and when detecting mobile terminal stationary state, i.e., when mobile terminal is in stable state, then may be used To start to shoot object to be shot, fuzzy pictures caused by shooting in mobile are avoided the problem that.
It should be added that in camera moving process, the object contacted if it exists with mobile terminal then will be with The object of mobile terminal contact promotes user and shoots experience as focus is shot in shooting process.
The image pickup method of the embodiment of the present invention detects the camera with described wait clap in the moving process of camera Take the photograph the relative distance of object;According to the situation of change of the relative distance, the relatively described object to be shot of the camera is determined With the presence or absence of first close to rear separate motor behavior;If there are the elder generations after for the relatively described object to be shot of the camera Separate motor behavior, then meet preset condition;Start the camera, the object to be shot is shot.In this way, logical It crosses detection camera and whether meets preset condition, Lai Qidong camera with respect to the motor behavior of object to be shot, and complete to treat The shooting for shooting object relative to needing user to remove manually opened camera, and is completed to shoot, can simplify shooting process, solves There is a problem of in existing shooting process cumbersome.
It is the structure chart for the mobile terminal that one embodiment of the invention provides referring to Fig. 3, Fig. 3, as shown in figure 3, mobile terminal 300 include camera, and mobile terminal 300 further includes first detection module 301 and shooting module 302, in which:
First detection module 301, in the moving process of camera, detecting the camera with respect to object to be shot Motor behavior whether meet preset condition;
Shooting module 302 starts the camera if meeting preset condition for the motor behavior, to it is described to Shooting object is shot.
Optionally, as shown in figure 4, the first detection module 301 includes:
Detection sub-module 3011, for detecting the relative distance of the camera Yu the object to be shot;
First determines that submodule 3012 determines that the camera is opposite for the situation of change according to the relative distance The object to be shot is with the presence or absence of first close to rear separate motor behavior;
Second determines submodule 3013, if there are the elder generations after for the relatively described object to be shot of the camera Separate motor behavior, then meet preset condition.
Optionally, as shown in figure 5, described first determines that submodule 3012 includes:
First determination unit 30121, if for detecting that the relative distance becomes smaller in first time period, and Detect that the relative distance becomes larger in two periods, it is determined that there are the elder generations close to rear separate movement row for the camera For;
Second determination unit 30122, if for detecting the relative distance less than first in the first time period Pre-determined distance, and detect that the relative distance is greater than the second pre-determined distance in the second time period, it is taken the photograph described in determination As there are the elder generations close to rear separate motor behavior for head;
Wherein, the first time period is earlier than the second time period, and second pre-determined distance is greater than described first Pre-determined distance.
Optionally, as shown in fig. 6, the shooting module 302 includes:
First acquisition submodule 3021, for obtaining the first position coordinate of the camera, the first position coordinate For the camera and the object to be shot relative distance minimum when the camera position coordinates;
Second acquisition submodule 3022, for obtaining the second position coordinate of the camera, the second position coordinate It is the camera during far from the object to be shot, after the camera remains static, the camera Position coordinates;
Shooting submodule 3023, for starting camera, and by shooting preview interface with the first position coordinate and The associated object of second position coordinate, as shooting focus, and according to the shooting focus to the object to be shot into Row shooting.
Optionally, as shown in fig. 7, the mobile terminal 300 further include:
Second detection module 303, for detecting whether in the presence of the touch control operation for acting on fingerprint key;
The first detection module 301 is specifically used for the touch control operation if it exists, then detect the camera it is opposite to Whether the motor behavior of shooting object meets preset condition.
Mobile terminal 300 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away Exempt to repeat, which is not described herein again.
It is opposite wait clap to detect the camera in the moving process of camera for the mobile terminal 300 of the embodiment of the present invention Whether the motor behavior for taking the photograph object meets preset condition;If the motor behavior meets preset condition, start the camera, The object to be shot is shot.In this way, by detecting whether camera meets with respect to the motor behavior of object to be shot Preset condition, Lai Qidong camera, and complete shooting to object to be shot, relative to needing user to remove manually opened camera, And complete to shoot, it can simplify shooting process, solve the problems, such as that there are cumbersome in existing shooting process.
The hardware structural diagram of Fig. 8 a kind of mobile terminal of each embodiment to realize the present invention, as shown in figure 8, should Mobile terminal 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, Sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, Yi Ji electricity The components such as source 811.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 8 is not constituted to mobile terminal Restriction, mobile terminal may include perhaps combining certain components or different components than illustrating more or fewer components Arrangement.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, Car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810, in the moving process of camera, detecting the camera with respect to object to be shot Motor behavior whether meet preset condition;If the motor behavior meets preset condition, start the camera, to described Object to be shot is shot.
Optionally, the processor 810 is also used to: detecting the relative distance of the camera Yu the object to be shot; According to the situation of change of the relative distance, determine the relatively described object to be shot of the camera with the presence or absence of first close to rear remote From motor behavior;If there are the elder generations for the relatively described object to be shot of the camera close to rear separate motor behavior, Meet preset condition.
Optionally, the processor 810 is also used to: if detecting in first time period, the relative distance becomes smaller, and And detect that the relative distance becomes larger in second time period, it is determined that there are the elder generations close to rear separate for the camera Motor behavior;If detecting the relative distance in the first time period less than the first pre-determined distance, and in institute It states and detects that the relative distance is greater than the second pre-determined distance in second time period, determining the camera, there are the elder generation is close Separate motor behavior afterwards;Wherein, the first time period is earlier than the second time period, and second pre-determined distance is greater than First pre-determined distance.
Optionally, the processor 810 is also used to: obtaining the first position coordinate of the camera, the first position The position coordinates of coordinate camera when being the relative distance minimum of the camera and the object to be shot;Described in acquisition The second position coordinate of camera, the second position coordinate are the camera in the process far from the object to be shot In, after the camera remains static, the position coordinates of the camera;Start camera, and by shooting preview interface In with the first position coordinate and the associated object of second position coordinate, as shooting focus, and according to the shooting Focus shoots the object to be shot.
Optionally, the processor 810 is also used to: detecting whether there is the touch control operation for acting on fingerprint key;If depositing In the touch control operation, then whether the motor behavior for detecting the camera with respect to object to be shot meets preset condition.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
It is opposite wait clap to detect the camera in the moving process of camera for the mobile terminal 800 of the embodiment of the present invention Whether the motor behavior for taking the photograph object meets preset condition;If the motor behavior meets preset condition, start the camera, The object to be shot is shot.In this way, by detecting whether camera meets with respect to the motor behavior of object to be shot Preset condition, Lai Qidong camera, and complete shooting to object to be shot, relative to needing user to remove manually opened camera, And complete to shoot, it can simplify shooting process, solve the problems, such as that there are cumbersome in existing shooting process.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 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 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 802 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 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 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 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 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 801 is converted in the case where telephone calling model.
Mobile terminal 800 further includes at least one sensor 805, 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 8061, and proximity sensor can close when mobile terminal 800 is moved in one's ear Display panel 8061 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 805 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 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 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 8061.
User input unit 807 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 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, 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 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 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 810, receiving area It manages the order that device 810 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 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 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 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display Panel 8061 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 8071 and display panel 8061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with mobile terminal 800.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 808 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 800 or can be used in 800 He of mobile terminal Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 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 809 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 810 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 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 810 may include one or more processing units;Preferably, processor 810 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 810.
Mobile terminal 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 800 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 810, and memory 809 is stored in On memory 809 and the computer program that can run on the processor 810, the computer program are executed by processor 810 Each process of the above-mentioned image pickup method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
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 above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation 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 (9)

1. a kind of image pickup method, applied to the mobile terminal including camera characterized by comprising
In the moving process of camera, the camera is detected with respect to the motor behavior of object to be shot and whether meets default item Part;
If the motor behavior meets preset condition, start the camera, the object to be shot is shot;
Wherein, the starting camera, the step of shooting to the object to be shot, comprising:
The first position coordinate of the camera is obtained, the first position coordinate is the camera and the object to be shot Relative distance minimum when the camera position coordinates;
The second position coordinate of the camera is obtained, the second position coordinate is the camera far from described to be captured During object, after the camera remains static, the position coordinates of the camera;
Start camera, and by the line phase in shooting preview interface with the first position coordinate and the second position coordinate The object of friendship as shooting focus, and shoots the object to be shot according to the shooting focus.
2. the method according to claim 1, wherein fortune of the detection camera with respect to object to be shot The step of whether dynamic behavior meets preset condition, comprising:
Detect the relative distance of the camera Yu the object to be shot;
According to the situation of change of the relative distance, determine the relatively described object to be shot of the camera with the presence or absence of first close Separate motor behavior afterwards;
If there are the elder generations for the relatively described object to be shot of the camera close to rear separate motor behavior, meet default item Part.
3. according to the method described in claim 2, it is characterized in that, the situation of change according to the relative distance, determines The relatively described object to be shot of the camera with the presence or absence of first close to rear separate motor behavior the step of, comprising:
If detecting in first time period, the relative distance becomes smaller, and detect in second time period it is described it is opposite away from From becoming larger, it is determined that there are the elder generations close to rear separate motor behavior for the camera;Or
If detecting the relative distance in the first time period less than the first pre-determined distance, and in second time Detect that the relative distance is greater than the second pre-determined distance in section, determining the camera, there are the elder generations close to rear separate fortune Dynamic behavior;
Wherein, the first time period is earlier than the second time period, and second pre-determined distance is greater than described first and presets Distance.
4. according to the method in any one of claims 1 to 3, which is characterized in that the detection camera it is opposite to Before the step of whether motor behavior of shooting object meets preset condition, the method also includes:
Detect whether there is the touch control operation for acting on fingerprint key;
The step of whether the detection camera meets preset condition with respect to the motor behavior of object to be shot, comprising:
The touch control operation if it exists then detects the camera with respect to the motor behavior of object to be shot and whether meets default item Part.
5. a kind of mobile terminal, including camera, which is characterized in that the mobile terminal further include:
First detection module, in the moving process of camera, detecting movement of the camera with respect to object to be shot Whether behavior meets preset condition;
Shooting module starts the camera if meeting preset condition for the motor behavior, to the object to be shot It is shot;
Wherein, the shooting module includes:
First acquisition submodule, for obtaining the first position coordinate of the camera, the first position coordinate is described takes the photograph The position coordinates of camera when as the relative distance minimum of head and the object to be shot;
Second acquisition submodule, for obtaining the second position coordinate of the camera, the second position coordinate is described takes the photograph Picture head is during far from the object to be shot, and after the camera remains static, the position of the camera is sat Mark;
Shooting submodule, for starting camera, and by shooting preview interface with the first position coordinate and described second The object of the line intersection of position coordinates carries out the object to be shot as shooting focus, and according to the shooting focus Shooting.
6. mobile terminal according to claim 5, which is characterized in that the first detection module includes:
Detection sub-module, for detecting the relative distance of the camera Yu the object to be shot;
First determines submodule, for the situation of change according to the relative distance, determines that the camera is relatively described wait clap Object is taken the photograph with the presence or absence of first close to rear separate motor behavior;
Second determines submodule, if there are the elder generations close to rear separate fortune for the relatively described object to be shot of the camera Dynamic behavior, then meet preset condition.
7. mobile terminal according to claim 6, which is characterized in that described first determines that submodule includes:
First determination unit, if for detecting that the relative distance becomes smaller in first time period, and in second time period Inside detect that the relative distance becomes larger, it is determined that there are the elder generations close to rear separate motor behavior for the camera;
Second determination unit, if for detected in the first time period relative distance less than the first pre-determined distance, And detect that the relative distance is greater than the second pre-determined distance in the second time period, determining the camera, there are institutes It states first close to rear separate motor behavior;
Wherein, the first time period is earlier than the second time period, and second pre-determined distance is greater than described first and presets Distance.
8. mobile terminal according to any one of claims 5 to 7, which is characterized in that the mobile terminal further include:
Second detection module, for detecting whether in the presence of the touch control operation for acting on fingerprint key;
The first detection module is specifically used for the touch control operation if it exists, then detects camera object relatively to be captured Whether the motor behavior of body meets preset condition.
9. a kind of mobile terminal, it is in feature, including processor, memory and is stored on the memory and can be in institute The computer program run on processor is stated, such as Claims 1-4 is realized when the computer program is executed by the processor Any one of described in image pickup method the step of.
CN201711078387.2A 2017-11-06 2017-11-06 A kind of image pickup method and mobile terminal Active CN107800968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711078387.2A CN107800968B (en) 2017-11-06 2017-11-06 A kind of image pickup method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711078387.2A CN107800968B (en) 2017-11-06 2017-11-06 A kind of image pickup method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107800968A CN107800968A (en) 2018-03-13
CN107800968B true CN107800968B (en) 2019-10-15

Family

ID=61549034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711078387.2A Active CN107800968B (en) 2017-11-06 2017-11-06 A kind of image pickup method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107800968B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337381B (en) 2018-03-14 2019-11-19 维沃移动通信有限公司 A kind of lens control method and mobile terminal
CN110035231B (en) * 2019-05-21 2021-01-05 北京字节跳动网络技术有限公司 Shooting method, device, equipment and medium
CN114554069A (en) * 2020-11-24 2022-05-27 深圳市万普拉斯科技有限公司 Terminal, task running method and device thereof, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205016A (en) * 2014-02-27 2014-12-10 华为终端有限公司 Photographing method and mobile terminal
CN104541498A (en) * 2014-05-29 2015-04-22 华为技术有限公司 Image acquisition method and device
CN105138124A (en) * 2015-08-25 2015-12-09 努比亚技术有限公司 Device and method for processing information
CN105516602A (en) * 2016-01-12 2016-04-20 广东欧珀移动通信有限公司 Shooting method and device of mobile terminal
CN106713665A (en) * 2017-02-08 2017-05-24 上海与德信息技术有限公司 Method and device for quickly turning on camera
CN106851118A (en) * 2017-04-05 2017-06-13 深圳天珑无线科技有限公司 Camera control method and device
CN107277364A (en) * 2017-07-20 2017-10-20 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205016A (en) * 2014-02-27 2014-12-10 华为终端有限公司 Photographing method and mobile terminal
CN104541498A (en) * 2014-05-29 2015-04-22 华为技术有限公司 Image acquisition method and device
CN105138124A (en) * 2015-08-25 2015-12-09 努比亚技术有限公司 Device and method for processing information
CN105516602A (en) * 2016-01-12 2016-04-20 广东欧珀移动通信有限公司 Shooting method and device of mobile terminal
CN106713665A (en) * 2017-02-08 2017-05-24 上海与德信息技术有限公司 Method and device for quickly turning on camera
CN106851118A (en) * 2017-04-05 2017-06-13 深圳天珑无线科技有限公司 Camera control method and device
CN107277364A (en) * 2017-07-20 2017-10-20 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN107800968A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN108536411A (en) A kind of method for controlling mobile terminal and mobile terminal
CN107592459A (en) A kind of photographic method and mobile terminal
CN109862258A (en) A kind of image display method and terminal device
CN109246360A (en) A kind of reminding method and mobile terminal
CN109743498A (en) A kind of shooting parameter adjustment method and terminal device
CN109348020A (en) A kind of photographic method and mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN110213440A (en) A kind of images share method and terminal
CN108984082A (en) A kind of image display method and mobile terminal
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN109688253A (en) A kind of image pickup method and terminal
CN108076294B (en) A kind of image pickup method and mobile terminal
CN110290331A (en) A kind of screen control method and terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN107800968B (en) A kind of image pickup method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN108833796A (en) A kind of image capturing method and terminal
CN109491230A (en) A kind of clocking method and electronic equipment
CN108924422A (en) A kind of panorama photographic method and mobile terminal
CN109033913A (en) A kind of recognition methods of identification code and mobile terminal
CN109192153A (en) A kind of terminal and terminal control method
CN108881721A (en) A kind of display methods and terminal
CN108509141A (en) A kind of generation method and mobile terminal of control
CN108174110A (en) A kind of photographic method and flexible screen terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant