class WebDetection_WebEntity extends Message

Entity deduced from similar images on the Internet.

Protobuf type Google\Cloud\Vision\V1\WebDetection\WebEntity

Methods

__construct()

No description

string
getEntityId()

Opaque entity ID.

setEntityId(string $var)

Opaque entity ID.

float
getScore()

Overall relevancy score for the entity.

setScore(float $var)

Overall relevancy score for the entity.

string
getDescription()

Canonical description of the entity, in English.

setDescription(string $var)

Canonical description of the entity, in English.

Details

at line 38
__construct()

at line 49
string getEntityId()

Opaque entity ID.

Generated from protobuf field string entity_id = 1;

Return Value

string

at line 60
setEntityId(string $var)

Opaque entity ID.

Generated from protobuf field string entity_id = 1;

Parameters

string $var

at line 73
float getScore()

Overall relevancy score for the entity.

Not normalized and not comparable across different image queries.

Generated from protobuf field float score = 2;

Return Value

float

at line 85
setScore(float $var)

Overall relevancy score for the entity.

Not normalized and not comparable across different image queries.

Generated from protobuf field float score = 2;

Parameters

float $var

at line 97
string getDescription()

Canonical description of the entity, in English.

Generated from protobuf field string description = 3;

Return Value

string

at line 108
setDescription(string $var)

Canonical description of the entity, in English.

Generated from protobuf field string description = 3;

Parameters

string $var