mask property

List<List<double>>? mask
final

The segmentation mask for instance segmentation tasks.

Only available when using segmentation models (YOLOTask.segment). Each inner list represents a row of mask values.

Implementation

final List<List<double>>? mask;