View Source Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple{ ref: reference() }
Type that represents an XImgProc.SelectiveSearchSegmentationStrategyMultiple
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec addStrategy( t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), number() ) :: t() | {:error, String.t()}
Add a new sub-strategy
Positional Arguments
self:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t()
g:
Evision.XImgProc.SelectiveSearchSegmentationStrategy.t()
.The strategy
weight:
float
.The weight of the strategy
Python prototype (for reference only):
addStrategy(g, weight) -> None
@spec clearStrategies(Keyword.t()) :: any() | {:error, String.t()}
@spec clearStrategies(t()) :: t() | {:error, String.t()}
Remove all sub-strategies
Positional Arguments
- self:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t()
Python prototype (for reference only):
clearStrategies() -> None