FaceAnalyser.segmentBackground Method¶
Module: FaceAnalyser
Definition¶
Computes face segmentation mask for background removal.
Important
This methods requires the FaceBackgroundSegmenter model to be loaded.
Image segmentBackground(Image image)
Parameters
image Imagein Source image to process.
Returns
The mask of segmented face.
Exceptions
An error has occurred during Face Library execution.