View Source Evision.VideoIORegistry (Evision v0.2.9)

Summary

Types

t()

Type that represents an VideoIORegistry struct.

Functions

Returns backend API name or "UnknownVideoAPI(xxx)"

Returns list of all available backends

Returns description and ABI/API version of videoio plugin's camera interface

Returns list of available backends which works via cv::VideoCapture(int index)

Returns description and ABI/API version of videoio plugin's stream capture interface

Returns list of available backends which works via cv::VideoCapture(filename)

Returns description and ABI/API version of videoio plugin's writer interface

Returns list of available backends which works via cv::VideoWriter()

Returns true if backend is available

Returns true if backend is built in (false if backend is used as plugin)

Types

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

Type that represents an VideoIORegistry struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getBackendName(named_args)

View Source
@spec getBackendName(Keyword.t()) :: any() | {:error, String.t()}
@spec getBackendName(Evision.VideoCaptureAPIs.enum()) ::
  binary() | {:error, String.t()}

Returns backend API name or "UnknownVideoAPI(xxx)"

Positional Arguments
  • api: VideoCaptureAPIs.

    backend ID (#VideoCaptureAPIs)

Return

Python prototype (for reference only):

getBackendName(api) -> retval
@spec getBackends() :: [Evision.VideoCaptureAPIs.enum()] | {:error, String.t()}

Returns list of all available backends

Return
  • retval: [VideoCaptureAPIs]

Python prototype (for reference only):

getBackends() -> retval
@spec getBackends(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

getCameraBackendPluginVersion(named_args)

View Source
@spec getCameraBackendPluginVersion(Keyword.t()) :: any() | {:error, String.t()}
@spec getCameraBackendPluginVersion(Evision.VideoCaptureAPIs.enum()) ::
  {binary(), integer(), integer()} | {:error, String.t()}

Returns description and ABI/API version of videoio plugin's camera interface

Positional Arguments
  • api: VideoCaptureAPIs
Return
  • retval: string
  • version_ABI: integer()
  • version_API: integer()

Python prototype (for reference only):

getCameraBackendPluginVersion(api) -> retval, version_ABI, version_API
@spec getCameraBackends() :: [Evision.VideoCaptureAPIs.enum()] | {:error, String.t()}

Returns list of available backends which works via cv::VideoCapture(int index)

Return
  • retval: [VideoCaptureAPIs]

Python prototype (for reference only):

getCameraBackends() -> retval
Link to this function

getCameraBackends(named_args)

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

getStreamBackendPluginVersion(named_args)

View Source
@spec getStreamBackendPluginVersion(Keyword.t()) :: any() | {:error, String.t()}
@spec getStreamBackendPluginVersion(Evision.VideoCaptureAPIs.enum()) ::
  {binary(), integer(), integer()} | {:error, String.t()}

Returns description and ABI/API version of videoio plugin's stream capture interface

Positional Arguments
  • api: VideoCaptureAPIs
Return
  • retval: string
  • version_ABI: integer()
  • version_API: integer()

Python prototype (for reference only):

getStreamBackendPluginVersion(api) -> retval, version_ABI, version_API
@spec getStreamBackends() :: [Evision.VideoCaptureAPIs.enum()] | {:error, String.t()}

Returns list of available backends which works via cv::VideoCapture(filename)

Return
  • retval: [VideoCaptureAPIs]

Python prototype (for reference only):

getStreamBackends() -> retval
Link to this function

getStreamBackends(named_args)

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

getWriterBackendPluginVersion(named_args)

View Source
@spec getWriterBackendPluginVersion(Keyword.t()) :: any() | {:error, String.t()}
@spec getWriterBackendPluginVersion(Evision.VideoCaptureAPIs.enum()) ::
  {binary(), integer(), integer()} | {:error, String.t()}

Returns description and ABI/API version of videoio plugin's writer interface

Positional Arguments
  • api: VideoCaptureAPIs
Return
  • retval: string
  • version_ABI: integer()
  • version_API: integer()

Python prototype (for reference only):

getWriterBackendPluginVersion(api) -> retval, version_ABI, version_API
@spec getWriterBackends() :: [Evision.VideoCaptureAPIs.enum()] | {:error, String.t()}

Returns list of available backends which works via cv::VideoWriter()

Return
  • retval: [VideoCaptureAPIs]

Python prototype (for reference only):

getWriterBackends() -> retval
Link to this function

getWriterBackends(named_args)

View Source
@spec getWriterBackends(Keyword.t()) :: any() | {:error, String.t()}
@spec hasBackend(Keyword.t()) :: any() | {:error, String.t()}
@spec hasBackend(Evision.VideoCaptureAPIs.enum()) :: boolean() | {:error, String.t()}

Returns true if backend is available

Positional Arguments
  • api: VideoCaptureAPIs
Return
  • retval: bool

Python prototype (for reference only):

hasBackend(api) -> retval
Link to this function

isBackendBuiltIn(named_args)

View Source
@spec isBackendBuiltIn(Keyword.t()) :: any() | {:error, String.t()}
@spec isBackendBuiltIn(Evision.VideoCaptureAPIs.enum()) ::
  boolean() | {:error, String.t()}

Returns true if backend is built in (false if backend is used as plugin)

Positional Arguments
  • api: VideoCaptureAPIs
Return
  • retval: bool

Python prototype (for reference only):

isBackendBuiltIn(api) -> retval