BackgroundSubtractorMOG2 constructor

BackgroundSubtractorMOG2(
  1. BackgroundSubtractorMOG2Ptr ptr, [
  2. bool attach = true
])

Implementation

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