Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the flow chart of image pickup method provided in an embodiment of the present invention, as shown in figure 1, including following step
Suddenly:
Step 101, when the mobile terminal is in shooting preview interface, detect what is shown in the shooting preview interface
The eyes visual angle of facial image.
In this step, shooting preview interface can be that mobile terminal starts after camera function, and be not received by bat
Before instruction, the interface that mobile terminal is shown on screen.
Mobile terminal can detect the image in shooting preview interface, judge to whether there is face figure in shooting preview interface
Picture, if there is facial image, can further obtain the eyes visual angle in the facial image.Eyes visual angle can be understood as eye
The direction of visual lines of eyeball and the vertical direction angulation of mobile terminal screen.Mobile terminal can be by obtaining in facial image
The mode of offset of eyes center and bridge of the nose line detect eyes visual angle.It is of course also possible to pass through other detection modes
Detected.The concrete mode at detection human eye visual angle is referred to prior art, and here is omitted.
Step 102, when eyes visual angle is the visual angle for facing camera, then camera collection eyes image data,
And it regard the eyes image data as the first image.
Wherein, the visual angle for facing camera can be understood as the direction of visual lines of user perpendicular to mobile terminal screen or place
In in certain limit, and the eye gaze camera of user, rather than watch other objects attentively.Mobile terminal can be pre-set
When eyes visual angle is in preset range, to face the visual angle of camera.
Above-mentioned camera can be the camera installed on mobile terminal, and the camera can be front camera or rearmounted
Camera.When eyes visual angle is in above-mentioned preset range, the eyes image data in camera collection facial image, so that
Obtain the first image.
Specifically, camera can gather the image in shooting preview interface, and recognize the eyes image number in the image
According to for example, the image comprising eyes or including image around eyes and eyes etc..Mobile terminal can be to the figure of collection
As being handled, so that eyes image data be extracted.For example, the profile of eyes can be obtained, and extract the figure of collection
Image as in the profile, i.e. the first image.And for example, obtain including the image in the predeterminable area including eyes, and
Extract the image in the predeterminable area, i.e. the first image.
Eyes image data are being extracted, are being obtained after the first image, mobile terminal can export prompt message, to point out user
Preview can be proceeded or taken pictures.The way of output of prompt message can include word output, voice output or other
The way of output.
The second image that step 103, the acquisition camera are gathered in shooting process.
In this step, the second image can be the image that mobile terminal is shown during shooting preview, i.e. the second figure
As can be understood as preview image, camera can gather any two field picture in previews.Second image can also be
Camera is after photographing instruction is received, the image taken pictures and obtained.It should be noted that the step can be in step 102
Perform afterwards.
Step 104, by described first image and the second synthesis target image image.
In this step, the first image and the second image can be synthesized a two field picture.In the specific implementation, can be by
First image is covered in the eyes image region in above-mentioned second image, so as to synthesize target image.Alternatively, it is also possible to by second
Eyes image region in image is extracted, the position for being then extracted the first image completion into the second image, so that
Synthesize target image.
Above-mentioned second image can be the preview image during shooting preview, and mobile terminal can be by the first image with obtaining
The each frame preview image taken is synthesized, and makes each frame preview image of the shooting preview interface of mobile terminal be shown as having
Face the target image of effect.So, user can need the effect for the image taken pictures with preview, so as to according to preview effect
Posture or angle etc. are adjusted, style of shooting flexibility is preferable.
Above-mentioned second image can also receive the image obtained after photographing instruction.Because user is often adjusting appearance
Mobile terminal is controlled to be taken pictures again after gesture, so, the whole structure of the image for acquisition of taking pictures is that user is satisfied.Cause
This, only can replace with the first image by the eyes image in the image, so that the image obtained is with facing effect
Image, can improve shooting effect.
In the embodiment of the present invention, above-mentioned image pickup method can apply to mobile terminal, for example:Mobile phone, tablet personal computer
(Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal
Digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable
Equipment (Wearable Device) etc..
The image pickup method of the embodiment of the present invention, when the mobile terminal is in shooting preview interface, detects described shoot
The eyes visual angle of the facial image shown in preview interface;When eyes visual angle is the visual angle for facing camera, then the shooting
Head collection eyes image data, and it regard the eyes image data as the first image;The camera is obtained in shooting process
Second image of middle collection;By described first image and the second synthesis target image image.So, camera is being shot
During the eyes image that obtains when facing camera with user of the image that gathers synthesized, face effect so as to obtain having
Image, shooting effect can be improved.
Referring to Fig. 2, the main distinction of the present embodiment and above-described embodiment is the second image to obtain after receiving photographing instruction
The image obtained.Fig. 2 is the flow chart of image pickup method provided in an embodiment of the present invention, as shown in Fig. 2 comprising the following steps:
Step 201, when the mobile terminal is in shooting preview interface, detect what is shown in the shooting preview interface
The eyes visual angle of facial image.
In this step, shooting preview interface can be that mobile terminal starts after camera function, and be not received by bat
Before instruction, the interface that mobile terminal is shown on screen.
Mobile terminal can detect the image in shooting preview interface, judge to whether there is face figure in shooting preview interface
Picture, if there is facial image, can further obtain the eyes visual angle in the facial image.Eyes visual angle can be understood as eye
The direction of visual lines of eyeball and the vertical direction angulation of mobile terminal screen.Mobile terminal can be by obtaining in facial image
The mode of offset of eyes center and bridge of the nose line detect eyes visual angle.It is of course also possible to pass through other detection modes
Detected.The concrete mode at detection human eye visual angle is referred to prior art, and here is omitted.
Optionally, the step of eyes visual angle of the facial image shown in the detection shooting preview interface it
Before, methods described also includes:
Default prompt message is exported, to point out user to face the camera.
In this embodiment, after mobile terminal enters shooting preview interface, the prompting letter pre-set can be exported
Breath, to point out user to face camera.The prompt message can be the word, pictorial information or voice message exported by screen
Information.For example, exporting " camera please be look at straight three seconds " on screen.So, user can look at straight according to prompt message and image
Head, makes camera collection with the image for facing effect, can improve the collecting efficiency to the first image, can improve shooting effect
Really.
The embodiment can apply to scene when user is autodyned using front camera.Due to being autodyned as user
When, the face off screen curtain of user is near, and preview image of the eyes on preview screen of user, without looking at camera straight.This
Sample, causes the eye sight line in the image obtained to deviate camera.The eyes image for facing camera using user replaces user
Eyes image in the image obtained during auto heterodyne, can improve shooting effect, meet the demand of user's auto heterodyne.
Step 202, when eyes visual angle is the visual angle for facing camera, then camera collection eyes image data,
And it regard the eyes image data as the first image.
Wherein, the visual angle for facing camera can be understood as the direction of visual lines of user perpendicular to mobile terminal screen or place
In in certain limit, and the eye gaze camera of user, rather than watch other objects attentively.Mobile terminal can be pre-set
When eyes visual angle is in preset range, to face the visual angle of camera.
Above-mentioned camera can be the camera installed on mobile terminal, and the camera can be front camera or rearmounted
Camera.When eyes visual angle is in above-mentioned preset range, the eyes image data in camera collection facial image, so that
Obtain the first image.
Specifically, camera can gather the image in shooting preview interface, and recognize the eyes image number in the image
According to for example, the image comprising eyes or including image around eyes and eyes etc..Mobile terminal can be to the figure of collection
As being handled, so that eyes image data be extracted.For example, the profile of eyes can be obtained, and extract the figure of collection
Image as in the profile, i.e. the first image.And for example, obtain including the image in the predeterminable area including eyes, and
Extract the image in the predeterminable area, i.e. the first image.
Eyes image data are being extracted, are being obtained after the first image, mobile terminal can export prompt message, to point out user
Preview can be proceeded or taken pictures.The way of output of prompt message can include word output, voice output or other
The way of output.
Step 203, reception photographing instruction, control the camera to be taken pictures according to the photographing instruction, obtain described
Second image.
In this step, above-mentioned photographing instruction can be user touch mobile terminal screen on button and taking pictures for triggering
Instruction or the photographing instruction triggered by other means.Mobile terminal is after photographing instruction is received, to being shown on screen
Image taken pictures, obtain the second image.It should be noted that the step can be performed after step 202.
Step 204, by described first image and the second synthesis target image image.
Optionally, in this step, the eyes image in second image is replaced using described first image, obtains institute
State target image.
This step can be understood as the first image and the second image synthesizing a two field picture.In the specific implementation, can be with
First image is covered in the eyes image region in above-mentioned second image, so as to synthesize target image.Alternatively, it is also possible to by
Eyes image region in two images is extracted, the position for being then extracted the first image completion into the second image, from
And synthesize target image.So, using the first image replace the second image in eyes image, target image synthesis effect compared with
It is good.
Because user often controls mobile terminal to be taken pictures again after posture is adjusted, so, the figure for acquisition of taking pictures
The whole structure of picture is that user is satisfied.It therefore, it can only replace with the eyes image in the image in the first image
Eyes image data so that obtain image be with the image for facing effect, shooting effect can be improved.
The image pickup method of the embodiment of the present invention, replaces with user by the eyes image in the image for acquisition of taking pictures and faces shooting
The eyes image data of head, so as to obtain with the image for facing effect, can improve shooting effect.
Referring to Fig. 3, the main distinction of the present embodiment and above-described embodiment is the second image during shooting preview to show
The preview image shown.Fig. 3 is the flow chart of image pickup method provided in an embodiment of the present invention, as shown in figure 3, comprising the following steps:
Step 301, when the mobile terminal is in shooting preview interface, detect what is shown in the shooting preview interface
The eyes visual angle of facial image.
In this step, shooting preview interface can be that mobile terminal starts after camera function, and be not received by bat
Before instruction, the interface that mobile terminal is shown on screen.
Mobile terminal can detect the image in shooting preview interface, judge to whether there is face figure in shooting preview interface
Picture, if there is facial image, can further obtain the eyes visual angle in the facial image.Eyes visual angle can be understood as eye
The direction of visual lines of eyeball and the vertical direction angulation of mobile terminal screen.Mobile terminal can be by obtaining in facial image
The mode of offset of eyes center and bridge of the nose line detect eyes visual angle.It is of course also possible to pass through other detection modes
Detected.The concrete mode at detection human eye visual angle is referred to prior art, and here is omitted.
Optionally, the step of eyes visual angle of the facial image shown in the detection shooting preview interface it
Before, methods described also includes:
Default prompt message is exported, to point out user to face the camera.
In this embodiment, after mobile terminal enters shooting preview interface, the prompting letter pre-set can be exported
Breath, to point out user to face camera.The prompt message can be the word, pictorial information or voice message exported by screen
Information.For example, exporting " camera please be look at straight three seconds " on screen.So, user can look at straight according to prompt message and image
Head, makes camera collection with the image for facing effect, can improve the collecting efficiency to the first image, can improve shooting effect
Really.
The embodiment can apply to scene when user is autodyned using front camera.Due to being autodyned as user
When, the face off screen curtain of user is near, and preview image of the eyes on preview screen of user, without looking at camera straight.This
Sample, causes the eye sight line in the image obtained to deviate camera.The eyes image for facing camera using user replaces user
Eyes image in the image obtained during auto heterodyne, can improve shooting effect, meet the demand of user's auto heterodyne.
Step 302, when eyes visual angle is the visual angle for facing camera, then camera collection eyes image data,
And it regard the eyes image data as the first image.
Wherein, the visual angle for facing camera can be understood as the direction of visual lines of user perpendicular to mobile terminal screen or place
In in certain limit, and the eye gaze camera of user, rather than watch other objects attentively.Mobile terminal can be pre-set
When eyes visual angle is in preset range, to face the visual angle of camera.
Above-mentioned camera can be the camera installed on mobile terminal, and the camera can be front camera or rearmounted
Camera.When eyes visual angle is in above-mentioned preset range, the eyes image data in camera collection facial image, so that
Obtain the first image.
Specifically, camera can gather the image in shooting preview interface, and recognize the eyes image number in the image
According to for example, the image comprising eyes or including image around eyes and eyes etc..Mobile terminal can be to the figure of collection
As being handled, so that eyes image data be extracted.For example, the profile of eyes can be obtained, and extract the figure of collection
Image as in the profile, i.e. the first image.And for example, obtain including the image in the predeterminable area including eyes, and
Extract the image in the predeterminable area, i.e. the first image.
Eyes image data are being extracted, are being obtained after the first image, mobile terminal can export prompt message, to point out user
Preview can be proceeded or taken pictures.The way of output of prompt message can include word output, voice output or other
The way of output.
Step 303, the second image for obtaining the camera collection, second image is in the shooting preview interface
Preview image.
In this step, the second image can be the image that mobile terminal is shown during shooting preview, and user can be with
Preview image, so as to be adjusted to shooting posture or shooting angle etc..Above-mentioned second image can be in previews
Any two field picture.It should be noted that the step can be performed after step 302.
Step 304, by described first image and the second synthesis target image image.
Optionally, in this step, the eyes image in second image is replaced using described first image, obtains institute
State target image.
This step can be understood as the first image and the second image being synthesized into a two field picture.In the specific implementation,
First image can be covered in the eyes image region in above-mentioned second image, so as to synthesize target image.Alternatively, it is also possible to
Eyes image region in second image is extracted, the portion for being then extracted the first image completion into the second image
Position, so as to synthesize target image.So, the eyes image in the second image is replaced using the first image, target image synthesis
Effect is preferable.
Step 305, in the shooting preview interface export the target image.
In this step, mobile terminal can be synthesized the first image with the image of each frame second obtained, make shifting
Each two field picture of the shooting preview interface of dynamic terminal is shown as with the target image for facing effect.So, user can be pre-
The effect for the image that needs of looking at are shot, can also so as to shoot posture or shooting angle etc. according to the adjustment of preview effect
Taken pictures according to a preview effect selection two field picture therein, shooting effect can be improved.
Referring to Fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 4, mobile terminal 400
Including detection module 401, acquisition module 402, acquisition module 403 and synthesis module 404.Wherein, detection module 401 and collection mould
Block 402 is connected, and acquisition module 402 and acquisition module 403 are connected, and acquisition module 403 and synthesis module 404 are connected.
Detection module 401, for when the mobile terminal is in shooting preview interface, detecting the shooting preview interface
The eyes visual angle of the facial image of middle display;
Acquisition module 402, for when the detection module 401 detection eyes visual angle is the visual angle for facing camera, then
The camera gathers eyes image data, and regard the eyes image data as the first image;
Acquisition module 403, for obtaining the second image that the camera is gathered in shooting process;
Synthesis module 404, for the described first image and the acquisition module 403 for gathering the acquisition module 402
The the second synthesis target image image obtained.
Optionally, the acquisition module 403 is taken the photograph specifically for receiving photographing instruction according to photographing instruction control
As head is taken pictures, second image is obtained.
Optionally, as shown in figure 5, second image is the preview image in the shooting preview interface, the movement
Terminal 400 also includes:
Output module 405, for exporting the target image in the shooting preview interface.
Optionally, the synthesis module 404 is replaced specifically for the described first image gathered using the acquisition module 402
The eyes image changed in second image that the acquisition module 403 is obtained, obtains the target image.
Optionally, as shown in fig. 6, the mobile terminal 400 also includes:
Reminding module 406, for exporting default prompt message, to point out user to face the camera.
Mobile terminal 400 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 3 embodiment of the method, to keep away
Exempt to repeat, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention, when the mobile terminal is in shooting preview interface, detects described clap
Take the photograph the eyes visual angle of the facial image shown in preview interface;It is when eyes visual angle is the visual angle for facing camera, then described to take the photograph
As head collection eyes image data, and it regard the eyes image data as the first image;The camera is obtained to shoot
The second image gathered in journey;By described first image and the second synthesis target image image.So, camera is being clapped
The eyes image that the image gathered during taking the photograph is obtained when facing camera with user is synthesized, and effect is faced so as to obtain having
The image of fruit, can improve shooting effect.
Referring to Fig. 7, Fig. 7 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in fig. 7, mobile terminal 700
Including:At least one processor 701, memory 702, at least one network interface 704 and user interface 703.Mobile terminal 700
In each component be coupled by bus system 705.It is understood that bus system 705 is used to realize between these components
Connection communication.Bus system 705 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal are total
Line.But for the sake of clear explanation, various buses are all designated as bus system 705 in the figure 7.Mobile terminal 700 also includes
Camera 706, camera 706 can include front camera and rear camera, camera 706 by bus system 705 with
Each component connection of mobile terminal.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable P ROM, EPROM), Electrically Erasable Read Only Memory (Electrically EP ROM, EEPROM)
Or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside
Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM, ESDRAM), synchronous connect
Connect dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 702 of system and method described herein be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 702 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 7021 and application program 7022.
Wherein, operating system 7021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 7022, 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 7022.
In embodiments of the present invention, mobile terminal 700 also includes:It is stored on memory 702 and can be on processor 701
The photographing program of operation, can be the photographing program in application program 7022 specifically, photographing program is performed by processor 701
Shi Shixian following steps:
When the mobile terminal is in shooting preview interface, the facial image shown in the shooting preview interface is detected
Eyes visual angle;When eyes visual angle is the visual angle for facing camera, then camera collection eyes image data, and by institute
Eyes image data are stated as the first image;Obtain the second image that the camera is gathered in shooting process;By described
One image and the second synthesis target image image.
The method that the embodiments of the present invention are disclosed can apply in processor 701, or be realized by processor 701.
Processor 701 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing
Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform 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 can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe computer-readable recording medium in this area such as memory or electrically erasable programmable memory, register.The meter
Calculation machine readable storage medium storing program for executing is located at memory 702, and processor 701 reads the information in memory 702, is completed with reference to its hardware
The step of stating method.Specifically, be stored with photographing program on the computer-readable recording medium, and photographing program is by processor 701
Realized during execution such as the step of above-mentioned image pickup method embodiment.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
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 processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realized outside processor.
Optionally, following steps can be also realized when photographing program is performed by processor 701:Photographing instruction is received, according to institute
Stating photographing instruction controls the camera to be taken pictures, and obtains second image.
Optionally, second image is the preview image in the shooting preview interface, and photographing program is by processor 701
Following steps can be also realized during execution:The target image is exported in the shooting preview interface.
Optionally, following steps can be also realized when photographing program is performed by processor 701:Replaced using described first image
Eyes image in second image, obtains the target image.
Optionally, following steps can be also realized when photographing program is performed by processor 701:Default prompt message is exported,
To point out user to face the camera.
Mobile terminal 700 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 700 of the embodiment of the present invention, when the mobile terminal is in shooting preview interface, detects described clap
Take the photograph the eyes visual angle of the facial image shown in preview interface;It is when eyes visual angle is the visual angle for facing camera, then described to take the photograph
As head collection eyes image data, and it regard the eyes image data as the first image;The camera is obtained to shoot
The second image gathered in journey;By described first image and the second synthesis target image image.So, camera is being clapped
The eyes image that the image gathered during taking the photograph is obtained when facing camera with user is synthesized, and effect is faced so as to obtain having
The image of fruit, can improve shooting effect.
Referring to Fig. 8, Fig. 8 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 8, mobile terminal 800
Including radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840, processor
850th, voicefrequency circuit 860, communication module 870, power supply 880 and camera 890.
Wherein, input block 830 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal
The signal input that 800 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 830 can
With including contact panel 831.Contact panel 831, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user uses the operations of any suitable object or annex on contact panel 831 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 831 may include touch detecting apparatus and touch controller
Two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 850 again, and the order sent of reception processing device 850 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block
830 can also include other input equipments 832, and other input equipments 832 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 840 can be used for information and the movement for showing the information inputted by user or being supplied to user
The various menu interfaces of terminal 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 841.
It should be noted that contact panel 831 can cover display panel 841, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 850 is sent to determine the type of touch event, with preprocessor
850 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 conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..The touch-screen of the embodiment of the present invention is soft
Property screen, organic nesa coating of CNT is posted in two faces of flexible screen.
Wherein processor 850 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone
Various pieces, software program and/or module in first memory 821 are stored in by operation or execution, and call storage
Data in second memory 822, perform the various functions and processing data of mobile terminal 800, so as to mobile terminal 800
Carry out integral monitoring.Optionally, processor 850 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/
Or the data in the second memory 822, processor 850 is used for:
When the mobile terminal is in shooting preview interface, the facial image shown in the shooting preview interface is detected
Eyes visual angle;When eyes visual angle is the visual angle for facing camera, then camera collection eyes image data, and by institute
Eyes image data are stated as the first image;Obtain the second image that the camera is gathered in shooting process;By described
One image and the second synthesis target image image.
Optionally, processor 850 is additionally operable to:Photographing instruction is received, controls the camera to enter according to the photographing instruction
Row is taken pictures, and obtains second image.
Optionally, second image is the preview image in the shooting preview interface, and processor 850 is additionally operable to:
The shooting preview interface exports the target image.
Optionally, processor 850 is additionally operable to:The eyes image in second image is replaced using described first image,
Obtain the target image.
Optionally, processor 850 is additionally operable to:Default prompt message is exported, to point out user to face the camera.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 800 of the embodiment of the present invention, when the mobile terminal is in shooting preview interface, detects described clap
Take the photograph the eyes visual angle of the facial image shown in preview interface;It is when eyes visual angle is the visual angle for facing camera, then described to take the photograph
As head collection eyes image data, and it regard the eyes image data as the first image;The camera is obtained to shoot
The second image gathered in journey;By described first image and the second synthesis target image image.So, camera is being clapped
The eyes image that the image gathered during taking the photograph is obtained when facing camera with user is synthesized, and effect is faced so as to obtain having
The image of fruit, can improve shooting effect.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program and (refers to
Make), the program (instruction) realizes following steps when being executed by processor:
When the mobile terminal is in shooting preview interface, the facial image shown in the shooting preview interface is detected
Eyes visual angle;
When eyes visual angle is the visual angle for facing camera, then the camera collection eyes image data, and will be described
Eyes image data are used as the first image;
Obtain the second image that the camera is gathered in shooting process;
By described first image and the second synthesis target image image.
Optionally, the step of the second image that the acquisition camera is gathered in shooting process, including:
Photographing instruction is received, controls the camera to be taken pictures according to the photographing instruction, obtains second image.
Optionally, second image is the preview image in the shooting preview interface, described by first figure
After the step of picture and the second synthesis target image image, methods described also includes:
The target image is exported in the shooting preview interface.
Optionally, it is described by the eyes image data and the second synthesis target image image the step of, including:
The eyes image in second image is replaced using described first image, the target image is obtained.
Optionally, the step of eyes visual angle of the facial image shown in the detection shooting preview interface it
Before, methods described also includes:
Default prompt message is exported, to point out user to face the camera.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present 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, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.