CN112380990A - Picture adjusting method, electronic device and readable storage medium - Google Patents
Picture adjusting method, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN112380990A CN112380990A CN202011269442.8A CN202011269442A CN112380990A CN 112380990 A CN112380990 A CN 112380990A CN 202011269442 A CN202011269442 A CN 202011269442A CN 112380990 A CN112380990 A CN 112380990A
- Authority
- CN
- China
- Prior art keywords
- sliding
- leg
- adjustment
- gesture
- picture
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 239000011159 matrix material Substances 0.000 claims description 30
- 238000004904 shortening Methods 0.000 claims description 13
- 230000008719 thickening Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 210000002414 leg Anatomy 0.000 description 264
- 230000008569 process Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000002349 favourable effect Effects 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 210000000689 upper leg Anatomy 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
- G06V40/28—Recognition of hand or arm movements, e.g. recognition of deaf sign language
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Psychiatry (AREA)
- Social Psychology (AREA)
- Geometry (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention relates to the technical field of image processing, and discloses a picture adjusting method, electronic equipment and a readable storage medium. The picture adjusting method comprises the following steps: determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted; identifying a clear slide gesture of a user; determining a leg shape adjustment operation corresponding to the clear slide gesture; the leg region is executed to adjust the shape of the leg, so that the leg in the picture can be adjusted without touching a screen by a hand of a user, convenience of the user in adjusting the leg in the picture is improved, and user experience is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to a picture adjusting method, electronic equipment and a readable storage medium.
Background
At present, when a video or a photo is shot or a video or a photo is beautified, if the leg needs to be adjusted, for example, the size or length of the leg is adjusted, that is, the leg is elongated, the adjustment is usually performed by dragging a progress bar on a shooting interface. This requires the user's hand to touch the touch screen, such as the cell phone screen, or the mouse, by moving the mouse to drag the progress bar.
However, the inventors found that at least the following problems exist in the related art: thus the user needs the hand touch screen or mouse to realize the regulation to the shank, it is inconvenient for the user, experience is relatively poor.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a picture adjusting method, an electronic device, and a readable storage medium, so that the leg in the picture can be adjusted without touching a screen or a mouse with a hand of a user, thereby improving convenience for the user to adjust the leg in the picture, and facilitating improvement of user experience.
In order to solve the above technical problem, an embodiment of the present invention provides a picture adjusting method, including: determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted; identifying a clear slide gesture of a user; determining a leg shape adjustment operation corresponding to the clear slide gesture; performing the leg shape adjustment operation on the leg region.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the picture adjustment method as described above.
The embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the above-mentioned picture adjusting method.
Compared with the prior art, the method and the device for adjusting the leg region in the picture are characterized in that the picture to be adjusted is determined, and the leg region in the picture to be adjusted is identified, namely the region to be adjusted in the picture to be adjusted is identified. And then recognizing the blank sliding gesture of the user, and determining a leg shape adjusting operation corresponding to the blank sliding gesture so as to execute the leg shape adjusting operation on the leg area. That is to say, can adjust the operation through the shank shape that the shank region execution in the picture of treating the regulation corresponds with the slide gesture of separating through separating the sky, need not user's hand contact screen or mouse just can realize the regulation of shank in the picture, improve the convenience that the user adjusted shank in the picture, be favorable to promoting user experience to can also improve the interest that the shank was adjusted to a certain extent through separating the sky slide gesture.
Further, the performing the leg shape adjustment operation on the leg region includes: acquiring a sliding distance corresponding to the air sliding gesture; determining an adjustment percentage according to the sliding distance; performing the leg shape adjustment operation on the leg region according to the adjustment percentage. The adjustment percentage determined by the sliding distance can reflect the adjustment degree of the leg region to a certain extent, such as large-amplitude adjustment or small-amplitude fine adjustment, and is favorable for accurately adjusting the leg region according to actual needs.
In addition, the picture to be adjusted is a picture shot by a shooting device, and the obtaining of the sliding distance corresponding to the spaced sliding gesture includes: generating a point location matrix between the camera and the user; wherein the point location matrix comprises a plurality of point locations with known locations; determining a sliding initial point position corresponding to the air-spaced sliding gesture according to the point position matrix; determining a sliding termination point position corresponding to the air-spaced sliding gesture according to the point position matrix; and acquiring a sliding distance corresponding to the air-separating sliding gesture according to the sliding initial point position and the sliding termination point position. Because the positions of all point positions in the generated point position matrix are known, the sliding initial point position sliding termination point position corresponding to the air-spaced sliding gesture can be determined more quickly and accurately according to the point position matrix, and therefore the sliding distance corresponding to the air-spaced sliding gesture can be determined more quickly and accurately.
In addition, the determining, according to the point location matrix, a sliding termination point location corresponding to the air-spaced sliding gesture includes: detecting a sliding speed corresponding to the air sliding gesture; if the sliding speed is smaller than a preset speed threshold value, when the pause time of the air-spaced sliding gesture is detected to reach a first preset time, taking the point position where the air-spaced sliding gesture starts pausing as the sliding termination point position; if the sliding speed is greater than or equal to the speed threshold, when the number of the point locations on the same longitudinal direction where the air-spaced sliding gesture passes through is detected to be greater than a preset number and the pause duration of the air-spaced sliding gesture reaches a second preset duration, taking the point location where the air-spaced sliding gesture starts to pause as the sliding termination point location; and the second preset time length is less than the first preset time length. Through detecting the sliding speed corresponding to the air-spaced sliding gesture, the sliding termination point position is determined by adopting two different modes respectively under the two conditions that the sliding speed is smaller than the preset speed threshold value and the sliding speed is larger than or equal to the preset speed threshold value, namely under the two conditions of quick sliding and slow sliding, and the sliding termination point position is determined more accurately under the two different scenes of quick sliding and slow sliding.
Further, the leg shape adjustment operation is an operation for both legs, the performing the leg shape adjustment operation on the leg region includes: if the air-separating sliding gesture is sliding in the first direction, performing double-leg thinning adjustment operation on the leg region; if the air-separating sliding gesture is sliding in a second direction, performing double-leg thickening adjustment operation on the leg region; if the air-separating sliding gesture is sliding in a third direction, performing double-leg stretching adjustment operation on the leg region; and if the space sliding gesture is sliding in a fourth direction, performing leg shortening adjustment operation on the leg region. Namely, when the double legs are adjusted, the double leg thinning adjusting operation, the double leg thickening adjusting operation, the double leg stretching adjusting operation and the double leg shortening adjusting operation are respectively executed through the air-separating sliding gestures in four sliding directions, and a user can conveniently carry out different adjusting operations on the double legs according to actual needs.
Further, the leg shape adjustment operation is an operation for a single leg, the performing the leg shape adjustment operation on the leg region includes: if the air-separating sliding gesture is sliding along the central axis in a fifth direction (outward sliding), performing single-leg thickening adjustment operation on the leg region; wherein the central axis is a midline between two legs of the leg region; if the air-separating sliding gesture is sliding along the central shaft in a sixth direction (inward sliding), performing single-leg thinning adjustment operation on the leg region; if the air-separating sliding gesture is sliding (upward sliding) in a seventh direction on one of the two sides of the central shaft, performing single-leg shortening adjustment operation on the leg area; and if the space-separated sliding gesture is sliding (sliding) in an eighth direction on one of the two sides of the central shaft, performing single-leg stretching adjustment operation on the leg region. When the single leg is adjusted, the single leg thinning adjusting operation, the single leg thickening adjusting operation, the single leg lengthening adjusting operation and the single leg shortening adjusting operation are respectively executed through the air-separating sliding gestures in the four sliding directions, and a user can conveniently carry out different adjusting operations on the single leg according to actual needs.
In addition, if a blank sliding gesture of continuously sliding in two opposite directions is recognized, the method further comprises the following steps: recording the results of the adjustment to the leg region after each sliding in the two opposite directions; said performing said leg shape adjustment operation on said leg region in accordance with said adjustment percentage comprises: performing the leg shape adjustment operation on the leg region according to the adjustment percentage and the adjustment result recorded last time. That is, for a scene in which the user slides back and forth in two opposite directions, the adjustment result of the leg region after each sliding is recorded, and according to the adjustment percentage and the adjustment result recorded last time, the leg shape adjustment operation is performed on the leg region, so that the adjustment result can be gradually changed in combination with the adjustment result after each sliding in the process of the user sliding back and forth. For example, when the user continuously slides left and right, the leg-thinning effect is suddenly changed, and if the user continuously slides up and down, the leg length is suddenly changed.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a picture adjustment method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a picture adjustment method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of sub-steps of step 204 in accordance with a second embodiment of the present invention;
fig. 4 is a top view of a dot matrix generated between a photographing device and a user according to a second embodiment of the present invention;
FIG. 5 is a flow chart of sub-steps of step 205 in a second embodiment in accordance with the present invention;
fig. 6 is a view illustrating a scene of sliding outward along a preset central axis according to a second embodiment of the present invention;
fig. 7 is a view illustrating a scene of sliding inward along a preset central axis according to a second embodiment of the present invention;
fig. 8 is a flowchart of a picture adjustment method according to a third embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a picture adjusting method, which is applied to electronic equipment, wherein the electronic equipment can be a shooting device, and the shooting device can be a mobile phone, a video camera, a camera and the like. The application scenarios of the present embodiment may include, but are not limited to: in the process of shooting the photo or the video, leg adjustment is carried out on the figure picture in the photo or the video in the shooting process; after the shooting is finished, the leg adjustment is carried out on the figure picture in the shot picture or video. The leg adjustment may be, for example, thickness adjustment, length adjustment, or the like of the leg. The following describes implementation details of the picture adjusting method in this embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present invention.
As shown in fig. 1, the picture adjustment method in the present embodiment includes:
step 101: determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted.
The picture to be adjusted is a picture which needs to be adjusted for the leg, for example, the picture can be a picture which is determined in the shooting process and needs to be adjusted for the leg. The leg region in the picture to be adjusted, i.e. the position where the leg is located in the picture to be adjusted, can then be identified.
Step 102: a clear slide gesture of a user is identified.
For example, a clear slide gesture of the user may be recognized by a camera of the electronic device. Wherein the identified blank sliding gesture may be: the gesture of sliding in the air can also be single-hand sliding, double-hand sliding and the like.
Step 103: a leg shape adjustment operation corresponding to the clear slide gesture is determined.
In one example, the leg shape adjustment operation may be: a leg size adjustment operation, which may include: adjustment of the width or length of the leg. The clear swipe gesture and the leg size adjustment operation may be pre-stored with a correspondence, which may be as shown in table 1 below:
TABLE 1
Air slide gesture | Upper slide | Lower slide | Left slide | Right slide |
Leg size adjustment operation | Shortening of leg | Lengthening of leg | Thickening of legs | Leg thinning |
The electronic device may determine the leg size adjustment operation corresponding to the clear slide gesture through the correspondence in table 1. It should be noted that, in this embodiment, the correspondence between the blank sliding gesture and the leg size adjustment operation is only shown in table 1, but the implementation is not limited thereto, and those skilled in the art and users may set the correspondence between the blank sliding gesture and the leg size adjustment operation according to actual needs.
In another example, the leg shape adjustment operation may be: the leg angle adjusting operation, the adjustment of the leg angle may include: the angle between the two legs is adjusted, and the angle between the thigh and the shank of the single leg is adjusted. For example, if the air-separating sliding gesture is to gradually slide from the center line between the legs to both sides of the legs, the leg shape adjustment operation corresponding to the air-separating sliding gesture is: the angle between the two legs is gradually adjusted to 180 degrees, namely the two legs are gradually adjusted to the state of the split. Assuming that the blank-sliding gesture is an upward sliding, the leg shape adjustment operation corresponding to the blank-sliding gesture is: the angle between the thigh and the shank is adjusted, namely the angle is gradually adjusted to the state that two legs or one leg is empty, and the larger the upward sliding distance is, the higher the empty height is. It should be noted that, in this embodiment, the correspondence between the spaced sliding gesture and the leg angle adjusting operation is only an example, and the specific implementation is not limited thereto, and those skilled in the art and users may set the correspondence between the spaced sliding gesture and the leg angle adjusting operation according to actual needs.
In a specific implementation, the leg shape adjustment operation may also be an adjustment operation of the shape assumed by the leg action, such that the shape assumed by the leg action may be adjusted by the clear slide gesture.
In one example, the electronic device may provide two adjustment modes for the user to select, wherein the two adjustment modes may be a single-leg adjustment mode and a two-leg adjustment mode, respectively, wherein the single-leg adjustment mode is for the operation of one leg, and the two-leg adjustment mode is for the operation of two legs. The user can select one of the adjustment modes for leg adjustment according to actual needs, and two adjustment modes are mainly described below:
in the two-leg adjustment mode, the pre-stored corresponding relations between the air slide gesture and the leg shape adjustment operation may be as shown in table 2 below:
TABLE 2
That is, if the blank sliding gesture is a first-direction sliding, the corresponding leg shape adjustment operation is a double-leg thinning adjustment operation; if the air-separating sliding gesture is sliding in the second direction, the corresponding leg shape adjusting operation is a double-leg thickening adjusting operation; if the air-separating sliding gesture is sliding in the third direction, the corresponding leg shape adjusting operation is a double-leg stretching adjusting operation; and if the air-separating sliding gesture is sliding in the fourth direction, the corresponding leg shape adjusting operation is a leg shortening adjusting operation.
In one example, the first direction slide may be a left slide, the second direction slide may be a right slide, the third direction slide may be a down slide, and the fourth direction slide may be an up slide. However, this embodiment is not limited to this, and the user may define different correspondences between the spaced-apart sliding gesture and the leg-shape adjusting operation according to his or her own usage habit.
In the single-leg adjustment mode, the pre-stored correspondence relationship between the air slide gesture and the leg shape adjustment operation may be as shown in table 3 below:
TABLE 3
Air slide gesture | Leg shape adjustment operation |
Sliding in the fifth direction along the central axis | Thickening one leg |
Sliding in the sixth direction along the central axis | Become thin with one leg |
Sliding in the seventh direction on one of the two sides of the central shaft | Shortening of single leg |
Sliding in the eighth direction on one of the two sides of the central shaft | Single legElongation of the material |
The center axis may be preset as a center line of the imaging device, or may be preset as a center line between both legs of a leg region of a picture taken by the imaging device. That is, if the blank sliding gesture is sliding along the central axis in the fifth direction, the corresponding leg shape adjustment operation is a single-leg thickening adjustment operation; if the air-separating sliding gesture is sliding along the central axis in the sixth direction, the corresponding leg shape adjusting operation is a single-leg thinning adjusting operation; if the air-separating sliding gesture is sliding towards the seventh direction on one of the two sides of the central shaft, the corresponding leg shape adjusting operation is a single-leg shortening adjusting operation; and if the space sliding gesture is sliding towards the eighth direction on one of the two sides of the central shaft, the corresponding leg shape adjusting operation is a single-leg stretching adjusting operation.
In one example, in the single-leg adjustment mode, the user may pre-select whether to adjust the left leg or the right leg, such that the subsequently determined single-leg adjustment operations are each for the user's selection of the left leg or the right leg.
In one example, the sliding in the fifth direction along the central axis may be: sliding outwardly along the central axis, i.e. away from the central axis. Sliding along the sixth direction along the central axis can be: sliding along the central axis, i.e. sliding in a direction close to the central axis. Sliding towards the seventh direction on one of the two sides of the central shaft can be: sliding up on the left or right side of the central shaft. One of the two sides of the central shaft slides to the eighth direction, which can be: sliding down on the left or right side of the central shaft.
In another example, in the single-leg adjustment mode, the user does not need to select the left leg or the right leg to be adjusted in advance, and the single-leg adjustment operation for the left leg or the right leg may be determined according to the correspondence as shown in table 4:
TABLE 4
It should be noted that table 4 is only an example, and in a specific implementation, the leg shape adjustment operation corresponding to "slide left outward" may also be "thicken right leg", and the leg shape adjustment operation corresponding to "slide right outward" may also be "thicken left leg", that is, the sliding direction for distinguishing whether the adjustment is performed on the left leg or the right leg may be selected according to actual needs, which is not specifically limited in this embodiment.
Step 104: a leg shape adjusting operation is performed on the leg region.
In which the leg shape adjusting operation is performed on the leg region, it can be understood that the size of the leg in the leg region is adjusted, and the size of the leg can be long, short, thick, or the like. For example, a leg shape adjustment operation corresponding to a clear slide gesture may be performed on the leg region with reference to table 1.
In one example, for the two-leg adjustment mode, if the blank sliding gesture is sliding in the first direction, the two-leg thinning adjustment operation is performed on the leg region; if the air-separating sliding gesture is sliding in the second direction, performing double-leg thickening adjustment operation on the leg region; if the air-separating sliding gesture is sliding in the third direction, performing double-leg stretching adjustment operation on the leg region; and if the air-separating sliding gesture is sliding in the fourth direction, performing double-leg shortening adjustment operation on the leg region. That is, a leg shape adjustment operation corresponding to the clear slide gesture may be performed on the leg region with reference to table 2.
In another example, in the single-leg adjustment mode, if the blank sliding gesture is sliding along the preset central axis in the fifth direction, performing single-leg thickening adjustment operation on the leg region; if the air-separating sliding gesture is sliding along the central axis in the sixth direction, performing single-leg thinning adjustment operation on the leg region; if the air-separating sliding gesture is that one of the two sides of the central shaft slides to the seventh direction, executing single-leg shortening adjustment operation on the leg area; and if the space sliding gesture is sliding towards the eighth direction on one of the two sides of the central shaft, executing single-leg stretching adjustment operation on the leg area.
In one example, if the user selects in advance whether the left leg or the right leg needs to be adjusted in the single-leg adjustment mode, a leg shape adjustment operation corresponding to the clear slide gesture may be performed on the leg region with reference to table 3.
In another example, if the user does not previously select whether the left leg or the right leg is to be adjusted in the single-leg adjustment mode, a leg shape adjustment operation corresponding to the clear slide gesture may be performed on the leg region with reference to table 4.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
In this embodiment, a picture to be adjusted is determined, and a leg region in the picture to be adjusted is identified, that is, a region to be adjusted in the picture to be adjusted is identified. And then recognizing the blank sliding gesture of the user, and determining a leg shape adjusting operation corresponding to the blank sliding gesture so as to execute the leg shape adjusting operation on the leg area. That is to say, can adjust the operation through the shank shape that the shank region execution in the picture of treating the regulation corresponds with the slide gesture of separating through separating the sky, need not user's hand contact screen or mouse just can realize the regulation of shank in the picture, improve the convenience that the user adjusted shank in the picture, be favorable to promoting user experience to can also improve the interest that the shank was adjusted to a certain extent through separating the sky slide gesture.
A second embodiment of the present invention relates to a picture adjustment method. The following describes implementation details of the picture adjusting method in this embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present invention.
As shown in fig. 2, the picture adjustment method in the present embodiment includes:
step 201: determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted.
Step 202: a clear slide gesture of a user is identified.
Step 203: a leg shape adjustment operation corresponding to the clear slide gesture is determined.
Step 204: and acquiring a sliding distance corresponding to the air sliding gesture.
In one example, a sliding initial position corresponding to the blank sliding gesture and a sliding end position corresponding to the blank sliding gesture may be determined through a camera, so that a sliding distance corresponding to the blank sliding gesture is determined according to the sliding initial position and the sliding end position.
In another example, step 204 may be implemented by various sub-steps in fig. 3, including:
step 301: a point location matrix is generated between the camera and the user.
The point location matrix comprises a plurality of point locations with known locations, and the known locations can represent that the location coordinates of each point location are known. For example, a top view of a point location matrix generated between the camera and the user may be as shown in fig. 4.
In one example, when a camera (e.g., a camera) recognizes a user, a distance d between the user and the camera may be calculated, and then a point location matrix covering the user may be generated. The point location matrix is actually a three-dimensional matrix, the width and height of the point location matrix may be 2/3 of the height of the user that can be recognized by the camera, and the depth, i.e., the length, of the point location matrix may be 1/5 of the width of the point location matrix. The arrangement density of each point in the point matrix is fixed, if the density is X, if the shooting device is closer to the user, the width and the height of the point matrix are larger, and the depth of the point matrix is deeper, but because the density X is fixed, the distance between each point is larger. If the camera is further away from the user, the width and height of the point location matrix are smaller, and the depth is also smaller, and the distance between the point locations is smaller because the density is fixed.
Step 302: and determining the sliding initial point positions corresponding to the air-spaced sliding gestures according to the point position matrix.
For example, the shooting device may recognize the blank sliding gesture of the user, determine which point in the point location matrix the gesture of the user falls on when the user starts sliding, and determine the recorded point as the initial sliding point location corresponding to the blank sliding gesture. It is understood that since the position of the slip initiation point is known, determining the slip initiation point is equivalent to determining the slip initiation position.
Step 303: and determining the sliding termination point corresponding to the air-spaced sliding gesture according to the point matrix.
For example, the shooting device may recognize and track the blank sliding gesture of the user, determine which point in the point location matrix the gesture of the user falls on when the user stops sliding, and determine the recorded point as the sliding termination point corresponding to the blank sliding gesture. It is understood that since the position of the slide end point is known, determining the slide end point is equivalent to determining the slide end position.
In one example, the camera may detect a swipe speed corresponding to the clear swipe gesture to determine whether the current swipe is a fast swipe or a slow swipe. If the sliding speed is less than the preset speed threshold, the sliding speed can be considered as slow sliding, and if the sliding speed is greater than or equal to the preset speed threshold, the sliding speed can be considered as fast sliding. The speed threshold value can be set according to actual needs, for example, different users have different feelings about high speed and low speed, and then different users can set the speed threshold value according to their own operation habits, for example, the set speed threshold value may be 2 cm/s. In this example, in two scenarios of slow sliding and fast sliding, the sliding termination points corresponding to the air-spaced sliding gesture are determined in different manners, which is specifically described below:
in the slow sliding scenario: and when the pause duration of the air-spaced sliding gesture reaches a first preset duration, taking the point position where the air-spaced sliding gesture starts pausing as a sliding termination point position. The first preset time period may be set according to actual needs, and is used to indicate that there is an obvious pause after the user sliding is detected, for example, the first preset time period may be set to 1s, and then the first preset time period is limited to this.
In the fast-sliding scenario: when the number of the point locations on the same longitudinal direction where the air-separating sliding gesture passes through is detected to be larger than the preset number, and the pause duration of the air-separating sliding gesture is detected to reach a second preset duration, taking the point location where the air-separating sliding gesture starts to pause as a sliding termination point location; and the second preset time length is less than the first preset time length. That is, in a fast-sliding scenario, there is no need to detect a significant pause after the user slides, and only a short pause is required compared to a slow-sliding scenario. The preset number can be set according to actual needs, for example, in a left-right sliding scene, the preset number can be set to 3, and in an up-down sliding scene, the preset number can be set to 1.5. The size of the preset number is smaller than that of the left-right sliding considering that the up-down sliding does not exceed the shooting area of the shooting device generally.
For example, referring to fig. 4, assuming that the initial sliding point location corresponding to the air-spaced sliding gesture is point location 1, the number of point locations (point locations 5, 6, 7, 8, and 9) on the same longitudinal direction through which the air-spaced sliding gesture passes is greater than a preset number (for example, 3), and it is detected that the pause duration of the air-spaced sliding gesture at point location 9 reaches a second preset duration, point location 9 may be determined as the end sliding point location.
Step 304: and acquiring a sliding distance corresponding to the air-separating sliding gesture according to the sliding initial point position and the sliding termination point position.
It can be understood that, since the sliding initial point position and the sliding end point position are both point positions with known positions, the distance between the sliding initial point position and the sliding end point position can be directly used as the sliding distance corresponding to the spaced sliding gesture.
In one example, if the sliding track from the sliding initial point position to the sliding end point position is obviously fan-shaped, the following two scenarios can be used to obtain the sliding distance corresponding to the blank sliding gesture:
in the scene of left-right sliding, a target point position can be determined in each point position in the same row with the sliding initial point position according to the sliding initial point position and the sliding end point position, and the target point position and the sliding end point position are located in the same column. Then, the distance between the sliding initial point and the target point may be taken as the sliding distance. For example, referring to fig. 4, the sliding initial point is point 1, the sliding end point is point 9, and the target point position determined from the points in the same row as the sliding initial point, that is, point 1, is point 5, and the point 5 and the point 9 are located in the same column. The sliding distance of this sliding may be the distance between point 1 and point 5.
In the scene of up-and-down sliding, a target point position can be determined in each point position in the same column with the sliding initial point position according to the sliding initial point position and the sliding end point position, and the target point position and the sliding end point position are located in the same row. Then, the distance between the sliding initial point and the target point may be taken as the sliding distance.
Step 205: based on the sliding distance, the adjustment percentage is determined.
In one example, the greater the sliding distance, the greater the adjustment percentage, and the smaller the sliding distance, the smaller the adjustment percentage. The sliding distance and the adjustment percentage may have a correspondence in advance, so that the adjustment percentage corresponding to the sliding distance may be determined according to the correspondence that is prestored.
In another example, the adjustment percentage may be determined by the substeps of FIG. 5, including:
step 501: and determining a sliding initial position and a sliding end position corresponding to the sliding distance.
It is understood that the sliding distance corresponds to the sliding initial position and the sliding end position, and how to determine the sliding initial position and the sliding end position has been described above, and details are not described herein again to avoid repetition. In addition, it can be seen from the above description that the sliding initial position can also be understood as the sliding initial point, and the sliding end position can also be understood as the sliding end point.
Step 502: a first distance between the sliding initial position and the shooting device and a second distance between the sliding end position and the shooting device are determined.
For example, referring to fig. 4, the first distance between the initial sliding position and the camera may be understood as: the distance D1 between the sliding start point (point 1) and the camera, and the second distance between the sliding end point and the camera can be understood as: distance D2 between the slide end point (point 9) and the camera.
Step 503: and determining a distance parameter according to the first distance, the second distance and the view angle value of the shooting device.
The field of view angle value of the shooting device is an initial field of view angle value of the shooting device when the shooting device leaves a factory, for example, an initial field of view angle value of a camera leaving the factory. Referring to fig. 4, the view angle value may be α in the graph.
In one example, a difference between the first distance and the second distance may be calculated, and then half of the difference may be taken, and the distance parameter may be determined based on half of the difference and the angle of field value.
In one example, the distance parameter may be calculated by the following formula:
2*Y*sin(α/2)
where Y is 1/2 for the difference between the first distance and the second distance and α is the angle of field of view value. Referring to fig. 4, Y ═ (D1-D2)/2.
Step 504: and determining the adjusting percentage according to the sliding distance and the distance parameter.
For example, the sliding distance may be divided by the distance parameter to obtain a quotient as the adjustment percentage.
Step 206: according to the adjustment percentage, a leg shape adjustment operation is performed on the leg region.
In one example, an adjusted target leg size may be calculated based on the adjustment percentage and the identified original leg size in the leg region. Then, the original size of the leg is adjusted to the target size of the leg. For example, if the left leg needs to be adjusted, the original size of the leg is the leg size of the left leg, and the target size of the leg is the target size of the left leg.
In another example, on the basis of the adjustment percentage and the original size of the leg in the identified leg region, the adjusted target size of the leg can be calculated by combining a preset adjustment coefficient; the preset adjustment coefficient can be set according to actual needs, and is usually a number greater than 1.
In one example, the original size of the leg is the original width of the leg, and the preset adjustment factor is M, which may take a value between 2 and 5. If the leg shape adjustment operation is a leg thinning operation, the leg target size is the original width of the leg-the original width of the leg/M adjustment percentage; if the leg shape adjustment operation is a leg thickening operation, the leg target size (target width) is the original width of the leg + the original width of the leg/M adjustment percentage. Therefore, the smaller M is, the more obvious the leg slimming effect is.
In another example, the original size of the leg is the original length of the leg, and the preset adjustment factor is N, which may take a value between 3 and 10. If the leg shape adjustment operation is a leg lengthening operation, the leg target size is the original length of the leg + the original length of the leg/N adjustment percentage; if the leg shape adjustment operation is a leg shortening operation, the leg target size (target length) is the original length of the leg-the original length of the leg/N adjustment percentage. It can be seen that the smaller N, the more pronounced the elongation effect.
To facilitate understanding of the present embodiment, reference may be made to fig. 6 and 7, and fig. 6 and 7 are schematic views of a picture adjustment process when a user selects a single-leg adjustment mode. In the single-leg adjustment mode, the photographing device can guide the user to perform the operation of sliding outward and sliding inward with the center point of the screen of the photographing device as the center axis.
Fig. 6 is a scene of sliding outward along a preset central axis, that is, sliding away from the central axis, assuming that the adjustment percentage corresponding to left sliding is 30%, the left leg is thickened, and the corresponding adjusted width is: original width of leg + original width/M30%. Assuming that the right slip corresponds to an adjustment percentage of 30%, the right leg is thickened and the corresponding adjusted width is: original width of leg + original width/M30%.
Fig. 7 shows a scenario in which the left leg is thinned when sliding along the preset central axis, i.e. sliding in a direction close to the central axis, assuming that the left sliding corresponds to an adjustment percentage of 30%, and the corresponding adjusted width is: original width-original width/M × 30% of the leg portions. Assuming that the right slip corresponds to a percent adjustment of 30%, the right leg becomes thinner and the corresponding adjusted width is: original width-original width/M × 30% of the leg portions.
It can be understood that there may be a mirror image in a self-portrait scene, and then the left leg may refer to a right leg in the picture to be adjusted, and the right leg may refer to a left leg in the picture to be adjusted. In a scene without mirror images, the left leg may refer to a left leg in the picture to be adjusted, and the right leg may refer to a right leg in the picture to be adjusted, so that the adjustment experience of the user may be further improved.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
In this embodiment, through the regulation percentage that the sliding distance is confirmed, can react the degree of regulation to the shank region to a certain extent, for example adjust by a wide margin, still little amplitude is finely tuned, is favorable to carrying out accurate regulation to the shank region according to actual need. And the target size of the leg after adjustment is accurately calculated, and the original size of the leg is adjusted to the target size of the leg, so that the accuracy and convenience of adjustment are further improved.
A third embodiment of the present invention relates to a picture adjustment method. The following describes implementation details of the picture adjusting method in this embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present invention.
As shown in fig. 8, the picture adjustment method in the present embodiment includes:
step 601: determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted.
Step 602: a clear slide gesture of a user is identified.
Step 603: and if the alternate-space sliding gestures continuously sliding in two opposite directions are recognized, determining the leg shape adjusting operation corresponding to the alternate-space sliding gestures in each direction.
In one example, where two opposite directions are left and right, i.e., a clear slide gesture is recognized for a continuous left-right slide, the leg shape adjustment operation corresponding to the left slide may be determined each time the left slide is made, and the leg shape adjustment operation corresponding to the right slide may be determined each time the right slide is made.
In another example, where two opposite directions are up and down, i.e., a clear slide gesture is recognized that slides up and down in succession, the leg shape adjustment operation corresponding to the up slide may be determined each time the slide is up, and the leg shape adjustment operation corresponding to the down slide may be determined each time the slide is down.
Step 604: and acquiring the sliding distance corresponding to the space sliding gesture in each direction.
For example, in a scene of continuous left-right sliding, the sliding distance of each left sliding and the sliding distance of each right sliding can be obtained. Under the scene of continuous upward and downward sliding, the sliding distance of each upward sliding and the sliding distance of each downward sliding can be obtained. The manner of determining the sliding distance each time may refer to the related description in the second embodiment, and is not described herein again to avoid repetition.
Step 605: from the sliding distance, the percentage of adjustment in each direction is determined.
That is, the percentage of adjustment per sliding in each direction is determined based on the sliding distance per sliding in each direction. The manner of determining the adjustment percentage in each direction may refer to the related description in the second embodiment, and in order to avoid repetition, the details are not repeated here.
Step 606: the result of the adjustment of the leg region after each sliding in two opposite directions is recorded.
The adjustment result may be understood as the size of the leg after each adjustment of the leg, and the description in the second embodiment is the target size of the leg after adjustment. For example, the adjusted leg thickness, the adjusted leg length.
Step 607: according to the adjustment percentage and the adjustment result recorded last time, a leg shape adjustment operation is performed on the leg region.
For example, the adjusted target leg size corresponding to the current sliding can be calculated according to the adjustment percentage, the last recorded adjustment result and the original leg size, and then the leg size in the leg region is adjusted to reach the target leg size. Wherein, the target leg size may be an adjusted leg width value or an adjusted leg length value.
In one example, assuming that the current air slide gesture is a left slide, the corresponding adjustment percentage of the current slide is X, and the last recorded adjustment result is: the leg width C, the result of this adjustment, i.e., the leg width after this adjustment, is: c-original width of leg/M X. Wherein M is an adjustment coefficient preset for left-right sliding.
In another example, assuming that the current air slide gesture is a right slide, the corresponding adjustment percentage of the current slide is X, and the last recorded adjustment result is: the leg width C, the result of this adjustment, i.e., the leg width after this adjustment, is: original width of C + legs/M X.
Therefore, when the user draws a continuous left-right sliding gesture, the leg slimming effect is not thick, but thin.
In one example, assuming that the current clear slide gesture is a slide-up, the corresponding adjustment percentage of the current slide is X, and the last recorded adjustment result is: the leg length C, the result of the current adjustment, that is, the leg length after the current adjustment, is: c-original length of leg/nx. And N is an adjusting coefficient preset for up-and-down sliding.
In one example, assuming that the current air-separating sliding gesture is downslide, the corresponding adjustment percentage of the current sliding is X, and the last recorded adjustment result is: the leg length C, the result of the current adjustment, that is, the leg length after the current adjustment, is: original length of C + legs/N X.
It can be seen that when the user makes a gesture that slides up and down continuously, the leg length is also suddenly longer and shorter.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
In this embodiment, for a scene in which the user slides back and forth in two opposite directions, the adjustment result of the leg region after each sliding is recorded, and the leg shape adjustment operation is performed on the leg region according to the adjustment percentage and the adjustment result recorded last time, so that the adjustment result can be gradually changed in combination with the adjustment result after each sliding in the process in which the user slides back and forth. For example, when the user continuously slides left and right, the leg-thinning effect is suddenly changed, and if the user continuously slides up and down, the leg length is suddenly changed. The adjustment experience of the user is promoted, the individualized adjustment requirement is met, and the interestingness of adjustment is enhanced.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to an electronic device, as shown in fig. 9, including at least one processor 701; and, a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, and the instructions are executed by the at least one processor 701, so that the at least one processor 701 can execute the picture adjusting method in the first to third embodiments.
The memory 702 and the processor 701 are coupled by a bus, which may comprise any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 701 and the memory 702. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 701 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 701.
The processor 701 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 702 may be used for storing data used by the processor 701 in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.
Claims (12)
1. A picture adjustment method, comprising:
determining a picture to be adjusted, and identifying a leg region in the picture to be adjusted;
identifying a clear slide gesture of a user;
determining a leg shape adjustment operation corresponding to the clear slide gesture;
performing the leg shape adjustment operation on the leg region.
2. The picture adjustment method according to claim 1, wherein the performing the leg shape adjustment operation on the leg region includes:
acquiring a sliding distance corresponding to the air sliding gesture;
determining an adjustment percentage according to the sliding distance;
performing the leg shape adjustment operation on the leg region according to the adjustment percentage.
3. The picture adjusting method according to claim 2, wherein the picture to be adjusted is a picture taken by a shooting device, and the obtaining of the sliding distance corresponding to the air-spaced sliding gesture comprises:
generating a point location matrix between the camera and the user; wherein the point location matrix comprises a plurality of point locations with known locations;
determining a sliding initial point position corresponding to the air-spaced sliding gesture according to the point position matrix;
determining a sliding termination point position corresponding to the air-spaced sliding gesture according to the point position matrix;
and acquiring a sliding distance corresponding to the air-separating sliding gesture according to the sliding initial point position and the sliding termination point position.
4. The method according to claim 3, wherein the determining a sliding termination point corresponding to the space-time sliding gesture according to the point location matrix comprises:
detecting a sliding speed corresponding to the air sliding gesture;
if the sliding speed is smaller than a preset speed threshold value, when the pause time of the air-spaced sliding gesture is detected to reach a first preset time, taking the point position where the air-spaced sliding gesture starts pausing as the sliding termination point position;
if the sliding speed is greater than or equal to the speed threshold, when the number of the point locations on the same longitudinal direction where the air-spaced sliding gesture passes through is detected to be greater than a preset number and the pause duration of the air-spaced sliding gesture reaches a second preset duration, taking the point location where the air-spaced sliding gesture starts to pause as the sliding termination point location; and the second preset time length is less than the first preset time length.
5. The picture adjusting method according to claim 2, wherein the picture to be adjusted is a picture taken by a shooting device, and the determining the adjustment percentage according to the sliding distance comprises:
determining a sliding initial position and a sliding ending position corresponding to the sliding distance;
determining a first distance between the sliding initial position and the shooting device and a second distance between the sliding termination position and the shooting device;
determining a distance parameter according to the first distance, the second distance and the view angle value of the shooting device;
and determining the adjusting percentage according to the sliding distance and the distance parameter.
6. The picture adjustment method according to claim 5, wherein the determining a distance parameter according to the first distance, the second distance and the angle of field value of the photographing apparatus comprises:
calculating the distance parameter by the following formula:
2*Y*sin(a/2)
wherein Y is 1/2 of the difference between the first distance and the second distance, and a is the field of view angle value.
7. The picture adjustment method according to any one of claims 1 to 6, wherein the leg shape adjustment operation is an operation for both legs, the performing the leg shape adjustment operation on the leg region includes:
if the air-separating sliding gesture is sliding in the first direction, performing double-leg thinning adjustment operation on the leg region;
if the air-separating sliding gesture is sliding in a second direction, performing double-leg thickening adjustment operation on the leg region;
if the air-separating sliding gesture is sliding in a third direction, performing double-leg stretching adjustment operation on the leg region;
and if the space sliding gesture is sliding in a fourth direction, performing leg shortening adjustment operation on the leg region.
8. The picture adjustment method according to any one of claims 1 to 6, wherein the leg shape adjustment operation is an operation for a single leg, the performing the leg shape adjustment operation on the leg region including:
if the air-separating sliding gesture is sliding along a preset central axis in a fifth direction, performing single-leg thickening adjustment operation on the leg region;
if the air-separating sliding gesture is sliding along the central shaft in a sixth direction, performing single-leg thinning adjustment operation on the leg region;
if the air-separating sliding gesture is sliding towards a seventh direction on one of the two sides of the central shaft, performing single-leg shortening adjustment operation on the leg region;
and if the space sliding gesture is sliding towards the eighth direction on one of the two sides of the central shaft, performing single-leg stretching adjustment operation on the leg region.
9. The method of claim 2, wherein if a clear slide gesture is recognized that slides in two opposite directions in succession, the method further comprises:
recording the results of the adjustment to the leg region after each sliding in the two opposite directions;
said performing said leg shape adjustment operation on said leg region in accordance with said adjustment percentage comprises:
performing the leg shape adjustment operation on the leg region according to the adjustment percentage and the adjustment result recorded last time.
10. The picture adjustment method according to claim 2, wherein the performing the leg shape adjustment operation on the leg region according to the adjustment percentage comprises:
calculating an adjusted target leg size according to the adjustment percentage and the identified original leg size in the leg region;
adjusting the original size of the leg to the target size of the leg.
11. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the picture adjustment method of any one of claims 1 to 10.
12. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the picture adjustment method according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011269442.8A CN112380990A (en) | 2020-11-13 | 2020-11-13 | Picture adjusting method, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011269442.8A CN112380990A (en) | 2020-11-13 | 2020-11-13 | Picture adjusting method, electronic device and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112380990A true CN112380990A (en) | 2021-02-19 |
Family
ID=74582207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011269442.8A Pending CN112380990A (en) | 2020-11-13 | 2020-11-13 | Picture adjusting method, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112380990A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713738A (en) * | 2013-12-17 | 2014-04-09 | 武汉拓宝电子系统有限公司 | Man-machine interaction method based on visual tracking and gesture recognition |
CN103914126A (en) * | 2012-12-31 | 2014-07-09 | 腾讯科技(深圳)有限公司 | Multimedia player control method and device |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
CN104881215A (en) * | 2014-02-27 | 2015-09-02 | 联想(北京)有限公司 | Control method and control device of electronic device and electronic device |
CN105704390A (en) * | 2016-04-20 | 2016-06-22 | 广东欧珀移动通信有限公司 | Photo-modifying photo-shooting method and device and mobile terminal |
CN106558039A (en) * | 2015-09-23 | 2017-04-05 | 腾讯科技(深圳)有限公司 | A kind of facial image processing method and device |
WO2018184233A1 (en) * | 2017-04-07 | 2018-10-11 | 深圳市柔宇科技有限公司 | Hand gesture recognition method and related device |
CN108650457A (en) * | 2018-05-03 | 2018-10-12 | Oppo广东移动通信有限公司 | Automatic photographing method, device, storage medium and mobile terminal |
CN108830783A (en) * | 2018-05-31 | 2018-11-16 | 北京市商汤科技开发有限公司 | A kind of image processing method, device and computer storage medium |
CN108920082A (en) * | 2018-06-28 | 2018-11-30 | Oppo广东移动通信有限公司 | Method of controlling operation thereof, device, storage medium and electronic equipment |
CN109085983A (en) * | 2018-06-28 | 2018-12-25 | Oppo广东移动通信有限公司 | Method of controlling operation thereof, device, storage medium and electronic equipment |
CN109495688A (en) * | 2018-12-26 | 2019-03-19 | 华为技术有限公司 | Method for previewing of taking pictures, graphic user interface and the electronic equipment of electronic equipment |
CN110136051A (en) * | 2019-04-30 | 2019-08-16 | 北京市商汤科技开发有限公司 | A kind of image processing method, device and computer storage medium |
CN111078011A (en) * | 2019-12-11 | 2020-04-28 | 网易(杭州)网络有限公司 | Gesture control method and device, computer readable storage medium and electronic equipment |
CN111787223A (en) * | 2020-06-30 | 2020-10-16 | 维沃移动通信有限公司 | Video shooting method and device and electronic equipment |
-
2020
- 2020-11-13 CN CN202011269442.8A patent/CN112380990A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914126A (en) * | 2012-12-31 | 2014-07-09 | 腾讯科技(深圳)有限公司 | Multimedia player control method and device |
CN103713738A (en) * | 2013-12-17 | 2014-04-09 | 武汉拓宝电子系统有限公司 | Man-machine interaction method based on visual tracking and gesture recognition |
CN104881215A (en) * | 2014-02-27 | 2015-09-02 | 联想(北京)有限公司 | Control method and control device of electronic device and electronic device |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
CN106558039A (en) * | 2015-09-23 | 2017-04-05 | 腾讯科技(深圳)有限公司 | A kind of facial image processing method and device |
CN105704390A (en) * | 2016-04-20 | 2016-06-22 | 广东欧珀移动通信有限公司 | Photo-modifying photo-shooting method and device and mobile terminal |
WO2018184233A1 (en) * | 2017-04-07 | 2018-10-11 | 深圳市柔宇科技有限公司 | Hand gesture recognition method and related device |
CN108650457A (en) * | 2018-05-03 | 2018-10-12 | Oppo广东移动通信有限公司 | Automatic photographing method, device, storage medium and mobile terminal |
CN108830783A (en) * | 2018-05-31 | 2018-11-16 | 北京市商汤科技开发有限公司 | A kind of image processing method, device and computer storage medium |
CN108920082A (en) * | 2018-06-28 | 2018-11-30 | Oppo广东移动通信有限公司 | Method of controlling operation thereof, device, storage medium and electronic equipment |
CN109085983A (en) * | 2018-06-28 | 2018-12-25 | Oppo广东移动通信有限公司 | Method of controlling operation thereof, device, storage medium and electronic equipment |
CN109495688A (en) * | 2018-12-26 | 2019-03-19 | 华为技术有限公司 | Method for previewing of taking pictures, graphic user interface and the electronic equipment of electronic equipment |
WO2020134891A1 (en) * | 2018-12-26 | 2020-07-02 | 华为技术有限公司 | Photo previewing method for electronic device, graphical user interface and electronic device |
CN110136051A (en) * | 2019-04-30 | 2019-08-16 | 北京市商汤科技开发有限公司 | A kind of image processing method, device and computer storage medium |
CN111078011A (en) * | 2019-12-11 | 2020-04-28 | 网易(杭州)网络有限公司 | Gesture control method and device, computer readable storage medium and electronic equipment |
CN111787223A (en) * | 2020-06-30 | 2020-10-16 | 维沃移动通信有限公司 | Video shooting method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9754153B2 (en) | Method and apparatus for facial image processing | |
US9690388B2 (en) | Identification of a gesture | |
CN109598744B (en) | Video tracking method, device, equipment and storage medium | |
CN112019768B (en) | Video generation method and device and electronic equipment | |
US20130009989A1 (en) | Methods and systems for image segmentation and related applications | |
CN103209291A (en) | Method, apparatus and device for controlling automatic image shooting | |
CN110248091B (en) | Focal length adjusting method and related product | |
CN108932702B (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
WO2018093314A1 (en) | Method and electronic device for fingerprint enrollment | |
CN110689479A (en) | Face makeup method, device, equipment and medium | |
CN110399794A (en) | Gesture recognition method, device, equipment and storage medium based on human body | |
WO2013144418A1 (en) | Image segmentation | |
CN107003730B (en) | Electronic equipment, photographing method and photographing device | |
CN106020664A (en) | Image processing method | |
CN114360047A (en) | Hand-lifting gesture recognition method and device, electronic equipment and storage medium | |
JP2013195577A (en) | Imaging device, imaging method, and program | |
CN112380990A (en) | Picture adjusting method, electronic device and readable storage medium | |
CN112188108A (en) | Photographing method, terminal, and computer-readable storage medium | |
CN110597593B (en) | User-guided task processing method and device, computer equipment and storage medium | |
CN112015319B (en) | Screenshot processing method, screenshot processing device and storage medium | |
CN111213362B (en) | Computer-readable storage medium for focusing and intelligent terminal | |
CN106550183A (en) | A kind of image pickup method and device | |
JP6756127B2 (en) | Line-of-sight estimation device and line-of-sight estimation method | |
CN106921826A (en) | The processing method and processing device of exposal model | |
CN110443251A (en) | Instrument image recognition methods 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 |