Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Inactive Publication Date: 2013-11-27
XIAOMI INC
View PDF9 Cites 161 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there is one-click beautification for photo beautification, and there are seven beautification items, including skin smoothing and whitening, freckle and acne removal, face slimming, dark circle removal, eye beautification, eye brightening and special beautification effects, but users need to manually select the beautification Beautification items and the beautification parameters of each item, or at least choose one beautification item, which is inconvenient, not smart, and low in efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for image processing and terminal device
  • Method and device for image processing and terminal device
  • Method and device for image processing and terminal device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for image processing and a terminal device. The method for image processing comprises the steps of (1) obtaining an image, identifying a human face contained in the image, (2) obtaining character attribute information according to the human face in the image, and (3) processing the image according to the character attribute information, and obtaining the processed image. The method and device for image processing and the terminal device can obtain the character attribute information according to the human face, automatically identified, in the image, carry out matching on the beauty mode corresponding to the character attribute information, use the matched beauty mode to process the image, avoid manual setting of beauty parameters, and improve use efficiency.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to an image processing method, device and terminal equipment. Background technique [0002] With the popularization of cameras and other mobile terminals with cameras, it is more and more convenient for people to take photos, and the number of photos taken is also increasing. After the shooting is completed, the photos usually need to be beautified, and can be sent to blogs, Weibo, personal space and other platforms to share with friends and family. [0003] At present, there is one-click beautification for photo beautification, and there are seven beautification items, including skin smoothing and whitening, freckle and acne removal, face slimming, dark circle removal, eye beautification, eye brightening and special beautification effects, but users need to manually select the beautification Beautification items and the beautification parameters of each item, or at...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T3/00
CPCG06T5/00G06T2207/30201G06V40/161G06T1/00G06V10/20G06F18/00
Inventor 唐明勇张波周志农
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products