Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class NormalizedBoundingBox.
Bounding Box in the normalized coordinates.
Generated from protobuf message google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox
Namespace
Google \ Cloud \ VisionAI \ V1 \ PersonalProtectiveEquipmentDetectionOutputMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ xmin |
float
Min in x coordinate. |
↳ ymin |
float
Min in y coordinate. |
↳ width |
float
Width of the bounding box. |
↳ height |
float
Height of the bounding box. |
getXmin
Min in x coordinate.
| Returns | |
|---|---|
| Type | Description |
float |
|
setXmin
Min in x coordinate.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getYmin
Min in y coordinate.
| Returns | |
|---|---|
| Type | Description |
float |
|
setYmin
Min in y coordinate.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWidth
Width of the bounding box.
| Returns | |
|---|---|
| Type | Description |
float |
|
setWidth
Width of the bounding box.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHeight
Height of the bounding box.
| Returns | |
|---|---|
| Type | Description |
float |
|
setHeight
Height of the bounding box.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|