All Tools›Image to Text OCR
Image Tools

Image to Text OCR

image-to-text-ocr

Use Image to Text OCR through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDimage-to-text-ocr
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 1Output files 0

Input

Accepted input contract for this Tool.

Kindfile
File count1 – 1
Accepted MIME typesimage/jpeg, image/png, image/webp

Parameters

Pass these values through request.options.

Parameter Type Required Default Allowed / Range Description
language enum Optional eng eng | kor+eng | jpn+eng | chi_sim+eng | chi_tra+eng | vie+eng | spa+eng | por+eng | deu+eng | fra+eng OCR recognition language.

Output

Result contract returned after successful processing.

Typedata
File count0 – 0
MIME typesNone
Metadatalanguage, inputBytes, charCount, lineCount
ZIP archiveNo

Basic usage

Choose a supported integration mode and copy the generated starter code.

Headless

const result = await client.run("image-to-text-ocr", {
  file,
  options: { language: "eng" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "image-to-text-ocr", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.