Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
The embodiment provides a kind of weakening methods of taking pictures of mobile terminal, as shown in Figure 1, this method comprises:
Step 101: target face is identified in the preview interface of taking pictures of mobile terminal.
The embodiment of the present invention is the movement by human eye, adjusts background blurring depth, therefore, the embodiment of the present invention institute
The mobile terminal of application has the function of Automatic face recognition, and when only recognizing target face in preview interface of taking pictures,
It can be according to the movement of the eyes of target face, by background blurring depth adjustment to the desired effect of user.
Step 102: when recognizing the target face, according to the deliberate action of the eyes of the target person on the face, adjusting
Save background blurring depth.
Wherein, the deliberate action of eyes is the closure of eyes and opens movement, and eyes are from being closed between time for opening
It is caused to effectively prevent human eye in normal blink to background blurring depth every being greater than the eyes blink time used
Mistuning section.
In addition, the background blurring depth is that the region taken pictures in preview interface except focusing area carries out virtualization processing
Degree, i.e. virtualization treated fog-level.
Step 103: according to the background blurring depth after adjusting, by the area except focusing area in the preview interface of taking pictures
Domain carries out virtualization display processing.
Wherein, after focusing area is the camera starting of mobile terminal, the region after auto-focusing where focus, Huo Zheyong
The focusing area that family is manually adjusted according to the demand of taking pictures of itself.And in the embodiment of the present invention, when taking pictures, need to take pictures pre-
It lookes in interface and handles the region virtualization except focusing area, to highlight the reference object in focusing area.Therefore, when
After finishing background blurring depth by step 102 adjusting, it can will take pictures pre- further according to the background blurring depth after the adjusting
Looking at the region in interface except focusing area carries out virtualization display processing, so that the virtualization for carrying out the region of virtualization processing is aobvious
Show that effect is met the needs of users.
In addition, a virtualization depth automatic regulating switch can be arranged, on mobile terminals also so as in mobile terminal
It after camera starting, detects whether virtualization depth adjustment switch is opened, and just enters step 101 when opening.
Wherein, the setting of depth automatic regulating switch is blurred, more function selections are provided for user, when user needs
When adjusting background blurring depth by the movement of human eye during taking pictures, the virtualization depth automatic regulating switch can be opened;
When not needing the movement adjusting background blurring depth by human eye during taking pictures, the virtualization depth can be closed and adjusted automatically
Section switch, to meet the demand of taking pictures of various different users.
In conclusion the embodiment of the present invention, identifies target face in the preview interface of taking pictures of mobile terminal, thus
When recognizing target face, according to the deliberate action of target person eyes on the face, adjust background blurring depth, so according to adjusting after
Background blurring depth, by the region except focusing area in preview interface of taking pictures carry out virtualization display processing.It follows that this
The embodiment of invention, during taking pictures, it is only necessary to background blurring depth can be adjusted by the movement of human eye, without with
Family manually selects background blurring depth, and adjustment process is simple and convenient, improves the usage experience of user.
Second embodiment
The embodiment provides a kind of weakening methods of taking pictures of mobile terminal, as shown in Fig. 2, this method comprises:
Step 201: target facial image according to the pre-stored data identifies target in the preview interface of taking pictures of mobile terminal
Face.
The embodiment of the present invention is the movement by human eye, adjusts background blurring depth, therefore, the embodiment of the present invention institute
The mobile terminal of application has the function of Automatic face recognition, and when only recognizing target face in preview interface of taking pictures,
It can be according to the movement of the eyes of target face, by background blurring depth adjustment to the desired effect of user.
Wherein, the target facial image can be before this is taken pictures, using mobile terminal to a certain target
The photo of personage's shooting.Target person is taken pictures and stored first with mobile terminal, is then had in shooting
When the photo of background blurring effect, mobile terminal automatically according to the target person shot in advance photo, from preview of taking pictures
Face similar with the target person is found in the face recognized in interface, thus as target face.
In addition, the target facial image can also be one of the mobile terminal user of the storage on mobile terminals
Photo.I.e. shooting have background blurring effect photo when, mobile terminal automatically according to mobile terminal user photo, from
The face of mobile terminal user is found in the face recognized in preview interface of taking pictures as target face.
Preferably, step 201 includes: that the face that will be recognized is compared with pre-stored target facial image, and
Obtain image similarity;By in the face recognized, the corresponding face of image similarity greater than the first preset threshold is determined as
Target face.
That is the embodiment of the present invention selects image similarity and pre-stored target face figure from the face recognized
As similarity is more than the face of the first preset threshold as target face.In addition, for the selection target from the face recognized
The specific method of face, it is not limited to this.For example, can also select the people nearest apart from mobile terminal from the face recognized
Face is as target face.
Step 202: according to the closed state of the eyes of the target person on the face, determining the adjusting side of background blurring depth
To.
Wherein, the adjusting direction of the background blurring depth includes: to increase background blurring depth and the background blurring depth of reduction
Degree.The closed state of target person eyes on the face includes that the first state that one eye eyeball is individually closed and other one eye eyeball individually close
The second state closed.Thus, in the embodiment of the present invention, the increase of background blurring depth is controlled by one eye eyeball, in addition one
Eyes control the reduction of background blurring depth.
Further, step 202 includes: the closed state of the eyes of the detection target person on the face;If detecting closure
First eye, it is determined that the adjusting direction of background blurring depth is to increase background blurring depth;If detecting the second eyes of closure,
Determine the adjusting direction of background blurring depth then to reduce background blurring depth.
Specifically, such as when detecting left eye closure, it is empty to increase background to determine the adjusting direction of background blurring depth
Change depth;When detecting right eye closure, the adjusting direction of background blurring depth is determined to reduce background blurring depth.
Step 203: according to the closing time of the eyes of the target person on the face, determining the adjusting journey of background blurring depth
Degree.
Wherein, the regulating degree of background blurring depth is that the region taken pictures in preview interface except focusing area is blurred
The degree of processing, i.e. virtualization treated fog-level.
In addition, the closing time of eyes is greater than the eyes blink time used, normally blinked to effectively prevent human eye
At the moment, the mistuning section to background blurring depth is caused.
Further, step 203 includes: the closing time of the eyes of the detection target person on the face;According to being stored in advance
The eyes closed time and background blurring depth regulating degree corresponding relationship, determine the regulating degree of background blurring depth.
Wherein, in an embodiment of the present invention, predefine the adjusting journey of eyes closed time and background blurring depth
The corresponding relationship of degree can be according to detection then when user adjusts the regulating degree of background blurring depth using the closure of eyes
The eyes closed time arrived searches the regulating degree of corresponding background blurring depth from predetermined corresponding relationship.
Specifically, within the time that left eye is in closed state, every the first prefixed time interval, by background blurring depth
Increase the first preset value;Within the time that right eye is in closed state, every the second prefixed time interval, by background blurring depth
Reduce the second preset threshold.
I.e. in the embodiment of the present invention, the adjusting of background blurring depth is in such a way that gradation is incremented by or successively decreases.Example
If every 500ms adjusts 12.5 depth value, if then there is user's left eye to be closed 2s, total increase of background blurring depth is 50,
It is finished when user is adjusted, regulating effect has reached the demand of user, and target face left eye is opened or eyes are all closed, and closes
Close background blurring depth adjustment.
Wherein, it is incremented by using gradual or adjusts background blurring depth by the way of successively decreasing, background blurring depth can be made
The change procedure of degree more mitigates, so that being presented on the virtualization effect taken pictures in preview interface can gradually be transitioned into finally
Meet the effect of user demand.
Step 204: according to the adjusting direction and the regulating degree, adjusting background blurring depth.
Wherein, it for stopping the adjusting to background blurring depth, can all be closed by open movement or the eyes to eyes
The movement of conjunction is controlled.
In conclusion the detailed process of the adjusting of background blurring depth is controlled by the deliberate action of eyes, it can following institute
It states: when detecting the wherein one eye eyeball closure of the target person on the face, judging the closing time of the eyes whether more than the
One preset threshold, and when closing time is more than the first preset threshold, increase background blurring depth, until detecting that the eyes are opened
Until opening or until the time for detecting that two eyes of the target person on the face are closed being more than the second preset threshold;
When detecting the other one eye eyeball closure of the target person on the face, judge whether the closing time of the eyes surpasses
The first preset threshold is crossed, and when closing time is more than the first preset threshold, reduces background blurring depth, until detecting the eye
It is more than the second preset threshold until eyeball is opened or until the time for detecting that two eyes of the target person on the face are closed
Until.Wherein, first preset threshold and the second preset threshold are all larger than the human eye blink time used.
That is the embodiment of the present invention passes through the increasing of the background blurring depth of action control of the wherein one eye eyeball of target face
Greatly, the reduction of background blurring depth is controlled by other one eye eyeball.For example, when the left eye for detecting target face is closed,
Judge that the closing time of left eye whether more than the first preset threshold, and when closing time is more than the second preset threshold, increases back
Scape blurs depth, until detecting that left eye is opened or until detecting that the time that eyes are closed is more than the second default threshold
Until value;When the right eye for detecting the target face is closed, judge right eye closing time whether more than the first preset threshold,
And when closing time is more than the first preset threshold, reduce background blurring depth, it is until detecting that right eye is opened or straight
Until detecting that time that eyes are closed is more than the second preset threshold.
Wherein, it should be noted that the increase and reduction and the corresponding relationship of right and left eyes for blurring depth can be reset.
Or pass through user's manual configuration on mobile terminals.In addition, increasing background blurring depth, another by the control of one eye eyeball
Eyes control reduces virtualization depth, and in background blurring depth during increasing or reducing, always there is one eye eyeball to be in normal
State is opened, so that user can observe in preview interface of taking pictures in real time at the virtualization after background blurring depth change
Effect is managed, and then needs to adjust which kind of degree arrived convenient for the background blurring depth of user's control.
It can be seen from the above, in an embodiment of the present invention, in the adjusting of the background blurring depth of action control by eyes
In the process, it can persistently be increased or reduced controlling background blurring depth by one eye eyeball closure, until this eyes are opened
Until;Or the second preset threshold or third predetermined threshold value time are closed by one eye eyeball, start to background blurring depth
It adjusts, then opens, until the time that eyes are closed being more than four preset thresholds.
Step 205: according to the background blurring depth after adjusting, by the area except focusing area in the preview interface of taking pictures
Domain carries out virtualization display processing.
Wherein, after focusing area is the camera starting of mobile terminal, the region after auto-focusing where focus, Huo Zheyong
The focusing area that family is manually adjusted according to the demand of taking pictures of itself.And in the embodiment of the present invention, when taking pictures, need to take pictures pre-
It lookes in interface and handles the region virtualization except focusing area, to highlight the reference object in focusing area.Therefore, when
Adjusted by step 202~204 after finishing background blurring depth, can further adjust virtualization region, so according to adjusting after
Determining virtualization region is carried out virtualization display processing, so that carrying out the void in the region of virtualization processing by background blurring depth
Change display effect to meet the needs of users.
It further, can be background blurring when adjusting background blurring depth using gradual incremental or decreasing fashion
It is background blurring after display this time background blurring depth change in preview interface of taking pictures after the every change of the depth value of depth is primary
Effect image, in order to which the corresponding effect image of different background virtualization depth value can be observed in real time in user.
In addition, a virtualization depth automatic regulating switch can be arranged, on mobile terminals also so as in mobile terminal
It after camera starting, detects whether virtualization depth adjustment switch is opened, and just enters step 201 when opening.
Wherein, the setting of depth automatic regulating switch is blurred, more function selections are provided for user, when user needs
When taking pictures, when adjusting background blurring depth by the movement of human eye, the virtualization depth automatic regulating switch can be opened;When
During taking pictures, when not needing to adjust background blurring depth by the movement of human eye, virtualization depth automatic adjustment can be closed
Switch, to meet the demand of taking pictures of various different users.
In conclusion the embodiment of the present invention, identifies target face in the preview interface of taking pictures of mobile terminal, thus
When recognizing target face, according to the deliberate action of target person eyes on the face, adjust background blurring depth, so according to adjusting after
Background blurring depth, by the region except focusing area in preview interface of taking pictures carry out virtualization display processing.It follows that this
The embodiment of invention, during taking pictures, it is only necessary to background blurring depth can be adjusted by the movement of human eye, without with
Family manually selects background blurring depth, and adjustment process is simple and convenient, improves the usage experience of user.
3rd embodiment
The embodiment provides a kind of mobile terminals, as shown in figure 3, the mobile terminal 300 includes:
Target face detection module 301, for identifying target face in the preview interface of taking pictures of mobile terminal;
Depth adjustment module 302 is blurred, for when recognizing the target face, according to the eye of the target person on the face
The deliberate action of eyeball adjusts background blurring depth;
Processing module 303 is blurred, for will focus in the preview interface of taking pictures according to the background blurring depth after adjusting
Region except region carries out virtualization display processing.
Preferably, the target face detection module 301 is specifically used for:
Target facial image according to the pre-stored data identifies target face in the preview interface of taking pictures of mobile terminal.
Preferably, as shown in figure 4, the virtualization depth adjustment module 302 includes:
It adjusts direction-determining unit 3021 and determines background for the closed state of the eyes according to the target person on the face
Blur the adjusting direction of depth;Wherein, the adjusting direction of the background blurring depth includes: to increase background blurring depth and reduction
Background blurring depth;
Regulating degree determination unit 3022 determines background for the closing time of the eyes according to the target person on the face
Blur the regulating degree of depth;
Unit 3023 is adjusted, for adjusting background blurring depth according to the adjusting direction and the regulating degree.
Preferably, as shown in figure 4, the adjusting direction-determining unit 3021 includes:
First detection sub-unit 30211, for detecting the closed state of the eyes of the target person on the face;
First determines subelement 30212, if for detecting closure first eye, it is determined that the adjusting of background blurring depth
Direction is to increase background blurring depth;
Second determines subelement 30213, if for detecting the second eyes of closure, it is determined that the adjusting of background blurring depth
Direction is to reduce background blurring depth.
Preferably, as shown in figure 4, the regulating degree determination unit 3022 includes:
Second detection sub-unit 30221, for detecting the closing time of the eyes of the target person on the face;
Third determines subelement 30222, the tune for eyes closed time and background blurring depth according to the pre-stored data
The corresponding relationship of section degree determines the regulating degree of background blurring depth.
It can be seen from the above, the mobile terminal of the embodiment of the present invention, by target face detection module 301 in mobile terminal
Target face is identified in preview interface of taking pictures, thus when recognizing the target face, triggering virtualization depth adjustment module 302
According to the deliberate action of the eyes of the target person on the face, background blurring depth is adjusted, so that virtualization processing module 303
According to the background blurring depth after adjusting, the region except focusing area in the preview interface of taking pictures is carried out at virtualization display
Reason.Therefore, the embodiment of the present invention, during taking pictures, it is only necessary to which background blurring depth can be adjusted by the movement of human eye
Degree, background blurring depth is manually selected without user, adjustment process is simple and convenient, improves the usage experience of user again.
Fourth embodiment
Fig. 5 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 500 in Fig. 5
It can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (Radio Frequency, RF) circuit 510, memory 520, input
Unit 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (Wireless Fidelity) module 580 and electricity
Source 590.
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 531.Touch panel 531, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 531 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.
Optionally, touch panel 531 may include both touch detecting apparatus and touch controller.Wherein, inspection is touched
The touch orientation of device detection user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;It touches
Controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 560, and
The order that processor 560 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 531.In addition to touch panel 531, input unit 530 can also include that other inputs are set
Standby 532, other input equipments 532 can include but is not limited to physical keyboard, function key (for example press by volume control button, switch
Key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 540 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 500.Optionally, LCD or Organic Light Emitting Diode (Organic Light- can be used
Emitting Diode, OLED) etc. forms configure display panel 541.
It should be noted that touch panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device
560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage
Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, processor 560 identifies target face in the preview interface of taking pictures of mobile terminal, thus
When recognizing the target face, according to the deliberate action of the eyes of the target person on the face, background blurring depth is adjusted, into
And according to the background blurring depth after adjusting, the region except focusing area in the preview interface of taking pictures is subjected to virtualization and is shown
Processing.
Preferably, when processor 560 identifies target face in the preview interface of taking pictures of mobile terminal, it is specifically used for: root
According to pre-stored target facial image, target face is identified in the preview interface of taking pictures of mobile terminal.
Preferably, processor 560 adjusts background blurring depth in the deliberate action of the eyes according to the target person on the face
When, it is specifically used for: according to the closed state of the eyes of the target person on the face, determines the adjusting direction of background blurring depth;Its
In, the adjusting direction of the background blurring depth includes: to increase background blurring depth and the background blurring depth of reduction;According to described
The closing time of the eyes of target person on the face, determines the regulating degree of background blurring depth;According to the adjusting direction and described
Regulating degree adjusts background blurring depth.
Preferably, processor 560 determines background blurring depth in the closed state of the eyes according to the target person on the face
Adjusting direction when, be specifically used for: detecting the closed state of the eyes of the target person on the face;If detecting closure First view
Eyeball, it is determined that the adjusting direction of background blurring depth is to increase background blurring depth;If detecting the second eyes of closure, it is determined that
The adjusting direction of background blurring depth is to reduce background blurring depth.
Preferably, processor 560 determines background blurring depth in the closing time of the eyes according to the target person on the face
Regulating degree when, be specifically used for: detecting the closing time of the eyes of the target person on the face;Eyes according to the pre-stored data close
The corresponding relationship for closing the regulating degree of time and background blurring depth, determines the regulating degree of background blurring depth.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 500 of the embodiment of the present invention identifies target face in the preview interface of taking pictures of mobile terminal, thus
When recognizing target face, according to the deliberate action of target person eyes on the face, background blurring depth is adjusted, and then according to adjusting
Region except focusing area in preview interface of taking pictures is carried out virtualization display processing by background blurring depth afterwards.It follows that
The embodiment of the present invention, during taking pictures, it is only necessary to background blurring depth can be adjusted by the movement of human eye, without
User manually selects background blurring depth, and adjustment process is simple and convenient, improves the usage experience of user.
5th embodiment
Fig. 6 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, mobile terminal shown in fig. 6
600 include: at least one processor 601, memory 602, at least one network interface 604, other users interface 603.It is mobile
Various components in terminal 600 are coupled by bus system 605.It is understood that bus system 605 is for realizing these groups
Connection communication between part.Bus system 605 further includes power bus, control bus and state in addition to including data/address bus
Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application
The program or instruction stored in program 6022.
In embodiments of the present invention, processor 601 identifies target face in the preview interface of taking pictures of mobile terminal;Work as knowledge
When being clipped to the target face, according to the deliberate action of the eyes of the target person on the face, background blurring depth is adjusted;According to tune
Region except focusing area in the preview interface of taking pictures is carried out virtualization display processing by the background blurring depth after section.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 is a kind of IC chip, the processing capacity with signal.During realization, each step of the above method
It can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processor 601
It can be general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal
Processor, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, module (such as process, function etc.) Lai Shixian of execution function of the embodiment of the present invention can be passed through
The technology of the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can handled
Portion realizes in device or outside the processor.
Preferably, when processor 601 identifies target face in the preview interface of taking pictures of mobile terminal, it is specifically used for: root
According to pre-stored target facial image, target face is identified in the preview interface of taking pictures of mobile terminal.
Preferably, processor 601 adjusts background blurring depth in the deliberate action of the eyes according to the target person on the face
When, it is specifically used for: according to the closed state of the eyes of the target person on the face, determines the adjusting direction of background blurring depth;Its
In, the adjusting direction of the background blurring depth includes: to increase background blurring depth and the background blurring depth of reduction;According to described
The closing time of the eyes of target person on the face, determines the regulating degree of background blurring depth;According to the adjusting direction and described
Regulating degree adjusts background blurring depth.
Preferably, processor 601 determines background blurring depth in the closed state of the eyes according to the target person on the face
Adjusting direction when, be specifically used for: detecting the closed state of the eyes of the target person on the face;If detecting closure First view
Eyeball, it is determined that the adjusting direction of background blurring depth is to increase background blurring depth;If detecting the second eyes of closure, it is determined that
The adjusting direction of background blurring depth is to reduce background blurring depth.
Preferably, processor 601 determines background blurring depth in the closing time of the eyes according to the target person on the face
Regulating degree when, be specifically used for: detecting the closing time of the eyes of the target person on the face;Eyes according to the pre-stored data close
The corresponding relationship for closing the regulating degree of time and background blurring depth, determines the regulating degree of background blurring depth.
Mobile terminal 600 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 600 of the embodiment of the present invention identifies target face in the preview interface of taking pictures of mobile terminal, thus
When recognizing target face, according to the deliberate action of target person eyes on the face, background blurring depth is adjusted, and then according to adjusting
Region except focusing area in preview interface of taking pictures is carried out virtualization display processing by background blurring depth afterwards.It follows that
The embodiment of the present invention, during taking pictures, it is only necessary to background blurring depth can be adjusted by the movement of human eye, without
User manually selects background blurring depth, and adjustment process is simple and convenient, improves the usage experience of user.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.