View Source Evision.XImgProc.Segmentation.SelectiveSearchSegmentationStrategyMultiple (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an XImgProc.Segmentation.SelectiveSearchSegmentationStrategyMultiple struct.

Functions

Add a new sub-strategy

Remove all sub-strategies

Link to this section Types

@type t() ::
  %Evision.XImgProc.Segmentation.SelectiveSearchSegmentationStrategyMultiple{
    ref: reference()
  }

Type that represents an XImgProc.Segmentation.SelectiveSearchSegmentationStrategyMultiple struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

addStrategy(self, g, weight)

View Source
@spec addStrategy(
  Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t(),
  Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(),
  number()
) ::
  Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t()
  | {:error, String.t()}

Add a new sub-strategy

Positional Arguments
  • self: Evision.XImgProc.Segmentation.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(
  Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t()
) ::
  Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t()
  | {:error, String.t()}

Remove all sub-strategies

Positional Arguments
  • self: Evision.XImgProc.Segmentation.SelectiveSearchSegmentationStrategyMultiple.t()

Python prototype (for reference only):

clearStrategies() -> None