Beauty processing method and device
A processing method and a technology of beautification, which are applied in the field of beautification processing methods and devices, and can solve problems such as time-consuming, loss of image details, and unclear images
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a flow chart of a beautifying treatment method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing beautifying treatment on portraits in pictures. This method can be integrated into a smart phone or a digital The beautification processing device in the camera equipment is implemented, specifically including the following steps:
[0053] Step 110, perform face detection on the picture to be processed, and determine the face area in the picture to be processed.
[0054] Wherein, the picture to be processed can be a local picture or a picture collected in real time by a camera, face detection is performed on the picture to be processed, and if no face is detected in the picture to be processed, return to continue to obtain the picture to be processed. Preferably, face detection is performed on the picture to be processed through an open source computer vision library, and the face area in the pictu...
Embodiment 2
[0066] image 3 It is a flow chart of a beauty treatment method provided for an embodiment of the present invention. On the basis of the above technical solution, preferably, step 120 includes:
[0067] Step 121. Obtain key points of the estimated human face.
[0068] Specifically, for example, the estimated face key points may be obtained according to a face picture dataset marked with human face key points. The face picture data set includes at least 20,000 human face pictures that have manually marked the key points of the face. The key point location of the face can be understood as, assuming that the real key point position of the face is S'=(x 1 ,y 1 ,...,x n ,y n ), where (x 1 ,y 1 ) is the coordinates of the first face key point in the picture, (x n ,y n ) is the coordinates of the nth face key point in the picture, the process of predicting the face key point position S can be converted into an optimization problem: min||S-S'||, even if the predicted face key ...
Embodiment 3
[0080] Figure 8 It is a flow chart of a beauty treatment method provided for an embodiment of the present invention. On the basis of the above technical solution, it is further refined. Step 150 includes:
[0081] Step 151. Acquire the area to be processed in the image to be processed.
[0082] Among them, the area covered by the beautification processing layer in the image to be processed is determined as the area to be processed, the beautification processing of the image to be processed is to perform beautification processing on the area to be processed, and the area outside the area to be processed in the image to be processed is not beautified. Yan treatment.
[0083] Step 152: Perform beauty treatment on areas other than the set area in the area to be processed, and generate a pre-processed picture.
[0084] Among them, the face key point layer and the skin color processing layer synthesize the beautification processing layer, and the setting area in the face key point ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com