Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ImageContext (v0.6.0)

Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ImageContext.

Image context and/or feature-specific parameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#crop_hints_params

def crop_hints_params() -> ::Google::Cloud::Vision::V1p3beta1::CropHintsParams
Returns

#crop_hints_params=

def crop_hints_params=(value) -> ::Google::Cloud::Vision::V1p3beta1::CropHintsParams
Parameter
Returns

#language_hints

def language_hints() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#language_hints=

def language_hints=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.

#lat_long_rect

def lat_long_rect() -> ::Google::Cloud::Vision::V1p3beta1::LatLongRect

#lat_long_rect=

def lat_long_rect=(value) -> ::Google::Cloud::Vision::V1p3beta1::LatLongRect
Parameter

#product_search_params

def product_search_params() -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchParams
Returns

#product_search_params=

def product_search_params=(value) -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchParams
Parameter
Returns

#text_detection_params

def text_detection_params() -> ::Google::Cloud::Vision::V1p3beta1::TextDetectionParams
Returns

#text_detection_params=

def text_detection_params=(value) -> ::Google::Cloud::Vision::V1p3beta1::TextDetectionParams
Parameter
Returns

#web_detection_params

def web_detection_params() -> ::Google::Cloud::Vision::V1p3beta1::WebDetectionParams
Returns

#web_detection_params=

def web_detection_params=(value) -> ::Google::Cloud::Vision::V1p3beta1::WebDetectionParams
Parameter
Returns