View Source Evision.DNN.TextDetectionModel (Evision v0.1.15)

Link to this section Summary

Types

t()

Type that represents an Evision.DNN.TextDetectionModel struct.

Functions

Positional Arguments
Return
  • detections: [[Point]]

Has overloading in C++

Positional Arguments
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
Return
  • detections: [[Point]]

Has overloading in C++

Python prototype (for reference):

detect(frame) -> detections
Link to this function

detectTextRectangles(self, frame)

View Source
@spec detectTextRectangles(t(), Evision.Mat.maybe_mat_in()) ::
  [{{number(), number()}, {number(), number()}, number()}]
  | {:error, String.t()}
Positional Arguments
Return
  • detections: [{centre={x, y}, size={s1, s2}, angle}]

Has overloading in C++

Python prototype (for reference):

detectTextRectangles(frame) -> detections