opencv-extra-0.2.0.1: Haskell binding to OpenCV-3.x extra modules

Safe HaskellNone
LanguageHaskell2010

OpenCV.Extra.Bgsegm

Contents

Description

Two additional background subtraction algorithms. These algorithms do not support getBackgroundImage (and probably never will).

Synopsis

Background subtractors

newBackgroundSubtractorGMG Source #

Arguments

:: PrimMonad m 
=> Maybe Int32

Number of frames used to initialize the background models.

-> Maybe Double

Threshold value, above which it is marked foreground, else background.

-> m (BackgroundSubtractorGMG (PrimState m)) 

newBackgroundSubtractorMOG Source #

Arguments

:: PrimMonad m 
=> Maybe Int32

Length of the history.

-> Maybe Int32

Number of Gaussian mixtures.

-> Maybe Double

Background ratio.

-> Maybe Double

Noise strength (standard deviation of the brightness or each color channel). 0 means some automatic value.

-> m (BackgroundSubtractorMOG (PrimState m))