CN106937054B - A kind of take pictures weakening method and the mobile terminal of mobile terminal - Google Patents

A kind of take pictures weakening method and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN106937054B
CN106937054B CN201710201388.5A CN201710201388A CN106937054B CN 106937054 B CN106937054 B CN 106937054B CN 201710201388 A CN201710201388 A CN 201710201388A CN 106937054 B CN106937054 B CN 106937054B
Authority
CN
China
Prior art keywords
background blurring
depth
face
eyes
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.)
Active
Application number
CN201710201388.5A
Other languages
Chinese (zh)
Other versions
CN106937054A (en
Inventor
杨章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710201388.5A priority Critical patent/CN106937054B/en
Publication of CN106937054A publication Critical patent/CN106937054A/en
Application granted granted Critical
Publication of CN106937054B publication Critical patent/CN106937054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Abstract

The present invention provides take pictures weakening method and the mobile terminal of a kind of mobile terminal, the weakening method of taking pictures of the mobile terminal includes: the identification target face in the preview interface of taking pictures of mobile terminal;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;According to the background blurring depth after adjusting, the region except focusing area in the preview interface of taking pictures is subjected to virtualization display processing.Therefore, the solution of the present invention can control the adjusting of background blurring depth by the movement of human eye, solve the problems, such as that user needs to manually adjust cumbersome caused by virtualization depth when mobile terminal is taken pictures.

Description

A kind of take pictures weakening method and the mobile terminal of mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to take pictures weakening method and the mobile terminals of a kind of mobile terminal.
Background technique
More more and more universal with smart phone, taking pictures now is an indispensable Xiang Gongneng for mobile phone, and with technology Development and breakthrough, current mobile phone terminal all can with the effect of virtualization, to better reflect the stereovision for effect of taking pictures, Experience of preferably taking pictures is brought to user.Particularly, when self-timer many scenes require virtualization processing, such as it is some not The part wished to.
In addition, the double camera shootings virtualization used at this stage, can reach different virtualization effects by adjusting virtualization depth. But virtualization depth requires the dynamic adjusting of user hand every time, it is very cumbersome.
Summary of the invention
The embodiment provides take pictures weakening method and the mobile terminals of a kind of mobile terminal, to solve to utilize shifting User needs to manually adjust problem cumbersome caused by virtualization depth when dynamic terminal is taken pictures.
The embodiment provides a kind of weakening methods of taking pictures of mobile terminal, comprising:
Target face is identified in the preview interface of taking pictures of mobile terminal;
When recognizing the target face, according to the deliberate action of the eyes of the target person on the face, it is empty to adjust background Change depth;
According to the background blurring depth after adjusting, the region except focusing area in the preview interface of taking pictures is carried out empty Change display processing.
The embodiments of the present invention also provide a kind of mobile terminals, comprising:
Target face detection module, for identifying target face in the preview interface of taking pictures of mobile terminal;
Depth adjustment module is blurred, for when recognizing the target face, according to the eyes of the target person on the face Deliberate action, adjust background blurring depth;
Processing module is blurred, for according to the background blurring depth after adjusting, by area of focusing in the preview interface of taking pictures Region except domain carries out virtualization display processing.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the present invention identifies target face, thus recognizing mesh in the preview interface of taking pictures of mobile terminal When marking face, according to the deliberate action of target person eyes on the face, background blurring depth is adjusted, and then empty according to the background after adjusting Change depth, the region except focusing area in preview interface of taking pictures is subjected to virtualization display processing.It follows that reality of the invention Example is applied, during taking pictures, it is only necessary to background blurring depth can be adjusted by the movement of human eye, selected manually without user Background blurring depth is selected, adjustment process is simple and convenient, improves the usage experience of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows the flow charts of the weakening method of taking pictures of the mobile terminal of first embodiment of the invention;
Fig. 2 indicates the flow chart of the weakening method of taking pictures of the mobile terminal of second embodiment of the invention;
One of the structural block diagram of mobile terminal of Fig. 3 expression third embodiment of the invention;
Fig. 4 indicates the two of the structural block diagram of the mobile terminal of third embodiment of the invention;
Fig. 5 indicates the structural block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 6 indicates the structural block diagram of the mobile terminal of fifth embodiment of the invention.
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.

Claims (8)

1. a kind of weakening method of taking pictures of mobile terminal characterized by comprising
Target face is identified in the preview interface of taking pictures of mobile terminal;
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 Degree;
According to the background blurring depth after adjusting, it is aobvious that the region except focusing area in the preview interface of taking pictures is subjected to virtualization Show processing;
The deliberate action of the eyes according to the target person on the face, the step of adjusting background blurring depth, comprising:
According to the closed state of the eyes of the target person on the face, the adjusting direction of background blurring depth is determined;Wherein, the back The adjusting direction of scape virtualization depth includes: to increase background blurring depth and the background blurring depth of reduction;
According to the closing time of the eyes of the target person on the face, the regulating degree of background blurring depth is determined;
According to the adjusting direction and the regulating degree, background blurring depth is adjusted.
2. the method according to claim 1, wherein described identify mesh in the preview interface of taking pictures of mobile terminal The step of marking face, comprising:
Target facial image according to the pre-stored data identifies target face in the preview interface of taking pictures of mobile terminal.
3. the method according to claim 1, wherein the closed form of the eyes according to the target person on the face State, the step of determining the adjusting direction of background blurring depth, comprising:
Detect the closed state of the eyes of the 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, it is determined that the adjusting direction of background blurring depth is to reduce background blurring depth.
4. the method according to claim 1, wherein when the closure of the eyes according to the target person on the face Between, the step of determining the regulating degree of background blurring depth, comprising:
Detect the closing time of the eyes of the target person on the face;
The corresponding relationship of the regulating degree of eyes closed time according to the pre-stored data and background blurring depth, determines background blurring The regulating degree of depth.
5. a kind of mobile terminal characterized by comprising
Target face detection module, for identifying target face in the preview interface of taking pictures of mobile terminal;
Depth adjustment module is blurred, for when recognizing the target face, according to the pre- of the eyes of the target person on the face If movement, adjusts background blurring depth;
Blur processing module, for according to the background blurring depth after adjusting, by focusing area in the preview interface of taking pictures it Outer region carries out virtualization display processing;
The virtualization depth adjustment module includes:
It adjusts direction-determining unit and determines background blurring depth for the closed state of the eyes according to the target person on the face Adjusting direction;Wherein, the adjusting direction of the background blurring depth includes: to increase background blurring depth and reduce background blurring Depth;
Regulating degree determination unit determines background blurring depth for the closing time of the eyes according to the target person on the face Regulating degree;
Unit is adjusted, for adjusting background blurring depth according to the adjusting direction and the regulating degree.
6. mobile terminal according to claim 5, which is characterized in that the target face detection module 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.
7. mobile terminal according to claim 5, which is characterized in that the adjusting direction-determining unit includes:
First detection sub-unit, for detecting the closed state of the eyes of the target person on the face;
First determines subelement, if for detecting closure first eye, it is determined that the adjusting direction of background blurring depth is to increase Overall background blurs depth;
Second determines subelement, if for detecting the second eyes of closure, it is determined that the adjusting direction of background blurring depth is to subtract Small background blurring depth.
8. mobile terminal according to claim 5, which is characterized in that the regulating degree determination unit includes:
Second detection sub-unit, for detecting the closing time of the eyes of the target person on the face;
Third determines subelement, pair for eyes closed time according to the pre-stored data and the regulating degree of background blurring depth It should be related to, determine the regulating degree of background blurring depth.
CN201710201388.5A 2017-03-30 2017-03-30 A kind of take pictures weakening method and the mobile terminal of mobile terminal Active CN106937054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710201388.5A CN106937054B (en) 2017-03-30 2017-03-30 A kind of take pictures weakening method and the mobile terminal of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710201388.5A CN106937054B (en) 2017-03-30 2017-03-30 A kind of take pictures weakening method and the mobile terminal of mobile terminal

Publications (2)

Publication Number Publication Date
CN106937054A CN106937054A (en) 2017-07-07
CN106937054B true CN106937054B (en) 2019-03-01

Family

ID=59424959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710201388.5A Active CN106937054B (en) 2017-03-30 2017-03-30 A kind of take pictures weakening method and the mobile terminal of mobile terminal

Country Status (1)

Country Link
CN (1) CN106937054B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547797A (en) * 2017-07-27 2018-01-05 努比亚技术有限公司 A kind of image pickup method, terminal and computer-readable recording medium
CN107509031B (en) * 2017-08-31 2019-12-27 Oppo广东移动通信有限公司 Image processing method, image processing device, mobile terminal and computer readable storage medium
CN107592458B (en) * 2017-09-18 2020-02-14 维沃移动通信有限公司 Shooting method and mobile terminal
CN107948517B (en) 2017-11-30 2020-05-15 Oppo广东移动通信有限公司 Preview picture blurring processing method, device and equipment
CN109381165B (en) * 2018-09-12 2022-05-03 维沃移动通信有限公司 Skin detection method and mobile terminal
CN110047126B (en) * 2019-04-25 2023-11-24 北京字节跳动网络技术有限公司 Method, apparatus, electronic device, and computer-readable storage medium for rendering image
CN110213491B (en) * 2019-06-26 2021-06-29 Oppo广东移动通信有限公司 Focusing method, device and storage medium
CN110881103B (en) * 2019-09-19 2022-01-28 Oppo广东移动通信有限公司 Focusing control method and device, electronic equipment and computer readable storage medium
CN113301320B (en) * 2021-04-07 2022-11-04 维沃移动通信(杭州)有限公司 Image information processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574016B2 (en) * 2003-06-26 2009-08-11 Fotonation Vision Limited Digital image processing using face detection information
CN102932541A (en) * 2012-10-25 2013-02-13 广东欧珀移动通信有限公司 Mobile phone photographing method and system
CN102946516A (en) * 2012-11-28 2013-02-27 广东欧珀移动通信有限公司 Mobile terminal and method for detecting blink action and realizing autodyne by mobile terminal
CN105049695A (en) * 2015-07-07 2015-11-11 广东欧珀移动通信有限公司 Video recording method and device
CN105827972A (en) * 2016-03-31 2016-08-03 乐视控股(北京)有限公司 Photographing control method and system based on intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574016B2 (en) * 2003-06-26 2009-08-11 Fotonation Vision Limited Digital image processing using face detection information
CN102932541A (en) * 2012-10-25 2013-02-13 广东欧珀移动通信有限公司 Mobile phone photographing method and system
CN102946516A (en) * 2012-11-28 2013-02-27 广东欧珀移动通信有限公司 Mobile terminal and method for detecting blink action and realizing autodyne by mobile terminal
CN105049695A (en) * 2015-07-07 2015-11-11 广东欧珀移动通信有限公司 Video recording method and device
CN105827972A (en) * 2016-03-31 2016-08-03 乐视控股(北京)有限公司 Photographing control method and system based on intelligent terminal

Also Published As

Publication number Publication date
CN106937054A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106937054B (en) A kind of take pictures weakening method and the mobile terminal of mobile terminal
CN106131341B (en) A kind of photographic method and mobile terminal
CN106020613B (en) A kind of operating method and mobile terminal of unread message
CN106657793B (en) A kind of image processing method and mobile terminal
CN107181913B (en) A kind of photographic method and mobile terminal
CN106603928B (en) A kind of image pickup method and mobile terminal
CN107358111B (en) A kind of method for secret protection and mobile terminal
CN106231178B (en) A kind of self-timer method and mobile terminal
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN107257439A (en) A kind of image pickup method and mobile terminal
CN106101544B (en) A kind of image processing method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106648382B (en) A kind of picture browsing method and mobile terminal
CN106791357A (en) A kind of image pickup method and mobile terminal
CN107368150A (en) A kind of photographic method and mobile terminal
CN107037659B (en) A kind of sheen lamp control method and mobile terminal
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN109639973A (en) Shoot image methods of marking, scoring apparatus, electronic equipment and storage medium
CN107172346A (en) A kind of weakening method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106131398B (en) A kind of image browsing method and mobile terminal
CN106911897B (en) A kind of determination method and mobile terminal shooting focus
CN106993139B (en) A kind of image pickup method and mobile terminal
CN106407950A (en) Facial information identification method and mobile terminal
CN106959797B (en) A kind of setting method and mobile terminal notifying footmark

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171114

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200525

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.