Modules
Runs Pulsar2 models (.axmodel) on the NPU of Axera AX620E chips, through
the open ax620e-npu driver and an open runtime: no vendor libraries.
A model loaded onto the NPU, from AxeraNPU.load/1, with its inputs and
outputs in order. It holds NPU memory until it is garbage collected.
Finds and reads the lines of text in an image with PP-OCR models on the
NPU: a DB detector (ch_PP_OCRv3_det at 640 × 480) and a CTC recognizer
(ch_PP_OCRv4_rec at 320 × 48), with the recognizer's dictionary.
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).
An input or output of a model: its name, its type and shape as Nx writes
them ({:u, 8}, {1, 224, 224, 3}), and its size in bytes.