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 Image
in Source image to process.

Returns

The mask of segmented face.

Exceptions

An error has occurred during Face Library execution.