public interface TextDetectionParamsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAdvancedOcrOptions(int index)
public abstract String getAdvancedOcrOptions(int index)
A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
Name | Description |
index | int The index of the element to return. |
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 fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the advancedOcrOptions at the given index. |
getAdvancedOcrOptionsCount()
public abstract int getAdvancedOcrOptionsCount()
A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
Type | Description |
int | The count of advancedOcrOptions. |
getAdvancedOcrOptionsList()
public abstract List<String> getAdvancedOcrOptionsList()
A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
Type | Description |
List<String> | A list containing the advancedOcrOptions. |
getEnableTextDetectionConfidenceScore()
public abstract boolean getEnableTextDetectionConfidenceScore()
By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;
Type | Description |
boolean | The enableTextDetectionConfidenceScore. |