Image processing method and apparatus, image device, and storage medium
AssigneeBeijing Sensetime Technology Development Co., Ltd.
InventorLiu Su
Life of this patent
Estimating the term…
Abstract
An image processing method and apparatus, an image device, and a storage medium are provided. The method includes: detecting key points of a first face image; determining a target region for malar fat pad region adjustment based on the key points; determining an adjustment parameter for a malar fat pad region based on the key points; and adjusting the target region based on the adjustment parameter to form a second face image.
Claims17
An image processing method, comprising:
- detecting key points of a first face image;
- determining a target region for malar fat pad region adjustment based on the key points;
- determining an adjustment parameter for a malar fat pad region based on the key points;
- adjusting the target region based on the adjustment parameter to form a second face image;
- generating a mask image according to a position of the malar fat pad region in the second face image;
- and
- performing brightening processing on the malar fat pad region in the second face image based on the mask image to obtain a third face image.
An image device, comprising:
- a memory, configured to store computer executable instructions;
- and
- a processor, connected to the memory and when the computer executable instructions are executed by the processor, the processor is configured to:
- detect key points of a first face image;
- determine a target region for malar fat pad region adjustment based on the key points;
- determine an adjustment parameter for a malar fat pad region based on the key points;
- adjust the target region based on the adjustment parameter to form a second face image;
- generate a mask image according to a position of the malar fat pad region in the second face image;
- and
- perform brightening processing on the malar fat pad region in the second face image based on the mask image to obtain a third face image.
A non-transitory computer storage medium, storing computer executable instructions which are executed by a processor to implement the following operations:
- detecting key points of a first face image;
- determining a target region for malar fat pad region adjustment based on the key points;
- determining an adjustment parameter for a malar fat pad region based on the key points;
- adjusting the target region based on the adjustment parameter to form a second face image;
- generating a mask image according to a position of the malar fat pad region in the second face image;
- and
- performing brightening processing on the malar fat pad region in the second face image based on the mask image to obtain a third face image.
Dependencies are inferred from the claim text.