CN106454139A - Shooting method and mobile terminal - Google Patents
Shooting method and mobile terminal Download PDFInfo
- Publication number
- CN106454139A CN106454139A CN201611204853.2A CN201611204853A CN106454139A CN 106454139 A CN106454139 A CN 106454139A CN 201611204853 A CN201611204853 A CN 201611204853A CN 106454139 A CN106454139 A CN 106454139A
- Authority
- CN
- China
- Prior art keywords
- area
- current preview
- preview picture
- facial image
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000001815 facial effect Effects 0.000 claims description 85
- 238000004891 communication Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 19
- 230000000694 effects Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 230000009977 dual effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000003292 diminished effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Abstract
The invention belongs to the technical field of communication, and provides a shooting method and a mobile terminal. The shooting method comprises the following steps: when a shooting function of the mobile terminal is opened, and if a face image is detected in a current preview screen, obtaining the area of the face image; obtaining the area of the current preview screen, and calculating a ratio of the area of the face image to the area of the current preview screen; and selecting a corresponding shooting mode to shoot the current preview screen according to the ratio of the area of the face image to the area of the current preview screen. By adoption of the shooting method provided by the invention, manual adjustment of a camera by a user can be avoided, and the shooting efficiency is improved.
Description
Technical field
The invention belongs to communication technical field, more particularly to photographic method and mobile terminal.
Background technology
With the rise of the mobile terminals such as smart mobile phone, panel computer, user is taken pictures frequently by mobile terminal, especially
Which likes autodyning.If what mobile terminal was placed when autodyning is closer, the image face for shooting can be caused excessive, if moved
It is distant that dynamic terminal is placed, then the image face for shooting can be caused too small, cause effect on driving birds is not good of taking pictures.In order to improve effect of taking pictures
Really, user is generally needed to adjust photographic head manually in prior art, process is comparatively laborious.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
Content of the invention
In consideration of it, the embodiment of the present invention provides a kind of photographic method and mobile terminal, to avoid user from adjusting shooting manually
Head, improves efficiency of taking pictures.
The embodiment of the present invention in a first aspect, provide a kind of photographic method, be applied to mobile terminal, the photographic method bag
Include:
When the mobile terminal opens camera function, if detect in current preview picture the presence of facial image, obtain
Take the area of the facial image;
The area of the current preview picture is obtained, and calculates the area of the facial image and the current preview picture
Area ratio;
According to area and the ratio of the area of the current preview picture of the facial image, mould of taking pictures accordingly is chosen
Formula is taken pictures to the current preview picture, and wherein, the exposal model includes landscape mode and close shot pattern.
The second aspect of the embodiment of the present invention, provides a kind of mobile terminal, and the mobile terminal includes:
First acquisition module, for when the mobile terminal opens camera function, if detect in current preview picture
There is facial image, then obtain the area of the facial image;
Second acquisition module, for obtaining the area of the current preview picture, and calculates the area of the facial image
Ratio with the area of the current preview picture;
Module is chosen, for area and the ratio of the area of the current preview picture according to the facial image, is selected
Take corresponding exposal model to take pictures the current preview picture, wherein, the exposal model includes landscape mode and near
Scape pattern.
The third aspect of the embodiment of the present invention, provides a kind of mobile terminal, and the mobile terminal includes:
Processor and input equipment;
The processor, for when the mobile terminal opens camera function, if detect deposit in current preview picture
In facial image, then the area of the facial image is obtained by the input equipment;
The processor, is additionally operable to be obtained the area of the current preview picture by the input equipment, and calculates institute
State the area of facial image and the ratio of the area of the current preview picture;
The processor, is additionally operable to the ratio of the area according to the facial image and the area of the current preview picture
Value, chooses corresponding exposal model and the current preview picture is taken pictures, and wherein, the exposal model includes landscape mode
With close shot pattern.
The beneficial effect that the embodiment of the present invention is present compared with prior art is:The embodiment of the present invention starts in mobile terminal
During camera function, if detect in current preview picture the presence of facial image, the area of the facial image is obtained, while obtaining
The area of current preview picture, and the area of facial image and the ratio of the area of current preview picture is calculated, according to the ratio
Choose exposal model to take pictures current preview picture.The embodiment of the present invention according to the area of facial image in preview screen with
The ratio of the area of preview screen, it may be determined that be using landscape mode or close shot pattern, preview screen to be taken pictures, and
Being automatically switched, so as to photographic head be manually adjusted without the need for user, reduces the operation of adjustment photographic head, improve effect of taking pictures
Rate, also reduces the power consumption of mobile terminal.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or description of the prior art
Needed for accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow diagram of the photographic method that the embodiment of the present invention one is provided;
Fig. 2 is the schematic flow diagram of the photographic method that the embodiment of the present invention two is provided;
Fig. 3 is the schematic block diagram of the mobile terminal that the embodiment of the present invention three is provided;
Fig. 4 is the schematic block diagram of the mobile terminal that the embodiment of the present invention four is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " indicates described special
Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Presence or interpolation that operation, element, component and/or its are gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, and otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to the one or more any combinations in the associated item that lists and combination is possible to, and including these combinations.
As in this specification and in the appended claims as use, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
Fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the mobile terminal described in the embodiment of the present invention including but not limited to such as has the sensitive table of touch
Other of the mobile phone in face (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc
Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have
The desk computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, describe to include the mobile terminal of display and touch sensitive surface.However, should manage
Solution, mobile terminal can include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, for example following in one or more:Drawing application program, demonstration application
Program, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, play and answer
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports that application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can execute on mobile terminals can use at least one of such as touch sensitive surface
Public physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change touch is quick
The corresponding information for showing in the one or more functions and terminal on sense surface.So, the public physical structure of terminal is (for example,
Touch sensitive surface) can support have user interface directly perceived and transparent for a user various application programs.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Referring to Fig. 1, it is the schematic flow diagram of the photographic method that the embodiment of the present invention one is provided, the photographic method is applied to move
Dynamic terminal, as shown in the figure the photographic method may comprise steps of:
, when the mobile terminal opens camera function, if detect in current preview picture there is face in step S101
Image, then obtain the area of the facial image.
In embodiments of the present invention, when the mobile terminal opens camera function (such as camera), the mobile terminal
Front-facing camera can be opened, is shown target to be captured thing in current preview picture, and detect that the camera current preview is drawn
Whether there is facial image in face, if so, then obtain the information of the facial image, and the information meter according to the facial image
Calculate the area of the facial image.Wherein, the information of the facial image includes but is not limited to the shape of the facial image, length
Degree and width etc..Certainly, other information that can calculate the area of the facial image also should be within the scope of the present invention.
It should be noted that the front-facing camera opened by the mobile terminal can be single camera, or double
Photographic head.The front-facing camera be single camera when, can by the exposal model of the photographic head be set to landscape mode or
Person's close shot pattern.When the front-facing camera is dual camera, close shot photographic head and distant view photographic head can be included.Wherein,
The close shot photographic head is taken pictures using close shot pattern.When being taken pictures to face to be captured using close shot pattern, have
Shorten the effect of distance between photographic head and face to be captured, can become big in the facial image of the current preview interface display.
The distant view photographic head is taken pictures using landscape mode.When being taken pictures to face to be captured using landscape mode, have
The effect of distance between photographic head and face to be captured is elongated, can be diminished in the facial image of the current preview interface display.
Step S102, obtains the area of the current preview picture, and calculates the area of the facial image and work as with described
The ratio of the area of front preview screen.
In embodiments of the present invention, the area of current preview picture described in the acquisition for mobile terminal, and calculation procedure
The ratio of area and the area of the current preview picture of facial image described in the current preview picture for obtaining in S101
The shared scale in the current preview picture of value, the i.e. facial image.Wherein, the mobile terminal can pass through
Obtain the length and width of the current preview picture to calculate the area of the current preview picture.Certainly, other can be counted
The method for calculating the area of the current preview picture also should be within the scope of the present invention.
Step S103, according to area and the ratio of the area of the current preview picture of the facial image, chooses phase
The exposal model that answers is taken pictures to the current preview picture, and wherein, the exposal model includes landscape mode and close shot mould
Formula.
In embodiments of the present invention, the facial image area and the area of the current preview picture ratio relatively
When little (e.g., less than a certain predetermined threshold value 0.4), it is possible to determine that what mobile terminal described in step S101 was opened take pictures mould
Formula is landscape mode (as opened the landscape mode in single camera or the distant view photographic head in dual camera), due to the people
Face image proportion in the current preview picture is less, by landscape mode, the exposal model can be switched to close shot
(as single camera switches to close shot pattern by landscape mode, or dual camera switches to close shot by distant view photographic head and takes the photograph pattern
As head), so that the effect for shortening distance between photographic head and face to be captured is reached, increase the facial image described current pre-
Look at proportion in picture, improve effect of taking pictures.Area and the area of the current preview picture in the facial image
During ratio larger (being greater than a certain predetermined threshold value 0.4), it is possible to determine that described in step S101, mobile terminal is opened
Exposal model is close shot pattern (as opened the close shot pattern in single camera or the close shot photographic head in dual camera), due to
Facial image proportion in the current preview picture is larger, can be by the exposal model by close shot pattern switching
To landscape mode, (as single camera by close shot pattern switching to landscape mode, or dual camera is switched to by close shot photographic head
Distant view photographic head), so that the effect for elongating distance between photographic head and face to be captured is reached, reduce the facial image described
Proportion in current preview picture, improves effect of taking pictures.
The ratio of area of the embodiment of the present invention according to facial image in preview screen and the area of preview screen, can be true
Surely it is using landscape mode or close shot pattern, preview screen to be taken pictures, and is automatically switched, so as to without the need for user's hands
Dynamic adjustment photographic head, reduces the operation of adjustment photographic head, improves efficiency of taking pictures, also reduce the power consumption of mobile terminal.
Referring to Fig. 2, it is the schematic flow diagram of the photographic method that the embodiment of the present invention two is provided, the photographic method is applied to move
Dynamic terminal, as shown in the figure the photographic method may comprise steps of:
, when the mobile terminal opens camera function, if detect in current preview picture there is face in step S201
Image, then obtain the area of the facial image.
The step is identical with step S101, specifically can be found in the associated description of step S101, will not be described here.
Step S202, obtains the area of the current preview picture, and calculates the area of the facial image and work as with described
The ratio of the area of front preview screen.
The step is identical with step S102, specifically can be found in the associated description of step S102, will not be described here.
Step S203, if the ratio of the area of the facial image and the area of the current preview picture is not in default threshold
In value is interval, then chooses corresponding exposal model and the current preview picture is taken pictures.
In embodiments of the present invention, detect that the area of facial image described in the current preview picture is current pre- with described
Look at picture area ratio whether in predetermined threshold value interval (such as [0.4,0.8]), if in predetermined threshold value is interval, really
Fixed facial image proportion in the current preview picture is suitable, can be directly using mobile terminal institute in step S201
The screening-mode of startup (as singly put close shot pattern or landscape mode in photographic head, or take the photograph by double distant views that puts in photographic head
As head or close shot photographic head) taken pictures;If not in predetermined threshold value is interval, it is determined that the facial image is described current
In preview screen, proportion is improper, in order to improve effect of taking pictures, can be worked as with described according to the area of the facial image
The ratio of the area of front preview screen, automatic switchover exposal model, such as singly put the exposal model of photographic head or double put photographic head
Photographic head.
Optionally, if the ratio of the area of the facial image and the area of the current preview picture is not in predetermined threshold value
In interval, then choose corresponding exposal model the current preview picture is carried out taking pictures including:
If the area of the facial image is less than the predetermined threshold value area with the ratio of the area of the current preview picture
Between in minimum predetermined threshold value, it is determined that the exposal model opened by the mobile terminal is landscape mode, and to take pictures described
Pattern switches to close shot pattern by landscape mode and the current preview picture is taken pictures.
In embodiments of the present invention, little with the ratio of the area of the current preview picture in the area of the facial image
In the predetermined threshold value interval in minimum predetermined threshold value (such as 0.4) when, it may be determined that the bat opened by the mobile terminal
It is landscape mode according to pattern, in order to improve the effect that takes pictures, the exposal model can be switched to close shot mould by landscape mode
Formula, to reach the effect for shortening distance between photographic head and captured face, increases the facial image in the current preview
Proportion in picture.
Optionally, if the ratio of the area of the facial image and the area of the current preview picture is not in predetermined threshold value
In interval, then choose corresponding exposal model the current preview picture is carried out taking pictures including:
If the area of the facial image is more than the default threshold with the ratio of the area of the camera current preview picture
Maximum preset threshold value in value interval, it is determined that the exposal model opened by the mobile terminal is close shot pattern, and will be described
Exposal model is taken pictures to the current preview picture by close shot pattern switching to landscape mode.
In embodiments of the present invention, big with the ratio of the area of the current preview picture in the area of the facial image
In the predetermined threshold value interval in maximum preset threshold value (such as 0.8) when, it may be determined that the bat opened by the mobile terminal
It is close shot pattern according to pattern, in order to improve the effect that takes pictures, can be by the exposal model by close shot pattern switching to distant view mould
Formula, to reach the effect for elongating distance between photographic head and captured face, reduces the facial image in the current preview
Proportion in picture.
The ratio of area of the embodiment of the present invention according to facial image in preview screen and the area of preview screen, in the ratio
When value is not in predetermined threshold value is interval, it may be determined that be using landscape mode or close shot pattern, preview screen to be taken pictures,
And automatically switched, so as to photographic head be manually adjusted without the need for user, reducing the operation of adjustment photographic head, improves effect of taking pictures
Rate, also reduces the power consumption of mobile terminal.
It should be understood that in the above-described embodiments, the size of the sequence number of each step is not meant to the priority of execution sequence, each step
Rapid execution sequence should be determined with its function and internal logic, and should not constitute any limit to the implementation process of the embodiment of the present invention
Fixed.
Referring to Fig. 3, it is the schematic block diagram of the mobile terminal that the embodiment of the present invention three is provided, for convenience of description, only illustrates
The part related to the embodiment of the present invention.
The mobile terminal includes:
First acquisition module 31, for when the mobile terminal opens camera function, if detect current preview picture
In there is facial image, then obtain the area of the facial image;
Second acquisition module 32, for obtaining the area of the current preview picture, and calculates the face of the facial image
The long-pending ratio with the area of the current preview picture;
Module 33 is chosen, for the ratio according to the area of the facial image and the area of the current preview picture,
Choose corresponding exposal model to take pictures the current preview picture, wherein, the exposal model include landscape mode and
Close shot pattern.
Optionally, the selection module 33 is used for:
If the area of the facial image is not with the ratio of the area of the current preview picture in predetermined threshold value is interval,
Then choose corresponding exposal model to take pictures the current preview picture.
Optionally described selection module 33 specifically for:
If the area of the facial image is less than the predetermined threshold value area with the ratio of the area of the current preview picture
Between in minimum predetermined threshold value, it is determined that the exposal model opened by the mobile terminal is landscape mode, and to take pictures described
Pattern switches to close shot pattern by landscape mode and the current preview picture is taken pictures.
Optionally described selection module 33 specifically for:
If the area of the facial image is more than the predetermined threshold value area with the ratio of the area of the current preview picture
Between in maximum preset threshold value, it is determined that the exposal model opened by the mobile terminal is close shot pattern, and to take pictures described
Pattern is taken pictures to the current preview picture by close shot pattern switching to landscape mode.
Those skilled in the art can be understood that, for convenience of description and succinctly, only with above-mentioned each work(
The division of energy module is illustrated, and in practical application, can distribute above-mentioned functions by different functions as desired
Unit, module are completed, will the internal structure of the mobile terminal be divided into different functional units or module, above to complete
The all or part of function of description.Each functional module in embodiment can be integrated in a processing unit, or
Unit is individually physically present, it is also possible to which two or more units are integrated in a unit, above-mentioned integrated unit
Both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, the tool of each functional module
Body title is also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Module in above-mentioned mobile terminal
Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be described here.
Referring to Fig. 4, it is the schematic block diagram of the mobile terminal that the embodiment of the present invention four is provided.The mobile terminal as depicted
Can include:One or more processors 401 (in figure only illustrates one);(in figure is only illustrated one or more input equipments 402
One), one or more outut devices 403 (in figure only illustrates) and memorizer 404.Above-mentioned processor 401, input equipment
402nd, outut device 403 and memorizer 404 are connected by bus 405.Memorizer 404 is used for store instruction, and processor 401 is used for
Execute the instruction of the storage of memorizer 404.Wherein:
The processor 401, for when the mobile terminal opens camera function, if detect in current preview picture
There is facial image, then the area of the facial image is obtained by the input equipment 402;By the input equipment 402
The area of the current preview picture is obtained, and calculates area and the area of the current preview picture of the facial image
Ratio;According to area and the ratio of the area of the current preview picture of the facial image, corresponding exposal model is chosen
The current preview picture is taken pictures, wherein, the exposal model includes landscape mode and close shot pattern.
Optionally, the processor 401, if the area of area and the current preview picture for the facial image
The predetermined threshold value that do not store in the memorizer 404 of ratio interval in, then choose corresponding exposal model to described current
Preview screen is taken pictures.
Optionally, the processor 401, if the area specifically for the facial image and the current preview picture
The ratio of area is less than the minimum predetermined threshold value in the predetermined threshold value interval for storing in the memorizer 404, it is determined that institute
It is landscape mode to state the exposal model opened by mobile terminal, and the exposal model is switched to close shot pattern by landscape mode
The current preview picture is taken pictures.
Optionally, the processor 401, if the area specifically for the facial image and the current preview picture
The ratio of area is more than the maximum preset threshold value in the predetermined threshold value interval for storing in the memorizer 404, it is determined that institute
It is close shot pattern to state the exposal model opened by mobile terminal, and by the exposal model by close shot pattern switching to landscape mode
The current preview picture is taken pictures.
The memorizer 404, for storing software program and module.The processor 401 is stored in institute by operation
Software program and the module of memorizer 404 is stated, so as to various function application and data processing is executed, to switch mobile terminal
Exposal model current preview picture is taken pictures.
It should be appreciated that in embodiments of the present invention, the processor 401 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), special IC (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
Input equipment 402 can include that Trackpad, fingerprint adopt sensor (for gathering the finger print information of user and fingerprint
Directional information), mike, data receiver interface etc..Outut device 403 can include display (LCD etc.), speaker, data
Transmission interface etc..
The memorizer 404 can include read only memory and random access memory, and to processor 401 provide instruction and
Data.The a part of of memorizer 404 can also include nonvolatile RAM.For example, memorizer 404 can also be deposited
The information of storage device type.
In implementing, the processor 401 described in the embodiment of the present invention, input equipment 402,403 and of outut device
Memorizer 404 can perform the implementation described in the embodiment of photographic method provided in an embodiment of the present invention, also can perform
Implementation described in mobile terminal described in embodiment three, will not be described here.
Those of ordinary skill in the art are it is to be appreciated that the mould of each example for describing with reference to the embodiments described herein
Block and algorithm steps, can be with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware
With the interchangeability of software, composition and the step of each example is generally described in the above description according to function.This
A little functions are executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specially
Industry technical staff can use different methods to realize described function to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In embodiment provided by the present invention, it should be understood that disclosed mobile terminal and method, which can be passed through
Its mode is realized.For example, mobile terminal embodiment described above is only schematically, for example module or list
The division of unit, a kind of only division of logic function, can have other dividing mode when actually realizing, for example multiple units or
Component can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown
The coupling each other that shows or discuss or direct-coupling or communication connection can be by some interfaces, between device or unit
Coupling or communication connection is connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention
The part for substantially in other words prior art being contributed or all or part of the technical scheme can be with software products
Form embody, the computer software product is stored in a storage medium, including some instructions use so that one
Computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) execute this
The all or part of step of each embodiment methods described of bright embodiment.And aforesaid storage medium includes:USB flash disk, portable hard drive,
Read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
Embodiment described above only in order to technical scheme to be described, rather than a limitation;Although with reference to aforementioned reality
Apply example to be described in detail the present invention, it will be understood by those within the art that:Which still can be to aforementioned each
Technical scheme described in embodiment is modified, or carries out equivalent to which part technical characteristic;And these modifications
Or replace, do not make the essence of appropriate technical solution depart from spirit and the model of each embodiment technical scheme of the embodiment of the present invention
Enclose.
Claims (9)
1. a kind of photographic method, is applied to mobile terminal, it is characterised in that the photographic method includes:
When the mobile terminal opens camera function, if detect the presence of facial image in current preview picture, institute is obtained
State the area of facial image;
The area of the current preview picture is obtained, and calculates the area of the facial image and the face of the current preview picture
The ratio of product;
According to area and the ratio of the area of the current preview picture of the facial image, corresponding exposal model pair is chosen
The current preview picture is taken pictures, and wherein, the exposal model includes landscape mode and close shot pattern.
2. photographic method according to claim 1, it is characterised in that the area according to the facial image with described
The ratio of the area of current preview picture, choose corresponding exposal model the current preview picture is carried out taking pictures including:
If the area of the facial image is selected with the ratio of the area of the current preview picture not in predetermined threshold value is interval
Take corresponding exposal model to take pictures the current preview picture.
3. photographic method according to claim 2, it is characterised in that if the area of the facial image is current pre- with described
Look at picture area ratio not in predetermined threshold value is interval, then choose corresponding exposal model and the current preview picture entered
Row take pictures including:
If the area of the facial image is with the ratio of the area of the current preview picture less than in the predetermined threshold value interval
Minimum predetermined threshold value, it is determined that the exposal model opened by the mobile terminal is landscape mode, and by the exposal model
Close shot pattern is switched to by landscape mode to take pictures the current preview picture.
4. photographic method according to claim 2, it is characterised in that if the area of the facial image is current pre- with described
Look at picture area ratio not in predetermined threshold value is interval, then choose corresponding exposal model and the current preview picture entered
Row take pictures including:
If the area of the facial image is with the ratio of the area of the current preview picture more than in the predetermined threshold value interval
Maximum preset threshold value, it is determined that the exposal model opened by the mobile terminal is close shot pattern, and by the exposal model
By close shot pattern switching to landscape mode, the current preview picture is taken pictures.
5. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
First acquisition module, for when the mobile terminal opens camera function, if detect in current preview picture exist
Facial image, then obtain the area of the facial image;
Second acquisition module, for obtaining the area of the current preview picture, and calculates area and the institute of the facial image
State the ratio of the area of current preview picture;
Module is chosen, for area and the ratio of the area of the current preview picture according to the facial image, chooses phase
The exposal model that answers is taken pictures to the current preview picture, and wherein, the exposal model includes landscape mode and close shot mould
Formula.
6. mobile terminal according to claim 5, it is characterised in that the selection module is used for:
If the area of the facial image is selected with the ratio of the area of the current preview picture not in predetermined threshold value is interval
Take corresponding exposal model to take pictures the current preview picture.
7. mobile terminal according to claim 6, it is characterised in that the selection module specifically for:
If the area of the facial image is with the ratio of the area of the current preview picture less than in the predetermined threshold value interval
Minimum predetermined threshold value, it is determined that the exposal model opened by the mobile terminal is landscape mode, and by the exposal model
Close shot pattern is switched to by landscape mode to take pictures the current preview picture.
8. mobile terminal according to claim 6, it is characterised in that the selection module specifically for:
If the area of the facial image is with the ratio of the area of the current preview picture more than in the predetermined threshold value interval
Maximum preset threshold value, it is determined that the exposal model opened by the mobile terminal is close shot pattern, and by the exposal model
By close shot pattern switching to landscape mode, the current preview picture is taken pictures.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Processor and input equipment;
, for when the mobile terminal opens camera function, if detect in current preview picture there is people in the processor
Face image, then obtain the area of the facial image by the input equipment;
The processor, is additionally operable to be obtained the area of the current preview picture by the input equipment, and calculates the people
The ratio of the area of face image and the area of the current preview picture;
The processor, is additionally operable to the ratio of the area according to the facial image and the area of the current preview picture, choosing
Take corresponding exposal model to take pictures the current preview picture, wherein, the exposal model includes landscape mode and near
Scape pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611204853.2A CN106454139B (en) | 2016-12-22 | 2016-12-22 | Photographing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611204853.2A CN106454139B (en) | 2016-12-22 | 2016-12-22 | Photographing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454139A true CN106454139A (en) | 2017-02-22 |
CN106454139B CN106454139B (en) | 2020-01-10 |
Family
ID=58215351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611204853.2A Expired - Fee Related CN106454139B (en) | 2016-12-22 | 2016-12-22 | Photographing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454139B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851107A (en) * | 2017-03-09 | 2017-06-13 | 广东欧珀移动通信有限公司 | Switch control method, control device and the electronic installation of camera assisted drawing |
CN107241490A (en) * | 2017-05-16 | 2017-10-10 | 珠海市魅族科技有限公司 | Information processing method and device, computer installation and storage medium |
CN107465856A (en) * | 2017-08-31 | 2017-12-12 | 广东欧珀移动通信有限公司 | Image capture method, device and terminal device |
CN108111754A (en) * | 2017-12-18 | 2018-06-01 | 维沃移动通信有限公司 | A kind of method and mobile terminal of definite image acquisition modality |
CN108184050A (en) * | 2017-12-15 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal |
CN108965702A (en) * | 2018-07-09 | 2018-12-07 | 广东小天才科技有限公司 | A kind of shooting bootstrap technique and wearable device |
CN109561249A (en) * | 2017-09-26 | 2019-04-02 | 北京小米移动软件有限公司 | Adjust the method and device of focal length |
CN109729257A (en) * | 2017-10-31 | 2019-05-07 | 华为终端(东莞)有限公司 | One kind is taken pictures reminding method and equipment |
CN110177217A (en) * | 2019-06-28 | 2019-08-27 | Oppo广东移动通信有限公司 | Image capturing method, device, electronic equipment and storage medium |
CN110506416A (en) * | 2018-07-27 | 2019-11-26 | 华为技术有限公司 | A kind of method and terminal of terminal switching camera |
CN111669505A (en) * | 2020-06-30 | 2020-09-15 | 维沃移动通信有限公司 | Camera starting method and device |
CN111787228A (en) * | 2020-07-23 | 2020-10-16 | 惠州Tcl移动通信有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
CN112601008A (en) * | 2020-11-17 | 2021-04-02 | 中兴通讯股份有限公司 | Camera switching method, terminal, device and computer readable storage medium |
US11108953B2 (en) | 2017-08-18 | 2021-08-31 | Huawei Technologies Co., Ltd. | Panoramic photo shooting method and apparatus |
US11169688B2 (en) | 2017-09-29 | 2021-11-09 | Huawei Technologies Co., Ltd. | Message processing method, message viewing method, and terminal |
CN114205659A (en) * | 2020-08-31 | 2022-03-18 | 青岛海尔多媒体有限公司 | Method, device and equipment for adjusting video picture |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003271933A (en) * | 2002-03-18 | 2003-09-26 | Sony Corp | Face detector, face detecting method, and robot device |
JP2006020137A (en) * | 2004-07-02 | 2006-01-19 | Seiko Epson Corp | Image processing apparatus and recommendation degree displaying method |
CN103024165A (en) * | 2012-12-04 | 2013-04-03 | 华为终端有限公司 | Method and device for automatically setting shooting mode |
CN104869315A (en) * | 2015-05-28 | 2015-08-26 | 魅族科技(中国)有限公司 | Photographing control method and terminal |
CN105049711A (en) * | 2015-06-30 | 2015-11-11 | 广东欧珀移动通信有限公司 | Photographing method and user terminal |
-
2016
- 2016-12-22 CN CN201611204853.2A patent/CN106454139B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003271933A (en) * | 2002-03-18 | 2003-09-26 | Sony Corp | Face detector, face detecting method, and robot device |
JP2006020137A (en) * | 2004-07-02 | 2006-01-19 | Seiko Epson Corp | Image processing apparatus and recommendation degree displaying method |
CN103024165A (en) * | 2012-12-04 | 2013-04-03 | 华为终端有限公司 | Method and device for automatically setting shooting mode |
CN104869315A (en) * | 2015-05-28 | 2015-08-26 | 魅族科技(中国)有限公司 | Photographing control method and terminal |
CN105049711A (en) * | 2015-06-30 | 2015-11-11 | 广东欧珀移动通信有限公司 | Photographing method and user terminal |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851107A (en) * | 2017-03-09 | 2017-06-13 | 广东欧珀移动通信有限公司 | Switch control method, control device and the electronic installation of camera assisted drawing |
CN107241490A (en) * | 2017-05-16 | 2017-10-10 | 珠海市魅族科技有限公司 | Information processing method and device, computer installation and storage medium |
US11108953B2 (en) | 2017-08-18 | 2021-08-31 | Huawei Technologies Co., Ltd. | Panoramic photo shooting method and apparatus |
CN107465856A (en) * | 2017-08-31 | 2017-12-12 | 广东欧珀移动通信有限公司 | Image capture method, device and terminal device |
CN109561249A (en) * | 2017-09-26 | 2019-04-02 | 北京小米移动软件有限公司 | Adjust the method and device of focal length |
US11169688B2 (en) | 2017-09-29 | 2021-11-09 | Huawei Technologies Co., Ltd. | Message processing method, message viewing method, and terminal |
CN109729257B (en) * | 2017-10-31 | 2020-09-29 | 华为终端有限公司 | Photographing prompting method and device |
CN109729257A (en) * | 2017-10-31 | 2019-05-07 | 华为终端(东莞)有限公司 | One kind is taken pictures reminding method and equipment |
CN108184050A (en) * | 2017-12-15 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal |
CN108184050B (en) * | 2017-12-15 | 2020-04-24 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN108111754A (en) * | 2017-12-18 | 2018-06-01 | 维沃移动通信有限公司 | A kind of method and mobile terminal of definite image acquisition modality |
CN108111754B (en) * | 2017-12-18 | 2021-03-12 | 维沃移动通信有限公司 | Method for determining image acquisition mode and mobile terminal |
CN108965702B (en) * | 2018-07-09 | 2020-12-25 | 广东小天才科技有限公司 | Shooting guiding method and wearable device |
CN108965702A (en) * | 2018-07-09 | 2018-12-07 | 广东小天才科技有限公司 | A kind of shooting bootstrap technique and wearable device |
CN113905179A (en) * | 2018-07-27 | 2022-01-07 | 华为技术有限公司 | Method for switching camera by terminal and terminal |
US11412132B2 (en) | 2018-07-27 | 2022-08-09 | Huawei Technologies Co., Ltd. | Camera switching method for terminal, and terminal |
US11785329B2 (en) | 2018-07-27 | 2023-10-10 | Huawei Technologies Co., Ltd. | Camera switching method for terminal, and terminal |
EP3800876A4 (en) * | 2018-07-27 | 2021-07-07 | Huawei Technologies Co., Ltd. | Method for terminal to switch cameras, and terminal |
CN113905179B (en) * | 2018-07-27 | 2023-05-02 | 华为技术有限公司 | Method for switching cameras by terminal and terminal |
CN110506416B (en) * | 2018-07-27 | 2021-10-22 | 华为技术有限公司 | Method for switching camera by terminal and terminal |
CN110506416A (en) * | 2018-07-27 | 2019-11-26 | 华为技术有限公司 | A kind of method and terminal of terminal switching camera |
US11595566B2 (en) | 2018-07-27 | 2023-02-28 | Huawei Technologies Co., Ltd. | Camera switching method for terminal, and terminal |
CN110177217A (en) * | 2019-06-28 | 2019-08-27 | Oppo广东移动通信有限公司 | Image capturing method, device, electronic equipment and storage medium |
CN111669505A (en) * | 2020-06-30 | 2020-09-15 | 维沃移动通信有限公司 | Camera starting method and device |
CN111669505B (en) * | 2020-06-30 | 2022-09-20 | 维沃移动通信(杭州)有限公司 | Camera starting method and device |
CN111787228A (en) * | 2020-07-23 | 2020-10-16 | 惠州Tcl移动通信有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
CN114205659A (en) * | 2020-08-31 | 2022-03-18 | 青岛海尔多媒体有限公司 | Method, device and equipment for adjusting video picture |
CN112601008B (en) * | 2020-11-17 | 2022-03-25 | 中兴通讯股份有限公司 | Camera switching method, terminal, device and computer readable storage medium |
CN112601008A (en) * | 2020-11-17 | 2021-04-02 | 中兴通讯股份有限公司 | Camera switching method, terminal, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106454139B (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106454139A (en) | Shooting method and mobile terminal | |
CN108733342B (en) | Volume adjusting method, mobile terminal and computer readable storage medium | |
US8347232B1 (en) | Interactive user interface | |
CN106210521A (en) | A kind of photographic method and terminal | |
US20150185989A1 (en) | Interactive user interface | |
CN107124548A (en) | A kind of photographic method and terminal | |
CN106648361A (en) | Photographing method and terminal | |
CN106648326B (en) | The method and mobile terminal of screen time is put out in adjustment | |
CN107426493A (en) | A kind of image pickup method and terminal for blurring background | |
KR20140009074A (en) | Smart scheduled sync method for sync applications and mobile device | |
CN106354404B (en) | Page operation method and device | |
CN106951057A (en) | The control method and mobile terminal of application | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN106201178A (en) | A kind of adjustment screen display direction control method and terminal | |
CN108874134A (en) | Eyeshield mode treatment method, mobile terminal and computer readable storage medium | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN107302666A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN108769419A (en) | Photographic method, mobile terminal and computer readable storage medium | |
WO2020057241A1 (en) | Method and apparatus for displaying application program, and terminal device | |
CN110166696A (en) | Image pickup method, device, terminal device and computer readable storage medium | |
CN107741786A (en) | A kind of method, terminal and computer-readable recording medium for starting camera | |
CN108629767B (en) | Scene detection method and device and mobile terminal | |
CN106250111A (en) | A kind of wallpaper acquisition methods and terminal | |
CN109035191A (en) | Image processing method, picture processing unit and terminal device | |
CN108491152A (en) | Touch screen terminal control method, terminal and medium based on virtual cursor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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: 20200110 |