Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class RawImageDescriptor.
The descriptor for a raw image.
Generated from protobuf message google.cloud.visionai.v1.RawImageDescriptor
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ format |
string
Raw image format. Its possible values are: "srgb". |
↳ height |
int
The height of the image. |
↳ width |
int
The width of the image. |
getFormat
Raw image format. Its possible values are: "srgb".
| Returns | |
|---|---|
| Type | Description |
string |
|
setFormat
Raw image format. Its possible values are: "srgb".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHeight
The height of the image.
| Returns | |
|---|---|
| Type | Description |
int |
|
setHeight
The height of the image.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWidth
The width of the image.
| Returns | |
|---|---|
| Type | Description |
int |
|
setWidth
The width of the image.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|