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

Link to this section Summary

Types

t()

Type that represents an Saliency.StaticSaliencyFineGrained struct.

Link to this section Types

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

Type that represents an Saliency.StaticSaliencyFineGrained struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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.t()
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.t()
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