View Source Evision.LineMod.Match (Evision v0.2.9)

Summary

Types

t()

Type that represents an LineMod.Match struct.

Types

@type t() :: %Evision.LineMod.Match{ref: reference()}

Type that represents an LineMod.Match struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec get_class_id(t()) :: binary()
@spec get_similarity(t()) :: number()
@spec get_template_id(t()) :: integer()
@spec get_x(t()) :: integer()
@spec get_y(t()) :: integer()
@spec match() :: t() | {:error, String.t()}

Match

Return
  • self: Match

Python prototype (for reference only):

Match() -> <linemod_Match object>
@spec match(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

match(x, y, similarity, class_id, template_id)

View Source
@spec match(integer(), integer(), number(), binary(), integer()) ::
  t() | {:error, String.t()}

Match

Positional Arguments
  • x: integer()
  • y: integer()
  • similarity: float
  • class_id: String
  • template_id: integer()
Return
  • self: Match

Python prototype (for reference only):

Match(x, y, similarity, class_id, template_id) -> <linemod_Match object>
Link to this function

set_class_id(self, prop)

View Source
@spec set_class_id(t(), binary()) :: t()
Link to this function

set_similarity(self, prop)

View Source
@spec set_similarity(t(), number()) :: t()
Link to this function

set_template_id(self, prop)

View Source
@spec set_template_id(t(), integer()) :: t()
@spec set_x(t(), integer()) :: t()
@spec set_y(t(), integer()) :: t()