CN107800968A - 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
CN107800968A
CN107800968A CN201711078387.2A CN201711078387A CN107800968A CN 107800968 A CN107800968 A CN 107800968A CN 201711078387 A CN201711078387 A CN 201711078387A CN 107800968 A CN107800968 A CN 107800968A
Authority
CN
China
Prior art keywords
camera
shot
mobile terminal
motor behavior
relative distance
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.)
Granted
Application number
CN201711078387.2A
Other languages
Chinese (zh)
Other versions
CN107800968B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The present invention, which provides a kind of image pickup method and mobile terminal, this method, to be included:In the moving process of camera, whether the motor behavior for detecting the camera with respect to object to be shot meets preparatory condition;If the motor behavior meets preparatory condition, start the camera, the object to be shot is shot.So, by detecting whether camera meets preparatory condition with respect to the motor behavior of object to be shot, to start camera, and complete the shooting to object to be shot, manually opened camera is removed relative to user is needed, and complete to shoot, shooting flow can be simplified, solve the problems, such as to exist in existing shooting process cumbersome.

Description

A kind of image pickup method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of image pickup method and mobile terminal.
Background technology
With the continuous development of mobile terminal technology, increasing user gets used to mobile terminal and carries out image bat Take the photograph.During image taking is carried out using mobile terminal, it is necessary first to which user starts camera application program, pre- into shooting Look at interface, then also need to user and select preposition or rear camera, and carry out focus operation, it is complete finally to press shooting button Into the shooting of photo, whole shooting process is cumbersome.
It can be seen that there is the problem of cumbersome in existing shooting process.
The content of the invention
The embodiment of the present invention provides a kind of image pickup method and mobile terminal, numerous in the presence of operating to solve existing shooting process The problem of trivial.
In order to solve the above technical problems, what the present invention was realized in:A kind of image pickup method, applied to including camera Mobile terminal, including:In the moving process of camera, detect the camera with respect to object to be shot motor behavior whether Meet preparatory condition;If the motor behavior meets preparatory condition, start the camera, the object to be shot is carried out Shooting.
In a first aspect, the embodiments of the invention provide a kind of image pickup method, applied to the mobile terminal including camera, bag Include:
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 preparatory 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 Include:
First detection module, in the moving process of camera, detecting the camera with respect to object to be shot Whether motor behavior meets preparatory condition;
Taking module, if meeting preparatory condition for the motor behavior, start the camera, 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 On memory and the computer program that can run on the processor, the computer program is by real during the computing device 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 preparatory condition;If the motor behavior meets preparatory condition, start the camera, treated to described Shooting object is shot.So, by detecting whether camera meets preparatory condition with respect to the motor behavior of object to be shot, To start camera, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, and complete to clap Take the photograph, shooting flow can be simplified, solve the problems, such as to exist in existing shooting process cumbersome.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart for the image pickup method that one embodiment of the invention provides;
Fig. 2 is the flow chart for the image pickup method that another embodiment of the present invention provides;
Fig. 3 is one of 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 that one embodiment of the invention provides;
Fig. 5 is the structure chart of the first determination sub-module in the mobile terminal that one embodiment of the invention provides;
Fig. 6 is the structure chart of taking module in the mobile terminal that one embodiment of the invention provides;
Fig. 7 is the two of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 8 is the structure chart for the mobile terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 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 preparatory condition.
In the step, camera can be fixed on mobile terminal, and when mobile terminal moves, camera also may be used To follow mobile terminal to move simultaneously;And because camera is fixed on mobile terminal, then camera and mobile terminal Movement is synchronous all the time.
So, i.e., can in the moving process of mobile terminal of the camera is installed in the moving process of camera Whether preparatory condition is met with the motor behavior for the object for wanting to shoot relative to user by detecting the camera, to determine to be 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 preparatory condition can move along a straight line, curvilinear motion, broken line motion etc., user can be with Meet the motor behavior of preparatory condition according to concrete scene setting.
It should be noted that in embodiment of the present invention, the motion sensor senses on mobile terminal can be passed through The motor behavior of camera.
If step 102, the motor behavior meet preparatory condition, start the camera, to the object to be shot Shot.
In the step, if detecting, the camera meets preparatory 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 meet that the motor behavior of preparatory condition moves for broken line, and detect camera thing relatively to be captured The motor behavior of body moves for broken line, it is determined that the motor behavior meets preparatory condition;And camera is opened, wait to clap to described Object is taken the photograph to be shot.
So, by detecting whether camera meets preparatory condition with respect to the motor behavior of object to be shot, taken the photograph to start As head, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, and complete to shoot, Ke Yijian Change shooting flow, solve the problems, such as to exist in existing shooting process cumbersome, can also be rapidly completed to object to be shot Shooting or IMAQ.
In the embodiment of the present invention, above-mentioned mobile terminal can with any mobile terminal including camera, such as:Mobile phone, put down 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..
The image pickup method of the embodiment of the present invention, in the moving process of camera, it is relatively to be captured to detect the camera Whether the motor behavior of object meets preparatory condition;If the motor behavior meets preparatory condition, start the camera, it is right The object to be shot is shot.So, by detect camera with respect to object to be shot motor behavior whether meet it is pre- If condition, to start camera, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, and Shooting is completed, shooting flow can be simplified, solves the problems, such as to exist in existing shooting process cumbersome.
Referring to Fig. 2, Fig. 2 be another embodiment of the present invention provide image pickup method flow chart, as shown in Fig. 2 including with Lower step:
Step 201, in the moving process of camera, detect the camera and the object to be shot it is relative away from From.
In the step, in the moving process of camera, it can be detected by the distance measuring sensor on mobile terminal Relative distance between camera and object to be shot.
It should be noted that the mobile terminal for 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 put, and for detecting rearmounted shooting The rearmounted 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, methods described can also include:Detect whether to exist and act on fingerprint button Touch control operation.
, can be by detecting whether to act on the touch control operation of fingerprint button, to trigger step in present embodiment 201.Wherein, if detecting the touch control operation for acting on fingerprint button, step 201 is triggered;Finger is acted on if being not detected by The touch control operation of line button, then terminate flow.So, shooting flow is triggered by touching fingerprint button, can avoided to appointing What meets that the object to be shot corresponding to the motor behavior of preparatory condition is shot, and reduces unrelated shooting, while can also carry Rise user's operating experience.
Step 202, the situation of change according to 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 remote motor behavior.
, can be according to the situation of change of the relative distance between camera and object to be shot, it is determined that shooting in the step The relative object to be shot of head is with the presence or absence of first close to rear remote motor behavior.If first close rear remote motor behavior be present, Then perform step 203;If in the absence of first close rear remote motor behavior, terminate flow.
Optionally, step 202 can also include:If being detected in first time period, the relative distance diminishes, and Detect that the relative distance becomes big in second time period, it is determined that the camera has the elder generation close to rear remote fortune Dynamic behavior;If or detect that the relative distance is less than the first pre-determined distance in the first time period, and described Detect that the relative distance is more than the second pre-determined distance in second time period, determine that the camera has the elder generation after Remote motor behavior;Wherein, the first time period is earlier than the second time period, and second pre-determined distance is more than institute State the first pre-determined distance.
, can be by the way that within the default period, detection camera be relative with respect to object to be shot in present embodiment Distance, if detecting, the situation of change of relative distance becomes big afterwards first to diminish, and it is close can to determine that camera has above-mentioned elder generation Remote motor behavior afterwards;Can also by within the default period, detection camera with respect to object to be shot with respect to away from From less than the first pre-determined distance, and within a certain period after detecting that relative distance is less than the first pre-determined distance, examine again The relative distance that camera is measured with respect to object to be shot is more than the second pre-determined distance, then can determine that camera has above-mentioned elder generation Close to rear remote motor behavior, wherein, the second pre-determined distance is more 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 relative object to be shot of camera is detected in first time period is 4 centimetres, then it can determine to image The motor behavior close to object to be shot be present in head;Detect that camera is relative with respect to object to be shot in second time period Distance be 9 centimetres, then can determine camera exist away from object to be shot motor behavior, wherein, first time period earlier than Second time period.So it is assured that camera with respect to object to be shot, is present first close to rear remote 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 be set according to actual photographed scene.
If the elder generation be present close to rear remote motor behavior in the relatively described object to be shot of step 203, the camera, Then meet preparatory condition.
Step 204, start the camera, the object to be shot is shot.
In the step, if detecting, the camera meets preparatory 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, the motor behavior for meeting preparatory condition is first close rear remote motor behavior, and When detect the camera with respect to object to be shot motor behavior for above-mentioned elder generation close to after remote motor behavior, it is determined that The motor behavior meets preparatory condition;And camera is opened, the object to be shot is shot.
Optionally, step 204 can also include:The first position coordinate of the camera is obtained, the first position is sat It is designated as the position coordinates of the camera during relative distance minimum of the camera and the object to be shot;Taken the photograph described in acquisition As the second place coordinate of head, the second place coordinate is the camera away from during 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 object of second place coordinate association, 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 place coordinate of camera, and by first position Coordinate object corresponding in shooting preview interface corresponding with second place coordinate line, as shooting focus, and according to the bat Focus is taken the photograph to shoot object to be shot.
Wherein, can be according to the gravity sensor on mobile terminal and gyroscope detection movement in present embodiment Whether terminal is kept in motion, and when detecting mobile terminal inactive state, i.e., when mobile terminal is in stable state, then may be used To start to shoot object to be shot, avoid it is mobile in shoot caused by fuzzy pictures the problem of.
It should be added that in camera moving process, if in the presence of the object contacted with mobile terminal, will be with The object of mobile terminal contact shoots experience as focus, lifting user is shot in shooting process.
The image pickup method of the embodiment of the present invention, in the moving process of camera, detect the camera and wait to clap with described 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 remote motor behavior;If there is the elder generation after in the relatively described object to be shot of the camera Remote motor behavior, then meet preparatory condition;Start the camera, the object to be shot is shot.So, lead to Cross whether detection camera meets preparatory condition with respect to the motor behavior of object to be shot, to start camera, and complete to treat The shooting of object is shot, relative to needing user to remove manually opened camera, and completes to shoot, shooting flow can be simplified, is solved The problem of cumbersome be present in existing shooting process.
Referring to Fig. 3, Fig. 3 is the structure chart for the mobile terminal that one embodiment of the invention provides, as shown in figure 3, mobile terminal 300 include camera, and mobile terminal 300 also includes first detection module 301 and taking module 302, wherein:
First detection module 301, in the moving process of camera, detecting the camera with respect to object to be shot Motor behavior whether meet preparatory condition;
Taking module 302, if meeting preparatory condition for the motor behavior, start the camera, treated to described 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 and the object to be shot;
First determination sub-module 3012, for the situation of change according to the relative distance, determine that the camera is relative The object to be shot is with the presence or absence of first close to rear remote motor behavior;
Second determination sub-module 3013, if the elder generation be present after for the relatively described object to be shot of the camera Remote motor behavior, then meet preparatory condition.
Optionally, as shown in figure 5, first determination sub-module 3012 includes:
First determining unit 30121, if for detecting that the relative distance diminishes in first time period, and Detect that the relative distance becomes big in two periods, it is determined that the camera has the elder generation close to rear remote motion row For;
Second determining unit 30122, if for detecting that the relative distance is less than first in the first time period Pre-determined distance, and detect that the relative distance is more than the second pre-determined distance in the second time period, it is determined that described take the photograph As head has the elder generation close to rear remote motor behavior;
Wherein, the first time period is earlier than the second time period, and second pre-determined distance is more than described first Pre-determined distance.
Optionally, as shown in fig. 6, the taking 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 place coordinate of the camera, the second place coordinate It is the camera away from during 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 object of the second place coordinate association, the object to be shot is entered as shooting focus, and according to the shooting focus Row shooting.
Optionally, as shown in fig. 7, the mobile terminal 300 also includes:
Second detection module 303, for detecting whether in the presence of the touch control operation for acting on fingerprint button;
The first detection module 301, if specifically for the touch control operation being present, detecting the camera and treating relatively Whether the motor behavior of shooting object meets preparatory condition.
Mobile terminal 300 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 2 embodiment of the method, to keep away Exempt to repeat, repeat no more here.
The mobile terminal 300 of the embodiment of the present invention, in the moving process of camera, detect the camera and wait to clap relatively Whether the motor behavior for taking the photograph object meets preparatory condition;If the motor behavior meets preparatory condition, start the camera, The object to be shot is shot.So, by detecting whether camera meets with respect to the motor behavior of object to be shot Preparatory condition, to start camera, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, And complete to shoot, shooting flow can be simplified, solve the problems, such as to exist in existing shooting process cumbersome.
Fig. 8 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, as shown in figure 8, should Mobile terminal 800 includes but is not limited to:Radio frequency unit 801, mixed-media network modules mixed-media 802, audio output unit 803, input block 804, Sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, Yi Ji electricity The grade part of source 811.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 8 is not formed to mobile terminal Restriction, mobile terminal can include than illustrating more or less parts, either combine some parts or different parts Arrangement.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, 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 preparatory condition;If the motor behavior meets preparatory condition, start the camera, to described Object to be shot is shot.
Optionally, the processor 810 is additionally operable to:Detect the relative distance of the camera and 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 the elder generation be present close to rear remote motor behavior in the relatively described object to be shot of the camera, Meet preparatory condition.
Optionally, the processor 810 is additionally operable to:If being detected in first time period, the relative distance diminishes, and And detect that the relative distance becomes big in second time period, it is determined that the camera has the elder generation close to rear remote Motor behavior;If or detect that the relative distance is less than the first pre-determined distance in the first time period, and in institute State and detect that the relative distance is more than the second pre-determined distance in second time period, it is close to determine that the camera has the elder generation Remote motor behavior afterwards;Wherein, the first time period is earlier than the second time period, and second pre-determined distance is more than First pre-determined distance.
Optionally, the processor 810 is additionally operable to:Obtain the first position coordinate of the camera, the first position The position coordinates of camera when coordinate is the relative distance minimum of the camera and the object to be shot;Described in acquisition The second place coordinate of camera, the second place coordinate are the camera in the process away 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 the object that is associated with the first position coordinate and the second place coordinate, as shooting focus, and according to the shooting Focus is shot to the object to be shot.
Optionally, the processor 810 is additionally operable to:Detect whether the touch control operation for acting on fingerprint button be present;If deposit In the touch control operation, then whether the motor behavior for detecting the camera with respect to object to be shot meets preparatory condition.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 800 of the embodiment of the present invention, in the moving process of camera, detect the camera and wait to clap relatively Whether the motor behavior for taking the photograph object meets preparatory condition;If the motor behavior meets preparatory condition, start the camera, The object to be shot is shot.So, by detecting whether camera meets with respect to the motor behavior of object to be shot Preparatory condition, to start camera, and the shooting to object to be shot is completed, relative to needing user to remove manually opened camera, And complete to shoot, shooting flow can be simplified, solve the problems, such as to exist in existing shooting process cumbersome.
It should be understood that in the embodiment of the present invention, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 810;In addition, will be up Data are sent to base station.Generally, 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 has provided the user wireless broadband internet by mixed-media network modules mixed-media 802 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be receiving by radio frequency unit 801 or mixed-media network modules mixed-media 802 or in memory 809 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 803 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 800 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input block 804 is used to receive audio or video signal.Input block 804 can include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 806.Picture frame after the processing of graphics processor 8041 can be deposited Storage is transmitted in memory 809 (or other storage mediums) or via radio frequency unit 801 or mixed-media network modules mixed-media 802.Mike Wind 8042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 801 by being converted in the case of telephone calling model.
Mobile terminal 800 also 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 transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity transducer can close when mobile terminal 800 is moved in one's ear Display panel 8061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 806 is used for the information for showing the information inputted by user or being supplied to 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) configures display panel 8061.
User input unit 807 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 807 include contact panel 8071 and Other input equipments 8072.Contact panel 8071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 8071 or in contact panel 8071 Neighbouring operation).Contact panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and 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 Manage the order that device 810 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 8071.Except contact 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, action bars, will not be repeated here.
Further, contact panel 8071 can be covered on display panel 8061, when contact 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 touch The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, contact panel 8071 and display Panel 8061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 8071 and display panel 8061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 808 is the interface that external device (ED) is connected with mobile terminal 800.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 808 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 800 can be used in the He of mobile terminal 800 Data are transmitted between external device (ED).
Memory 809 can be used for storage software program and various data.Memory 809 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 809 can include high-speed random access memory, 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 whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 809, and call and be stored in storage Data in device 809, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio 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) to all parts power supply, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 800 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 810, memory 809, is stored in On memory 809 and the computer program that can be run on the processor 810, the computer program are performed by processor 810 Each process of the above-mentioned image pickup method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording 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 technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (11)

  1. A kind of 1. image pickup method, applied to the mobile terminal including camera, it is characterised in that including:
    In the moving process of camera, detect whether the camera meets default bar with respect to the motor behavior of object to be shot Part;
    If the motor behavior meets preparatory condition, start the camera, the object to be shot is shot.
  2. 2. according to the method for claim 1, it is characterised in that fortune of the detection camera with respect to object to be shot The step of whether dynamic behavior meets preparatory condition, including:
    Detect the relative distance of the camera and 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 Remote motor behavior afterwards;
    If the relatively described object to be shot of the camera has the elder generation close to rear remote motor behavior, meet default bar Part.
  3. 3. according to the method for claim 2, it is characterised in that the situation of change according to the relative distance, it is determined that The relatively described object to be shot of the camera with the presence or absence of first close to rear remote motor behavior the step of, including:
    If being detected in first time period, the relative distance diminishes, and detect in second time period it is described it is relative away from It is big from becoming, it is determined that the camera has the elder generation close to rear remote motor behavior;Or
    If being detected in the first time period, the relative distance is less than the first pre-determined distance, and in second time Detect that the relative distance is more than the second pre-determined distance in section, determine that the camera has the elder generation close to rear remote fortune Dynamic behavior;
    Wherein, the first time period is earlier than the second time period, and second pre-determined distance is more than described first and preset Distance.
  4. 4. according to the method in any one of claims 1 to 3, it is characterised in that it is described to start the camera, to described The step of object to be shot is shot, including:
    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 place coordinate of the camera is obtained, the second place coordinate is the camera away from described to be captured During object, after the camera remains static, the position coordinates of the camera;
    Start camera, and the thing that will be associated in shooting preview interface with the first position coordinate and the second place coordinate Body, the object to be shot is shot as shooting focus, and according to the shooting focus.
  5. 5. according to the method in any one of claims 1 to 3, it is characterised in that the detection camera is relative to be treated Before the step of whether motor behavior of shooting object meets preparatory condition, methods described also includes:
    Detect whether the touch control operation for acting on fingerprint button be present;
    The step of whether the detection camera meets preparatory condition with respect to the motor behavior of object to be shot, including:
    If the touch control operation be present, detect whether the camera meets default bar with respect to the motor behavior of object to be shot Part.
  6. 6. a kind of mobile terminal, including camera, it is characterised in that the mobile terminal also includes:
    First detection module, in the moving process of camera, detecting motion of the camera with respect to object to be shot Whether behavior meets preparatory condition;
    Taking module, if meeting preparatory condition for the motor behavior, start the camera, to the object to be shot Shot.
  7. 7. mobile terminal according to claim 6, it is characterised in that the first detection module includes:
    Detection sub-module, for detecting the relative distance of the camera and the object to be shot;
    First determination sub-module, for the situation of change according to the relative distance, determine that the camera is relatively described and wait to clap Object is taken the photograph with the presence or absence of first close to rear remote motor behavior;
    Second determination sub-module, if the elder generation be present close to rear remote fortune for the relatively described object to be shot of the camera Dynamic behavior, then meet preparatory condition.
  8. 8. mobile terminal according to claim 7, it is characterised in that first determination sub-module includes:
    First determining unit, if for detecting that the relative distance diminishes in first time period, and in second time period Inside detect that the relative distance becomes big, it is determined that the camera has the elder generation close to rear remote motor behavior;
    Second determining unit, if for detecting that the relative distance is less than the first pre-determined distance in the first time period, And detect that the relative distance is more than the second pre-determined distance in the second time period, determine that the camera has institute State first close to rear remote motor behavior;
    Wherein, the first time period is earlier than the second time period, and second pre-determined distance is more than described first and preset Distance.
  9. 9. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the taking module includes:
    First acquisition submodule, for obtaining the first position coordinate of the camera, the first position coordinate is taken the photograph to be described The position coordinates of camera during as the relative distance minimum of head and the object to be shot;
    Second acquisition submodule, for obtaining the second place coordinate of the camera, the second place coordinate is taken the photograph to be described Picture head is during away 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 position coordinates association, the object to be shot is shot as shooting focus, and according to the shooting focus.
  10. 10. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the mobile terminal also includes:
    Second detection module, for detecting whether in the presence of the touch control operation for acting on fingerprint button;
    The first detection module, if specifically for the touch control operation be present, detect camera thing relatively to be captured Whether the motor behavior of body meets preparatory condition.
  11. 11. a kind of mobile terminal, it is in its feature, including processor, memory and is stored on the memory and can be The computer program run on the processor, the computer program are realized such as claim 1 during the computing device The step of to image pickup method any one of 5.
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 true CN107800968A (en) 2018-03-13
CN107800968B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233167A1 (en) * 2019-05-21 2020-11-26 北京字节跳动网络技术有限公司 Method, apparatus and device for image capture, and medium
US11297239B2 (en) 2018-03-14 2022-04-05 Vivo Mobile Communication Co., Ltd. Lens control method and mobile terminal
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11297239B2 (en) 2018-03-14 2022-04-05 Vivo Mobile Communication Co., Ltd. Lens control method and mobile terminal
WO2020233167A1 (en) * 2019-05-21 2020-11-26 北京字节跳动网络技术有限公司 Method, apparatus and device for image capture, and medium
CN114554069A (en) * 2020-11-24 2022-05-27 深圳市万普拉斯科技有限公司 Terminal, task running method and device thereof, and storage medium

Also Published As

Publication number Publication date
CN107800968B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN107509038A (en) A kind of image pickup method and mobile terminal
CN107592459A (en) A kind of photographic method and mobile terminal
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN108471498A (en) A kind of shooting preview method and terminal
CN110213440B (en) Image sharing method and terminal
CN107566748A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107817939A (en) A kind of image processing method and mobile terminal
CN107833178A (en) A kind of image processing method, device and mobile terminal
CN107704086A (en) A kind of mobile terminal operating method and mobile terminal
CN108108007A (en) A kind of processing method and mobile terminal for reducing power consumption
CN107808084A (en) A kind of touch operation method and mobile terminal
CN109388304A (en) A kind of screenshotss method and terminal device
CN107888728A (en) A kind of mobile terminal and the image pickup method based on the mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN107800821A (en) One kind prevents motor and shake sub-resonance method and mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN107608606A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107832601A (en) A kind of application control method and mobile terminal
CN107682637A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN107749046A (en) A kind of image processing method and mobile terminal
CN109743503A (en) Reminding method and terminal
CN107800968A (en) A kind of image pickup method and mobile 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