Class: Google::Cloud::Vision::V1::ImageContext
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Vision::V1::ImageContext
 
 
- Defined in:
 - lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb
 
Overview
Image context and/or feature-specific parameters.
Instance Attribute Summary collapse
- 
  
    
      #crop_hints_params  ⇒ Google::Cloud::Vision::V1::CropHintsParams 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Parameters for crop hints annotation request.
 - 
  
    
      #language_hints  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of languages to use for TEXT_DETECTION.
 - 
  
    
      #lat_long_rect  ⇒ Google::Cloud::Vision::V1::LatLongRect 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Lat/long rectangle that specifies the location of the image.
 
Instance Attribute Details
#crop_hints_params ⇒ Google::Cloud::Vision::V1::CropHintsParams
Returns Parameters for crop hints annotation request.
      455  | 
    
      # File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 455 class ImageContext; end  | 
  
#language_hints ⇒ Array<String>
Returns 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 languages[https://cloud.google.com/vision/docs/languages].
      455  | 
    
      # File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 455 class ImageContext; end  | 
  
#lat_long_rect ⇒ Google::Cloud::Vision::V1::LatLongRect
Returns lat/long rectangle that specifies the location of the image.
      455  | 
    
      # File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 455 class ImageContext; end  |