View Source Evision.BgSegm.BackgroundSubtractorMOG (Evision v0.2.7)
Summary
Functions
getBackgroundRatio
getHistory
getNMixtures
getNoiseSigma
setBackgroundRatio
setHistory
setNMixtures
setNoiseSigma
Types
@type t() :: %Evision.BgSegm.BackgroundSubtractorMOG{ref: reference()}
Type that represents an BgSegm.BackgroundSubtractorMOG
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec getBackgroundRatio(Keyword.t()) :: any() | {:error, String.t()}
@spec getBackgroundRatio(t()) :: number() | {:error, String.t()}
getBackgroundRatio
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
Return
- retval:
double
Python prototype (for reference only):
getBackgroundRatio() -> retval
@spec getHistory(Keyword.t()) :: any() | {:error, String.t()}
@spec getHistory(t()) :: integer() | {:error, String.t()}
getHistory
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
Return
- retval:
integer()
Python prototype (for reference only):
getHistory() -> retval
@spec getNMixtures(Keyword.t()) :: any() | {:error, String.t()}
@spec getNMixtures(t()) :: integer() | {:error, String.t()}
getNMixtures
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
Return
- retval:
integer()
Python prototype (for reference only):
getNMixtures() -> retval
@spec getNoiseSigma(Keyword.t()) :: any() | {:error, String.t()}
@spec getNoiseSigma(t()) :: number() | {:error, String.t()}
getNoiseSigma
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
Return
- retval:
double
Python prototype (for reference only):
getNoiseSigma() -> retval
setBackgroundRatio
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
- backgroundRatio:
double
Python prototype (for reference only):
setBackgroundRatio(backgroundRatio) -> None
setHistory
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
- nframes:
integer()
Python prototype (for reference only):
setHistory(nframes) -> None
setNMixtures
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
- nmix:
integer()
Python prototype (for reference only):
setNMixtures(nmix) -> None
setNoiseSigma
Positional Arguments
- self:
Evision.BgSegm.BackgroundSubtractorMOG.t()
- noiseSigma:
double
Python prototype (for reference only):
setNoiseSigma(noiseSigma) -> None