Class: Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/product_search.rb

Overview

Prediction for what the object in the bounding box is.

Instance Attribute Summary collapse

Instance Attribute Details

#language_code::String

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:



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 110

class ObjectAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mid::String

Returns Object ID that should align with EntityAnnotation mid.

Returns:

  • (::String)

    Object ID that should align with EntityAnnotation mid.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 110

class ObjectAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Object name, expressed in its language_code language.

Returns:

  • (::String)

    Object name, expressed in its language_code language.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 110

class ObjectAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Float

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

Returns:

  • (::Float)

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



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 110

class ObjectAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end