View Source Evision.Parallel (Evision v0.2.14)
Summary
Types
@type t() :: %Evision.Parallel{ref: reference()}
Type that represents an Parallel struct.
ref.
reference()The underlying erlang resource variable.
Functions
@spec setParallelForBackend(Keyword.t()) :: any() | {:error, String.t()}
@spec setParallelForBackend(binary()) :: boolean() | {:error, String.t()}
Change OpenCV parallel_for backend
Positional Arguments
- backendName:
string
Keyword Arguments
- propagateNumThreads:
bool.
Return
- retval:
bool
Note: This call is not thread-safe. Consider calling this function from the main() before any other OpenCV processing functions (and without any other created threads).
Python prototype (for reference only):
setParallelForBackend(backendName[, propagateNumThreads]) -> retval
@spec setParallelForBackend(binary(), [{:propagateNumThreads, term()}] | nil) :: boolean() | {:error, String.t()}
Change OpenCV parallel_for backend
Positional Arguments
- backendName:
string
Keyword Arguments
- propagateNumThreads:
bool.
Return
- retval:
bool
Note: This call is not thread-safe. Consider calling this function from the main() before any other OpenCV processing functions (and without any other created threads).
Python prototype (for reference only):
setParallelForBackend(backendName[, propagateNumThreads]) -> retval