public final class GoogleCloudVisionV1p2beta1TextDetectionParams
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| GoogleCloudVisionV1p2beta1TextDetectionParams() | 
| Modifier and Type | Method and Description | 
|---|---|
| GoogleCloudVisionV1p2beta1TextDetectionParams | clone() | 
| List<String> | getAdvancedOcrOptions()A list of advanced OCR options to further fine-tune OCR behavior. | 
| Boolean | getEnableTextDetectionConfidenceScore()By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. | 
| GoogleCloudVisionV1p2beta1TextDetectionParams | set(String fieldName,
   Object value) | 
| GoogleCloudVisionV1p2beta1TextDetectionParams | setAdvancedOcrOptions(List<String> advancedOcrOptions)A list of advanced OCR options to further fine-tune OCR behavior. | 
| GoogleCloudVisionV1p2beta1TextDetectionParams | setEnableTextDetectionConfidenceScore(Boolean enableTextDetectionConfidenceScore)By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudVisionV1p2beta1TextDetectionParams()
public List<String> getAdvancedOcrOptions()
null for nonepublic GoogleCloudVisionV1p2beta1TextDetectionParams setAdvancedOcrOptions(List<String> advancedOcrOptions)
advancedOcrOptions - advancedOcrOptions or null for nonepublic Boolean getEnableTextDetectionConfidenceScore()
null for nonepublic GoogleCloudVisionV1p2beta1TextDetectionParams setEnableTextDetectionConfidenceScore(Boolean enableTextDetectionConfidenceScore)
enableTextDetectionConfidenceScore - enableTextDetectionConfidenceScore or null for nonepublic GoogleCloudVisionV1p2beta1TextDetectionParams set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudVisionV1p2beta1TextDetectionParams clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.