GetLiveText

Returns the text found in the image of the specified container field using the text-recognition algorithm.

Format 

GetLiveText ( container ; language )

Parameters 

container - any expression that returns container data.

language - the language code of the text-recognition algorithm to use (see below).

Data type returned 

text

Originated in version 

19.5.1

Description 

Use this function to capture the text found in the image in the specified container field using the text-recognition algorithm, starting with iOS 15.0, iPadOS 15.0, and macOS 12.0.

For language, use one of the following language codes to specify the text-recognition algorithm:

  • "en-US"

  • "fr-FR"

  • "it-IT"

  • "de-DE"

  • "es-ES"

  • "pt-BR"

  • "zh-Hans"

Example 1 

In the InvoiceText field, stores the text extracted from the image in the InvoiceContainer field using the en-US text-recognition algorithm.

Copy
Set Field [Invoices::InvoiceText ; GetLiveText ( Invoices::InvoiceContainer ; "en-US" )]