Image processing method, apparatus, storage medium, and electronic device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsYan Chen, Yaoyong Liu
Life of this patent
Estimating the term…
Abstract
An image processing method, an apparatus, a storage medium, and an electronic device are provided. The image processing method comprises: identifying a human face area in a target image (101); determining a local area to be processed from the human face area on the basis of a trained convolutional neural network model (102); obtaining posture information of a human face in the target image (103); selecting a target sample human face image from a human face image data base according to the posture information (104); and correcting the local area according to the target sample human face image (105).
Claims20
A method for processing an image, comprising:
- identifying a face area in a target image;
- determining a blurry, unfocused, noisy or ghosted area in the face area as a local area to be processed based on a trained convolutional neural network model;
- acquiring posture information of a face in the face area;
- selecting a target sample face image from a face image database according to the posture information;
- and
- regulating an image feature in the local area to be processed to be consistent with an image feature in a corresponding area of the target sample face image.
A non-transitory storage medium, on which a plurality of instructions are stored, the instructions being to be loaded by a processor to execute operations of:
- identifying a face area in a target image;
- determining a blurry, unfocused, noisy or ghosted area in the feature area as a local area to be processed based on a trained convolutional neural network model;
- acquiring posture information of a face in the face area;
- selecting a target sample face image from a face image database according to the posture information;
- and
- regulating an image feature in the local area to be processed to be consistent with an image feature in a corresponding area of the target sample face image.
An electronic device, comprising a processor and a memory, wherein the processor is electrically connected with the memory, the memory is configured to store instructions and data, and the processor is configured to execute operations of:
- identifying a face area in a target image;
- determining a blurry, unfocused, noisy or ghosted area in the face area as a local area to be processed based on a trained convolutional neural network model;
- acquiring posture information of a face in the face area;
- selecting a target sample face image from a face image database according to the posture information;
- and
- regulating an image feature in the local area to be processed to be consistent with an image feature in a corresponding area of the target sample face image.
Dependencies are inferred from the claim text.