View Source Evision.DNN.TextDetectionModel (Evision v0.1.10)
Link to this section Summary
Types
Type that represents an Evision.DNN.TextDetectionModel
struct.
Functions
Positional Arguments
- frame:
Evision.Mat
Return
- detections:
[{centre={x, y}, size={s1, s2}, angle}]
Has overloading in C++
Link to this section Types
@type t() :: %Evision.DNN.TextDetectionModel{ref: reference()}
Type that represents an Evision.DNN.TextDetectionModel
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec detect(t(), Evision.Mat.maybe_mat_in()) :: [[{number(), number()}]] | {:error, String.t()}
Positional Arguments
- frame:
Evision.Mat
Return
- detections:
[[Point]]
Has overloading in C++
Python prototype (for reference):
detect(frame) -> detections
@spec detectTextRectangles(t(), Evision.Mat.maybe_mat_in()) :: [{{number(), number()}, {number(), number()}, number()}] | {:error, String.t()}
Positional Arguments
- frame:
Evision.Mat
Return
- detections:
[{centre={x, y}, size={s1, s2}, angle}]
Has overloading in C++
Python prototype (for reference):
detectTextRectangles(frame) -> detections