Cloud Video Intelligence V1 Client - Class NormalizedBoundingBox (1.13.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
float

setLeft

Left X coordinate.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTop

Top Y coordinate.

Returns
TypeDescription
float

setTop

Top Y coordinate.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getRight

Right X coordinate.

Returns
TypeDescription
float

setRight

Right X coordinate.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getBottom

Bottom Y coordinate.

Returns
TypeDescription
float

setBottom

Bottom Y coordinate.

Parameter
NameDescription
var float
Returns
TypeDescription
$this