View Source Evision.DMatch (Evision v0.1.38)

Summary

Types

t()

Type that represents an DMatch struct.

Types

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

Type that represents an DMatch struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec dMatcher() :: t() | {:error, String.t()}

DMatch

Return
  • self: Evision.DMatch.t()

Python prototype (for reference only):

DMatch() -> <DMatch object>
Link to this function

dMatcher(queryIdx, trainIdx, distance)

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

DMatch

Positional Arguments
  • queryIdx: int
  • trainIdx: int
  • distance: float
Return
  • self: Evision.DMatch.t()

Python prototype (for reference only):

DMatch(_queryIdx, _trainIdx, _distance) -> <DMatch object>
Link to this function

dMatcher(queryIdx, trainIdx, imgIdx, distance)

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

DMatch

Positional Arguments
  • queryIdx: int
  • trainIdx: int
  • imgIdx: int
  • distance: float
Return
  • self: Evision.DMatch.t()

Python prototype (for reference only):

DMatch(_queryIdx, _trainIdx, _imgIdx, _distance) -> <DMatch object>
@spec get_distance(t()) :: number()
@spec get_imgIdx(t()) :: integer()
@spec get_queryIdx(t()) :: integer()
@spec get_trainIdx(t()) :: integer()
Link to this function

set_distance(self, prop)

View Source
@spec set_distance(t(), number()) :: t()
@spec set_imgIdx(t(), integer()) :: t()
Link to this function

set_queryIdx(self, prop)

View Source
@spec set_queryIdx(t(), integer()) :: t()
Link to this function

set_trainIdx(self, prop)

View Source
@spec set_trainIdx(t(), integer()) :: t()