Reference documentation and code samples for the Cloud AutoML V1 Client class ImageObjectDetectionAnnotation.
Annotation details for image object detection.
Generated from protobuf message google.cloud.automl.v1.ImageObjectDetectionAnnotation
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bounding_box
↳ score
float
Output only. The confidence that this annotation is positive for the parent example, value in [0, 1], higher means higher positivity confidence.
getBoundingBox
Output only. The rectangle representing the object location.
hasBoundingBox
clearBoundingBox
setBoundingBox
Output only. The rectangle representing the object location.
$this
getScore
Output only. The confidence that this annotation is positive for the parent example, value in [0, 1], higher means higher positivity confidence.
float
setScore
Output only. The confidence that this annotation is positive for the parent example, value in [0, 1], higher means higher positivity confidence.
var
float
$this