Class: Google::Cloud::Vision::V1::WebDetection::WebEntity

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

Overview

Entity deduced from similar images on the Internet.

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns Canonical description of the entity, in English.

Returns:

  • (::String)

    Canonical description of the entity, in English.



62
63
64
65
# File 'proto_docs/google/cloud/vision/v1/web_detection.rb', line 62

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

#entity_id::String

Returns Opaque entity ID.

Returns:

  • (::String)

    Opaque entity ID.



62
63
64
65
# File 'proto_docs/google/cloud/vision/v1/web_detection.rb', line 62

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

#score::Float

Returns Overall relevancy score for the entity. Not normalized and not comparable across different image queries.

Returns:

  • (::Float)

    Overall relevancy score for the entity. Not normalized and not comparable across different image queries.



62
63
64
65
# File 'proto_docs/google/cloud/vision/v1/web_detection.rb', line 62

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