View Source Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple (Evision v0.2.9)

Summary

Types

t()

Type that represents an XImgProc.SelectiveSearchSegmentationStrategyMultiple struct.

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(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

addStrategy(self, g, weight)

View Source
@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
Link to this function

clearStrategies(named_args)

View Source
@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