Method, electronic device and storage medium for segmenting image
Abstract:
The disclosure relates to a method, an electronic device and a storage medium for segmenting an image. The method includes: obtaining an image to be segmented; determining a first face result by detecting a face in the image and a first key-point result by detecting one or more key-points of the face in the image; determining a first face region in the image based on the first face result and the second face result; and segmenting a hair region from the first face region by an image segmentation model, wherein the image segmentation model is trained based on sample images, label mask images and a probability distribution map of hair, and the label mask image comprises a hair region of the sample image, and the probability distribution map of hair comprises a probability distribution of hair in the sample images.
Public/Granted literature
Information query
Patent Agency Ranking
0/0