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<cvideo.KalmanFilter>();
  cvRun(() => cvideo.KalmanFilter_New(dynamParams, measureParams, controlParams, type, p));
  return KalmanFilter(p);
}