Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::WebDetection::WebEntity (v0.2.0)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::WebDetection::WebEntity.

Entity deduced from similar images on the Internet.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — Canonical description of the entity, in English.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Canonical description of the entity, in English.
Returns
  • (::String) — Canonical description of the entity, in English.

#entity_id

def entity_id() -> ::String
Returns
  • (::String) — Opaque entity ID.

#entity_id=

def entity_id=(value) -> ::String
Parameter
  • value (::String) — Opaque entity ID.
Returns
  • (::String) — Opaque entity ID.

#score

def score() -> ::Float
Returns
  • (::Float) — Overall relevancy score for the entity. Not normalized and not comparable across different image queries.

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — 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.