Skip to content

OCR Get Lines

Type: ocr-get-lines  ·  Package: OCR Activities v1.0.0  ·  Output: List

Recognizes text from an image and returns a structured list of lines, each with its own words and the coordinates (bounding box) of each element. It is the “detailed” version of OCR: instead of a block of text, it gives you the position of each line and word, useful for layout analysis or to locate data spatially.

Runs OCR on the image and returns the detected lines with their words and coordinates. For most cases OCR Recognize File (plain text) is sufficient; use Get Lines when position matters.

ParameterEditorDescription
pathexpressionImage file path.
ParameterEditorDescription
languageexpressionLanguage code: eng (def.) · spa · eng+spa.

Returns a List of lines; Each line includes its text, its words and the coordinates (box) of each one.

OCR Get Lines path = = rutaImagen language = "spa" → output: lineas
Log message = = "Líneas detectadas: " + count(lineas)