predict method

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

Implementation

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