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