KalmanFilter.create constructor

KalmanFilter.create(
  1. int dynamParams,
  2. int measureParams, {
  3. int controlParams = 0,
  4. int type = MatType.CV_32F,
})

Implementation

factory KalmanFilter.create(
  int dynamParams,
  int measureParams, {
  int controlParams = 0,
  int type = MatType.CV_32F,
}) {
  final p = calloc<cvg.KalmanFilter>();
  cvRun(() => cffi.KalmanFilter_New(dynamParams, measureParams, controlParams, type, p));
  return KalmanFilter(p);
}