View Source Evision.Saliency.StaticSaliencyFineGrained (Evision v0.2.9)

Summary

Types

t()

Type that represents an Saliency.StaticSaliencyFineGrained struct.

Types

@type t() :: %Evision.Saliency.StaticSaliencyFineGrained{ref: reference()}

Type that represents an Saliency.StaticSaliencyFineGrained struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

computeSaliency(named_args)

View Source
@spec computeSaliency(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

computeSaliency(self, image)

View Source
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in()) ::
  Evision.Mat.t() | false | {:error, String.t()}

computeSaliency

Positional Arguments
  • self: Evision.Saliency.StaticSaliencyFineGrained.t()
  • image: Evision.Mat
Return
  • retval: bool
  • saliencyMap: Evision.Mat.t().

Python prototype (for reference only):

computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
Link to this function

computeSaliency(self, image, opts)

View Source
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | false | {:error, String.t()}

computeSaliency

Positional Arguments
  • self: Evision.Saliency.StaticSaliencyFineGrained.t()
  • image: Evision.Mat
Return
  • retval: bool
  • saliencyMap: Evision.Mat.t().

Python prototype (for reference only):

computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
@spec create() :: t() | {:error, String.t()}

create

Return
  • retval: StaticSaliencyFineGrained

Python prototype (for reference only):

create() -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}