public interface ImageContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
CropHintsParams |
getCropHintsParams()
Parameters for crop hints annotation request.
|
CropHintsParamsOrBuilder |
getCropHintsParamsOrBuilder()
Parameters for crop hints annotation request.
|
FaceRecognitionParams |
getFaceRecognitionParams()
Parameters for face recognition.
|
FaceRecognitionParamsOrBuilder |
getFaceRecognitionParamsOrBuilder()
Parameters for face recognition.
|
String |
getLanguageHints(int index)
List of languages to use for TEXT_DETECTION.
|
com.google.protobuf.ByteString |
getLanguageHintsBytes(int index)
List of languages to use for TEXT_DETECTION.
|
int |
getLanguageHintsCount()
List of languages to use for TEXT_DETECTION.
|
List<String> |
getLanguageHintsList()
List of languages to use for TEXT_DETECTION.
|
LatLongRect |
getLatLongRect()
Not used.
|
LatLongRectOrBuilder |
getLatLongRectOrBuilder()
Not used.
|
ProductSearchParams |
getProductSearchParams()
Parameters for product search.
|
ProductSearchParamsOrBuilder |
getProductSearchParamsOrBuilder()
Parameters for product search.
|
WebDetectionParams |
getWebDetectionParams()
Parameters for web detection.
|
WebDetectionParamsOrBuilder |
getWebDetectionParamsOrBuilder()
Parameters for web detection.
|
boolean |
hasCropHintsParams()
Parameters for crop hints annotation request.
|
boolean |
hasFaceRecognitionParams()
Parameters for face recognition.
|
boolean |
hasLatLongRect()
Not used.
|
boolean |
hasProductSearchParams()
Parameters for product search.
|
boolean |
hasWebDetectionParams()
Parameters for web detection.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLatLongRect()
Not used.
.google.cloud.vision.v1p4beta1.LatLongRect lat_long_rect = 1;LatLongRect getLatLongRect()
Not used.
.google.cloud.vision.v1p4beta1.LatLongRect lat_long_rect = 1;LatLongRectOrBuilder getLatLongRectOrBuilder()
Not used.
.google.cloud.vision.v1p4beta1.LatLongRect lat_long_rect = 1;List<String> getLanguageHintsList()
List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](/vision/docs/languages).
repeated string language_hints = 2;int getLanguageHintsCount()
List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](/vision/docs/languages).
repeated string language_hints = 2;String getLanguageHints(int index)
List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](/vision/docs/languages).
repeated string language_hints = 2;index - The index of the element to return.com.google.protobuf.ByteString getLanguageHintsBytes(int index)
List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](/vision/docs/languages).
repeated string language_hints = 2;index - The index of the value to return.boolean hasCropHintsParams()
Parameters for crop hints annotation request.
.google.cloud.vision.v1p4beta1.CropHintsParams crop_hints_params = 4;CropHintsParams getCropHintsParams()
Parameters for crop hints annotation request.
.google.cloud.vision.v1p4beta1.CropHintsParams crop_hints_params = 4;CropHintsParamsOrBuilder getCropHintsParamsOrBuilder()
Parameters for crop hints annotation request.
.google.cloud.vision.v1p4beta1.CropHintsParams crop_hints_params = 4;boolean hasFaceRecognitionParams()
Parameters for face recognition.
.google.cloud.vision.v1p4beta1.FaceRecognitionParams face_recognition_params = 10;FaceRecognitionParams getFaceRecognitionParams()
Parameters for face recognition.
.google.cloud.vision.v1p4beta1.FaceRecognitionParams face_recognition_params = 10;FaceRecognitionParamsOrBuilder getFaceRecognitionParamsOrBuilder()
Parameters for face recognition.
.google.cloud.vision.v1p4beta1.FaceRecognitionParams face_recognition_params = 10;boolean hasProductSearchParams()
Parameters for product search.
.google.cloud.vision.v1p4beta1.ProductSearchParams product_search_params = 5;ProductSearchParams getProductSearchParams()
Parameters for product search.
.google.cloud.vision.v1p4beta1.ProductSearchParams product_search_params = 5;ProductSearchParamsOrBuilder getProductSearchParamsOrBuilder()
Parameters for product search.
.google.cloud.vision.v1p4beta1.ProductSearchParams product_search_params = 5;boolean hasWebDetectionParams()
Parameters for web detection.
.google.cloud.vision.v1p4beta1.WebDetectionParams web_detection_params = 6;WebDetectionParams getWebDetectionParams()
Parameters for web detection.
.google.cloud.vision.v1p4beta1.WebDetectionParams web_detection_params = 6;WebDetectionParamsOrBuilder getWebDetectionParamsOrBuilder()
Parameters for web detection.
.google.cloud.vision.v1p4beta1.WebDetectionParams web_detection_params = 6;Copyright © 2020 Google LLC. All rights reserved.