BackgroundSubtractorKNN constructor

BackgroundSubtractorKNN(
  1. BackgroundSubtractorKNNPtr ptr, [
  2. bool attach = true
])

Implementation

BackgroundSubtractorKNN(cvg.BackgroundSubtractorKNNPtr ptr, [bool attach = true]) : super.fromPointer(ptr) {
  if (attach) {
    finalizer.attach(this, ptr.cast(), detach: this);
  }
}