SegmentationMask.from constructor

SegmentationMask.from(
  1. Map json
)

Implementation

factory SegmentationMask.from(Map json) => SegmentationMask(
      width: json['maskWidth'] as int,
      height: json['maskHeight'] as int,
      confidences: json['confidences'],
    );