CN105007418A - Photographing method and mobile terminal - Google Patents

Photographing method and mobile terminal Download PDF

Info

Publication number
CN105007418A
CN105007418A CN201510394684.2A CN201510394684A CN105007418A CN 105007418 A CN105007418 A CN 105007418A CN 201510394684 A CN201510394684 A CN 201510394684A CN 105007418 A CN105007418 A CN 105007418A
Authority
CN
China
Prior art keywords
photographic images
target photographic
images region
preview image
housing
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
CN201510394684.2A
Other languages
Chinese (zh)
Other versions
CN105007418B (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 CN201510394684.2A priority Critical patent/CN105007418B/en
Publication of CN105007418A publication Critical patent/CN105007418A/en
Application granted granted Critical
Publication of CN105007418B publication Critical patent/CN105007418B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a photographing method and a mobile terminal. The method comprises the steps of: receiving a start command for triggering and starting a camera positioned on the rotary outer frame of the mobile terminal; obtaining a preview image collected by the started camera; obtaining a target shooting image area in the preview image; calculating deviation information between the position information of the target shooting image area in the preview image and preset best imaging position information; controlling the rotary outer frame to rotate according to the deviation information to allow the target shooting image area to reach the best imaging position in the preview image; and when receiving a shooting command, obtaining the preview image including the target shooting image area and currently collected by the camera as a photographing image. By using the photographing method, the position of the target shooting image in a photo can be adjusted, thus reducing the error rate in shooting, and saving power resources of the terminal.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to shooting technology field, particularly relate to a kind of photographic method and mobile terminal.
Background technology
Along with the development of the communication technology, the function of mobile terminal is increasingly abundant, and wherein the camera function that provides of terminal, makes user additionally need not carry camera, also can record whenever and wherever possible and share the animation of oneself and beautiful scenery at one's side, dark liking by users.
At present, existing many manufacturer terminals are proposed rotatable camera and the photo terminal that can place.As shown in Figure 5, Fig. 5 is a kind of structural representation of the mobile terminal with rotation housing, and this terminal is provided with the rotatable housing of camera, realizes the rotation of camera by overturning this rotatable housing, when this rotation housing and terminal fasten, this terminal taking outdoor scene can be used; This terminal can be used to autodyne when pulling out this rotation housing, making terminal only adopt a camera just can realize autodyning and filming the exterior, more photo angle can be provided, very convenient and practical.In actual use, in order to the photo taken is more attractive in appearance, usually need to make reference object to have suitable position in the photo of shooting, but user just can reach suitable position and bad assurance for how making reference object, now just need the position regulating reference object in photo by the angle and distance that constantly adjust rotation housing and reference object of user, then repeatedly take, from the multiple pictures obtained, select best one of effect again preserve, this process tedious is loaded down with trivial details, waste user time, wastes power resource.
Summary of the invention
Embodiments provide a kind of photographic method and mobile terminal, the position of adjustable target photographic images in photo, reduce bat rate by mistake, save terminal electric power resource.
Embodiments provide a kind of photographic method, described method comprises:
Receive for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal;
Obtain the preview image of the described camera collection started;
Obtain the target photographic images region in described preview image;
Calculate the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction;
According to described offset information, control described rotation housing and rotate, in described preview image, reach optimal imaging position to make described target photographic images region;
When receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
Accordingly, embodiments provide a kind of mobile terminal, described mobile terminal comprises:
Instruction reception unit, for receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal;
First image acquisition unit, for obtaining the preview image of the described camera collection of startup;
Second image acquisition unit, for obtaining the target photographic images region in described preview image;
Calculations of offset unit, for calculating the offset information between positional information in described preview image of target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction;
Housing control unit, for according to described offset information, controls described rotation housing and rotates, and reaches optimal imaging position to make described target photographic images region in described preview image;
Photograph taking unit, during for receiving shooting instruction, obtains the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
The embodiment of the present invention, when receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, can obtain the preview image of the described camera collection started; Also can obtain the target photographic images region in described preview image; Also can after calculating the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, according to described offset information, control described rotation housing to rotate, in described preview image, reach optimal imaging position to make described target photographic images region; And then when receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures, the position of adjustable target photographic images in photo reaches optimal imaging position, reduces bat rate by mistake, saves terminal electric power resource.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is 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 a kind of photographic method schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is the another kind of photographic method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the housing control unit that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of mobile terminal with rotation housing that the embodiment of the present invention is carried.
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 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.
In specific implementation, mobile terminal mentioned in the embodiment of the present invention includes but not limited to: the electronic equipment such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palmtop PC, wearable intelligent equipment.
In specific implementation, see Fig. 5, Fig. 5 is the structural representation of a kind of mobile terminal with rotation housing that the embodiment of the present invention provides, and mobile terminal as shown in the figure comprises terminal body, rotates housing, camera, and described terminal body comprises frame.Wherein, described rotation housing is rotatably connected to described frame, and described camera is installed in described inner rotary housing; Described rotation housing can be opened or close by relatively described terminal body, when described rotation housing becomes closure state relative to described terminal body, and configuration state after described camera becomes relative to terminal body.Mobile terminal mentioned by the embodiment of the present invention rotates housing with one, rotate housing and connect terminal body by rotating shaft, therefore rotate housing to rotate around terminal body, and on rotation housing away from mobile shaft while be provided with camera, make rotate housing rotate time camera rotate thereupon.
A kind of photographic method provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 5 and mobile terminal are specifically described.
See Fig. 1, be a kind of photographic method schematic flow sheet that the embodiment of the present invention provides, normal photographic method as shown in the figure can comprise the following steps:
S101, receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal.
In specific implementation, when user is for carrying out taking pictures or recording a video, can initiate to start camera requests at mobile terminal, such as, mobile terminal is the smart mobile phone with camera, namely user's camera application opened in smart mobile phone is considered as user and have input enabled instruction, and user initiates to start camera requests.This enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of mobile terminal.
S102, obtains the preview image of the described camera collection started.
When mobile terminal receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, start camera and start the preview image gathering this camera shooting area, now the current preview image collected of display interface display camera of mobile terminal, watches reference for user.
S103, obtains the target photographic images region in described preview image.
In specific implementation, mobile terminal can select instruction according to the target photographic images region of user's input, determines the target photographic images region in preview image.Such as, after mobile terminal startup camera enters preview mode, user inputs closed sliding trace by the touch-screen of mobile terminal on the display interface of preview image, and the image-region corresponding to enclosed region that closed sliding trace can be formed by mobile terminal is as target shooting area; Again such as, user clicks the display interface of preview image by touch-screen, and mobile terminal will with user's click location place for the center of circle, and be that R forms a closed border circular areas with radius, the image-region corresponding to this border circular areas is target photographic images region.
S104, calculates the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information.
In specific implementation, user arbitrarily arranges optimal imaging position by mobile terminal according to self-wish, also can arrange the optimal imaging position of acquiescence in advance in mobile terminal system.Such as, it has been generally acknowledged that golden section position has strict proportionality and artistry, it is desirable image space, therefore, the region at golden section line place that can be long or wide by preview image, or the region at long or wide golden section line intersection point place is set to the optimal imaging position of target photographic images region in preview image.
In actual implementation process, target photographic images region may comparatively large and shape irregular, therefore can not overlap with the optimal imaging position arranged completely, therefore only need gather some characteristic points in target photographic images region, allow these characteristic points and optimal imaging position match.Usually the coordinate system of two dimension or one dimension can be adopted to represent the positional information of each characteristic point, and the positional information of optimal imaging position.
S105, according to described offset information, controls described rotation housing and rotates, and reaches optimal imaging position to make described target photographic images region in described preview image.
In specific implementation, offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction.Control to rotate housing carry out can be real-time in the process of rotating the position of detection target photographic images region in preview image, and the rotation of housing of stopping the rotation when arriving optimal imaging position in target photographic images region.Also can after step S104 gets offset information, the value rotating and rotate required for housing is calculated according to offset information, and determine the rotation direction rotating housing, then start rotation housing and carry out rotating the arrival optimal imaging position, position making target photographic images region in preview image.
Adopt one-dimensional coordinate to represent the positional information of target photographic images region and optimal imaging position, and in mobile terminal system, during preset coordinate point evolution unit offset amount, rotate the angle rotated needed for housing.If target photographic images region and the optimal imaging position of presetting all only arrange a characteristic point, after getting target photographic images region, the characteristic point in target photographic images region and the characteristic point coordinate figure of optimal imaging position first can be obtained.Then the difference of two characteristic point coordinate figures is calculated, the angle rotated needed for housing is rotated according to when the coordinate difference between characteristic point and default coordinate points evolution unit offset amount, calculate and target photographic images region is moved to optimal imaging position, the required angle value rotated of the rotation housing on this mobile terminal.Such as, if rotating the housing required angle rotated during coordinate points evolution unit offset amount is 10 degree, the coordinate figure of the characteristic point in target photographic images region is 1, the characteristic point coordinate figure of optimal imaging position is 2, then offset information is-1, the absolute value of offset information is side-play amount, offset information positive and negative values represents rotation direction, and (and offset information rotates counterclockwise for just to represent, for negative representative rotates clockwise), therefore be worth most to target photographic images region is moved to optimal imaging, now rotating housing needs to rotate clockwise 10 degree.
S106, when receiving shooting instruction, obtains the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
In another embodiment, before execution step S105, described method also comprises: determine that the side-play amount between the positional information in described target photographic images region and described optimal imaging positional information is greater than or equal to default reference offset value.
In specific implementation, when side-play amount between the positional information and described optimal imaging positional information in target photographic images region is less, now the imaging effect in target photographic images region is little with the effect effect difference moving to optimal imaging position, the position in the preview image in target photographic images region is not needed to do further adjustment, thus mobile terminal electric power resource can be saved, save user time.
In another embodiment, before execution step S106, described method also comprises: send information, and described information has reached optimal imaging position in order to point out target photographic images region described in user.
In specific implementation, user is difficult to judge whether target photographic images region successfully moves optimal imaging position, when therefore can arrive the optimal imaging position of presetting in target photographic images region, send information, prompting ownership goal photographic images region has reached optimal imaging position, and then user can carry out next step shooting operation according to information.
The embodiment of the present invention, when receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, can obtain the preview image of the described camera collection started; Also can obtain the target photographic images region in described preview image; Also can after calculating the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, according to described offset information, control described rotation housing to rotate, in described preview image, reach optimal imaging position to make described target photographic images region; And then when receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures, the position of adjustable target photographic images region in photo reaches optimal imaging position, reduces bat rate by mistake, saves terminal electric power resource.
See Fig. 2, be the another kind of photographic method schematic flow sheet that the embodiment of the present invention provides, photographic method as shown in the figure can comprise the following steps:
S201, receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal.
In specific implementation, when user is for carrying out taking pictures or recording a video, can initiate to start camera requests at mobile terminal, such as, mobile terminal is the smart mobile phone with camera, namely user's photograph application of opening in smart mobile phone is considered as user and have input enabled instruction, and user initiates to start camera requests.This enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of mobile terminal.
S202, obtains the preview image of the described camera collection started.
When mobile terminal receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, start camera and start the preview image gathering this camera shooting area, now the current preview image collected of display interface display camera of mobile terminal, watches reference for user.
S203, identifies that facial image region in described preview image is as target photographic images region.
In specific implementation, user take comprise the photo of facial image time, usually more pay close attention to facial image whether at the image space of the best, to seem more attractive in appearance.When getting preview image, can first by the facial image region in face recognition technology identification preview image as target photographic images region.
Optionally, identify that eye image region in described preview image is as target photographic images region.The eyes are the windows of the mind, in the preview image comprising facial image eyes whether attractive in appearance, have god, to the aesthetics of whole preview image, there is material impact.Therefore, by the eye image in face recognition technology identification preview image, adopt eye image as target photographic images region.
S204, calculate the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction.
In specific implementation, user arbitrarily arranges optimal imaging position by mobile terminal according to self-wish, also can arrange the optimal imaging position of acquiescence in advance in mobile terminal system.Such as, it has been generally acknowledged that golden section position has strict proportionality and artistry, it is desirable image space, therefore, the region at golden section line place that can be long or wide by preview image, or the region at long or wide golden section line intersection point place is set to the optimal imaging position of target photographic images region in preview image.
In actual implementation process, target photographic images region may comparatively large and shape irregular, therefore can not overlap with the optimal imaging position arranged completely, therefore only need gather some characteristic points in target photographic images region, allow these characteristic points and optimal imaging position match.Usually the coordinate system of two dimension or one dimension can be adopted to represent the positional information of each characteristic point, and the positional information of optimal imaging position.
S205, according to described side-play amount, calculates described target photographic images region and moves to the angle of rotation angle value rotating the required rotation of housing described in optimal imaging position.
S206, according to described offset direction, determines the rotation direction of described rotation housing.
In specific implementation, can in the terminal goal-selling photographic images region Moving Unit side-play amount time rotate the required angle rotated of housing, then just can calculate target photographic images region according to side-play amount and move to optimal imaging position and rotate the angle of rotation angle value of rotating needed for housing.
Such as, one-dimensional coordinate is adopted to represent the positional information of target photographic images region and optimal imaging position, target photographic images region and the optimal imaging position of presetting all only arrange a characteristic point, after getting target photographic images region, first the characteristic point in target photographic images region and the characteristic point coordinate figure of optimal imaging position can be obtained, and be respectively 1 and 2, rotating the required angle rotated of housing in goal-selling photographic images region during characteristic point Moving Unit side-play amount in mobile terminal is 10 degree, then visible offset information is-1, wherein, the absolute value of offset information is side-play amount, offset information positive and negative values represents offset direction, (and offset information rotates counterclockwise for just to represent namely to represent the rotation direction rotating housing, for negative representative rotates clockwise), therefore to target photographic images region is moved to optimal imaging position, now rotate housing to need to rotate clockwise 10 degree.
S207, according to described angle of rotation angle value and described rotation direction, controls described rotation housing and rotates, and reaches optimal imaging position to make described target photographic images region in described preview image.
S208, when receiving shooting instruction, obtains the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
The embodiment of the present invention, can when receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, obtain the preview image of described camera collection started, and identify that facial image region in described preview image is as target photographic images region; Also can calculate the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, and according to the side-play amount in described offset information, calculate described target photographic images region and move to the angle of rotation angle value rotating the required rotation of housing described in described optimal imaging position, according to described offset direction, determine the rotation direction of described rotation housing; And then according to described angle of rotation angle value and described rotation direction, control described rotation housing and rotate, in described preview image, reach optimal imaging position to make described target photographic images region; Finally when receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures, the position of adjustable facial image in photo reaches optimal imaging position, make the facial image in photo more attractive in appearance, reduce bat rate by mistake, save terminal electric power resource.
See Fig. 3, a kind of mobile terminal structure schematic diagram that the embodiment of the present invention provides, mobile terminal at least can comprise as shown in the figure: instruction reception unit 301, first image acquisition unit 302, second image acquisition unit 303, calculations of offset unit 304, housing control unit 305 and photograph taking unit 306.
Instruction reception unit 301, for receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal.
In specific implementation, when user is for carrying out taking pictures or recording a video, can initiate to start camera requests at mobile terminal, such as, mobile terminal is the smart mobile phone with camera, namely user's photograph application of opening in smart mobile phone is considered as user and have input enabled instruction, and user initiates to start camera requests.This enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of mobile terminal.
First image acquisition unit 302, for obtaining the preview image of the described camera collection of startup.
When instruction reception unit 301 receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, first image acquisition unit 302 starts the preview image obtaining camera shooting area, now the current preview image collected of display interface display camera of mobile terminal, watches reference for user.
Second image acquisition unit 303, for obtaining the target photographic images region in described preview image.
In specific implementation, mobile terminal can select instruction according to the target photographic images region of user's input, determines the target photographic images region in preview image.Such as, after mobile terminal startup camera enters preview mode, user inputs closed sliding trace by the touch-screen of mobile terminal on the display interface of preview image, and the second image acquisition unit 303 can obtain the image-region corresponding to enclosed region that closed sliding trace formed as target shooting area; Again such as, user clicks the display interface of preview image by touch-screen, and the second image acquisition unit 303 will obtain with user's click location place for the center of circle, and the image-region with radius corresponding to the closed circle region of R formation is as target photographic images region.
Further, the second image acquisition unit 303 can be specifically for: identify that facial image region in described preview image is as target photographic images region; Or, identify that eye image region in described preview image is as target photographic images region.
In specific implementation, user take comprise the photo of facial image time, usually more pay close attention to facial image whether at the image space of the best, to seem more attractive in appearance.When the first image acquisition unit 302 gets preview image, the second image acquisition unit 303 can first by the facial image region in face recognition technology identification preview image as target photographic images region.And the eyes are the windows of the mind, in the preview image comprising facial image eyes whether attractive in appearance, have god, to the aesthetics of whole preview image, there is material impact.Therefore, the second image acquisition unit 303, also by the eye image in face recognition technology identification preview image, adopts eye image as target photographic images region.
Calculations of offset unit 304, for calculating the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction.
In specific implementation, user arbitrarily arranges optimal imaging position by mobile terminal according to self-wish, also can arrange the optimal imaging position of acquiescence in advance in mobile terminal system.Such as, it has been generally acknowledged that golden section position has strict proportionality and artistry, it is desirable image space, therefore, the region at golden section line place that can be long or wide by preview image, or the region at long or wide golden section line intersection point place is set to the optimal imaging position of target photographic images region in preview image.
In actual implementation process, target photographic images region may comparatively large and shape irregular, therefore can not overlap with the optimal imaging position arranged completely, therefore only need gather some characteristic points in target photographic images region, allow these characteristic points and optimal imaging position match.Usually the coordinate system of two dimension or one dimension can be adopted to represent the positional information of each characteristic point, and the positional information of optimal imaging position.
Housing control unit 305, for according to described offset information, controls described rotation housing and rotates, and reaches optimal imaging position to make described target photographic images region in described preview image.
In specific implementation, control to rotate housing carry out can be real-time in the process of rotating the position of detection target photographic images region in preview image, and the rotation of housing of stopping the rotation when arriving optimal imaging position in target photographic images region.Also can after calculations of offset unit 304 gets offset information, the value rotating and rotate required for housing is calculated according to offset information, and determine the rotation direction rotating housing, then start rotation housing and carry out rotating the arrival optimal imaging position, position making target photographic images region in preview image.
Further, see Fig. 4, the structural representation of the housing control unit that the embodiment of the present invention provides, can comprising of housing control unit 305 as shown in the figure: angle of rotation angle value obtains subelement 3501, rotation direction determination subelement 3502 and housing and rotates control subelement 3503.
Angle of rotation angle value obtains subelement 3501, for according to described side-play amount, calculates described target photographic images region and moves to the angle of rotation angle value rotating the required rotation of housing described in described optimal imaging position.
Rotation direction determination subelement 3502, for according to described offset direction, determines the rotation direction of described rotation housing.
Housing rotates and controls subelement 3503, for according to described angle of rotation angle value and described rotation direction, controls described rotation housing and rotates.
In specific implementation, can in the terminal goal-selling photographic images region Moving Unit side-play amount time rotate the required angle rotated of housing, then angle of rotation angle value obtains subelement 3501 and just can calculate target photographic images region according to side-play amount and move to optimal imaging position and rotate the angle of rotation angle value of rotating needed for housing.
Such as, one-dimensional coordinate is adopted to represent the positional information of target photographic images region and optimal imaging position, target photographic images region and the optimal imaging position of presetting all only arrange a characteristic point, after getting target photographic images region, first the characteristic point in target photographic images region and the characteristic point coordinate figure of optimal imaging position can be obtained, and be respectively 1 and 2, rotating the required angle rotated of housing in goal-selling photographic images region during characteristic point Moving Unit side-play amount in mobile terminal is 10 degree, then visible offset information is-1.Wherein, the absolute value of offset information is side-play amount, then now angle of rotation angle value acquisition subelement 3501 calculates to target photographic images region is moved to optimal imaging position, now rotate housing and need rotation 10 degree, offset information positive and negative values represents offset direction, (and offset information rotates counterclockwise for just to represent namely to represent the rotation direction rotating housing, for negative representative rotates clockwise), now, rotation direction determination subelement 3502 can determine that the rotation direction rotating housing is clockwise.Therefore housing rotation control subelement 3503 control rotation housing rotates clockwise 10 degree and just target photographic images region can be moved to optimal imaging position in preview image.
Photograph taking unit 306, during for receiving shooting instruction, obtains the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
In another embodiment, described mobile terminal also comprises: offset-determining unit 307, for described housing control unit according to described offset information, control described rotation housing to rotate, to make before described target photographic images region reaches optimal imaging position in described preview image, to determine that the side-play amount between the positional information in described target photographic images region and described optimal imaging positional information is greater than or equal to default reference offset value.
In specific implementation, when side-play amount between the positional information and described optimal imaging positional information in target photographic images region is less, now the imaging effect in target photographic images region is little with the effect effect difference moving to optimal imaging position, the position in the preview image in target photographic images region is not needed to do further adjustment, thus mobile terminal electric power resource can be saved, save user time.
In another embodiment, described mobile terminal also comprises: information Tip element 308, when receiving shooting instruction for described photograph taking unit, obtain the current preview image comprising described target photographic images region collected of described camera as before image of taking pictures, send information, described information has reached optimal imaging position in order to point out target photographic images region described in user.
In specific implementation, user is difficult to judge whether target photographic images region successfully moves optimal imaging position, when therefore can arrive the optimal imaging position of presetting in target photographic images region, information is sent by information Tip element 308, prompting ownership goal photographic images region has reached optimal imaging position, and then user can carry out next step shooting operation according to information.
The embodiment of the present invention, by the first image acquisition unit 302, when instruction reception unit 301 receives for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal, obtains the preview image of the described camera collection started; The target photographic images region in described preview image is also obtained by the second image acquisition unit 303; And then calculations of offset unit 304 calculates the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, to make housing control unit 305 according to described offset information, control described rotation housing to rotate, make described target photographic images region reach optimal imaging position in described preview image; Last photograph taking unit 306 is when receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures, the position of adjustable facial image in photo reaches optimal imaging position, make the facial image in photo more attractive in appearance, reduce bat rate by mistake, save terminal electric power resource.
For each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and unit might not be that the application is necessary.
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.
Above a kind of photographic method disclosed in the embodiment of the present invention and mobile terminal are described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (10)

1. a photographic method, is characterized in that, comprising:
Receive for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal;
Obtain the preview image of the described camera collection started;
Obtain the target photographic images region in described preview image;
Calculate the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction;
According to described offset information, control described rotation housing and rotate, in described preview image, reach optimal imaging position to make described target photographic images region;
When receiving shooting instruction, obtain the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
2. method according to claim 1, is characterized in that, the target photographic images region in the described preview image of described acquisition comprises:
Identify that facial image region in described preview image is as target photographic images region;
Or, identify that eye image region in described preview image is as target photographic images region.
3. method according to claim 1, is characterized in that, described according to described offset information, controls described rotation housing and carries out rotation and comprise:
According to described side-play amount, calculate described target photographic images region and move to the angle of rotation angle value rotating the required rotation of housing described in described optimal imaging position;
According to described offset direction, determine the rotation direction of described rotation housing;
According to described angle of rotation angle value and described rotation direction, control described rotation housing and rotate.
4. method according to claim 1, it is characterized in that, described according to described offset information, control described rotation housing and rotate, to make before described target photographic images region reaches optimal imaging position in described preview image, described method also comprises:
Determine that the side-play amount between the positional information in described target photographic images region and described optimal imaging positional information is greater than or equal to default reference offset value.
5. the method according to any one of claim 1-4, is characterized in that, described in receive shooting instruction time, obtain the current preview image comprising described target photographic images region collected of described camera as before image of taking pictures, described method also comprises:
Send information, described information has reached optimal imaging position in order to point out target photographic images region described in user.
6. a mobile terminal, is characterized in that, comprising:
Instruction reception unit, for receiving for triggering the enabled instruction starting the camera be positioned on the rotation housing of mobile terminal;
First image acquisition unit, for obtaining the preview image of the described camera collection of startup;
Second image acquisition unit, for obtaining the target photographic images region in described preview image;
Calculations of offset unit, for calculating the offset information between the positional information of described target photographic images region in described preview image and default optimal imaging positional information, described offset information comprises side-play amount between the positional information in described target photographic images region and described optimal imaging positional information and offset direction;
Housing control unit, for according to described offset information, controls described rotation housing and rotates, and reaches optimal imaging position to make described target photographic images region in described preview image;
Photograph taking unit, during for receiving shooting instruction, obtains the current preview image comprising described target photographic images region collected of described camera as image of taking pictures.
7. mobile terminal according to claim 6, is characterized in that, described second image acquisition unit specifically for:
Identify that facial image region in described preview image is as target photographic images region;
Or, identify that eye image region in described preview image is as target photographic images region.
8. mobile terminal according to claim 6, is characterized in that, described housing control unit comprises:
Angle of rotation angle value obtains subelement, for according to described side-play amount, calculates described target photographic images region and moves to the angle of rotation angle value rotating the required rotation of housing described in described optimal imaging position;
Rotation direction determination subelement, for according to described offset direction, determines the rotation direction of described rotation housing;
Housing rotates and controls subelement, for according to described angle of rotation angle value and described rotation direction, controls described rotation housing and rotates.
9. mobile terminal according to claim 6, is characterized in that, described mobile terminal also comprises:
Offset-determining unit, for described housing control unit according to described offset information, control described rotation housing to rotate, to make before described target photographic images region reaches optimal imaging position in described preview image, to determine that the side-play amount between the positional information in described target photographic images region and described optimal imaging positional information is greater than or equal to default reference offset value.
10. the mobile terminal according to any one of claim 6-9, is characterized in that, described mobile terminal also comprises:
Information Tip element, when receiving shooting instruction for described photograph taking unit, obtain the current preview image comprising described target photographic images region collected of described camera as before image of taking pictures, send information, described information has reached optimal imaging position in order to point out target photographic images region described in user.
CN201510394684.2A 2015-07-03 2015-07-03 A kind of photographic method and mobile terminal Expired - Fee Related CN105007418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510394684.2A CN105007418B (en) 2015-07-03 2015-07-03 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510394684.2A CN105007418B (en) 2015-07-03 2015-07-03 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105007418A true CN105007418A (en) 2015-10-28
CN105007418B CN105007418B (en) 2018-07-06

Family

ID=54379920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510394684.2A Expired - Fee Related CN105007418B (en) 2015-07-03 2015-07-03 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105007418B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898228A (en) * 2016-04-29 2016-08-24 北京小米移动软件有限公司 Control method and device for camera equipment
CN107360375A (en) * 2017-08-29 2017-11-17 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107370945A (en) * 2017-07-25 2017-11-21 广东虹勤通讯技术有限公司 A kind of camera control method and shooting head controlling device
WO2017202107A1 (en) * 2016-05-24 2017-11-30 中兴通讯股份有限公司 Acquisition method and device for multi-media information
CN107509024A (en) * 2017-07-25 2017-12-22 维沃移动通信有限公司 One kind is taken pictures processing method and mobile terminal
CN107592454A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108431730A (en) * 2015-12-24 2018-08-21 荷兰联合利华有限公司 Enhanced mirror
CN108737717A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Image pickup method, device, smart machine and storage medium
WO2019023954A1 (en) * 2017-08-02 2019-02-07 深圳传音通讯有限公司 Image capturing method and image capturing system of intelligent terminal
CN109361860A (en) * 2018-10-30 2019-02-19 维沃移动通信(杭州)有限公司 A kind of terminal equipment control method and terminal device
WO2019179364A1 (en) * 2018-03-21 2019-09-26 北京猎户星空科技有限公司 Photographing method and device and smart device
US10963047B2 (en) 2015-12-24 2021-03-30 Conopco, Inc. Augmented mirror
WO2021077903A1 (en) * 2019-10-22 2021-04-29 珠海格力电器股份有限公司 Finger image collection method and apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012702A1 (en) * 2002-07-08 2004-01-22 Casio Computer Co., Ltd. Camera apparatus, photographing method and a storage medium that records method of photographing
CN201654613U (en) * 2010-04-08 2010-11-24 精元电脑股份有限公司 Notebook with micro-projector and camera module
CN103365044A (en) * 2012-03-30 2013-10-23 百度在线网络技术(北京)有限公司 Method for taking pictures by using camera and camera used device for taking pictures
CN104601889A (en) * 2015-01-20 2015-05-06 广东欧珀移动通信有限公司 Photographing method and device of mobile terminal
CN104754218A (en) * 2015-03-10 2015-07-01 广东欧珀移动通信有限公司 Intelligent photographing method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012702A1 (en) * 2002-07-08 2004-01-22 Casio Computer Co., Ltd. Camera apparatus, photographing method and a storage medium that records method of photographing
CN201654613U (en) * 2010-04-08 2010-11-24 精元电脑股份有限公司 Notebook with micro-projector and camera module
CN103365044A (en) * 2012-03-30 2013-10-23 百度在线网络技术(北京)有限公司 Method for taking pictures by using camera and camera used device for taking pictures
CN104601889A (en) * 2015-01-20 2015-05-06 广东欧珀移动通信有限公司 Photographing method and device of mobile terminal
CN104754218A (en) * 2015-03-10 2015-07-01 广东欧珀移动通信有限公司 Intelligent photographing method and terminal

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108431730B (en) * 2015-12-24 2021-11-23 联合利华知识产权控股有限公司 Enhanced mirror
US11068051B2 (en) 2015-12-24 2021-07-20 Conopco, Inc. Augmented mirror
CN108431730A (en) * 2015-12-24 2018-08-21 荷兰联合利华有限公司 Enhanced mirror
US10963047B2 (en) 2015-12-24 2021-03-30 Conopco, Inc. Augmented mirror
CN105898228A (en) * 2016-04-29 2016-08-24 北京小米移动软件有限公司 Control method and device for camera equipment
WO2017202107A1 (en) * 2016-05-24 2017-11-30 中兴通讯股份有限公司 Acquisition method and device for multi-media information
CN107370945A (en) * 2017-07-25 2017-11-21 广东虹勤通讯技术有限公司 A kind of camera control method and shooting head controlling device
CN107509024A (en) * 2017-07-25 2017-12-22 维沃移动通信有限公司 One kind is taken pictures processing method and mobile terminal
WO2019023954A1 (en) * 2017-08-02 2019-02-07 深圳传音通讯有限公司 Image capturing method and image capturing system of intelligent terminal
CN107360375A (en) * 2017-08-29 2017-11-17 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107592454A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image processing method and mobile terminal
WO2019179364A1 (en) * 2018-03-21 2019-09-26 北京猎户星空科技有限公司 Photographing method and device and smart device
WO2019179357A1 (en) * 2018-03-21 2019-09-26 北京猎户星空科技有限公司 Photographing method and device, intelligent equipment and storage medium
TWI697720B (en) * 2018-03-21 2020-07-01 大陸商北京獵戶星空科技有限公司 Photographing method, device, intelligent equipment, and storage medium
CN108737717A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Image pickup method, device, smart machine and storage medium
CN109361860A (en) * 2018-10-30 2019-02-19 维沃移动通信(杭州)有限公司 A kind of terminal equipment control method and terminal device
CN109361860B (en) * 2018-10-30 2021-04-20 维沃移动通信(杭州)有限公司 Terminal device control method and terminal device
WO2021077903A1 (en) * 2019-10-22 2021-04-29 珠海格力电器股份有限公司 Finger image collection method and apparatus, and storage medium

Also Published As

Publication number Publication date
CN105007418B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN105007418A (en) Photographing method and mobile terminal
CN103901901B (en) A kind of screen rotation method and device of video terminal
CN104754218A (en) Intelligent photographing method and terminal
CN104902170B (en) A kind of photographic method and terminal
CN104735355B (en) The image capture method and device of a kind of intelligent terminal
EP2944078B1 (en) Wireless video camera
CN106688228B (en) Video camera controller, camera shooting control method, camera and camera system
CN104917959A (en) Photographing method and terminal
CN103595914A (en) Photographing method and mobile terminal
CN104484858B (en) Character image processing method and processing device
CN103986872A (en) Terminal and terminal shooting method
CN104914995B (en) A kind of photographic method and terminal
CN105007431A (en) Picture shooting method based on various shooting scenes and terminal
US20210084228A1 (en) Tracking shot method and device, and storage medium
CN104917960B (en) A kind of method and terminal that control camera to rotate
CN104883498A (en) Shooting method based on rotary camera, and terminal
CN104601882B (en) A kind of panorama shooting method and terminal
CN112073641A (en) Image shooting method and device, mobile terminal and storage medium
CN109479087B (en) Image processing method and device
CN112770049A (en) Shooting method, shooting device and storage medium
CN104994288A (en) Shooting method and user terminal
CN105007410A (en) Large viewing angle camera control method and user terminal
CN104883495A (en) Shooting method and device
CN111787225A (en) Photographing method and device, electronic equipment and storage medium
CN106961549A (en) A kind of image pickup method and device based on dual camera

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
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.

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

Granted publication date: 20180706