View Source Evision.Utils (Evision v0.1.10)
Link to this section Summary
Types
Type that represents an Evision.Utils
struct.
Functions
Positional Arguments
- argument:
{centre={x, y}, size={s1, s2}, angle}
Return
- retval:
String
Python prototype (for reference):
Positional Arguments
- len:
size_t
Return
- vec:
[int]
Python prototype (for reference):
Positional Arguments
- len:
size_t
- rows:
int
- cols:
int
- dtype:
int
Return
- vec:
[Evision.Mat]
.
Python prototype (for reference):
Positional Arguments
- len:
size_t
- rows:
int
- cols:
int
- dtype:
int
Return
- vec:
[Evision.Mat]
.
Python prototype (for reference):
Positional Arguments
- len:
size_t
Return
- vec:
[Rect]
Python prototype (for reference):
Positional Arguments
- argument:
Evision.Mat
Return
- retval:
Evision.AsyncArray
Python prototype (for reference):
Positional Arguments
- value:
int
Keyword Arguments
- point:
Point
.
Return
- retval:
String
Python prototype (for reference):
Positional Arguments
- argument:
int
Return
- retval:
int
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- positional_argument:
int
Keyword Arguments
- lambda:
int
. - from:
int
.
Return
- retval:
String
Python prototype (for reference):
Positional Arguments
- positional_argument:
int
Keyword Arguments
- lambda:
int
. - from:
int
.
Return
- retval:
String
Python prototype (for reference):
Positional Arguments
- x:
float
- y:
float
- w:
float
- h:
float
- angle:
float
Return
- retval:
{centre={x, y}, size={s1, s2}, angle}
Python prototype (for reference):
Positional Arguments
- x:
float
- y:
float
- w:
float
- h:
float
- angle:
float
Return
- retval:
std::vector<RotatedRect>
Python prototype (for reference):
Link to this section Types
@type t() :: %Evision.Utils{ref: reference()}
Type that represents an Evision.Utils
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
Positional Arguments
- argument:
bool
Return
- retval:
String
Python prototype (for reference):
dumpBool(argument) -> retval
Positional Arguments
- argument:
c_string
Return
- retval:
String
Python prototype (for reference):
dumpCString(argument) -> retval
Positional Arguments
- argument:
double
Return
- retval:
String
Python prototype (for reference):
dumpDouble(argument) -> retval
Positional Arguments
- argument:
float
Return
- retval:
String
Python prototype (for reference):
dumpFloat(argument) -> retval
@spec dumpInputArray(Evision.Mat.maybe_mat_in()) :: binary() | {:error, String.t()}
Positional Arguments
- argument:
Evision.Mat
Return
- retval:
String
Python prototype (for reference):
dumpInputArray(argument) -> retval
@spec dumpInputArrayOfArrays([Evision.Mat.maybe_mat_in()]) :: binary() | {:error, String.t()}
Positional Arguments
- argument:
[Evision.Mat]
Return
- retval:
String
Python prototype (for reference):
dumpInputArrayOfArrays(argument) -> retval
@spec dumpInputOutputArray(Evision.Mat.maybe_mat_in()) :: {binary(), Evision.Mat.t()} | {:error, String.t()}
Return
- retval:
String
- argument:
Evision.Mat
Python prototype (for reference):
dumpInputOutputArray(argument) -> retval, argument
@spec dumpInputOutputArrayOfArrays([Evision.Mat.maybe_mat_in()]) :: {binary(), [Evision.Mat.t()]} | {:error, String.t()}
Return
- retval:
String
- argument:
[Evision.Mat]
Python prototype (for reference):
dumpInputOutputArrayOfArrays(argument) -> retval, argument
Positional Arguments
- argument:
int
Return
- retval:
String
Python prototype (for reference):
dumpInt(argument) -> retval
Positional Arguments
- argument:
Range
Return
- retval:
String
Python prototype (for reference):
dumpRange(argument) -> retval
Positional Arguments
- argument:
Rect
Return
- retval:
String
Python prototype (for reference):
dumpRect(argument) -> retval
@spec dumpRotatedRect({{number(), number()}, {number(), number()}, number()}) :: binary() | {:error, String.t()}
Positional Arguments
- argument:
{centre={x, y}, size={s1, s2}, angle}
Return
- retval:
String
Python prototype (for reference):
dumpRotatedRect(argument) -> retval
Positional Arguments
- argument:
size_t
Return
- retval:
String
Python prototype (for reference):
dumpSizeT(argument) -> retval
Positional Arguments
- argument:
String
Return
- retval:
String
Python prototype (for reference):
dumpString(argument) -> retval
Positional Arguments
- argument:
TermCriteria
Return
- retval:
String
Python prototype (for reference):
dumpTermCriteria(argument) -> retval
Positional Arguments
- vec:
[double]
Return
- retval:
String
Python prototype (for reference):
dumpVectorOfDouble(vec) -> retval
Positional Arguments
- vec:
[int]
Return
- retval:
String
Python prototype (for reference):
dumpVectorOfInt(vec) -> retval
@spec dumpVectorOfRect([{number(), number(), number(), number()}]) :: binary() | {:error, String.t()}
Positional Arguments
- vec:
[Rect]
Return
- retval:
String
Python prototype (for reference):
dumpVectorOfRect(vec) -> retval
Positional Arguments
- len:
size_t
Return
- vec:
[int]
Python prototype (for reference):
generateVectorOfInt(len) -> vec
@spec generateVectorOfMat(integer(), integer(), integer(), integer()) :: [Evision.Mat.t()] | {:error, String.t()}
Positional Arguments
- len:
size_t
- rows:
int
- cols:
int
- dtype:
int
Return
- vec:
[Evision.Mat]
.
Python prototype (for reference):
generateVectorOfMat(len, rows, cols, dtype[, vec]) -> vec
@spec generateVectorOfMat( integer(), integer(), integer(), integer(), [{atom(), term()}, ...] | nil ) :: [Evision.Mat.t()] | {:error, String.t()}
Positional Arguments
- len:
size_t
- rows:
int
- cols:
int
- dtype:
int
Return
- vec:
[Evision.Mat]
.
Python prototype (for reference):
generateVectorOfMat(len, rows, cols, dtype[, vec]) -> vec
@spec generateVectorOfRect(integer()) :: [{number(), number(), number(), number()}] | {:error, String.t()}
Positional Arguments
- len:
size_t
Return
- vec:
[Rect]
Python prototype (for reference):
generateVectorOfRect(len) -> vec
@spec testAsyncArray(Evision.Mat.maybe_mat_in()) :: Evision.AsyncArray.t() | {:error, String.t()}
Positional Arguments
- argument:
Evision.Mat
Return
- retval:
Evision.AsyncArray
Python prototype (for reference):
testAsyncArray(argument) -> retval
@spec testAsyncException() :: Evision.AsyncArray.t() | {:error, String.t()}
Return
- retval:
Evision.AsyncArray
Python prototype (for reference):
testAsyncException() -> retval
@spec testOverloadResolution({number(), number(), number(), number()}) :: binary() | {:error, String.t()}
@spec testOverloadResolution(integer()) :: binary() | {:error, String.t()}
Variant 1:
Positional Arguments
- rect:
Rect
Return
- retval:
String
Python prototype (for reference):
testOverloadResolution(rect) -> retval
Variant 2:
Positional Arguments
- value:
int
Keyword Arguments
- point:
Point
.
Return
- retval:
String
Python prototype (for reference):
testOverloadResolution(value[, point]) -> retval
@spec testOverloadResolution(integer(), [{atom(), term()}, ...] | nil) :: binary() | {:error, String.t()}
Positional Arguments
- value:
int
Keyword Arguments
- point:
Point
.
Return
- retval:
String
Python prototype (for reference):
testOverloadResolution(value[, point]) -> retval
Positional Arguments
- argument:
int
Return
- retval:
int
Python prototype (for reference):
testOverwriteNativeMethod(argument) -> retval
@spec testRaiseGeneralException() :: :ok | {:error, String.t()}
Python prototype (for reference):
testRaiseGeneralException() -> None
Positional Arguments
- positional_argument:
int
Keyword Arguments
- lambda:
int
. - from:
int
.
Return
- retval:
String
Python prototype (for reference):
testReservedKeywordConversion(positional_argument[, lambda[, from]]) -> retval
@spec testReservedKeywordConversion(integer(), [{atom(), term()}, ...] | nil) :: binary() | {:error, String.t()}
Positional Arguments
- positional_argument:
int
Keyword Arguments
- lambda:
int
. - from:
int
.
Return
- retval:
String
Python prototype (for reference):
testReservedKeywordConversion(positional_argument[, lambda[, from]]) -> retval
@spec testRotatedRect(number(), number(), number(), number(), number()) :: {{number(), number()}, {number(), number()}, number()} | {:error, String.t()}
Positional Arguments
- x:
float
- y:
float
- w:
float
- h:
float
- angle:
float
Return
- retval:
{centre={x, y}, size={s1, s2}, angle}
Python prototype (for reference):
testRotatedRect(x, y, w, h, angle) -> retval
@spec testRotatedRectVector(number(), number(), number(), number(), number()) :: [{{number(), number()}, {number(), number()}, number()}] | {:error, String.t()}
Positional Arguments
- x:
float
- y:
float
- w:
float
- h:
float
- angle:
float
Return
- retval:
std::vector<RotatedRect>
Python prototype (for reference):
testRotatedRectVector(x, y, w, h, angle) -> retval