Interface OcrConfigOrBuilder (2.15.0)

public interface OcrConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvancedOcrOptions(int index)

public abstract String getAdvancedOcrOptions(int index)

A list of advanced OCR options to further fine-tune OCR behavior.

repeated string advanced_ocr_options = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The advancedOcrOptions at the given index.

getAdvancedOcrOptionsBytes(int index)

public abstract ByteString getAdvancedOcrOptionsBytes(int index)

A list of advanced OCR options to further fine-tune OCR behavior.

repeated string advanced_ocr_options = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the advancedOcrOptions at the given index.

getAdvancedOcrOptionsCount()

public abstract int getAdvancedOcrOptionsCount()

A list of advanced OCR options to further fine-tune OCR behavior.

repeated string advanced_ocr_options = 5;

Returns
Type Description
int

The count of advancedOcrOptions.

getAdvancedOcrOptionsList()

public abstract List<String> getAdvancedOcrOptionsList()

A list of advanced OCR options to further fine-tune OCR behavior.

repeated string advanced_ocr_options = 5;

Returns
Type Description
List<String>

A list containing the advancedOcrOptions.

getEnableNativePdfParsing()

public abstract boolean getEnableNativePdfParsing()

Enables special handling for PDFs with existing text information. Results in better text extraction quality in such PDF inputs.

bool enable_native_pdf_parsing = 3;

Returns
Type Description
boolean

The enableNativePdfParsing.