Class: Google::Cloud::Vision::V1::LocalizedObjectAnnotation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb

Overview

Set of detected objects with bounding boxes.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_polyGoogle::Cloud::Vision::V1::BoundingPoly

Returns Image region to which this object belongs. This must be populated.

Returns:



390
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 390

class LocalizedObjectAnnotation; end

#language_codeString

Returns The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

Returns:



390
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 390

class LocalizedObjectAnnotation; end

#midString

Returns Object ID that should align with EntityAnnotation mid.

Returns:

  • (String)

    Object ID that should align with EntityAnnotation mid.



390
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 390

class LocalizedObjectAnnotation; end

#nameString

Returns Object name, expressed in its +language_code+ language.

Returns:

  • (String)

    Object name, expressed in its +language_code+ language.



390
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 390

class LocalizedObjectAnnotation; end

#scoreFloat

Returns Score of the result. Range [0, 1].

Returns:

  • (Float)

    Score of the result. Range [0, 1].



390
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 390

class LocalizedObjectAnnotation; end