CN107835373A - A kind of mobile terminal and its take pictures beautification method and system - Google Patents
A kind of mobile terminal and its take pictures beautification method and system Download PDFInfo
- Publication number
- CN107835373A CN107835373A CN201711276156.2A CN201711276156A CN107835373A CN 107835373 A CN107835373 A CN 107835373A CN 201711276156 A CN201711276156 A CN 201711276156A CN 107835373 A CN107835373 A CN 107835373A
- Authority
- CN
- China
- Prior art keywords
- picture
- mobile terminal
- character image
- distance
- taken
- 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.)
- Pending
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
Abstract
The invention discloses a kind of mobile terminal and its take pictures beautification method and system, wherein, methods described includes:Obtain the picture of camera shooting;The picture is stretched along the direction that character image is stood, top of the stretch range from the bottom of picture to picture is progressively successively decreased;The bottom of the picture is that the top of the picture is close to the one end on character image head close to one end of character image leg.Small stretching is carried out to the picture of shooting using this method, so that the leg accounting of personage improves, the ratio for the character image for making to be taken more is coordinated, be attractive in appearance.
Description
Technical field
The present invention relates to communication of mobile terminal technical field, and in particular to a kind of mobile terminal and its take pictures beautification method and
System.
Background technology
Short legs, it is generally recognized that not beautiful.In actual life, when being taken pictures using mobile phone, it is frequently encountered with lower class
Like problem:" using the leg that mobile phone photograph is taken than in reality oneself leg it is shorter ", " one will not take pictures I oneself
Leg clap it is short ", the ratio of my body in photo and body " why so uncoordinated ".
Find have in circle of friends after friend's motion is over, against mirror self-timer, by photo point when studying problem above
Enjoy in circle of friends, the photographic scale of some friends is coordinated, and leg seems long;Some friend's photographic scales are uncoordinated, and leg seems short.
Producing these problems has following several reasons:1st, objectively, user's short legs, in order to take the picture of eurythmy, meeting naturally
Carry out repairing figure using various U.S. figure instruments;2nd, the problem of having an X-rayed and be imaged;3rd, the narrower visual angle of mobile phone, does not have when taking pictures
On the premise of ensureing eurythmy, body and leg is allowed to appear in a photo.In the prior art, it is not whole for human body
The part that body is coordinated carries out the technology of U.S. face, on the market the popular method for being all skin makeup, grinding the U.S. face such as skin, whitening.
The content of the invention
The present invention is intended to provide a kind of mobile terminal and its take pictures beautification method and system, can make to be clapped using this method
The ratio for the character image taken the photograph more is coordinated.
First aspect present invention provides a kind of beautification method of taking pictures of mobile terminal, comprises the following steps:
Picture obtaining step:Obtain the picture of camera shooting;
Picture beautifies step:The picture is stretched along the direction that character image is stood, stretch range is from picture
Progressively successively decrease to the top of picture bottom;The bottom of the picture is close to one end of character image leg, the top of the picture
Hold as close to the one end on character image head.
The beautification method of taking pictures of described mobile terminal, wherein, before the picture obtaining step, in addition to following step
Suddenly:
Apart from detecting step:After camera is opened, the distance between mobile terminal and the person of being taken are detected;
Prompt step:When distance between mobile terminal and the person of being taken is less than pre-determined distance, photographer is prompted to force down
The distance between camera lens and/or increase and the person of being taken.
The beautification method of taking pictures of described mobile terminal, wherein, the prompting step also includes:
When distance between mobile terminal and the person of being taken is more than or equal to pre-determined distance, photographer is prompted to force down camera lens
And/or have been enter into Optimizing Mode of taking pictures.
The beautification method of taking pictures of described mobile terminal, wherein, the picture beautification step includes:
Character image is identified from the picture, and judges the direction that character image is stood;
The picture is divided into M × N number of grid;
Since the grid of picture bottom, all grids are entered along the direction that character image is stood by respective stretching ratio
Row stretching;Grid of the stretching ratio from the grid of picture bottom to picture top progressively successively decreases;All grids are at character image station
Keep constant in the normal direction in vertical direction;
Picture after stretching is cut by the size before stretching, the picture after being beautified.
Second aspect of the present invention provides a kind of enhancement system of taking pictures of mobile terminal, including:
Picture beautifies module, for obtaining the picture of camera shooting;The picture is entered along the direction that character image is stood
Row stretching, top of the stretch range from the bottom of picture to picture is progressively successively decreased;The bottom of the picture is close to character image
One end of leg, the top of the picture is close to the one end on character image head.
The enhancement system of taking pictures of described mobile terminal, wherein, in addition to:
Apart from detection module, for after camera is opened, detecting the distance between mobile terminal and the person of being taken;
Reminding module, when being less than pre-determined distance for the distance between mobile terminal and the person of being taken, prompt photographer
Force down the distance between camera lens and/or increase and the person of being taken.
The enhancement system of taking pictures of described mobile terminal, wherein, the reminding module is additionally operable to:In mobile terminal with being clapped
When the distance between the person of taking the photograph is more than or equal to pre-determined distance, photographer is prompted to force down camera lens and/or have been enter into Optimizing Mode of taking pictures.
The enhancement system of taking pictures of described mobile terminal, wherein, the picture beautification module is specifically used for:
Character image is identified from the picture, and judges the direction that character image is stood;
The picture is divided into M × N number of grid;
Since the grid of picture bottom, all grids are entered along the direction that character image is stood by respective stretching ratio
Row stretching;Grid of the stretching ratio from the grid of picture bottom to picture top progressively successively decreases;All grids are at character image station
Keep constant in the normal direction in vertical direction;
Picture after stretching is cut by the size before stretching, the picture after being beautified.
Third aspect present invention provides a kind of mobile terminal, including:
Camera;
Display screen;
Memory, for storage program;
Processor, for realizing taking pictures for mobile terminal described above by performing the program of the memory storage
Beautification method.
Fourth aspect present invention provides a kind of computer-readable recording medium, including program, described program can be processed
Device is performed to realize the beautification method of taking pictures of mobile terminal described above.
Beneficial effects of the present invention:The invention provides a kind of mobile terminal and its take pictures beautification method and system, wherein,
Methods described includes:Picture obtaining step:Obtain the picture of camera shooting;Picture beautifies step:By the picture along figure map
The direction that picture is stood is stretched, and top of the stretch range from the bottom of picture to picture is progressively successively decreased;The bottom of the picture
For close to one end of character image leg, the top of the picture is close to the one end on character image head.Can using this method
To guide user to take U.S. figure, small stretching is carried out to the picture of shooting, so that the leg accounting of personage improves, makes to be clapped
The ratio for the character image taken the photograph more is coordinated, and does not influence overall composition, and being not easy to discover has the sign for repairing figure.
Brief description of the drawings
Fig. 1 is the bat between mobile terminal and the person of being taken in the beautification method of taking pictures of mobile terminal provided by the invention
Take the photograph visual angle schematic diagram one;
Fig. 2 is the flow chart of the beautification method of taking pictures of mobile terminal provided by the invention;
Fig. 3 is the bat between mobile terminal and the person of being taken in the beautification method of taking pictures of mobile terminal provided by the invention
Take the photograph visual angle schematic diagram two;
Fig. 4 is the structured flowchart of the enhancement system of taking pictures of mobile terminal provided by the invention;
Fig. 5 is the structured flowchart of mobile terminal provided by the invention.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.Wherein different embodiments
Middle similar component employs associated similar element numbers.In the following embodiments, many detailed descriptions be in order to
The application is better understood.However, those skilled in the art can be without lifting an eyebrow recognize, which part feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Certain operations that please be related are not shown in the description or description, and this is the core in order to avoid the application by mistake
More descriptions are flooded, and to those skilled in the art, be described in detail these associative operations be not it is necessary, they
The general technology knowledge of description and this area in specification can completely understand associative operation.
In addition, feature described in this description, operation or feature can combine to form respectively in any suitable way
Kind embodiment.Meanwhile each step in method description or action can also can be aobvious and easy according to those skilled in the art institute
The mode carry out order exchange or adjustment seen.Therefore, the various orders in specification and drawings are intended merely to clearly describe a certain
Individual embodiment, necessary order is not meant to be, wherein some sequentially must comply with unless otherwise indicated.
Embodiment one:
Shown in Figure 1, user using mobile terminal when being taken pictures, it is assumed that between mobile terminal and the person of being taken
Distance is D, and the upper part of the body size for the person of being taken is L1, lower part of the body size is L2;
Visual angle α between mobile terminal and the person's of being taken upper part of the body can be expressed as:
Visual angle (alpha+beta) between mobile terminal and the person's of being taken entirety can be expressed as:
According to formula:
It can derive that the visual angle between mobile terminal and the person's of being taken lower part of the body is:
Again because L1Direct proportion is in α, L2Direct proportion is in β, and coefficient is identical, can be able to minor function:
More than analysis it can be seen between mobile terminal and the person of being taken distance change, can make on user's retina
The character image that perceives also changes with lower part of the body ratio above the waist, when reaching certain between mobile terminal and the person of being taken
Apart from when, the ratio between upper part of the body and the lower part of the body of character image will seem more to coordinate.The application utilizes the principle, is moving
It is dynamic when reaching a certain distance between terminal and the person of being taken, the upper part of the body and the lower part of the body of the character image on captured picture
The ratio between seem to coordinate very much, then the picture of shooting is stretched to certain multiplying power so that the leg of character image seems more
Add slender, but not seeing has the sign for repairing figure.In the application, described mobile terminal is that the electronics with camera function is set
It is standby, including the smart machine such as mobile phone, tablet personal computer, digital camera, illustrated below by taking mobile phone as an example.
It is shown in Figure 2, a kind of beautification method of taking pictures of mobile terminal is present embodiments provided, methods described includes:
Apart from detecting step S10:After camera is opened, the distance between mobile terminal and the person of being taken are detected.It can use
Principle detection the distance between the mobile phone and person's of being taken (character image) of infrared distance measurement, but have incessantly when in captured picture
During one character image, facial recognition techniques can be used to detect maximum one of multiple character image septum reset areas, also may be used
The mode that mobile phone screen is clicked on by user carries out clicking determination.It is, of course, also possible to mobile terminal and quilt are detected in the following way
The distance between photographer:Because face size has a relatively-stationary scope, therefore the face vision that different distances is seen is big
It is small also relative to have a scope, therefore, a database can be stored in the terminal in advance, the database purchase has face vision big
The small and corresponding relation of distance.After camera is opened, by detecting the face size in camera lens, and it is each with database
Individual face vision size is compared, and finds most similar face vision size, and distance corresponding to the face vision size is
The distance between mobile terminal and the person of being taken.Without by infrared distance sensor, applied widely, the present embodiment is adopted
Enter row distance with the latter to detect.
Prompt step S20:When distance between mobile terminal and the person of being taken is less than pre-determined distance, photographer's pressure is prompted
The distance between low camera lens and/or increase and the person of being taken.From it is above-mentioned for Fig. 1 modes shoot caused by problem out of proportion come
See, shooting distance is nearer, and the ratio for the leg that more seems is short;When shooting distance increases, being somebody's turn to do " short legs effect " can weaken rapidly, therefore,
The pre-determined distance can be depending on the height of mobile terminal, the height for the person of being taken, and in the present embodiment, the pre-determined distance is
2 meters.Typically " short legs effect " can is ignored outside 2 meters.Therefore, when being taken pictures to others, distance 2 meters when
Time starts to reach optimal.That is, when mobile terminal and the person of being taken picture (the real image virtual image) distance at 2 meters or more than
Apart from when, reach optimum position.Certainly, also can be according to the difference of the height of captured personage, to make character image be in
Reveal optimal ratio, the pre-determined distance would also vary from, therefore, can be with root to adapt to the use of different height crowds
Sorted out according to the height of personage, delimit different height sections, produce different pre-determined distances.
Photographer is prompted, can be realized by display screen in the form of popup text dialog box, voice can also be passed through
To prompt.By the distance between increase and the person of being taken, make the ratio of character image more preferably.By forcing down camera lens, such as Fig. 3 institutes
Show, character image problem out of proportion caused by shooting in Fig. 1 can be overcome.In other words, camera lens and increase are forced down with being taken
The distance between person, both modes can make the visual angle between mobile terminal and the upper part of the body and the lower part of the body of the personage that is taken
It is more close, so as to which the upper part of the body of character image and the ratio of the lower part of the body are more coordinated in the photo of shooting.
Further, when the distance between mobile terminal and the person of being taken is more than or equal to pre-determined distance, photographer is prompted
Force down camera lens and/or have been enter into Optimizing Mode of taking pictures.When the distance between mobile terminal and the person of being taken be more than or equal to it is default away from
From when, i.e., when the ratio between the upper part of the body of character image and the lower part of the body show preferred proportion in the retina of user, mobile terminal
Photographer is prompted to force down camera lens by display screen, or prompting photographer has been enter into Optimizing Mode of taking pictures, the optimization mould of taking pictures
Formula is the pattern that mobile terminal starts to beautify captured image.
Picture obtaining step S30:The picture captured by mobile terminal camera is obtained, figure map is not only included in the picture
Picture, also comprising other images such as the scenery in addition to character image.
Picture beautification step S40:The picture is stretched along the direction that character image is stood, stretch range is from picture
Bottom progressively successively decrease to the top of picture;The bottom of the picture is one end of close character image leg, the picture
Top is close to the one end on character image head.
First, the character image in the picture captured by mobile terminal camera is identified using image recognition technology, and is drawn
The fixed bottom close to one end of character image leg for captured picture, it is captured picture close to the one end on character image head
Top;Carry out stretch processing from the bottom of picture to top to captured picture again, stretch range from the bottom of picture to
Progressively successively decrease by equal proportion on the top of picture.Such as:Least significant end stretches 1.05 times, and one layer of 1.00 times of stretching of top (is not drawn
Stretch).
Specific picture beautification step S40 steps include:
Character image is identified from captured picture using image recognition technology, and judges the side that character image is stood
To the one end on character image head is the top of picture, and one end of character image leg is the bottom of picture.Judge character image
The direction of standing, eyes and mouth can be gone out using face recognition, the triangle formed from eyes and mouth is stood to obtain character image
Direction;Human bioequivalence can also be used, according to the face identified, drives and obtains the side of character image standing with four limbs etc.
To.
The picture captured by mobile terminal is divided into M × N number of grid, the present embodiment using digital image processing techniques
In, picture is divided into 30 × 30 grid.
Since row's grid of the picture lowermost end, by all grids along the direction that character image is stood by respective
Stretching ratio is stretched;Grid of the stretching ratio from the grid of picture bottom to picture top progressively successively decreases (linear decrease);
All grids keep constant in the normal direction in the direction that character image is stood.The stretching ratio of picture bottom grid can by with
Family is set, such as is chosen in 1.01 times -1.1 times.The stretching ratio of picture top grid is defaulted as 1 times (not stretching).With quilt
Photographer's standing ground, mobile phone is vertically exemplified by shooting.The direction that the vertical lattice of one row's grid of lowermost end are stood along character image
Stretched, the multiplying power of this layer stretching is 1.05 times;Stretching ratio is with one layer of grid of picture lowermost end to picture top
One layer of grid progressively successively decreases by equal proportion, and the multiplying power of the vertical lattice stretching of row's grid of top is 1.00 times.Due to each row
The stretching ratio of grid progressively successively decreases, therefore is not easy to discover stretch marks.
The initial size of picture that picture after stretching is shot by mobile terminal is cut, in the present embodiment, to figure
The top of piece is cut, the picture after being beautified, and shows the picture after beautification.
In summary, the beautification method of taking pictures for the mobile terminal that the present embodiment provides, can guide user to take U.S. figure, obtain
To the picture character image that can make to be taken seem that ratio is more coordinated, the leg accounting of personage improves, but not shadow
Overall composition is rung, is not easy to allow observer to perceive and have the sign for repairing figure.
Embodiment two:
Based on the above method, present invention also offers a kind of enhancement system of taking pictures of mobile terminal, as shown in figure 4, including:
Beautify module 40 apart from detection module 10, reminding module 20 and picture.
It is described apart from detection module 10, for after camera is opened, using the principle of infrared distance measurement, detection mobile terminal with
The distance between the person of being taken;But when more than just one character image in captured picture, face recognition skill can be used
Art detects maximum one of multiple character image septum reset areas, and the mode that mobile phone screen can be also clicked on by user click really
It is fixed, so as to detect the distance between mobile terminal and the person of being taken.Certainly, it is described to be used such as apart from detection module 10
Under type detects the distance between mobile terminal and the person of being taken:Because face size has a relatively-stationary scope, thus it is different
The face vision size seen of distance it is also relative have a scope, therefore, a database can be stored in the terminal in advance, should
Database purchase has the corresponding relation of face vision size and distance.After camera is opened, by detecting the face in camera lens
Size, and by it compared with each face vision size of database, find most similar face vision size, the face
Distance corresponding to vision size is the distance between mobile terminal and the person of being taken.Without being sensed by infrared distance measurement
Device, applied widely, the present embodiment enters row distance using the latter and detected.
The reminding module 20, for detecting the distance between mobile terminal and the person of being taken apart from detection module 10
During less than pre-determined distance, the instruction for prompting photographer to force down camera lens is sent to display screen or loudspeaker, by display screen or is raised one's voice
Device prompting photographer forces down camera lens;And/or the instruction of distance between increase and the person of being taken is sent to display screen or loudspeaker,
Distance between photographer's increase and the person of being taken is prompted by display screen or loudspeaker.
Further, the reminding module 20 is additionally operable to detecting mobile terminal and the person of being taken apart from detection module 10
The distance between when being more than or equal to pre-determined distance, send prompting photographer and force down the instruction of camera lens to display screen or loudspeaker, and/
Or send prompting photographer and have been enter into the instruction for Optimizing Mode of taking pictures to display screen or loudspeaker.The Optimizing Mode of taking pictures moves
Dynamic terminal starts the pattern beautified to captured image.In the present embodiment, the pre-determined distance is 2 meters.Certainly, also may be used
According to the difference of the height of captured personage, to make character image show optimal ratio, the pre-determined distance also can be
Difference, therefore, to adapt to the use of different height crowds, the present embodiment can also be sorted out according to the height of personage, delimit
Different height sections, produces different pre-determined distances.
The picture beautifies module 30, for obtaining the picture of camera shooting, not only includes character image in the picture, also
Include other images such as the scenery in addition to character image;The figure map in captured picture is identified using image recognition technology
Picture, and the bottom close to one end of character image leg for captured picture delimited, one end close to character image head is institute
The top of picture is shot, captured picture is stretched along the direction that character image is stood, stretch range is from the bottom of picture
Progressively successively decrease by equal proportion to the top of picture.Such as:One layer of least significant end stretches 1.05 times, and one layer of top stretches 1.00 times.
Further, the picture beautification module 30 is specifically used for:
Character image is identified from captured picture using image recognition technology, and judges the side that character image is stood
To the one end on character image head is the top of picture, and one end of character image leg is the bottom of picture;Using digital picture
Captured picture is divided into M × N number of grid by treatment technology, and the M and N are the integer more than 1., will in the present embodiment
Picture is divided into 30 × 30 grid;Since row's grid of the picture lowermost end, the vertical lattice of all grids during this is arranged
The direction stood along character image is stretched, and the multiplying power of row's grid stretching is 1.05 times;Stretching ratio is with picture lowermost end
Row's grid of row's grid to picture top progressively successively decrease by equal proportion, the vertical lattice stretching of all grids in top
Multiplying power is 1.00 times;All grids keep constant in the normal direction in the direction that character image is stood.
The initial size of picture by the picture after stretching by mobile terminal shooting, cuts to the top of picture,
Picture top is cropped due to stretching and beyond the part of original size, the picture after being beautified, and pass through mobile terminal
Picture after display screen display beautification.
In summary, in the enhancement system of taking pictures for the mobile terminal that the present embodiment is provided, apart from detection module 10 first
The distance between mobile terminal and the person of being taken are detected, when detecting that it is pre- that the distance between mobile terminal and the person of being taken are less than
If apart from when, reminding module 20 send prompting photographer force down the instruction of camera lens, or send increase the person of being taken between distance
Instruction, when detecting that the distance between mobile terminal and the person of being taken are more than or equal to pre-determined distance, reminding module 20 is sent out
The instruction for going out to prompt photographer to bear down on one camera lens, or send the instruction that prompting photographer has been enter into Optimizing Mode of taking pictures;Finally, picture
Beautification module 30 stretches to the picture captured by camera along the direction that character image is stood, and stretch range is from the bottom of picture
Progressively successively decrease to the top of picture;The bottom of the picture is that the top of the picture is close to one end of character image leg
Close to the one end on character image head.The system is using image recognition technology in mobile terminal and captured image is detected
The distance between character image when being more than or equal to pre-determined distance, by equal proportion by top of the picture from the bottom of picture to picture
Hold the mode progressively successively decreased to carry out stretch processing, then picture is cut by artwork size from the top of picture, with regard to that can obtain
Picture after beautification.Mobile phone can guide user to take U.S. figure using the system, and obtained picture can make the personage being taken
Image seems that ratio is more coordinated, and the leg accounting of personage improves, but does not influence overall composition, is not easy to allow observer to feel
Examining out has the sign for repairing figure.
Embodiment three:
Present invention also offers a kind of mobile terminal, for example, mobile phone, shown in Figure 5, the mobile terminal includes:Phase
Machine 100, display screen 200, memory 300 and processor 400.
The camera 100, can be the camera of mobile phone for shooting image.
The display screen 200, can be the Touch Screen of mobile phone for showing the image of the shooting of camera 100.
The memory 300 is had program stored therein, and described program can be performed by processor 400 to realize as in embodiment one
Described method;It can be the internal memory of mobile phone.
The processor 400 is used to perform the program being stored in memory 300.
Specifically, the processor 400 is detected between mobile terminal and the person of being taken first after the unlatching of camera 100
Distance, when detecting that the distance between mobile terminal and the person of being taken are less than pre-determined distance, prompt to shoot by display screen 200
Person forces down camera lens, and/or prompts distance between photographer's increase and the person of being taken by display screen 200;It is mobile whole when detecting
When holding the distance between the person of being taken to be more than or equal to pre-determined distance, photographer is prompted to force down camera lens by display screen 200, and/
Or photographer is prompted to have been enter into Optimizing Mode of taking pictures by display screen 200.After Optimizing Mode of taking pictures is entered, processor 400
The character image in the picture captured by camera 100 is identified first, and the direction setting stood according to character image is close to people
One end of object image leg is the bottom of captured picture, is the top of captured picture close to the one end on character image head,
Carry out stretch processing, top of the stretch range from the bottom of picture to picture from the bottom of picture to top to captured picture again
Progressively successively decrease by equal proportion at end.
Further, processor 400 identifies character image using image recognition technology from captured picture, and sentences
The direction that disconnected character image is stood;The picture is divided into M × N number of grid;Since the grid of picture bottom, by all nets
Lattice are stretched along the direction that character image is stood by respective stretching ratio;Stretching ratio is from the grid of picture bottom to picture
The grid on top progressively successively decreases;All grids keep constant in the normal direction in the direction that character image is stood;After stretching
Picture cut by the size before stretching, the picture after being beautified.In other words, the processor 400 is executable real
Apply in example two apart from the function of detection module, reminding module and picture beautification module.
It will be understood by those skilled in the art that all or part of function of various method and systems can in above-mentioned embodiment
Realize, can also be realized by way of computer program in a manner of by hardware.When whole or portion in above-mentioned embodiment
When point function is realized by way of computer program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage, random access memory, disk, CD, hard disk etc., pass through computer (such as computer disposal
Device) program is performed to realize above-mentioned function.In addition, working as all or part of function in above-mentioned embodiment passes through computer program
Mode when realizing, the program can also be stored in server, another computer, disk, CD, flash disk or mobile hard disk etc.
In storage medium, entered by download or copying and saving into the readable storage medium storing program for executing of local device, or to the system of local device
Row version updating, when the program in by computing device readable storage medium storing program for executing, you can realize in above-mentioned embodiment all
Or partial function.
Use above specific case is illustrated to the present invention, is only intended to help and is understood the present invention, not limiting
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make some simple
Deduce, deform or replace.
Claims (10)
1. the beautification method of taking pictures of a kind of mobile terminal, it is characterised in that comprise the following steps:
Picture obtaining step:Obtain the picture of camera shooting;
Picture beautifies step:The picture is stretched along the direction that character image is stood, stretch range is from the bottom of picture
Progressively successively decrease to the top of picture;The bottom of the picture is that the top of the picture is close to one end of character image leg
Close to the one end on character image head.
2. the beautification method of taking pictures of mobile terminal according to claim 1, it is characterised in that the picture obtaining step it
Before, also comprise the following steps:
Apart from detecting step:After camera is opened, the distance between mobile terminal and the person of being taken are detected;
Prompt step:When distance between mobile terminal and the person of being taken is less than pre-determined distance, photographer is prompted to force down camera lens
And/or the distance between increase and the person of being taken.
3. the beautification method of taking pictures of mobile terminal according to claim 1, it is characterised in that the prompting step is also wrapped
Include:
When distance between mobile terminal and the person of being taken is more than or equal to pre-determined distance, prompt photographer force down camera lens and/or
Have been enter into Optimizing Mode of taking pictures.
4. the beautification method of taking pictures of mobile terminal according to claim 1, it is characterised in that the picture beautifies step bag
Include:
Character image is identified from the picture, and judges the direction that character image is stood;
The picture is divided into M × N number of grid;
Since the grid of picture bottom, all grids are drawn along the direction that character image is stood by respective stretching ratio
Stretch;Grid of the stretching ratio from the grid of picture bottom to picture top progressively successively decreases;All grids are stood in character image
Keep constant in the normal direction in direction;
Picture after stretching is cut by the size before stretching, the picture after being beautified.
A kind of 5. enhancement system of taking pictures of mobile terminal, it is characterised in that including:
Picture beautifies module, for obtaining the picture of camera shooting;The picture is drawn along the direction that character image is stood
Stretch, top of the stretch range from the bottom of picture to picture is progressively successively decreased;The bottom of the picture is close to character image leg
One end, the top of the picture is close to the one end on character image head.
6. the enhancement system of taking pictures of mobile terminal according to claim 5, it is characterised in that also include:
Apart from detection module, for after camera is opened, detecting the distance between mobile terminal and the person of being taken;
Reminding module, when being less than pre-determined distance for the distance between mobile terminal and the person of being taken, photographer is prompted to force down
The distance between camera lens and/or increase and the person of being taken.
7. the enhancement system of taking pictures of mobile terminal according to claim 5, it is characterised in that the reminding module is also used
In:When distance between mobile terminal and the person of being taken is more than or equal to pre-determined distance, photographer is prompted to force down camera lens and/or
Into Optimizing Mode of taking pictures.
8. the enhancement system of taking pictures of mobile terminal according to claim 5, it is characterised in that the picture beautification module tool
Body is used for:
Character image is identified from the picture, and judges the direction that character image is stood;
The picture is divided into M × N number of grid;
Since the grid of picture bottom, all grids are drawn along the direction that character image is stood by respective stretching ratio
Stretch;Grid of the stretching ratio from the grid of picture bottom to picture top progressively successively decreases;All grids are stood in character image
Keep constant in the normal direction in direction;
Picture after stretching is cut by the size before stretching, the picture after being beautified.
A kind of 9. mobile terminal, it is characterised in that including:
Camera;
Display screen;
Memory, for storage program;
Processor, for being realized by performing the program of the memory storage as any one of claim 1-4
Method.
A kind of 10. computer-readable recording medium, it is characterised in that including program, described program can be executed by processor with
Realize the method as any one of claim 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276156.2A CN107835373A (en) | 2017-12-06 | 2017-12-06 | A kind of mobile terminal and its take pictures beautification method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276156.2A CN107835373A (en) | 2017-12-06 | 2017-12-06 | A kind of mobile terminal and its take pictures beautification method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107835373A true CN107835373A (en) | 2018-03-23 |
Family
ID=61642088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711276156.2A Pending CN107835373A (en) | 2017-12-06 | 2017-12-06 | A kind of mobile terminal and its take pictures beautification method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107835373A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905593A (en) * | 2018-11-06 | 2019-06-18 | 华为技术有限公司 | A kind of image processing method and device |
CN110880155A (en) * | 2018-09-05 | 2020-03-13 | 武汉斗鱼网络科技有限公司 | Method, storage medium, device and system for realizing long leg special effect |
CN110880156A (en) * | 2018-09-05 | 2020-03-13 | 武汉斗鱼网络科技有限公司 | Long-leg special effect implementation method, storage medium, equipment and system |
CN111968050A (en) * | 2020-08-07 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Human body image processing method and related product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795931A (en) * | 2014-02-20 | 2014-05-14 | 联想(北京)有限公司 | Information processing method and electronic equipment |
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 |
CN105100625A (en) * | 2015-08-27 | 2015-11-25 | 华南理工大学 | Figure image auxiliary shooting method and system based on image aesthetics |
CN105141827A (en) * | 2015-06-30 | 2015-12-09 | 广东欧珀移动通信有限公司 | Distortion correction method and terminal |
CN105869116A (en) * | 2016-03-25 | 2016-08-17 | 捷开通讯(深圳)有限公司 | Mobile terminal and photo processing method |
CN106254770A (en) * | 2016-07-29 | 2016-12-21 | 广东欧珀移动通信有限公司 | The image pickup method of mobile terminal, device and mobile terminal |
-
2017
- 2017-12-06 CN CN201711276156.2A patent/CN107835373A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795931A (en) * | 2014-02-20 | 2014-05-14 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105141827A (en) * | 2015-06-30 | 2015-12-09 | 广东欧珀移动通信有限公司 | Distortion correction method and terminal |
CN105100625A (en) * | 2015-08-27 | 2015-11-25 | 华南理工大学 | Figure image auxiliary shooting method and system based on image aesthetics |
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 |
CN105869116A (en) * | 2016-03-25 | 2016-08-17 | 捷开通讯(深圳)有限公司 | Mobile terminal and photo processing method |
CN106254770A (en) * | 2016-07-29 | 2016-12-21 | 广东欧珀移动通信有限公司 | The image pickup method of mobile terminal, device and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110880155A (en) * | 2018-09-05 | 2020-03-13 | 武汉斗鱼网络科技有限公司 | Method, storage medium, device and system for realizing long leg special effect |
CN110880156A (en) * | 2018-09-05 | 2020-03-13 | 武汉斗鱼网络科技有限公司 | Long-leg special effect implementation method, storage medium, equipment and system |
CN109905593A (en) * | 2018-11-06 | 2019-06-18 | 华为技术有限公司 | A kind of image processing method and device |
CN109905593B (en) * | 2018-11-06 | 2021-10-15 | 华为技术有限公司 | Image processing method and device |
US11917288B2 (en) | 2018-11-06 | 2024-02-27 | Huawei Technologies Co., Ltd. | Image processing method and apparatus |
CN111968050A (en) * | 2020-08-07 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Human body image processing method and related product |
CN111968050B (en) * | 2020-08-07 | 2024-02-20 | Oppo(重庆)智能科技有限公司 | Human body image processing method and related products |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106161939B (en) | Photo shooting method and terminal | |
CN106778928B (en) | Image processing method and device | |
CN107835373A (en) | A kind of mobile terminal and its take pictures beautification method and system | |
CN104144289B (en) | Photographic method and device | |
CN105243371B (en) | A kind of detection method, system and the camera terminal of face U.S. face degree | |
JP5084938B2 (en) | Image extraction apparatus, image extraction method, and image extraction program | |
CN106295533B (en) | A kind of optimization method, device and the camera terminal of self-timer image | |
CN107025437A (en) | Intelligent photographing method and device based on intelligent composition and micro- Expression analysis | |
JP5110098B2 (en) | Display processing apparatus and program | |
CN108810406B (en) | Portrait light effect processing method, device, terminal and computer readable storage medium | |
CN104969543A (en) | Electronic mirror device | |
US8400532B2 (en) | Digital image capturing device providing photographing composition and method thereof | |
US20150172637A1 (en) | Apparatus and method for generating three-dimensional output data | |
CN104219444A (en) | Method and device for processing video shooting | |
CN108156385A (en) | Image acquiring method and image acquiring device | |
CN111640165A (en) | Method and device for acquiring AR group photo image, computer equipment and storage medium | |
CN109218615A (en) | Image taking householder method, device, terminal and storage medium | |
CN110326287A (en) | Image pickup method and device | |
CN109986553B (en) | Active interaction robot, system, method and storage device | |
CN106791091A (en) | image generating method, device and mobile terminal | |
KR101121712B1 (en) | Providing device of eye scan path | |
CN108833772A (en) | Taking pictures based on depth camera guides system and method | |
KR101507410B1 (en) | Live make-up photograpy method and apparatus of mobile terminal | |
CN104954688B (en) | Image processing method and image processing apparatus | |
CN105744141A (en) | Intelligent shooting method and apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180323 |