Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Entity.
The entity info for annotations from occupancy counting operator.
Generated from protobuf message google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity
Namespace
Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ label_id |
int|string
Label id. |
↳ label_string |
string
Human readable string of the label. |
getLabelId
Label id.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setLabelId
Label id.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabelString
Human readable string of the label.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLabelString
Human readable string of the label.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|