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

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

The entity info for annotations from person detection prediction result.

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

Namespace

Google \ Cloud \ VisionAI \ V1 \ PersonalProtectiveEquipmentDetectionOutput

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ person_entity_id int|string

Entity id.

getPersonEntityId

Entity id.

Returns
Type Description
int|string

setPersonEntityId

Entity id.

Parameter
Name Description
var int|string
Returns
Type Description
$this