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