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 \ PersonalProtectiveEquipmentDetectionOutputMethods
__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 |
|