Reference documentation and code samples for the Cloud Vision V1 Client class LocalizedObjectAnnotation.
Set of detected objects with bounding boxes.
Generated from protobuf message google.cloud.vision.v1.LocalizedObjectAnnotation
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mid
string
Object ID that should align with EntityAnnotation mid.
↳ language_code
string
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 .
↳ name
string
Object name, expressed in its language_code
language.
↳ score
float
Score of the result. Range [0, 1].
↳ bounding_poly
getMid
Object ID that should align with EntityAnnotation mid.
string
setMid
Object ID that should align with EntityAnnotation mid.
var
string
$this
getLanguageCode
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 .
string
setLanguageCode
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 .
var
string
$this
getName
Object name, expressed in its language_code
language.
string
setName
Object name, expressed in its language_code
language.
var
string
$this
getScore
Score of the result. Range [0, 1].
float
setScore
Score of the result. Range [0, 1].
var
float
$this
getBoundingPoly
Image region to which this object belongs. This must be populated.
hasBoundingPoly
clearBoundingPoly
setBoundingPoly
Image region to which this object belongs. This must be populated.
$this

