com.google.cloud.vision.v1.TextDetectionParamsOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.vision.v1;
public interface TextDetectionParamsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.TextDetectionParams)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return The enableTextDetectionConfidenceScore.
*/
boolean getEnableTextDetectionConfidenceScore();
/**
*
*
*
* A list of advanced OCR options to further fine-tune OCR behavior.
* Current valid values are:
*
* - `legacy_layout`: a heuristics layout detection algorithm, which serves as
* an alternative to the current ML-based layout detection algorithm.
* Customers can choose the best suitable layout algorithm based on their
* situation.
*
*
* repeated string advanced_ocr_options = 11;
*
* @return A list containing the advancedOcrOptions.
*/
java.util.List getAdvancedOcrOptionsList();
/**
*
*
*
* A list of advanced OCR options to further fine-tune OCR behavior.
* Current valid values are:
*
* - `legacy_layout`: a heuristics layout detection algorithm, which serves as
* an alternative to the current ML-based layout detection algorithm.
* Customers can choose the best suitable layout algorithm based on their
* situation.
*
*
* repeated string advanced_ocr_options = 11;
*
* @return The count of advancedOcrOptions.
*/
int getAdvancedOcrOptionsCount();
/**
*
*
*
* A list of advanced OCR options to further fine-tune OCR behavior.
* Current valid values are:
*
* - `legacy_layout`: a heuristics layout detection algorithm, which serves as
* an alternative to the current ML-based layout detection algorithm.
* Customers can choose the best suitable layout algorithm based on their
* situation.
*
*
* repeated string advanced_ocr_options = 11;
*
* @param index The index of the element to return.
* @return The advancedOcrOptions at the given index.
*/
java.lang.String getAdvancedOcrOptions(int index);
/**
*
*
*
* A list of advanced OCR options to further fine-tune OCR behavior.
* Current valid values are:
*
* - `legacy_layout`: a heuristics layout detection algorithm, which serves as
* an alternative to the current ML-based layout detection algorithm.
* Customers can choose the best suitable layout algorithm based on their
* situation.
*
*
* repeated string advanced_ocr_options = 11;
*
* @param index The index of the value to return.
* @return The bytes of the advancedOcrOptions at the given index.
*/
com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy