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 follows the pipeline: it runs when VLM augmentation is disabled (the ICR pipeline relies on OCR for text) and is skipped when VLM augmentation is enabled (the VLM supplies the text). 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.