predict method
Implementation
Future<SegmentationResult> predict(Uint8List originalImageBytes) async {
final inputTensor = await PreProcessing.toTensorData(
originalImageBytes,
targetWidth: inputWidth,
targetHeight: inputHeight,
);
final outputs = await forward(inputTensor, originalImageBytes);
return getResult(outputs, originalImageBytes);
}