View Source Evision.Detail.ImageFeatures (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.ImageFeatures struct.

Link to this section Types

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

Type that represents an Evision.Detail.ImageFeatures struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec get_descriptors(t()) :: Evision.Mat.t()
@spec get_img_idx(t()) :: integer()
@spec get_img_size(t()) :: {number(), number()}
@spec get_keypoints(t()) :: [Evision.KeyPoint.t()]
@spec getKeypoints(t()) :: [Evision.KeyPoint.t()] | {:error, String.t()}

getKeypoints

Positional Arguments
  • self: Evision.Detail.ImageFeatures.t()
Return
  • retval: std::vector<KeyPoint>

Python prototype (for reference only):

getKeypoints() -> retval
Link to this function

set_descriptors(self, prop)

View Source
@spec set_descriptors(t(), Evision.Mat.maybe_mat_in()) :: t()
@spec set_img_idx(t(), integer()) :: t()
Link to this function

set_img_size(self, prop)

View Source
@spec set_img_size(
  t(),
  {number(), number()}
) :: t()
Link to this function

set_keypoints(self, prop)

View Source
@spec set_keypoints(t(), [Evision.KeyPoint.t()]) :: t()