Reference documentation and code samples for the Cloud Video Intelligence V1 Client class NormalizedBoundingBox.
Normalized bounding box.
The normalized vertex coordinates are relative to the original image. Range: [0, 1].
Generated from protobuf message google.cloud.videointelligence.v1.NormalizedBoundingBox
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ left |
float
Left X coordinate. |
↳ top |
float
Top Y coordinate. |
↳ right |
float
Right X coordinate. |
↳ bottom |
float
Bottom Y coordinate. |
getLeft
Left X coordinate.
Returns | |
---|---|
Type | Description |
float |
setLeft
Left X coordinate.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getTop
Top Y coordinate.
Returns | |
---|---|
Type | Description |
float |
setTop
Top Y coordinate.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getRight
Right X coordinate.
Returns | |
---|---|
Type | Description |
float |
setRight
Right X coordinate.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getBottom
Bottom Y coordinate.
Returns | |
---|---|
Type | Description |
float |
setBottom
Bottom Y coordinate.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |