enableRawSizeMask property

bool enableRawSizeMask
final

Asks the segmenter to return the raw size mask which matches the model output size.

Implementation

// The raw mask size (e.g. 256x256) is usually smaller than the input image size.
// Without specifying this option, the segmenter will rescale the raw mask to match the input image size.
// Consider using this option if you want to apply customized rescaling logic or rescaling is not needed for your use case.
final bool enableRawSizeMask;