FaceAnalyser.segmentFace Method¶
Module: FaceAnalyser
Definition¶
Computes a segmentation map of a face.
Important
This methods requires the FaceSegmenter
model to be loaded.
segment_face(self, image: Image) -> Image
Parameters
image
Imagein Source image to process.
Returns
The map of segmented face.
Exceptions
An error has occurred during Face Library execution.
Image segmentFace(Image image)
Parameters
image
Imagein Source image to process.
Returns
The map of segmented face.
Exceptions
An error has occurred during Face Library execution.
public Image SegmentFace(Image image)
Parameters
image
Imagein Source image to process.
Returns
The map of segmented face.
Exceptions
An error has occurred during Face Library execution.
public Image segmentFace(Image image) throws FaceException
Parameters
image
Imagein Source image to process.
Returns
The map of segmented face.
Exceptions
An error has occurred during Face Library execution.
public func segmentFace(image: Image) throws -> Image
Parameters
image
Imagein Source image to process.
Returns
The map of segmented face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_SegmentFace (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_FACE_IMAGE hImage,
ID3_FACE_IMAGE hSegmentationMap)
Parameters
hFaceAnalyser
ID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hImage
ID3_FACE_IMAGEin Source image to process.hSegmentationMap
ID3_FACE_IMAGEout The map of segmented face.
Returns