View Source Evision.Parallel (Evision v0.2.9)

Summary

Types

t()

Type that represents an Parallel struct.

Functions

Change OpenCV parallel_for backend

Change OpenCV parallel_for backend

Types

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

Type that represents an Parallel struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

setParallelForBackend(named_args)

View Source
@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
Link to this function

setParallelForBackend(backendName, opts)

View Source
@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