predict method

Mat predict({
  1. Mat? control,
})

Implementation

Mat predict({Mat? control}) {
  final p = calloc<cvideo.Mat>();
  control == null
      ? cvRun(() => cvideo.KalmanFilter_Predict(ref, p))
      : cvRun(() => cvideo.KalmanFilter_PredictWithParams(ref, control.ref, p));
  return Mat.fromPointer(p);
}