apply (cv.BackgroundSubtractorMOG2) - MATLAB File Help
cv.BackgroundSubtractorMOG2/apply

Updates the background model and computes the foreground mask

fgmask = bs.apply(im)
fgmask = bs.apply(im, 'OptionName', optionValue, ...)

Input

Output

Options

See also
Method Details
Access public
Sealed false
Static false