public interface ImageContextOrBuilder extends 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.
|
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.
|
WebDetectionParams |
getWebDetectionParams()
Parameters for web detection.
|
WebDetectionParamsOrBuilder |
getWebDetectionParamsOrBuilder()
Parameters for web detection.
|
boolean |
hasCropHintsParams()
Parameters for crop hints annotation request.
|
boolean |
hasLatLongRect()
lat/long rectangle that specifies the location of the image.
|
boolean |
hasWebDetectionParams()
Parameters for web detection.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean 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;
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;
boolean hasWebDetectionParams()
Parameters for web detection.
.google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;
WebDetectionParams getWebDetectionParams()
Parameters for web detection.
.google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;
WebDetectionParamsOrBuilder getWebDetectionParamsOrBuilder()
Parameters for web detection.
.google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;