getMaxScripts

public final int getMaxScripts()

Maximum number of writing scripts to recognize on a page during offline language detection (and the "auto" OCR path). The default, 1, recognizes only the dominant script (no script mixing) — fastest, and the original behavior. Raise it (e.g. 2) to handle cross-script documents such as Cyrillic + Han, where the page is OCR'd with each detected script's model.

Return

The value of the MaxScripts property.