Skip to content

OCR Get Available Languages

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

Returns the list of Tesseract language codes available in the package (e.g. eng, spa). Useful to verify, before processing, that the language you need is installed.

Queries the installed languages and returns them as a list of codes.

Ninguno.

Ninguno.

Returns a List of language codes (e.g. ["eng", "spa"]).

OCR Get Available Languages → output: idiomas
If condition = = !idiomas.Contains("spa")
└─ then:
Throw message = "El idioma 'spa' no está disponible para OCR en este agente"