View Source Evision.Detail.Estimator (Evision v0.2.9)

Summary

Types

t()

Type that represents an Detail.Estimator struct.

Types

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

Type that represents an Detail.Estimator struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

apply(self, features, pairwise_matches, cameras)

View Source

Estimates camera parameters.

Positional Arguments
  • self: Evision.Detail.Estimator.t()

  • features: [Evision.Detail.ImageFeatures].

    Features of images

  • pairwise_matches: [Evision.Detail.MatchesInfo].

    Pairwise matches of images

Return
  • retval: bool

  • cameras: [Evision.Detail.CameraParams].

    Estimated camera parameters

@return True in case of success, false otherwise

Python prototype (for reference only):

apply(features, pairwise_matches, cameras) -> retval, cameras