View Source Evision.Parallel (Evision v0.1.34)
Summary
Types
@type t() :: %Evision.Parallel{ref: reference()}
Type that represents an Parallel
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
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(), [{atom(), 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