OcrActivationMode

public enum OcrActivationMode

Controls whether OCR resource loading and OCR-based word detection run inside the ICR image pipeline.

Entries

Link copied to clipboard

OCR runs, with or without VLM augmentation. With the VLM on, OCR reads the whole page and the VLM corrects and completes that read; the VLM alone reads only the regions the layout detector kept, so text outside them, and table content, would otherwise be missing. This is the default.

Link copied to clipboard

OCR always runs, regardless of whether VLM augmentation is enabled.

Link copied to clipboard

OCR never runs, regardless of whether VLM augmentation is enabled.

Functions

Link copied to clipboard
public static OcrActivationMode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<OcrActivationMode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.