CN107347135A - Take pictures processing method, device and terminal device - Google Patents

Take pictures processing method, device and terminal device Download PDF

Info

Publication number
CN107347135A
CN107347135A CN201710471135.XA CN201710471135A CN107347135A CN 107347135 A CN107347135 A CN 107347135A CN 201710471135 A CN201710471135 A CN 201710471135A CN 107347135 A CN107347135 A CN 107347135A
Authority
CN
China
Prior art keywords
parameter
personage
composition
stature
posture
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
Application number
CN201710471135.XA
Other languages
Chinese (zh)
Other versions
CN107347135B (en
Inventor
张艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710471135.XA priority Critical patent/CN107347135B/en
Publication of CN107347135A publication Critical patent/CN107347135A/en
Application granted granted Critical
Publication of CN107347135B publication Critical patent/CN107347135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Abstract

Taken pictures processing method, device and terminal device the disclosure is directed to one kind, this method includes:When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;The composition parameter of the personage is matched with reference to composition parameter;If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported, and the composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.Improve the shooting effect and Consumer's Experience of photo.

Description

Take pictures processing method, device and terminal device
Technical field
This disclosure relates to intelligent terminal technical field, more particularly to one kind take pictures processing method, device and shooting eventually End equipment.
Background technology
User is often taken pictures using terminal devices such as mobile phones.When being taken pictures, user is to photo composition Quality determine that photo can achieve the effect that.Will not composition but exist for most of non-professional users Problem.
For this problem, the solution method of prior art is the addition assisted drawing work in the camera function of terminal device Tool, the assisted drawing instrument is usually expressed as boost line (i.e. nine grids), and typically when taking pictures, user can only be according to photo preview The boost line prompted on interface is taken pictures, although this method can improve the patterning effect of photo to a certain extent, It is that its function is still aobvious simple, the lifting for photo patterning effect is also very limited, it is impossible to meets that user shoots high-quality photos Demand, can not especially meet the needs of user shoots high quality portrait photo.
The content of the invention
The disclosure provides one kind and taken pictures processing method, device and camera terminal equipment, to assist user to carry out photo structure Figure, improve the shooting effect of photo.
According to the first aspect of the embodiment of the present disclosure, there is provided one kind is taken pictures processing method, including:
When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
The composition parameter of the personage is matched with reference to composition parameter;
If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
Optionally, the composition parameter of the personage includes:Personage's attitude parameter, it is described to include reference with reference to composition parameter Attitude parameter;
The composition parameter by the personage and the parameter progress of reference composition, including:
The object reference attitude parameter matched with personage's attitude parameter is searched in the parameter with reference to composition;
The object reference attitude parameter is matched with personage's attitude parameter.
Optionally, personage's posture includes any one in following posture:Crouching standing position state, midstance, semi-crouch appearance State, posture, standing and sitting gesture are leaned on, wherein, in the crouching standing position state, midstance, semi-crouch posture, lean on posture and sitting appearance State includes at least one posture.
Optionally, the composition parameter of the personage includes the stature scale parameter of personage, is wrapped in the reference composition parameter Include and refer to stature scale parameter;
The composition parameter by the personage and the parameter progress of reference composition, including:
The stature scale parameter of the personage is matched with the stature scale parameter of the reference.
Optionally, the composition parameter of the personage also includes sex, age and the build of personage;It is described by the personage's Stature scale parameter is matched with described with reference to stature scale parameter, including:
The target body to match with sex, age and the build of the personage is searched in the scale parameter with reference to stature Material scale parameter;
The target stature scale parameter is matched with the stature scale parameter of the personage.
According to the second aspect of the embodiment of the present disclosure, there is provided one kind is taken pictures processing unit, and the device includes:
First detection module, when being configured as triggering camera function, detect the composition parameter of personage in preview image of taking pictures;
Matching module, it is configured as being matched the composition parameter of the personage with reference to composition parameter;
Output module, it is configured as when the composition parameter of the personage has differences with the reference composition parameter, then Export corresponding prompting message;
Adjusting module, it is configured as in real time adjusting the composition of personage in preview image of taking pictures according to the prompting message It is whole, obtain target picture.
Optionally, the composition parameter of the personage includes:Personage's attitude parameter, it is described to include reference with reference to composition parameter Attitude parameter;
The matching module, including:
Submodule is searched, is configured as searching the mesh matched with personage's attitude parameter in the parameter with reference to composition Parameter of the mark with reference to posture;
First matched sub-block, it is configured as the object reference attitude parameter and personage's attitude parameter progress Match somebody with somebody.
Optionally, personage's posture includes any one in following posture:Crouching standing position state, midstance, semi-crouch appearance State, posture, standing and sitting gesture are leaned on, wherein, in the crouching standing position state, midstance, semi-crouch posture, lean on posture and sitting appearance State includes at least one posture.
Optionally, the composition parameter of the personage includes the stature scale parameter of personage, described with reference in composition parameter Including referring to stature scale parameter;
The matching module, including:
Second matched sub-block, it is configured as the stature scale parameter of the personage referring to stature scale parameter with described Matched.
Optionally,
The composition parameter of the personage also includes sex, age and the build of personage;Second matched sub-block includes:
Subelement is searched, is configured as searching in the scale parameter with reference to stature and the sex of the personage, age The target stature scale parameter to match with build;
Coupling subelement, it is configured as carrying out the target stature scale parameter and the stature scale parameter of the personage Matching.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of camera terminal equipment, including:
Processor;
It is configured as storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
The composition parameter of the personage is matched with reference to composition parameter;
If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, it is described computer-readable Instruction is stored with storage medium, when run on a computer so that computer performs following method:
When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
The composition parameter of the personage is matched with reference to composition parameter;
If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
The technical scheme provided by this disclosed embodiment can include the following benefits:
From aspects above, by the composition ginseng for when triggering camera function, detecting personage in preview image of taking pictures Number, and the composition parameter is matched with the reference composition parameter being pre-configured with, if the composition parameter is with referring to composition parameter Between have differences, then export corresponding prompting message, and according to the prompting message in real time to personage in preview image of taking pictures Composition is adjusted, and obtains target picture, it is achieved thereby that assisting user to carry out the purpose of photo composition, can effectively be improved The shooting quality of photo, there is higher Consumer's Experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of processing method embodiment one of taking pictures according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of processing method embodiment two of taking pictures according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of processing method embodiment three of taking pictures according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of processing method example IV of taking pictures according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of processing unit embodiment one of taking pictures according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of matching module 12 according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of matching module 12 according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of processing unit embodiment two of taking pictures according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of camera terminal equipment according to an exemplary embodiment;
Figure 10 is the block diagram of another camera terminal equipment according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides one kind and taken pictures processing method.This method can be performed by taking pictures processing unit, the bat It can be integrated in camera terminal equipment according to processing unit.With reference to figure 1, Fig. 1 is one kind according to an exemplary embodiment The flow chart of processing method of taking pictures embodiment one.As shown in figure 1, this method comprises the following steps:
In a step 101, when triggering camera function, the composition parameter of personage in preview image of taking pictures is detected.
When preview image of taking pictures involved by the present embodiment refers to that user starts camera function, the scenery that is taken and/or The image that personage is presented on the display screen of camera terminal equipment.
Optionally, when user triggers camera function, person recognition is first carried out in preview image of taking pictures, when being to recognize people During thing, image procossing is carried out to preview image of taking pictures and obtains composition parameter of the personage in photo preview image, for example personage exists Location parameter, attitude parameter, stature scale parameter in photo etc..Wherein, the posture of personage includes following appearance in the present embodiment Any one in state:Crouching standing position state, midstance, semi-crouch posture, lean on posture, standing and sitting gesture.In wherein above-mentioned posture Including at least one posture, the crouching standing position state that can include by taking crouching standing position state as an example, in crouching standing position state on one knee is held with double knees Flat crouching standing position state etc..
Involved personage's attitude parameter is used for the posture feature for representing user in the present embodiment, using midstance parameter as , include the distance between two legs, the position of both arms, and angle of inclination of body etc. in the parameter Parameter.
Involved stature scale parameter includes personage head, trunk and four in the present embodiment Scale parameter between limb.
In a step 102, the composition parameter of personage is matched with reference to composition parameter.
The artistic composition of tool pre-set in the present embodiment with reference to composition parameter by those skilled in the art has Composition parameter.With reference to including reference position parameter of the personage in photo, reference in composition parameter Attitude parameter, with reference to stature scale parameter etc..Wherein, the above-mentioned reference attitude parameter being related to includes appointing in following attitude parameter Meaning is a kind of:The parameter with reference to posture is found in crouching, and the parameter for referring to posture of standing, semi-crouch refer to the parameter of posture, dependence refers to posture Parameter, sitting refer to posture parameter.Include at least one posture in wherein above-mentioned reference posture, posture is referred to squat to stand Exemplified by, squatting vertical refer to can be including fair reference posture of reference posture on one knee and double knees etc. in posture.
Involved reference attitude parameter is used to represent have attitude parameter possessed by artistic posture in the present embodiment, By taking the parameter with reference to posture of standing as an example, the reference distance between two legs, both arms are included in the parameter Reference position, and the reference parameter such as reference tilt angle of body.
With reference to stature scale parameter involved in composition parameter include personage head, trunk with And the scale parameter between four limbs, when stature scale parameter of the personage in photo with reference to stature scale parameter with matching, clap The photo taken the photograph has aesthetic feeling.
In step 103, if the composition parameter of personage exports corresponding prompting and disappeared with being had differences with reference to composition parameter Breath.Wherein, the way of output of prompting message includes two kinds of word and voice.
By taking midstance as an example, it is assumed that the distance in preview image of taking pictures between personage's both legs, which is more than, refers to composition parameter The distance between both legs of middle offer, then exported in a manner of word or voice and disappeared for prompting user to close up the prompting of both legs Breath, so that the leg of personage seems very thin, slender in photo, and has aesthetic feeling.For another example, personage is in preview graph of taking pictures Head ratio as in is excessive, then the prompting message for prompting user to nod is exported, so that personage's each several part in photo Eurythmy it is attractive in appearance.
At step 104, the composition of personage in preview image of taking pictures is adjusted in real time according to prompting message, obtains mesh Mark photo.
Optionally, while prompting message is exported or afterwards, processing unit of taking pictures is according to the prompting message, based on built-in Image processing algorithm the composition of portrait is corrected.For example portrait head position is relative to 30 degree of predeterminated position left avertence, then The head of portrait in preview interface of taking pictures is moved right 30 degree based on built-in image processing algorithm, taken pictures with improving portrait Composition in preview meeting.
The present embodiment, by when triggering camera function, detecting the composition parameter of personage in preview image of taking pictures, and should Composition parameter is matched with the reference composition parameter being pre-configured with, if in the presence of poor between the composition parameter and reference composition parameter It is different, then corresponding prompting message is exported, and the composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message It is whole, target picture is obtained, it is achieved thereby that assisting the purpose of user's progress photo composition, can effectively improve the shooting of photo Effect, there is higher Consumer's Experience.
The disclosure provides another kind and taken pictures processing method.This method be to the method shown in Fig. 1 further expand with it is excellent Change.
With reference to figure 2, Fig. 2 is a kind of flow of processing method embodiment two of taking pictures according to an exemplary embodiment Figure, as shown in Fig. 2 on the basis of method shown in Fig. 1, the method that the present embodiment provides comprises the following steps:
In step 201, when triggering camera function, the parameter of personage's posture in preview image of taking pictures is detected.
In step 202, the object reference posture matched with personage's attitude parameter is searched in reference to composition parameter Parameter.
In step 203, object reference attitude parameter is matched with personage's attitude parameter.
In step 204, if the parameter of the parameter of personage's posture and object reference posture has differences, output is corresponding Prompting message.
In step 205, the posture of personage in preview image of taking pictures is adjusted in real time according to prompting message, obtains mesh Mark photo.In the present embodiment, personage's posture includes:Crouching standing position state, midstance, semi-crouch posture, posture, standing and sitting gesture are leaned on, Wherein, at least one posture is included in every kind of posture.
Include referring to attitude parameter with reference to composition parameter, include any one in following posture with reference to posture:Squat vertical The reference posture of posture, the reference posture of midstance, the reference posture of semi-crouch posture, reference posture, the sitting for leaning on posture The reference posture of posture.Wherein each referring in posture includes at least one posture, by taking the reference posture of crouching standing position state as an example, Reference posture that reference posture on one knee maintains an equal level with double knees etc. can be included in the reference posture of crouching standing position state.
For example, when it is midstance that processing unit of taking pictures, which detects posture of the personage in preview image of taking pictures, Processing unit of taking pictures searches reference parameter corresponding to midstance in the reference composition parameter pre-set.Further, then By the attitude parameter progress with reference to reference parameter and personage corresponding to midstance in composition parameter in preview image of taking pictures Match somebody with somebody, corresponding prompting message is exported further according to the result of matching.Such as the distance in photo preview image between personage's both legs More than the distance between both legs provided in reference composition parameter, then the prompting message for prompting user to close up both legs is exported, So that the leg of personage seems very thin, slender in photo, and there is aesthetic feeling.Certainly only it is the example to the disclosure here Illustrate rather than the uniqueness of the disclosure is limited.
The present embodiment, by detecting attitude parameter of the personage in preview image of taking pictures, the attitude parameter and target are joined The parameter for examining posture is matched, and according to matching result, corresponding prompting message is exported, it is achieved thereby that assisting user's adjustment The purpose of personage's posture in photo composition, the shooting effect of photo is effectively raised, enhance the usage experience of user.
Fig. 3 is a kind of flow chart of processing method embodiment three of taking pictures according to an exemplary embodiment, such as Fig. 3 institutes Show, on the basis of embodiment illustrated in fig. 1, the method that the present embodiment provides comprises the following steps:
In step 301, when triggering camera function, the stature scale parameter of personage in preview image of taking pictures is detected.
In step 302, the stature scale parameter of personage is matched with reference to stature scale parameter.
In step 303, if the stature scale parameter of personage with reference to stature scale parameter with having differences, output is corresponding Prompting message;
In step 304, the stature ratio of personage in preview image of taking pictures is adjusted in real time according to prompting message, obtained Take target picture.In the present embodiment, include referring to stature scale parameter with reference to composition parameter.The stature being related in the present embodiment Scale parameter (including the personage's stature scale parameter and reference stature scale parameter detected from preview image of taking pictures) includes It is not limited to including the scale parameter between personage head, trunk and four limbs, when personage is in preview image of taking pictures When stature scale parameter with reference to stature scale parameter with matching, the effect showed in photo has aesthetic feeling.
As an example it is assumed that the ratio that personage leg is presented in preview image is smaller, then user can be prompted people to be present The less patterning defects of thing leg ratio, and the ratio of personage leg is adjusted by built-in image processing algorithm, from And make it that the leg of personage seems very thin, slender, and there is aesthetic feeling.
The present embodiment, by detecting stature scale parameter of the personage in photo preview image, by stature scale parameter with The stature scale parameter of reference is matched, and according to matching result, corresponding prompting message is exported, it is achieved thereby that assisting to use The purpose of personage's stature ratio, effectively raises the shooting effect of photo, enhances making for user in family adjustment photo composition With experience.
Fig. 4 is a kind of flow chart of processing method example IV of taking pictures according to an exemplary embodiment, such as Fig. 4 institutes Show, on the basis of embodiment illustrated in fig. 3, the method that the present embodiment provides comprises the following steps:
In step 401, when triggering camera function, the composition parameter of personage in preview image of taking pictures is detected, wherein, personage Composition parameter include the stature scale parameter of personage, and the sex of personage, age and build.
In step 402, search in reference to stature scale parameter and match with sex, age and the build of the personage Target stature scale parameter.
In step 403, the target stature scale parameter is matched with the stature scale parameter of the personage.
In step 404, if the stature scale parameter of personage has differences with target stature scale parameter, output is corresponding Prompting message.
In step 405, the stature ratio of personage in preview image of taking pictures is adjusted in real time according to prompting message, obtained Take target picture.In the present embodiment according to facial information of the personage in preview image of taking pictures identify obtain personage sex and Age, the stature feature that is presented according to personage in photo preview image obtain the body-shape information of personage.Such as personage's belly The width showed in photo is more than default threshold value, it is determined that personage belongs to the larger a kind of build of belly.Above-mentioned determination Personage's sex, the age, build method similarly to the prior art, do not repeat herein.
According to the sex of personage, age, physical characteristic in the present embodiment, search to meet in reference to stature scale parameter and appoint The target stature scale parameter for sex, age and the physical characteristic of being engaged in, and the stature ratio presented according to personage in preview image Difference between parameter and target stature scale parameter, exports corresponding prompt message, enables to the prompt message of output more Add the individualized feature for meeting user, be favorably improved the usage experience of user.For example detect people in photo preview image Thing is elderly men, and personage would not be reminded to show such as leg one in front and one in back this posture more faggoty, will not also be prompted Stand up, but both legs are for example closed up in output, bow and wait the simply posture easily put.
Optionally, in the present embodiment, corresponding prompting message can also be exported according to the dress ornament of personage, for example detected When personage wears this comparison of such as ancient costume loose loose fitting clothes, it would not prompt to pack up belly, but output is pre-set Wear the adaptable prompt message of style clothes with personage.
In the present embodiment, by detecting sex, age and the build of personage, and export and personage's sex, age and build The prompting message to match, prompting message more hommization is enabled to, obtains preferable Consumer's Experience.
Fig. 5 is a kind of block diagram of processing unit embodiment one of taking pictures according to an exemplary embodiment, such as Fig. 5 institutes Show, the device includes:
First detection module 11, when being configured as triggering camera function, detect the composition ginseng of personage in preview image of taking pictures Number;
Matching module 12, it is configured as being matched the composition parameter of the personage with reference to composition parameter;
Output module 13, it is configured as when the composition parameter of the personage has differences with the reference composition parameter, Then export corresponding prompting message;
Adjusting module 14, it is configured as in real time carrying out the composition of personage in preview image of taking pictures according to the prompting message Adjustment, obtain target picture.
The processing unit of taking pictures that the present embodiment provides can be used in the method for performing embodiment illustrated in fig. 1, its executive mode It is similar with beneficial effect, repeat no more herein.
Fig. 6 is a kind of block diagram of matching module 12 according to an exemplary embodiment, in the present embodiment, the structure of personage Graph parameter includes:Personage's attitude parameter, include referring to attitude parameter with reference to composition parameter.As shown in fig. 6, shown in Fig. 5 On the basis of embodiment, matching module 12 includes:
Submodule 121 is searched, the lookup in the reference composition parameter is configured as and is matched with personage's attitude parameter Object reference posture parameter;
First matched sub-block 122, it is configured as entering the object reference attitude parameter and personage's attitude parameter Row matching.
Optionally, personage's posture includes any one in following posture:Crouching standing position state, midstance, semi-crouch appearance State, posture, standing and sitting gesture are leaned on, wherein, in the crouching standing position state, midstance, semi-crouch posture, lean on posture and sitting appearance State includes at least one posture.
The processing unit of taking pictures that the present embodiment provides can be used in the method for performing embodiment illustrated in fig. 2, its executive mode It is similar with beneficial effect, repeat no more herein.
Fig. 7 is a kind of block diagram of matching module 12 according to an exemplary embodiment, in the present embodiment, the composition of thing Parameter includes the stature scale parameter of personage, includes referring to stature scale parameter with reference to composition parameter.As shown in fig. 7, On the basis of embodiment illustrated in fig. 5, matching module 12 includes:
Second matched sub-block 123, it is configured as the stature scale parameter of the personage and the reference stature ratio Parameter is matched.
The processing unit of taking pictures that the present embodiment provides can be used in the method for performing embodiment illustrated in fig. 3, its executive mode It is similar with beneficial effect, repeat no more herein.
Fig. 8 is a kind of block diagram of second matched sub-block 123 according to an exemplary embodiment, as shown in figure 8, On the basis of embodiment illustrated in fig. 5, the second matched sub-block 123
Search subelement 1231, be configured as searching in the scale parameter with reference to stature with the sex of the personage, The target stature scale parameter that age and build match;
Coupling subelement 1232, it is configured as the stature scale parameter by the target stature scale parameter and the personage Matched.
The processing unit of taking pictures that the present embodiment provides can be used in the method for performing embodiment illustrated in fig. 4, its executive mode It is similar with beneficial effect, repeat no more herein.
On the processing unit of taking pictures in above-described embodiment, wherein modules, submodule performs the concrete mode of operation It is described in detail in the embodiment about this method, explanation will be not set forth in detail herein.
The built-in function and structure for processing unit of taking pictures are the foregoing described, as shown in figure 9, in practice, the processing dress of taking pictures Put and can be achieved as camera terminal equipment, including:
Processor;
It is configured as storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
The composition parameter of the personage is matched with reference to composition parameter;
If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported; The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
In the present embodiment, by detecting the composition parameter of the personage to take pictures in preview image when taking pictures, and by the composition Parameter is matched with the reference composition parameter being pre-configured with, if being had differences between the composition parameter and reference composition parameter, Corresponding prompting message is then exported, so that user adjusts composition of the personage in photo according to prompting message, it is achieved thereby that association Help user to carry out the purpose of photo composition, can effectively improve the shooting effect of photo, there is higher Consumer's Experience.
Figure 10 is the block diagram of another camera terminal equipment according to an exemplary embodiment.For example, camera terminal Equipment 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, cure Treat equipment, body-building equipment, personal digital assistant etc..
Reference picture 10, camera terminal equipment 800 can include following one or more assemblies:Processing component 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communication component 816.
Processing component 802 generally controls the integrated operation of camera terminal equipment 800, such as with display, call, data The operation that communication, camera operation and record operation are associated.Processing component 802 can include one or more processors 820 Execute instruction, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more Module, the interaction being easy between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, To facilitate the interaction between multimedia groupware 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for being operated in camera terminal equipment 800, contact data, telephone directory Data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or it Combination realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of camera terminal equipment 800.Power supply module 806 can include electricity Management system, one or more power supplys, and other generate with for camera terminal equipment 800, manage and to distribute electric power associated Component.
Multimedia groupware 808 is included in one output interface of offer between the camera terminal equipment 800 and user Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel is touched, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more Touch sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or The border of sliding action, but also detect the duration and pressure related to the touch or slide.In some implementations In example, multimedia groupware 808 includes a front camera and/or rear camera.When equipment 800 is in operator scheme, such as When screening-mode or video mode, front camera and/or rear camera can receive outside multi-medium data.Before each Putting camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when camera terminal equipment 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, wheat Gram wind is configured as receiving external audio signal.The audio signal received can be further stored in memory 804 or warp Sent by communication component 816.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exporting audio letter Number.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, for providing various aspects for camera terminal equipment 800 State estimation.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, the relative positioning of component, example Such as the display and keypad that the component is camera terminal equipment 800, sensor cluster 814 can also detect camera terminal and set Standby 800 or the position of 800 1 components of camera terminal equipment change, presence that user contacts with camera terminal equipment 800 or not In the presence of the orientation of camera terminal equipment 800 or the temperature change of acceleration/deceleration and camera terminal equipment 800.Sensor cluster 814 Proximity transducer can be included, be configured to detect the presence of object nearby in no any physical contact.Sensor Component 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some realities Apply in example, the sensor cluster 814 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor Or temperature sensor.
Communication component 816 is configured to facilitate wired or wireless way between camera terminal equipment 800 and other equipment Communication.Camera terminal equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their group Close.In one exemplary embodiment, communication component 816 receives the broadcast from external broadcasting management system via broadcast channel Signal or broadcast related information.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) mould Block, to promote junction service.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) skill can be based in NFC module Art, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, camera terminal equipment 800 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), scene can Program gate array (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed by the processor 820 of camera terminal equipment 800 to complete above-mentioned side Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out one kind and taken pictures processing method, and methods described includes:
When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
The composition parameter of the personage is matched with reference to composition parameter;
If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported; The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. The processing method 1. one kind is taken pictures, it is characterised in that methods described includes:
    When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
    The composition parameter of the personage is matched with reference to composition parameter;
    If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
    The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
  2. 2. according to the method for claim 1, it is characterised in that the composition parameter of the personage includes:Personage's attitude parameter, It is described to include referring to attitude parameter with reference to composition parameter;
    The composition parameter by personage is matched with reference to composition parameter, including:
    The object reference attitude parameter matched with personage's attitude parameter is searched in the parameter with reference to composition;By the mesh Mark is matched with reference to attitude parameter with personage's attitude parameter.
  3. 3. according to the method for claim 2, it is characterised in that personage's posture includes any one in following posture Kind:Crouching standing position state, midstance, semi-crouch posture, posture, standing and sitting gesture are leaned on, wherein, in the crouching standing position state, midstance, Semi-crouch posture, dependence posture and standing and sitting gesture include at least one posture.
  4. 4. according to the method for claim 1, it is characterised in that the composition parameter of the personage includes the stature ratio of personage Parameter, it is described to include referring to stature scale parameter with reference to composition parameter;
    The composition parameter by the personage is matched with reference to composition parameter, including:
    The stature scale parameter of the personage is matched with described with reference to stature scale parameter.
  5. 5. according to the method for claim 4, it is characterised in that the composition parameter of the personage also including personage sex, Age and build;The stature scale parameter by the personage is matched with described with reference to stature scale parameter, including:
    The target stature ratio to match with sex, age and the build of the personage is searched in the scale parameter with reference to stature Example parameter;
    The target stature scale parameter is matched with the stature scale parameter of the personage.
  6. The processing unit 6. one kind is taken pictures, it is characterised in that including:
    First detection module, when being configured as triggering camera function, detect the composition parameter of personage in preview image of taking pictures;
    Matching module, it is configured as being matched the composition parameter of the personage with reference to composition parameter;
    Output module, it is configured as when the composition parameter of the personage has differences with the reference composition parameter, then exporting Corresponding prompting message;
    Adjusting module, it is configured as in real time being adjusted the composition of personage in preview image of taking pictures according to the prompting message, Obtain target picture.
  7. 7. device according to claim 6, it is characterised in that the composition parameter of the personage includes:Personage's attitude parameter, It is described to include referring to attitude parameter with reference to composition parameter;
    The matching module, including:
    Submodule is searched, is configured as searching the target ginseng matched with personage's attitude parameter in the parameter with reference to composition Examine attitude parameter;
    First matched sub-block, it is configured as being matched the object reference attitude parameter with personage's attitude parameter.
  8. 8. device according to claim 7, it is characterised in that personage's posture includes any one in following posture Kind:Crouching standing position state, midstance, semi-crouch posture, posture, standing and sitting gesture are leaned on, wherein, in the crouching standing position state, midstance, Semi-crouch posture, dependence posture and standing and sitting gesture include at least one posture.
  9. 9. device according to claim 6, it is characterised in that the composition parameter of the personage includes the stature ratio of personage Example parameter, it is described to include referring to stature scale parameter with reference to composition parameter;
    The matching module, including:
    Second matched sub-block, it is configured as with described carrying out the stature scale parameter of the personage with reference to stature scale parameter Matching.
  10. 10. device according to claim 9, it is characterised in that the composition parameter of the personage also including personage sex, Age and build;Second matched sub-block includes:
    Subelement is searched, is configured as searching sex, age and the body with the personage in the scale parameter with reference to stature The target stature scale parameter that type matches;
    Coupling subelement, it is configured as the target stature scale parameter and the progress of the stature scale parameter of the personage Match somebody with somebody.
  11. A kind of 11. camera terminal equipment, it is characterised in that including:
    Processor;
    It is configured as storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
    The composition parameter of the personage is matched with reference to composition parameter;
    If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
    The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
  12. 12. a kind of computer-readable recording medium, instruction is stored with the computer-readable recording medium, when it is in computer During upper operation so that computer performs following method:
    When triggering camera function, the composition parameter of personage in preview image of taking pictures is detected;
    The composition parameter of the personage is matched with reference to composition parameter;
    If the composition parameter of the personage has differences with described with reference to composition parameter, corresponding prompting message is exported;
    The composition of personage in preview image of taking pictures is adjusted in real time according to the prompting message, obtains target picture.
CN201710471135.XA 2017-06-20 2017-06-20 Photographing processing method and device and terminal equipment Active CN107347135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710471135.XA CN107347135B (en) 2017-06-20 2017-06-20 Photographing processing method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710471135.XA CN107347135B (en) 2017-06-20 2017-06-20 Photographing processing method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107347135A true CN107347135A (en) 2017-11-14
CN107347135B CN107347135B (en) 2020-06-02

Family

ID=60254420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710471135.XA Active CN107347135B (en) 2017-06-20 2017-06-20 Photographing processing method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107347135B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600632A (en) * 2018-05-17 2018-09-28 Oppo(重庆)智能科技有限公司 It takes pictures reminding method, intelligent glasses and computer readable storage medium
CN108810409A (en) * 2018-06-07 2018-11-13 宇龙计算机通信科技(深圳)有限公司 One kind is taken pictures guidance method, terminal device and computer-readable medium
CN108848300A (en) * 2018-05-08 2018-11-20 百度在线网络技术(北京)有限公司 Method and apparatus for output information
CN108924412A (en) * 2018-06-22 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device
CN109246351A (en) * 2018-07-20 2019-01-18 维沃移动通信有限公司 A kind of patterning process and terminal device
CN109639978A (en) * 2018-12-27 2019-04-16 联想(北京)有限公司 A kind of image acquiring method and electronic equipment
CN109660719A (en) * 2018-12-11 2019-04-19 维沃移动通信有限公司 A kind of information cuing method and mobile terminal
CN111182207A (en) * 2019-12-31 2020-05-19 Oppo广东移动通信有限公司 Image shooting method and device, storage medium and electronic equipment
CN111800574A (en) * 2020-06-23 2020-10-20 维沃移动通信有限公司 Imaging method and device and electronic equipment
WO2021056442A1 (en) * 2019-09-27 2021-04-01 深圳市大疆创新科技有限公司 Composition method and system for photographing device, and storage medium
CN113055594A (en) * 2021-03-11 2021-06-29 百度在线网络技术(北京)有限公司 Image acquisition method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271250A (en) * 2007-03-21 2008-09-24 刘文杰 Digital photographing reminding system
CN104715246A (en) * 2013-12-11 2015-06-17 中国移动通信集团公司 Photographing assisting system, device and method with a posture adjusting function,
CN105046246A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 Identification photo camera capable of performing human image posture photography prompting and human image posture detection method
CN105120144A (en) * 2015-07-31 2015-12-02 小米科技有限责任公司 Image shooting method and device
CN105574006A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Method and device for establishing photographing template database and providing photographing recommendation information
CN105578039A (en) * 2015-12-16 2016-05-11 天津优爱创科技有限公司 Photographic apparatus with photography auxiliary function
CN105827930A (en) * 2015-05-27 2016-08-03 广东维沃软件技术有限公司 Method and device of auxiliary photographing
CN105869116A (en) * 2016-03-25 2016-08-17 捷开通讯(深圳)有限公司 Mobile terminal and photo processing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271250A (en) * 2007-03-21 2008-09-24 刘文杰 Digital photographing reminding system
CN104715246A (en) * 2013-12-11 2015-06-17 中国移动通信集团公司 Photographing assisting system, device and method with a posture adjusting function,
CN105574006A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Method and device for establishing photographing template database and providing photographing recommendation information
CN105827930A (en) * 2015-05-27 2016-08-03 广东维沃软件技术有限公司 Method and device of auxiliary photographing
CN105120144A (en) * 2015-07-31 2015-12-02 小米科技有限责任公司 Image shooting method and device
CN105046246A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 Identification photo camera capable of performing human image posture photography prompting and human image posture detection method
CN105578039A (en) * 2015-12-16 2016-05-11 天津优爱创科技有限公司 Photographic apparatus with photography auxiliary function
CN105869116A (en) * 2016-03-25 2016-08-17 捷开通讯(深圳)有限公司 Mobile terminal and photo processing method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848300A (en) * 2018-05-08 2018-11-20 百度在线网络技术(北京)有限公司 Method and apparatus for output information
CN108600632A (en) * 2018-05-17 2018-09-28 Oppo(重庆)智能科技有限公司 It takes pictures reminding method, intelligent glasses and computer readable storage medium
CN108600632B (en) * 2018-05-17 2021-04-20 Oppo(重庆)智能科技有限公司 Photographing prompting method, intelligent glasses and computer readable storage medium
CN108810409A (en) * 2018-06-07 2018-11-13 宇龙计算机通信科技(深圳)有限公司 One kind is taken pictures guidance method, terminal device and computer-readable medium
CN108924412B (en) * 2018-06-22 2021-01-12 维沃移动通信有限公司 Shooting method and terminal equipment
CN108924412A (en) * 2018-06-22 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device
CN109246351A (en) * 2018-07-20 2019-01-18 维沃移动通信有限公司 A kind of patterning process and terminal device
CN109246351B (en) * 2018-07-20 2021-04-06 维沃移动通信有限公司 Composition method and terminal equipment
CN109660719A (en) * 2018-12-11 2019-04-19 维沃移动通信有限公司 A kind of information cuing method and mobile terminal
CN109639978A (en) * 2018-12-27 2019-04-16 联想(北京)有限公司 A kind of image acquiring method and electronic equipment
CN109639978B (en) * 2018-12-27 2021-05-18 联想(北京)有限公司 Image acquisition method and electronic equipment
WO2021056442A1 (en) * 2019-09-27 2021-04-01 深圳市大疆创新科技有限公司 Composition method and system for photographing device, and storage medium
CN111182207A (en) * 2019-12-31 2020-05-19 Oppo广东移动通信有限公司 Image shooting method and device, storage medium and electronic equipment
CN111800574A (en) * 2020-06-23 2020-10-20 维沃移动通信有限公司 Imaging method and device and electronic equipment
CN111800574B (en) * 2020-06-23 2022-06-24 维沃移动通信有限公司 Imaging method and device and electronic equipment
CN113055594A (en) * 2021-03-11 2021-06-29 百度在线网络技术(北京)有限公司 Image acquisition method and device

Also Published As

Publication number Publication date
CN107347135B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN107347135A (en) Take pictures processing method, device and terminal device
CN104125396B (en) Image capturing method and device
CN107123081A (en) image processing method, device and terminal
CN104700353B (en) Image filters generation method and device
CN104636140B (en) Firmware compression method, firmware decompressing method and device
CN107018333A (en) Shoot template and recommend method, device and capture apparatus
CN105631804B (en) Image processing method and device
CN104484858B (en) Character image processing method and processing device
CN106408603A (en) Camera method and device
KR101727061B1 (en) Method and device for folding pictures
CN105512615B (en) Image processing method and device
CN104182967B (en) image processing method, device and terminal
CN104978200A (en) Application program display method and device
CN107213642A (en) Virtual portrait outward appearance change method and device
CN106600530A (en) Photograph synthetic method and apparatus
CN108132983A (en) The recommendation method and device of clothing matching, readable storage medium storing program for executing, electronic equipment
CN104867112B (en) Photo processing method and device
CN108042230A (en) Toothbrush control method, device and readable storage medium storing program for executing
CN107977885A (en) The method and device of virtually trying
CN107426489A (en) Processing method, device and terminal during shooting image
CN106991309A (en) The operating method and device of terminal pattern
CN107403144A (en) Face localization method and device
CN107085823B (en) Face image processing method and device
CN108933891B (en) Photographing method, terminal and system
CN106791394A (en) Image processing method and device

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