CN107872619A - One kind is taken pictures processing method, device and equipment - Google Patents
One kind is taken pictures processing method, device and equipment Download PDFInfo
- Publication number
- CN107872619A CN107872619A CN201711037467.3A CN201711037467A CN107872619A CN 107872619 A CN107872619 A CN 107872619A CN 201711037467 A CN201711037467 A CN 201711037467A CN 107872619 A CN107872619 A CN 107872619A
- Authority
- CN
- China
- Prior art keywords
- reference object
- organ
- face
- facial characteristics
- incidence relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The application is related to technical field of image processing, more particularly to one kind is taken pictures processing method, device and equipment, to solve the problems, such as to influence effect of taking pictures because the organ with symmetrical incidence relation is asymmetric in the prior art.The application mainly includes:Identify one or more reference objects in coverage, respectively to meeting that the symmetrical organ that the reference object of default regularization condition is presented in the face-image on camera is adjusted, with cause these should symmetrical but physical presence asymmetry problem the organ with symmetrical incidence relation meet symmetry principle.And then each facial characteristics in the face-image of all reference objects in the photo for shooting to obtain all is realized symmetrically, lifts take pictures effect and Consumer's Experience.
Description
Technical field
The application is related to technical field of image processing, more particularly to one kind is taken pictures processing method, device and equipment.
Background technology
In the prior art, for user when being taken pictures to other people or self-timer, mobile phone takes pictures processing unit often
U.S. face processing can be carried out to the colour of skin, shape of face etc., to adjust the facial whole structure of the reference object in coverage, lifting shooting
Display effect.
However, in current U.S. face treatment technology, although the adjustment of the preferable colour of skin, shape of face can be realized, nothing
Method optimizes adjustment to the organ in facial characteristics with symmetrical incidence relation, for example eyes are of different sizes, left and right dimple is big
Small different, inconsistent, single double-edged eyelid of eyebrow height etc., it is not of uniform size referring in particular to the eyes shown in Fig. 1, and single double-edged eyelid differ
Cause;There is the problem of organ of symmetrical incidence relation is inconsistent have impact on shooting effect for these, and can not pass through existing camera
U.S. face treatment technology is improved or solved, and therefore, is needed badly and is found a kind of new processing scheme of taking pictures, clapped with solving user
According to or worry during self-timer.
The content of the invention
The embodiment of the present application provides one kind and taken pictures processing method, device and equipment, to solve in the prior art due to tool
Have the organ of symmetrical incidence relation inconsistent and influence take pictures effect the problem of.
In order to solve the above-mentioned technical problem, the embodiment of the present application uses following technical proposals:
Taken pictures processing method in a first aspect, the embodiment of the present invention additionally provides one kind, including:
After camera unlatching, at least one reference object in coverage is identified;
Detect at least one reference object with the presence or absence of the reference object for meeting default regularization condition;
If testing result is has, to face corresponding to the reference object of the default regularization condition of satisfaction shown on camera
Facial characteristics in image is adjusted.
Second aspect, the embodiment of the present invention additionally provide one kind and taken pictures processing unit, including:
Recognition unit, after being opened in camera, identify at least one reference object in coverage;
Detection unit, for detecting at least one reference object with the presence or absence of the shooting for meeting default regularization condition
Object;
Adjustment unit, in the presence of being in testing result, to the shooting of the default regularization condition of satisfaction shown on camera
Facial characteristics in face-image corresponding to object is adjusted.
The third aspect, the embodiments of the invention provide a kind of photographing device, including:Processor, memory and it is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is by the computing device
Realize it is described take pictures processing method the step of.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
Pass through above-mentioned technical proposal, one or more reference objects in coverage are identified, respectively to meeting default adjust
The symmetrical organ that the reference object of shelf-regulating Conditions is presented in the face-image on camera is adjusted, to cause these symmetrical
The organ of distribution but physical presence asymmetry problem meets symmetry principle.And then shoot all shootings pair in obtained photo
Each facial characteristics in the face-image of elephant is all realized symmetrically, lifts take pictures effect and Consumer's Experience.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen
Schematic description and description please is used to explain the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is to shoot the asymmetric schematic diagram of reference object eyes in obtained photo in the prior art;
Fig. 2 is a kind of step schematic diagram for processing method of taking pictures that the embodiment of the present application provides;
Fig. 3 is the schematic diagram being adjusted by Perspective Principles that the embodiment of the present application provides;
Fig. 4 is the structural representation for the processing unit of taking pictures that the application provides;
Fig. 5 is the structural representation for the photographing device that the application provides.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
It should be noted that the processing scheme of taking pictures involved by the embodiment of the present application, goes for possessing camera function
Each electronic product in, for example, mobile phone, tablet personal computer, PC PC with camera etc.;Digital camera etc..
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Embodiment one
As shown in Fig. 2 a kind of step schematic diagram of the processing method of taking pictures provided for the embodiment of the present application, this method are main
Comprise the following steps:
Step 11:After camera unlatching, at least one reference object in coverage is identified.
In fact, in this application, screening-mode can be self-timer or normal photographing (shooting other people);Knowing
After being clipped at least one reference object in coverage, the processing scheme of taking pictures can be to one in coverage or more
Individual reference object take pictures the adjustment of processing.
Step 12:Detect at least one reference object with the presence or absence of the reference object for meeting default regularization condition.
In this application, default regularization condition can carry out setting addition according to the demand of user, can also give tacit consent to use
Dispatch from the factory the default regularization condition carried.
Step 13:If testing result is has, to the reference object pair of the default regularization condition of satisfaction shown on camera
Facial characteristics in the face-image answered is adjusted.
If in the presence of the reference object for meeting default regularization condition, the face-image being presented on to the reference object on camera
In facial characteristics be adjusted, the facial characteristics herein being related to can be understood as the face organ with symmetrical incidence relation,
Such as:Eyes, nose, face, ear, eyebrow, shape of face (left face, right face shape of face), dimple.In fact, these organs should be pair
Claim distribution, still, it is contemplated that individual difference, and posteriori custom may cause the organ presentation that these should be symmetrical
Go out asymmetric phenomenon;And the facial characteristics in obtained image is shot for this phenomenon, it can be entered by the scheme of the application
Row adjustment.
If in addition, in the absence of the reference object for meeting default regularization condition, operation need not be adjusted.
Pass through above-mentioned technical proposal, one or more reference objects in coverage are identified, respectively to meeting default adjust
The symmetrical organ that the reference object of shelf-regulating Conditions is presented in the face-image on camera is adjusted, to cause these symmetrical
The organ of distribution but physical presence asymmetry problem meets symmetry principle.And then shoot all shootings pair in obtained photo
Each facial characteristics in the face-image of elephant all ideal symmetricals as far as possible, lifting are taken pictures effect and Consumer's Experience.
Alternatively, in this application, step 11, which can be performed specifically, is:Determine at least one reference object in coverage
Face location;The facial characteristics of the reference object is identified, the facial characteristics herein being related to can be understood as having symmetrical close
The face organ of connection relation, such as:Eyes, nose, face, ear, eyebrow, shape of face (left face, right face shape of face), dimple.In fact,
In the step 11, the face location of at least one reference object in coverage is determined, it is also understood that to determine shooting
The position for the organ with symmetrical incidence relation that the facial characteristics of object is included, for example, the position of left eye, the position of right eye
Put;The position of left ear and the position of auris dextra etc..
Further, in this application, it is contemplated that not all reference object all faces camera lens when taking pictures,
Therefore, in order to realize precisely adjustment to each reference object, the reference object in the range of current shooting can be entered before testing
Row classification, during specific implementation:Overall profile can be carried out to each reference object symmetrically to identify, if recognizing reference object monolithic wheel
It is wide symmetrical, it is determined that reference object faces camera lens, otherwise, it determines reference object is non-to face camera lens.
Situation 1:
Reference object for facing camera lens, detect whether the shooting pair that facial characteristics is unsatisfactory for symmetry principle be present
As.
Specifically, for facing any reference objects of camera lens, respectively to having in the facial characteristics that recognizes pair
Claim the organ of incidence relation to be compared, and testing result is determined to exist when comparison result is inconsistent.In this mode, according to
Secondary one or more reference object for detecting to be unsatisfactory for symmetry principle.Wherein it is determined that any reference object gone out, Ke Nengyou
There is asymmetry problem in a pair of organs with symmetrical incidence relation, it is also possible to have the multipair organ with symmetrical incidence relation to deposit
In asymmetry problem.For example, the facial characteristics for detecting to face the Xiao Ming of camera lens is unsatisfactory for symmetry principle, moreover, Xiao Ming
Eyes:Left eye is big, right eye is small;Left eyebrow is high, right eyebrow is low.
It should be noted that in the present invention, the organ with symmetrical incidence relation, refer to symmetrically dividing
Cloth, but actual capabilities it is symmetrical may also mal-distribution, such organ is defined as symmetrical incidence relation
Organ.Such as above-mentioned involved face:Eyes, nose, face, ear, eyebrow.
Afterwards, there is symmetrical association to close in the face-image of the reference object inconsistent to the comparison result shown on camera
The organ of system is adjusted so that should have the organ of symmetrical incidence relation consistent and true symmetrical.During specific adjustment, it can use
Following scheme is, it is necessary to which explanation, following Adjusted Option are adjusted processing in the face-image being presented on camera:
Adjusted Option 1:
First, it is determined that one in the organ (image) with symmetrical incidence relation is used as standard organ (image);Then,
The standard organ (image) is replicated, the position with standard organ (image) mirror image is affixed to according to symmetry principle;Preferably, delete with
The standard organ (image) it is symmetrical another.
Adjusted Option 2:
First, it is determined that one in the organ (image) with symmetrical incidence relation is used as standard organ (image);Then,
According to the overall size of the standard organ, position, another progress mirror image is zoomed in or out, the movement of position.
Situation 2:
For the non-reference object for facing camera lens, detect whether the shooting that facial characteristics is unsatisfactory for Perspective Principles be present
Object.
Specifically, for the non-any reference object for facing camera lens, according to the face position of the reference object recognized
Put, determine end point corresponding to the reference object;According to the end point and the frame shape of the organ with symmetrical incidence relation
Into angle, it is determined whether the organ with symmetrical incidence relation for being unsatisfactory for Perspective Principles be present.
The reference object of camera lens is faced for non-, can not be merely according to symmetry principle if being unsatisfactory for Perspective Principles
Organ of the adjustment with symmetrical incidence relation, so only can cause the lofty of effect of taking pictures, and not meet real effect of taking pictures more
Fruit.
Shown in reference picture 3, it is assumed that the unofficial camera lens of the reference object, then, according to the reference object recognized
The organ with symmetrical incidence relation position, determine the end point of the reference object.With the coboundary line of left-right ear
L1, then with the coboundary line L2 of right and left eyes, the focus of two lines is the end point of the reference object.It is determined that end point
Afterwards, perspective detection can be carried out to any organ with symmetrical incidence relation of the reference object according to the end point, with inspection
Survey exemplified by right and left eyes:End point is linked to respectively with two borders of left eye, forms the first angle, with two borders of right eye point
End point is not linked to, forms the second angle;If the first angle is equal with the second angle, it is determined that should have symmetrical incidence relation
Organ meet Perspective Principles, if the first angle and the second angle are unequal, it is determined that should with symmetrical incidence relation organ
It is unsatisfactory for Perspective Principles.
Afterwards, successively to having symmetrically in the face-image of the reference object for being unsatisfactory for Perspective Principles shown on camera
The organ of incidence relation is adjusted so that should meet Perspective Principles with the organ of symmetrical incidence relation.Specific adjustment mode
For:
First, it is determined that one in the organ (image) with symmetrical incidence relation is used as standard organ (image);Then,
With another administrative organ of angle corresponding to standard organ (image), another organ is adjusted to the administrative border of angle so that
The angle that the border of organ after adjustment links to end point formation is identical with the angle of standard organ.
In fact, a kind of preferably adjustment mode is:
First, it is determined that one in the organ (image) with symmetrical incidence relation is used as standard organ (image);Then,
The standard organ (image) is replicated, the position with standard organ (image) mirror image is affixed to according to symmetry principle;Finally, delete
There is another of symmetrical incidence relation with the standard organ (image), and the organ of stickup is adjusted to the folder of standard organ
The administrative border in angle so that the angle that the border of the organ after adjustment links to end point formation is identical with the angle of standard organ.
Belong to same inventive concept with above-mentioned processing method of taking pictures, taken pictures processing unit present invention also provides one kind.
Embodiment two
As shown in figure 4, the structural representation of the processing unit of taking pictures provided for the application, the device mainly include:
Recognition unit 21, after being opened in camera, identify at least one reference object in coverage;
Detection unit 22, for detecting at least one reference object with the presence or absence of the bat for meeting default regularization condition
Take the photograph object;
Adjustment unit 23, in the presence of being in testing result, to the bat of the default regularization condition of satisfaction shown on camera
The facial characteristics taken the photograph in face-image corresponding to object is adjusted.
Alternatively, the detection unit 22, specifically for the reference object for facing camera lens, detect whether exist
Facial characteristics is unsatisfactory for the reference object of symmetry principle;For the non-reference object for facing camera lens, detect whether face be present
Portion's feature is unsatisfactory for the reference object of Perspective Principles.
Alternatively, the recognition unit 21, the face specifically for determining at least one reference object in coverage
Position;The facial characteristics of the reference object is identified, the facial characteristics comprises at least:Face feature, shape of face feature, dimple are special
Sign.
Alternatively, the detection unit 22 is in the reference object for facing camera lens, detects whether to have face special
When sign is unsatisfactory for the reference object of symmetry principle, specifically for any reference object for facing camera lens, respectively to knowing
The organ with symmetrical incidence relation in the facial characteristics being clipped to is compared, and detection is determined when comparison result is inconsistent
As a result it is presence;
The adjustment unit 23, scheme specifically for the face of the inconsistent reference object of the comparison result to being shown on camera
The organ for having symmetrical incidence relation as in is adjusted so that should have the organ of symmetrical incidence relation consistent.
Alternatively, the detection unit 22 detects whether face be present for the non-reference object for facing camera lens
When feature is unsatisfactory for the reference object of Perspective Principles, specifically for for the non-any reference object for facing camera lens, according to
The face location of the reference object recognized, determine end point corresponding to the reference object;According to the end point with pair
The angle for claiming the frame of the organ of incidence relation to be formed, it is determined whether exist be unsatisfactory for Perspective Principles there is symmetrical incidence relation
Organ;
The adjustment unit 23, specifically for successively to the face of the reference object for being unsatisfactory for Perspective Principles shown on camera
The organ with symmetrical incidence relation is adjusted in portion's image so that organ satisfaction perspective that should be with symmetrical incidence relation is former
Reason.
In addition, the embodiment of the present invention also provides a kind of photographing device, it is specifically as follows mobile terminal, shown in reference picture 5
The hardware architecture diagram of mobile terminal,
The mobile terminal 300 includes but is not limited to:It is radio frequency unit 301, mixed-media network modules mixed-media 302, audio output unit 303, defeated
Enter unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor
The part such as 310 and power supply 311.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 is not formed
Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or
Different part arrangements.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 310, after being opened in camera, at least one reference object in coverage is identified;Inspection
Survey at least one reference object with the presence or absence of the reference object for meeting default regularization condition;If testing result is presence,
Then the facial characteristics in face-image corresponding to the reference object of the default regularization condition of the satisfaction shown on camera is adjusted,
Wherein, the facial characteristics comprises at least symmetrical organ;
It should be understood that in the embodiment of the present invention, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 310;In addition, will be up
Data are sent to base station.Generally, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 302 and accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be receiving by radio frequency unit 301 or mixed-media network modules mixed-media 302 or in memory 309
It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 303 can also be provided and moved
The audio output for the specific function correlation that dynamic terminal 300 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input block 304 is used to receive audio or video signal.Input block 304 can include graphics processor
(Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 306.Picture frame after the processing of graphics processor 3041 can be deposited
Storage is transmitted in memory 309 (or other storage mediums) or via radio frequency unit 301 or mixed-media network modules mixed-media 302.Mike
Wind 3042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 also includes at least one sensor 305, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 3061, and proximity transducer can close when mobile terminal 300 is moved in one's ear
Display panel 3061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 306 is used for the information for showing the information inputted by user or being supplied to user.Display unit 306 can wrap
Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 3061.
User input unit 307 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 307 include contact panel 3071 and
Other input equipments 3072.Contact panel 3071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 3071 or in contact panel 3071
Neighbouring operation).Contact panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area
Manage the order that device 310 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 3071.Except contact panel 3071, user input unit 307 can also include other input equipments
3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 3071 can be covered on display panel 3061, when contact panel 3071 is detected at it
On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 3510 according to touch
The type for touching event provides corresponding visual output on display panel 3061.Although in Figure 5, contact panel 3071 and display
Panel 3061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments
In, can be integrated by contact panel 3071 and display panel 3061 and realize input and the output function of mobile terminal, it is specific this
Place does not limit.
Interface unit 308 is the interface that external device (ED) is connected with mobile terminal 300.For example, external device (ED) can include
Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 308 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 300 can be used in the He of mobile terminal 300
Data are transmitted between external device (ED).
Memory 309 can be used for storage software program and various data.Memory 309 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 309 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 309, and call and be stored in storage
Data in device 309, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) to all parts power supply, it is preferred that power supply 311
Can be logically contiguous by power-supply management system and processor 310, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned functional modules, will not be repeated here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each process of above-mentioned processing method embodiment of taking pictures, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
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.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (11)
- The processing method 1. one kind is taken pictures, it is characterised in that including:After camera unlatching, at least one reference object in coverage is identified;Detect at least one reference object with the presence or absence of the reference object for meeting default regularization condition;If testing result is has, to face-image corresponding to the reference object of the default regularization condition of satisfaction shown on camera In facial characteristics be adjusted.
- 2. the method as described in claim 1, it is characterised in that with the presence or absence of satisfaction in detection at least one reference object The reference object of default regularization condition, is specifically included:Reference object for facing camera lens, detect whether the reference object that facial characteristics is unsatisfactory for symmetry principle be present;For the non-reference object for facing camera lens, detect whether the shooting pair that facial characteristics is unsatisfactory for Perspective Principles be present As.
- 3. method as claimed in claim 2, it is characterised in that at least one reference object in identification coverage, specifically Including:Determine the face location of at least one reference object in coverage;Identify the facial characteristics of the reference object.
- 4. method as claimed in claim 2 or claim 3, it is characterised in that the reference object for facing camera lens, detect whether The reference object that facial characteristics is unsatisfactory for symmetry principle be present, specifically include:Any reference object for facing camera lens, respectively to having symmetrical incidence relation in the facial characteristics that recognizes Face organ is compared, and determines testing result when comparison result is inconsistent to exist;Facial characteristics in face-image corresponding to the reference object of the default regularization condition of satisfaction shown on camera is adjusted It is whole, specifically include:There is the organ of symmetrical incidence relation in the face-image of the reference object inconsistent to the comparison result shown on camera It is adjusted so that the organ with symmetrical incidence relation is consistent.
- 5. method as claimed in claim 3, it is characterised in that for the non-reference object for facing camera lens, detect whether The reference object that facial characteristics is unsatisfactory for Perspective Principles be present, specifically include:For the non-any reference object for facing camera lens, according to the face location of the reference object recognized, it is determined that described End point corresponding to reference object;The angle formed according to the frame of the end point and the organ with symmetrical incidence relation, it is determined whether exist not Meet the organ with symmetrical incidence relation of Perspective Principles;Facial characteristics in face-image corresponding to the reference object of the default regularization condition of satisfaction shown on camera is adjusted It is whole, specifically include:The symmetrical organ in the face-image of the reference object for being unsatisfactory for Perspective Principles shown on camera is adjusted successively, So that the organ with symmetrical incidence relation meets Perspective Principles.
- The processing unit 6. one kind is taken pictures, it is characterised in that including:Recognition unit, after being opened in camera, identify at least one reference object in coverage;Detection unit, for detecting at least one reference object with the presence or absence of the shooting pair for meeting default regularization condition As;Adjustment unit, in the presence of being in testing result, to the reference object of the default regularization condition of satisfaction shown on camera Facial characteristics in corresponding face-image is adjusted.
- 7. device as claimed in claim 6, it is characterised in that the detection unit, be specifically used for:Reference object for facing camera lens, detect whether the reference object that facial characteristics is unsatisfactory for symmetry principle be present;For the non-reference object for facing camera lens, detect whether the shooting pair that facial characteristics is unsatisfactory for Perspective Principles be present As.
- 8. device as claimed in claim 7, it is characterised in that the recognition unit, be specifically used for:Determine the face location of at least one reference object in coverage;Identify the facial characteristics of the reference object.
- 9. device as claimed in claim 7 or 8, it is characterised in that the detection unit is in the bat for facing camera lens Object is taken the photograph, when detecting whether to exist the reference object that facial characteristics is unsatisfactory for symmetry principle, is specifically used for:Any reference object for facing camera lens, respectively to having symmetrical incidence relation in the facial characteristics that recognizes Organ is compared, and determines testing result when comparison result is inconsistent to exist;The adjustment unit, is specifically used for:Symmetrical organ in the face-image of the reference object inconsistent to the comparison result shown on camera is adjusted so that The organ with symmetrical incidence relation is consistent.
- 10. device as claimed in claim 8, it is characterised in that the detection unit is for the non-bat for facing camera lens Object is taken the photograph, when detecting whether to exist the reference object that facial characteristics is unsatisfactory for Perspective Principles, is specifically used for:For the non-any reference object for facing camera lens, according to the face location of the reference object recognized, it is determined that described End point corresponding to reference object;The angle formed according to the frame of the end point and the organ with symmetrical incidence relation, it is determined whether exist not Meet the organ with symmetrical incidence relation of Perspective Principles;The adjustment unit, is specifically used for:Successively to having symmetrical incidence relation in the face-image of the reference object for being unsatisfactory for Perspective Principles shown on camera Organ is adjusted so that the organ with symmetrical incidence relation meets Perspective Principles.
- A kind of 11. photographing device, it is characterised in that including:Processor, memory and it is stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1-5 during the computing device Any one of take pictures processing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711037467.3A CN107872619B (en) | 2017-10-30 | 2017-10-30 | Photographing processing method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711037467.3A CN107872619B (en) | 2017-10-30 | 2017-10-30 | Photographing processing method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107872619A true CN107872619A (en) | 2018-04-03 |
CN107872619B CN107872619B (en) | 2020-04-07 |
Family
ID=61753480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711037467.3A Active CN107872619B (en) | 2017-10-30 | 2017-10-30 | Photographing processing method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107872619B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109671034A (en) * | 2018-12-26 | 2019-04-23 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254164A (en) * | 2011-08-04 | 2011-11-23 | 蔡翔 | Face recognition method with prompt function |
CN103458219A (en) * | 2013-09-02 | 2013-12-18 | 小米科技有限责任公司 | Method, device and terminal device for adjusting face in video call |
CN104036546A (en) * | 2014-06-30 | 2014-09-10 | 清华大学 | Method for carrying out face three-dimensional reconstruction at any viewing angle on basis of self-adaptive deformable model |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
CN104182741A (en) * | 2014-09-15 | 2014-12-03 | 联想(北京)有限公司 | Image acquisition prompt method and device and electronic device |
CN104754216A (en) * | 2015-03-06 | 2015-07-01 | 广东欧珀移动通信有限公司 | Photographing method and device |
CN106503614A (en) * | 2016-09-14 | 2017-03-15 | 厦门幻世网络科技有限公司 | A kind of photo acquisition methods and device |
CN106709404A (en) * | 2015-11-16 | 2017-05-24 | 佳能株式会社 | Image processing device and image processing method |
CN106778660A (en) * | 2016-12-28 | 2017-05-31 | 浙江大华技术股份有限公司 | A kind of human face posture bearing calibration and device |
CN106888333A (en) * | 2017-03-31 | 2017-06-23 | 珠海市魅族科技有限公司 | A kind of image pickup method and device |
-
2017
- 2017-10-30 CN CN201711037467.3A patent/CN107872619B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254164A (en) * | 2011-08-04 | 2011-11-23 | 蔡翔 | Face recognition method with prompt function |
CN103458219A (en) * | 2013-09-02 | 2013-12-18 | 小米科技有限责任公司 | Method, device and terminal device for adjusting face in video call |
CN104036546A (en) * | 2014-06-30 | 2014-09-10 | 清华大学 | Method for carrying out face three-dimensional reconstruction at any viewing angle on basis of self-adaptive deformable model |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
CN104182741A (en) * | 2014-09-15 | 2014-12-03 | 联想(北京)有限公司 | Image acquisition prompt method and device and electronic device |
CN104754216A (en) * | 2015-03-06 | 2015-07-01 | 广东欧珀移动通信有限公司 | Photographing method and device |
CN106709404A (en) * | 2015-11-16 | 2017-05-24 | 佳能株式会社 | Image processing device and image processing method |
CN106503614A (en) * | 2016-09-14 | 2017-03-15 | 厦门幻世网络科技有限公司 | A kind of photo acquisition methods and device |
CN106778660A (en) * | 2016-12-28 | 2017-05-31 | 浙江大华技术股份有限公司 | A kind of human face posture bearing calibration and device |
CN106888333A (en) * | 2017-03-31 | 2017-06-23 | 珠海市魅族科技有限公司 | A kind of image pickup method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109671034A (en) * | 2018-12-26 | 2019-04-23 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109671034B (en) * | 2018-12-26 | 2021-03-26 | 维沃移动通信有限公司 | Image processing method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107872619B (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107734251A (en) | A kind of photographic method and mobile terminal | |
CN107833178A (en) | A kind of image processing method, device and mobile terminal | |
CN107682616A (en) | Control method, shooting epicranial plate and mobile terminal | |
CN107844730A (en) | A kind of graphic code scan method and mobile terminal | |
CN107682639B (en) | A kind of image processing method, device and mobile terminal | |
CN107566730A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN107592466A (en) | A kind of photographic method and mobile terminal | |
CN107580209A (en) | Take pictures imaging method and the device of a kind of mobile terminal | |
CN107833177A (en) | A kind of image processing method and mobile terminal | |
US11792351B2 (en) | Image processing method, electronic device, and computer-readable storage medium | |
CN107317963A (en) | A kind of double-camera mobile terminal control method, mobile terminal and storage medium | |
CN107742072A (en) | Face identification method and mobile terminal | |
CN107864336B (en) | A kind of image processing method, mobile terminal | |
CN107734260A (en) | A kind of image processing method and mobile terminal | |
CN108989672A (en) | A kind of image pickup method and mobile terminal | |
CN107845057A (en) | One kind is taken pictures method for previewing and mobile terminal | |
CN107786811B (en) | A kind of photographic method and mobile terminal | |
CN107635110A (en) | A kind of video interception method and terminal | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN107888833A (en) | A kind of image capturing method and mobile terminal | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN107886321A (en) | A kind of method of payment and mobile terminal | |
CN107948505A (en) | A kind of panorama shooting method and mobile terminal | |
CN108320263A (en) | A kind of method, device and mobile terminal of image procossing | |
CN108156374A (en) | A kind of image processing method, terminal and readable storage medium storing program for executing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |