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.
|
java.lang.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.
|
java.util.List<java.lang.String> |
getLanguageHintsList()
List of languages to use for TEXT_DETECTION.
|
LatLongRect |
getLatLongRect()
lat/long rectangle that specifies the location of the image.
|
LatLongRectOrBuilder |
getLatLongRectOrBuilder()
lat/long rectangle that specifies the location of the image.
|
boolean |
hasCropHintsParams()
Parameters for crop hints annotation request.
|
boolean |
hasLatLongRect()
lat/long rectangle that specifies the location of the image.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLatLongRect()
lat/long rectangle that specifies the location of the image.
.google.cloud.vision.v1.LatLongRect lat_long_rect = 1;LatLongRect getLatLongRect()
lat/long rectangle that specifies the location of the image.
.google.cloud.vision.v1.LatLongRect lat_long_rect = 1;LatLongRectOrBuilder getLatLongRectOrBuilder()
lat/long rectangle that specifies the location of the image.
.google.cloud.vision.v1.LatLongRect lat_long_rect = 1;java.util.List<java.lang.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;java.lang.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;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;boolean hasCropHintsParams()
Parameters for crop hints annotation request.
.google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;CropHintsParams getCropHintsParams()
Parameters for crop hints annotation request.
.google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;CropHintsParamsOrBuilder getCropHintsParamsOrBuilder()
Parameters for crop hints annotation request.
.google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;