CN104914995A - Photographing method and terminal - Google Patents

Photographing method and terminal Download PDF

Info

Publication number
CN104914995A
CN104914995A CN201510260831.7A CN201510260831A CN104914995A CN 104914995 A CN104914995 A CN 104914995A CN 201510260831 A CN201510260831 A CN 201510260831A CN 104914995 A CN104914995 A CN 104914995A
Authority
CN
China
Prior art keywords
camera
rotation
terminal
target
destination object
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
CN201510260831.7A
Other languages
Chinese (zh)
Other versions
CN104914995B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510260831.7A priority Critical patent/CN104914995B/en
Publication of CN104914995A publication Critical patent/CN104914995A/en
Application granted granted Critical
Publication of CN104914995B publication Critical patent/CN104914995B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a photographing method and a terminal. The method includes the steps that posture information of a target object is detected; according to the posture information of the target object, and the target rotation angle of a camera is determined; the camera is controlled to rotate by the target rotation angle, and photographing is carried out. According to the method, the photographing angle of the camera can be automatically adjusted according to the posture of the target object, the intelligent degree during photographing is improved, and practicality of the terminal is improved.

Description

A kind of photographic method and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of photographic method and terminal.
Background technology
Day by day universal along with terminals such as smart mobile phone, panel computer, digital cameras, in view of the portability of above-mentioned terminal and the progressively raising of image quality, utilizes above-mentioned terminal to carry out taking pictures and become the first-selection of more and more user.In existing technical scheme, user needs to regulate the attitude of above-mentioned terminal and the attitude of self just can take the gratifying photo of effect usually, but in most cases user to be difficult to terminal and self-regulation to optimum posture to take the good photo of effect, to reduce taking pictures of user and experience and the practicality of terminal.
Summary of the invention
Embodiments provide a kind of photographic method and terminal, automatically can regulate the photo angle of camera according to the attitude of destination object, and then improve intelligence degree when taking pictures, promote the practicality of terminal.
Embodiment of the present invention first aspect provides a kind of photographic method, comprising:
The attitude information of detected target object;
According to the described attitude information of described destination object, determine the target anglec of rotation of camera;
Control described camera rotate the described target anglec of rotation and take pictures.
In conjunction with first aspect, in the first possible implementation of first aspect, the described described attitude information according to described destination object, determine the target anglec of rotation of camera, comprising:
According to the described attitude information of described destination object, determine the target rotational position of camera;
Utilize the current location of described camera and described target rotational position, calculate the target anglec of rotation of described camera.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, the described camera of described control rotates the described target anglec of rotation and takes pictures, and comprising:
According to current angular and the described target rotational position of described camera, determine the sense of rotation of described camera;
According to described sense of rotation, control described camera and rotate the described target anglec of rotation and take pictures.
In conjunction with first aspect, in the third possible implementation of first aspect, the described camera of described control rotates the described target anglec of rotation and takes pictures, and comprising:
Determine and the target rotational speed that the described target anglec of rotation is mated;
With described target rotational speed, control described camera and rotate the described target anglec of rotation and take pictures.
In conjunction with in first aspect to the third possible implementation of first aspect any one, in the 4th kind of possible implementation of first aspect, the attitude information of described destination object comprise in the motion state of described destination object and the relative position of described destination object and described camera one or more.
Embodiment of the present invention second aspect provides a kind of terminal, comprising:
Detection module, for the attitude information of detected target object;
Determination module, for the described attitude information of described destination object detected according to described detection module, determines the target anglec of rotation of camera;
Control module, rotates the described target anglec of rotation that described determination module determines for controlling described camera and takes pictures.
In conjunction with second aspect, in the first possible implementation of second aspect, described determination module comprises:
First determining unit, for the described attitude information according to described destination object, determines the target rotational position of camera;
Computing unit, for utilizing the current location of described camera and described target rotational position, calculates the target anglec of rotation of described camera.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described control module comprises:
Second determining unit, for according to the current angular of described camera and described target rotational position, determines the sense of rotation of described camera;
First control module, for according to described sense of rotation, controls described camera and rotates the described target anglec of rotation and take pictures.
In conjunction with second aspect, in the third possible implementation of second aspect, described control module comprises:
3rd determining unit, for determining and the target rotational speed that the described target anglec of rotation is mated;
Second control module, for described target rotational speed, controls described camera and rotates the described target anglec of rotation and take pictures.
In conjunction with in second aspect to the third possible implementation of second aspect any one, in the 4th kind of possible implementation of second aspect, the attitude information of described destination object comprise in the motion state of described destination object and the relative position of described destination object and described camera one or more.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target anglec of rotation of the attitude information determination camera of this destination object, control this camera rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Terminal in the embodiment of the present invention can comprise possess camera function smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, digital camera, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Referring to Fig. 1, is the first embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides.Photographic method described in the present embodiment, comprises the following steps:
The attitude information of S101, terminal detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object is utilized to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal is opened camera applications and after enabling camera, is caught the image of taking pictures in angular field of view by camera in real time, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
S102, terminal, according to the described attitude information of described destination object, determine the target anglec of rotation of camera.
Concrete, after terminal detects the attitude information of destination object, the relative position of the motion state of the destination object that attitude information comprises, destination object and camera is resolved, determine the target rotational position (i.e. good picture-taking position) of camera, and then utilize current location and the target rotational position of camera, calculate the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
Camera described in S103, terminal control rotates the described target anglec of rotation and takes pictures.
Concrete, terminal according to the sense of rotation of the current location of camera with above-mentioned target rotational position determination camera, and then rotates the above-mentioned target anglec of rotation according to above-mentioned sense of rotation control camera, and utilizes camera to take pictures.
In the embodiment that some are feasible, according to the value of the target anglec of rotation, terminal can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then terminal rotates with the camera of rotational speed control faster; If the target anglec of rotation is low-angle, then terminal controls camera rotation with slower rotational speed.
In the embodiment that some are feasible, terminal can arrange the rotational speed matched with the value of the target anglec of rotation, and controls camera with the rotational speed matched with the value of the target anglec of rotation and rotate.Such as, by the rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
In the embodiment that some are feasible, automatically can trigger after camera rotates the above-mentioned target anglec of rotation and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
For example, destination object is terminal and terminal user, terminal user opens camera applications and after terminal enables camera, terminal utilizes gravity sensor, range sensor, the attitude information of the pick-up unit detections such as infrared sensor self and terminal user, when terminal detects that terminal user is in prone position (as lying low), terminal can control camera and rotate to make camera to be in close to vertical state (if the angle of camera and surface level is between 85 degree ~ 105 degree) upward, such as, camera is current is 45 degree with the angle of surface level, then the target anglec of rotation can between 40 degree ~ 60 degree, thus terminal control camera rotates the above-mentioned target anglec of rotation, terminal user is made not need to stand up freely to take pictures to the people of surrounding or thing.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target anglec of rotation of the attitude information determination camera of this destination object, control this camera rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 2, is the second embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides.Photographic method described in the present embodiment, comprises the following steps:
The attitude information of S201, terminal detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object is utilized to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal is opened camera applications and after enabling camera, is caught the image of taking pictures in angular field of view by camera in real time, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
S202, terminal, according to the described attitude information of described destination object, determine the target rotational position of camera.
Concrete, after terminal detects the attitude information of destination object, the relative position of the motion state of the destination object that attitude information comprises, destination object and camera is resolved, determines the target rotational position (i.e. good picture-taking position) of camera.Such as, when destination object is photograph subject, if terminal detects photograph subject, present position is lower, then terminal can determine that the target rotational position of camera is the assigned address of partial below, can ensure that whole or as much as possible the falling into of photograph subject is taken pictures in angular field of view when namely camera rotates to the assigned address of partial below.
S203, terminal utilize the current location of described camera and described target rotational position, calculate the target anglec of rotation of described camera.
Concrete, terminal utilizes current location and the target rotational position of camera, calculates the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
S204, terminal, according to the current angular of described camera and described target rotational position, determine the sense of rotation of described camera.
S205, terminal, according to described sense of rotation, control described camera and rotate the described target anglec of rotation and take pictures.
Concrete, terminal according to the sense of rotation of the current location of camera with above-mentioned target rotational position determination camera, and then rotates the above-mentioned target anglec of rotation according to above-mentioned sense of rotation control camera, and utilizes camera to take pictures.
In the embodiment that some are feasible, after the terminal control camera rolling target anglec of rotation, low-angle rotation (namely finely tuning) can be carried out, to ensure that camera is in preferably picture-taking position according to the position control camera of destination object in the preview interface of camera applications.
In the embodiment that some are feasible, according to the value of the target anglec of rotation, terminal can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then terminal rotates with the camera of rotational speed control faster; If the target anglec of rotation is low-angle, then terminal controls camera rotation with slower rotational speed.
In the embodiment that some are feasible, terminal can arrange the rotational speed matched with the value of the target anglec of rotation, and controls camera with the rotational speed matched with the value of the target anglec of rotation and rotate.Such as, by the rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
In the embodiment that some are feasible, automatically can trigger after camera rotates the above-mentioned target anglec of rotation and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target rotational position of the attitude information determination camera of this destination object, and utilize the current location of this camera and this target rotational position to calculate the target anglec of rotation of this camera, and then the sense of rotation of this camera is determined according to the current angular of this camera and this target rotational position, control this camera according to this sense of rotation rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 3, is the 3rd embodiment schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides.Photographic method described in the present embodiment, comprises the following steps:
The attitude information of S301, terminal detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object is utilized to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal is opened camera applications and after enabling camera, is caught the image of taking pictures in angular field of view by camera in real time, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
S302, terminal, according to the described attitude information of described destination object, determine the target anglec of rotation of camera.
Concrete, after terminal detects the attitude information of destination object, the relative position of the motion state of the destination object that attitude information comprises, destination object and camera is resolved, determine the target rotational position (i.e. good picture-taking position) of camera, and then utilize current location and the target rotational position of camera, calculate the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
S303, terminal are determined and the target rotational speed that the described target anglec of rotation is mated.
Concrete, according to the value of the target anglec of rotation, terminal can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then terminal arranges target rotational speed faster; If the target anglec of rotation is low-angle, then terminal arranges slower target rotational speed.
In the embodiment that some are feasible, terminal can arrange the target rotational speed matched with the value of the target anglec of rotation, such as, by the target rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
S304, terminal, with described target rotational speed, control described camera and rotate the described target anglec of rotation and take pictures.
Concrete, terminal controls camera according to above-mentioned target rotational speed and rotates the above-mentioned target anglec of rotation, and utilizes camera to take pictures.
In the embodiment that some are feasible, automatically can trigger after camera rotates the above-mentioned target anglec of rotation and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target anglec of rotation of the attitude information determination camera of this destination object, determine the target rotational speed of mating with this target anglec of rotation, and control this camera with this target rotational speed and rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: detection module 10, determination module 20 and control module 30, wherein:
Detection module 10, for the attitude information of detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, detection module 10 utilizes the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal opens camera applications and after enabling camera, detection module 10 catches the image of taking pictures in angular field of view in real time by camera, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal opens camera applications and after enabling camera, detection module 10 utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
Determination module 20, for the described attitude information of described destination object detected according to described detection module, determines the target anglec of rotation of camera.
Concrete, after detection module 10 detects the attitude information of destination object, the relative position of the motion state of the destination object comprised by determination module 20 pairs of attitude informations, destination object and camera is resolved, determine the target rotational position (i.e. good picture-taking position) of camera, and then utilize current location and the target rotational position of camera, calculate the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
Control module 30, rotates the described target anglec of rotation that described determination module determines for controlling described camera and takes pictures.
Concrete, control module 30 according to the sense of rotation of the current location of camera with above-mentioned target rotational position determination camera, and then rotates the above-mentioned target anglec of rotation according to above-mentioned sense of rotation control camera, and utilizes camera to take pictures.
In the embodiment that some are feasible, according to the value of the target anglec of rotation, control module 30 can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then control module 30 rotates with the camera of rotational speed control faster; If the target anglec of rotation is low-angle, then control module 30 controls camera rotation with slower rotational speed.
In the embodiment that some are feasible, control module 30 can arrange the rotational speed matched with the value of the target anglec of rotation, and controls camera with the rotational speed matched with the value of the target anglec of rotation and rotate.Such as, by the rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
In the embodiment that some are feasible, after camera rotates the above-mentioned target anglec of rotation, control module 30 automatically can trigger and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
For example, destination object is terminal and terminal user, terminal user opens camera applications and after terminal enables camera, detection module 10 utilizes gravity sensor, range sensor, the attitude information of the pick-up unit detections such as infrared sensor self and terminal user, when detection module 10 detects that terminal user is in prone position (as lying low), control module 30 can control camera and rotate to make camera to be in close to vertical state (if the angle of camera and surface level is between 85 degree ~ 105 degree) upward, such as, camera is current is 45 degree with the angle of surface level, then the target anglec of rotation can be located between 40 degree ~ 60 degree by determination module 20, thus control camera by control module 30 and rotate the above-mentioned target anglec of rotation, terminal user is made not need to stand up freely to take pictures to the people of surrounding or thing.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target anglec of rotation of the attitude information determination camera of this destination object, control this camera rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: detection module 10, determination module 20 and control module 30, wherein:
Detection module 10, for the attitude information of detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, detection module 10 utilizes the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal opens camera applications and after enabling camera, detection module 10 catches the image of taking pictures in angular field of view in real time by camera, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal opens camera applications and after enabling camera, detection module 10 utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
Determination module 20, for the described attitude information of described destination object detected according to described detection module, determines the target anglec of rotation of camera.
Described determination module 20 specifically comprises the first determining unit 201 and computing unit 202, wherein:
First determining unit 201, for the described attitude information according to described destination object, determines the target rotational position of camera.
Concrete, after detection module 10 detects the attitude information of destination object, the relative position of the motion state of the destination object that the first determining unit 201 pairs attitude information comprises, destination object and camera is resolved, and determines the target rotational position (i.e. good picture-taking position) of camera.Such as, when destination object is photograph subject, if detection module 10 detects that photograph subject present position is lower, then the first determining unit 201 can determine that the target rotational position of camera is the assigned address of partial below, can ensure that whole or as much as possible the falling into of photograph subject is taken pictures in angular field of view when namely camera rotates to the assigned address of partial below.
Computing unit 202, for utilizing the current location of described camera and described target rotational position, calculates the target anglec of rotation of described camera.
Concrete, computing unit 202 utilizes current location and the target rotational position of camera, calculates the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
Control module 30, rotates the described target anglec of rotation that described determination module determines for controlling described camera and takes pictures.
Described control module 30 specifically comprises the second determining unit 301 and the first control module 302, wherein:
Second determining unit 301, for according to the current angular of described camera and described target rotational position, determines the sense of rotation of described camera;
First control module 302, for according to described sense of rotation, controls described camera and rotates the described target anglec of rotation and take pictures.
Concrete, second determining unit 301 is according to the sense of rotation of the current location of camera and above-mentioned target rotational position determination camera, and then rotate the above-mentioned target anglec of rotation by the first control module 302 according to above-mentioned sense of rotation control camera, and camera is utilized to take pictures.
In the embodiment that some are feasible, after first control module 302 controls the camera rolling target anglec of rotation, low-angle rotation (namely finely tuning) can be carried out, to ensure that camera is in preferably picture-taking position according to the position control camera of destination object in the preview interface of camera applications.
In the embodiment that some are feasible, according to the value of the target anglec of rotation, the first control module 302 can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then the first control module 302 rotates with the camera of rotational speed control faster; If the target anglec of rotation is low-angle, then the first control module 302 controls camera rotation with slower rotational speed.
In the embodiment that some are feasible, the first control module 302 can arrange the rotational speed matched with the value of the target anglec of rotation, and controls camera with the rotational speed matched with the value of the target anglec of rotation and rotate.Such as, by the rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
In the embodiment that some are feasible, after camera rotates the above-mentioned target anglec of rotation, the first control module 302 automatically can trigger and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target rotational position of the attitude information determination camera of this destination object, and utilize the current location of this camera and this target rotational position to calculate the target anglec of rotation of this camera, and then the sense of rotation of this camera is determined according to the current angular of this camera and this target rotational position, control this camera according to this sense of rotation rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 6, is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: detection module 10, determination module 20 and control module 30, wherein:
Detection module 10, for the attitude information of detected target object.
Wherein, above-mentioned destination object can be photograph subject, and can be also terminal and terminal user, the embodiment of the present invention limit.Above-mentioned attitude information comprise in the motion state of destination object and the relative position of destination object and camera one or more.
It should be noted that, terminal user also can be photograph subject.
Concrete, user take pictures demand time, can be opened a terminal the camera applications of installing, after terminal enables camera, detection module 10 utilizes the pick-up unit of configuration and the attitude of image recognition analysis technology to destination object to detect, to obtain the attitude informations such as the relative position of the motion state of destination object, destination object and camera.
When destination object is photograph subject, terminal opens camera applications and after enabling camera, detection module 10 catches the image of taking pictures in angular field of view in real time by camera, and resolves the attitude informations such as the motion state of the Image Acquisition photograph subject captured by camera.
When destination object be terminal and terminal user time, terminal opens camera applications and after enabling camera, detection module 10 utilizes the attitudes of pick-up unit to terminal self such as the motion state detection device of configuration to detect, and utilize the attitude of the pick-up units such as position detector to terminal user of configuration to detect, to obtain the attitude information such as relative position of the motion state of terminal self, terminal user and camera.
Wherein, motion state detection sensor specifically can comprise 3-axis acceleration sensor, gravity sensor, inertial sensor, gyroscope etc., and position-detection sensor specifically can comprise range sensor, displacement transducer etc.
Determination module 20, for the described attitude information of described destination object detected according to described detection module, determines the target anglec of rotation of camera.
Concrete, after detection module 10 detects the attitude information of destination object, the relative position of the motion state of the destination object that determination module 20 pairs of attitude informations comprise, destination object and camera is resolved, determine the target rotational position (i.e. good picture-taking position) of camera, and then utilize current location and the target rotational position of camera, calculate the angle that camera needs to rotate from current location, i.e. the target anglec of rotation.
Control module 30, rotates the described target anglec of rotation that described determination module determines for controlling described camera and takes pictures.
Described control module 30 specifically comprises the 3rd determining unit 303 and the second control module 304, wherein:
3rd determining unit 303, for determining and the target rotational speed that the described target anglec of rotation is mated.
Concrete, according to the value of the target anglec of rotation, the 3rd determining unit 303 can judge that it belongs to wide-angle or low-angle, if the target anglec of rotation is wide-angle, then the 3rd determining unit 303 arranges target rotational speed faster; If the target anglec of rotation is low-angle, then the 3rd determining unit 303 arranges slower target rotational speed.
In the embodiment that some are feasible, 3rd determining unit 303 can arrange the target rotational speed matched with the value of the target anglec of rotation, such as, by the target rotational speed of the value of the target anglec of rotation by obtaining mating after linear relation or nonlinear relation conversion.
Second control module 304, for described target rotational speed, controls described camera and rotates the described target anglec of rotation and take pictures.
Concrete, the second control module 304 controls camera according to above-mentioned target rotational speed and rotates the above-mentioned target anglec of rotation, and utilizes camera to take pictures.
In the embodiment that some are feasible, after camera rotates the above-mentioned target anglec of rotation, the second control module 304 automatically can trigger and take pictures, also can according to the operation of terminal user, as terminal user clicks the key of taking pictures of camera applications, or press the combination of certain physical button or multiple physical button, or one section of voice (as " eggplant ") are inputted to terminal, or default gesture etc. is made to terminal, triggering is taken pictures, and the embodiment of the present invention does not limit.
Can the attitude information of detected target object by the embodiment of the present invention, according to the target anglec of rotation of the attitude information determination camera of this destination object, determine the target rotational speed of mating with this target anglec of rotation, and control this camera with this target rotational speed and rotate this target anglec of rotation and take pictures, automatically the photo angle of camera can be regulated according to the attitude of destination object, and then the intelligence degree improved when taking pictures, promote the practicality of terminal, strengthen the experience of taking pictures of terminal user.
Referring to Fig. 7, is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising:
At least one input equipment 1000; At least one output device 2000; At least one processor 3000, such as CPU; With storer 4000, above-mentioned input equipment 1000, output device 2000, processor 3000 are connected by bus 5000 with storer 4000.
Wherein, above-mentioned input equipment 1000 specifically can be pick-up unit and the rotating camera of terminal, above-mentioned detection device specifically can comprise motion state detection device, position detector, and for the attitude information of detected target object, above-mentioned rotating camera is used for catching picture of taking pictures.
Above-mentioned output device 2000 specifically can be the display screen of terminal, for exporting to user, showing the data message such as preview interface and photo of taking pictures.
Above-mentioned storer 4000 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output device 2000 and processor 3000, for calling the program code stored in storer 4000, perform and operate as follows:
Above-mentioned input equipment 1000, for the attitude information of detected target object;
Above-mentioned processor 3000, for the target anglec of rotation of the described attitude information determination camera according to described destination object, and controls described camera and rotates the described target anglec of rotation and take pictures.
In the embodiment that some are feasible, above-mentioned processor 3000 specifically for:
According to the attitude information of described destination object, determine the target rotational position of camera;
Utilize the current location of described camera and described target rotational position, calculate the target anglec of rotation of described camera.
In the embodiment that some are feasible, above-mentioned processor 3000 specifically for:
According to current angular and the described target rotational position of described camera, determine the sense of rotation of described camera;
According to described sense of rotation, control described camera and rotate the described target anglec of rotation and take pictures.
In the embodiment that some are feasible, above-mentioned processor 3000 specifically for:
Determine and the target rotational speed that the described target anglec of rotation is mated;
With described target rotational speed, control described camera and rotate the described target anglec of rotation and take pictures.
In the embodiment that some are feasible, the attitude information of described destination object comprise in the motion state of described destination object and the relative position of described destination object and described camera one or more.
In specific implementation, input equipment 1000 described in the embodiment of the present invention, output device 2000 and processor 3000 can perform the first embodiment of a kind of photographic method that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of a kind of terminal that the embodiment of the present invention provides, the second embodiment and the terminal described in the 3rd embodiment, not repeat them here.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
A kind of photographic method provided the embodiment of the present invention above and terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a photographic method, is characterized in that, comprising:
The attitude information of detected target object;
According to the described attitude information of described destination object, determine the target anglec of rotation of camera;
Control described camera rotate the described target anglec of rotation and take pictures.
2. method according to claim 1, is characterized in that, the described described attitude information according to described destination object, determines the target anglec of rotation of camera, comprising:
According to the described attitude information of described destination object, determine the target rotational position of camera;
Utilize the current location of described camera and described target rotational position, calculate the target anglec of rotation of described camera.
3. method according to claim 2, is characterized in that, the described camera of described control rotates the described target anglec of rotation and takes pictures, and comprising:
According to current angular and the described target rotational position of described camera, determine the sense of rotation of described camera;
According to described sense of rotation, control described camera and rotate the described target anglec of rotation and take pictures.
4. method according to claim 1, is characterized in that, the described camera of described control rotates the described target anglec of rotation and takes pictures, and comprising:
Determine and the target rotational speed that the described target anglec of rotation is mated;
With described target rotational speed, control described camera and rotate the described target anglec of rotation and take pictures.
5. the method according to any one of Claims 1 to 4, is characterized in that,
The attitude information of described destination object comprise in the motion state of described destination object and the relative position of described destination object and described camera one or more.
6. a terminal, is characterized in that, comprising:
Detection module, for the attitude information of detected target object;
Determination module, for the described attitude information of described destination object detected according to described detection module, determines the target anglec of rotation of camera;
Control module, rotates the described target anglec of rotation that described determination module determines for controlling described camera and takes pictures.
7. terminal according to claim 6, is characterized in that, described determination module comprises:
First determining unit, for the described attitude information according to described destination object, determines the target rotational position of camera;
Computing unit, for utilizing the current location of described camera and described target rotational position, calculates the target anglec of rotation of described camera.
8. terminal according to claim 7, is characterized in that, described control module comprises:
Second determining unit, for according to the current angular of described camera and described target rotational position, determines the sense of rotation of described camera;
First control module, for according to described sense of rotation, controls described camera and rotates the described target anglec of rotation and take pictures.
9. terminal according to claim 6, is characterized in that, described control module comprises:
3rd determining unit, for determining and the target rotational speed that the described target anglec of rotation is mated;
Second control module, for described target rotational speed, controls described camera and rotates the described target anglec of rotation and take pictures.
10. the terminal according to any one of claim 6 ~ 9, is characterized in that,
The attitude information of described destination object comprise in the motion state of described destination object and the relative position of described destination object and described camera one or more.
CN201510260831.7A 2015-05-19 2015-05-19 A kind of photographic method and terminal Expired - Fee Related CN104914995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510260831.7A CN104914995B (en) 2015-05-19 2015-05-19 A kind of photographic method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510260831.7A CN104914995B (en) 2015-05-19 2015-05-19 A kind of photographic method and terminal

Publications (2)

Publication Number Publication Date
CN104914995A true CN104914995A (en) 2015-09-16
CN104914995B CN104914995B (en) 2017-10-17

Family

ID=54084131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510260831.7A Expired - Fee Related CN104914995B (en) 2015-05-19 2015-05-19 A kind of photographic method and terminal

Country Status (1)

Country Link
CN (1) CN104914995B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516494A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera
CN105654043A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and photographing system
CN105700681A (en) * 2015-12-31 2016-06-22 联想(北京)有限公司 Control method and electronic equipment
CN107450882A (en) * 2017-07-17 2017-12-08 深圳中泰智丰物联网科技有限公司 A kind of method, apparatus and storage medium for adjusting sound intensity
CN108391058A (en) * 2018-05-17 2018-08-10 Oppo广东移动通信有限公司 Image capturing method, device, electronic device and storage medium
CN108921815A (en) * 2018-05-16 2018-11-30 Oppo广东移动通信有限公司 It takes pictures exchange method, device, storage medium and terminal device
WO2021179800A1 (en) * 2020-03-11 2021-09-16 维沃移动通信有限公司 Electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030063726A (en) * 2002-01-23 2003-07-31 주식회사 어필텔레콤 Mobile phone having auto-reversing function of camera viewfinder image
CN201054660Y (en) * 2007-02-15 2008-04-30 联想(北京)有限公司 Camera device
CN104052928A (en) * 2014-06-16 2014-09-17 广东欧珀移动通信有限公司 Method and electronic equipment for controlling camera to rotate automatically
CN104618542A (en) * 2015-02-25 2015-05-13 胡伟 Mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030063726A (en) * 2002-01-23 2003-07-31 주식회사 어필텔레콤 Mobile phone having auto-reversing function of camera viewfinder image
CN201054660Y (en) * 2007-02-15 2008-04-30 联想(北京)有限公司 Camera device
CN104052928A (en) * 2014-06-16 2014-09-17 广东欧珀移动通信有限公司 Method and electronic equipment for controlling camera to rotate automatically
CN104618542A (en) * 2015-02-25 2015-05-13 胡伟 Mobile phone

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516494A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera
CN105516494B (en) * 2015-12-10 2019-06-14 Oppo广东移动通信有限公司 A kind of method and device of control camera rotation
CN105654043A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and photographing system
CN105654043B (en) * 2015-12-24 2019-02-12 Oppo广东移动通信有限公司 Control method, control device and camera system
CN105700681A (en) * 2015-12-31 2016-06-22 联想(北京)有限公司 Control method and electronic equipment
CN105700681B (en) * 2015-12-31 2018-10-12 联想(北京)有限公司 A kind of control method, electronic equipment
CN107450882A (en) * 2017-07-17 2017-12-08 深圳中泰智丰物联网科技有限公司 A kind of method, apparatus and storage medium for adjusting sound intensity
CN107450882B (en) * 2017-07-17 2020-11-20 深圳中泰智丰物联网科技有限公司 Method and device for adjusting sound loudness and storage medium
CN108921815A (en) * 2018-05-16 2018-11-30 Oppo广东移动通信有限公司 It takes pictures exchange method, device, storage medium and terminal device
CN108391058A (en) * 2018-05-17 2018-08-10 Oppo广东移动通信有限公司 Image capturing method, device, electronic device and storage medium
CN108391058B (en) * 2018-05-17 2021-05-11 Oppo广东移动通信有限公司 Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
WO2021179800A1 (en) * 2020-03-11 2021-09-16 维沃移动通信有限公司 Electronic device

Also Published As

Publication number Publication date
CN104914995B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN104914995A (en) Photographing method and terminal
CN104902170A (en) Photo-taking method and terminal
CN109947508B (en) Split screen display method and device, electronic equipment and computer readable storage medium
US10205874B2 (en) Wearable device and control method thereof
US8773502B2 (en) Smart targets facilitating the capture of contiguous images
US10250800B2 (en) Computing device having an interactive method for sharing events
US8625020B2 (en) Method and apparatus for operating camera function in portable terminal
US9774780B1 (en) Cues for capturing images
CN104917959A (en) Photographing method and terminal
US20210084228A1 (en) Tracking shot method and device, and storage medium
CN104574397A (en) Image processing method and mobile terminal
CN110650241A (en) Method and device for presenting panoramic photo in mobile terminal and mobile terminal
JP7182020B2 (en) Information processing method, device, electronic device, storage medium and program
CN106331497A (en) Image processing method and terminal
KR20130105286A (en) Terminal, display screen drawing direction correcting method, and computer-readable recording medium
CN110738078A (en) face recognition method and terminal equipment
CN114125268A (en) Focusing method and device
CN104601882A (en) Panorama-shot method and terminal
US20140009385A1 (en) Method and system for rotating display image
CN104104870A (en) Photographing control method, photographing control device and photographing equipment
KR20160088719A (en) Electronic device and method for capturing an image
US20210289147A1 (en) Images with virtual reality backgrounds
CN104601884B (en) A kind of camera control method and terminal
WO2023179440A1 (en) Shooting apparatus control method and apparatus, shooting apparatus and electronic device
US11074086B2 (en) Systems and methods for automatically changing application start state based on device orientation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171017

CF01 Termination of patent right due to non-payment of annual fee