Portrait segmentation is to separate the portrait in a picture from the background to form different areas, which are distinguished using different tags.
This interface can be used to perform portrait segmentation on the part that includes a portrait on an input image. The expected segmentation result is that the portrait and the background are displayed in a separated manner.
Application scenarios: This algorithm is used to separate the portrait and the background in a picture and can be applied to scenarios such as background replacement and background blurring functions of APPs.
Background replacement
Replace the background based on the segmentation result. For example, replace the scenery in the background behind a beautiful woman on a picture.
Background blurring
Blur the background according to the segmentation result to obtain a more beautiful photo with better artistic effects.
Rapidness: This algorithm is currently developed based on the deep neural network, to fully utilize the neural processing unit (NPU) of Huawei mobile phones to accelerate the neural network, achieving an acceleration rate of over 10 times.
Compactness: By using this API, algorithm development time can be significantly reduced and the ROM space occupied by algorithm models is reduced, making your applications more compact.
Portrait segmentation applies to only pictures with portraits.
Poor quality of a picture may affect the segmentation effect. User discretion is recommended.