Method and device for image processing and terminal device
A processing method and technology of a processing device, applied in the field of data processing, can solve the problems of unintelligence, low use efficiency, inconvenience, etc., and achieve the effect of avoiding manual setting of beauty parameters and improving use efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0116] As shown in Figure 2, it is the first preferred implementation of the image processing method in the embodiment of the present invention. This embodiment can be applied in such a scene: after obtaining the photo selected from the gallery, the face in the photo is processed Recognition, it is recognized that the face in the photo is user A, and user A is the owner of the terminal device. The owner of the terminal device has preset his own beauty mode, so he can use the preset beauty mode to beautify the photo. Yan treatment. Of course, user A may not be the owner of the terminal device, and user A may also pre-set a beautification mode, and use the pre-set beautification mode to perform beautification processing on photos. The method includes the following steps:
[0117] Step 201, acquire the photo selected from the gallery.
[0118] Step 202, identifying faces included in the photo.
[0119] Step 203: Obtain the person's identity according to the face in the photo, ...
Embodiment 2
[0126] Such as image 3 Shown is the second preferred implementation of the image processing method in the embodiment of the present invention. This embodiment can be applied in such a scene: after obtaining the photo taken by the user, the face in the photo is recognized, and the photo is recognized. If the age and gender of the face in the face are selected, it can automatically match the pre-set beauty mode corresponding to the age and gender. The pre-set beautification modes corresponding to age and gender can be seen in Table 1 below: Table 1 includes 7 beauty items, which are whitening, freckle and acne, face and body slimming, dark circles removal, eye beautification, Eye-catching and beautifying special effects, and there are four levels of beautification from 0 to 3, where level 0 means no beautification, level 1 means mild beautification, level 2 means moderate beautification, and level 3 means deep beautification , for example, the beauty mode 2222222 means moderat...
Embodiment 3
[0140] Such as Figure 4 Shown is the third preferred implementation of the image processing method in the embodiment of the present invention. This embodiment can be applied in such a scenario: after obtaining the photos taken by the user, recognize the faces in the photos, and recognize the faces in the photos If the face in the image is a baby aged 0-2, no beautification will be performed regardless of gender. The method includes the following steps:
[0141] Step 401 , acquire a photo taken by a camera.
[0142] Step 402, identifying faces included in the photo.
[0143] Step 403 , according to the face in the photo, the person's age is obtained as 1 year old.
[0144] Step 404: Obtain a pre-set beautification mode corresponding to the person's age of 1 year old, the beautification mode is 0000000, that is, no beautification, and the process ends.
[0145] In the third embodiment, according to the automatically recognized face in the photo, the age of the person is obt...
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