AxeraNPU.OCR.Line (axera_npu v0.2.0)

Copy Markdown View Source

A line of text found in an image: its text, its box {x0, y0, x1, y1} (inclusive pixel coordinates), the detector's score for the box and the recognizer's confidence in the text (both from 0 to 1).

Summary

Types

t()

@type t() :: %AxeraNPU.OCR.Line{
  box:
    {non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer()},
  confidence: float(),
  score: float(),
  text: String.t()
}