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

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

Output format for Personal Protective Equipment Detection Operator.

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

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.

↳ detected_persons array<PersonalProtectiveEquipmentDetectionOutput\DetectedPerson>

A list of DetectedPersons.

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

getDetectedPersons

A list of DetectedPersons.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDetectedPersons

A list of DetectedPersons.

Parameter
Name Description
var array<PersonalProtectiveEquipmentDetectionOutput\DetectedPerson>
Returns
Type Description
$this