Google Cloud Vision Ai V1 Client - Class ObjectDetectionPredictionResult (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ObjectDetectionPredictionResult.

Prediction output format for Generic Object Detection.

Generated from protobuf message google.cloud.visionai.v1.ObjectDetectionPredictionResult

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ current_time Google\Protobuf\Timestamp

Current timestamp.

↳ identified_boxes array<ObjectDetectionPredictionResult\IdentifiedBox>

A list of identified boxes.

getCurrentTime

Current timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCurrentTime

clearCurrentTime

setCurrentTime

Current timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getIdentifiedBoxes

A list of identified boxes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIdentifiedBoxes

A list of identified boxes.

Parameter
Name Description
var array<ObjectDetectionPredictionResult\IdentifiedBox>
Returns
Type Description
$this