View Source Evision.VideoIORegistry (Evision v0.2.9)
Summary
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
@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
- retval:
String
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 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
@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
@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
@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
@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