Get
|
|||||
|
|
Gets information associated with a ReferenceImage.
Possible errors:
- Returns NOT_FOUND if the specified image does not exist
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- Apply machine learning models to understand and label images
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
name Required |
STRING |
The resource name of the ReferenceImage to get. Format is:
|
= Parameter name
= Format
name STRING Required The resource name of the ReferenceImage to get. Format is:
|
Output
This building block provides 9 output parameters
Name | Format | Description |
---|---|---|
name |
STRING |
The resource name of the reference image. Format is:
This field is ignored when creating a reference image |
uri |
STRING |
The Google Cloud Storage URI of the reference image. The URI must start with Required |
boundingPolys[] |
OBJECT |
A bounding polygon for the detected image annotation |
boundingPolys[].normalizedVertices[] |
OBJECT |
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1 |
boundingPolys[].normalizedVertices[].y |
FLOAT |
Y coordinate |
boundingPolys[].normalizedVertices[].x |
FLOAT |
X coordinate |
boundingPolys[].vertices[] |
OBJECT |
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image |
boundingPolys[].vertices[].x |
INTEGER |
X coordinate |
boundingPolys[].vertices[].y |
INTEGER |
Y coordinate |
= Parameter name
= Format
name STRING The resource name of the reference image. Format is:
This field is ignored when creating a reference image |
uri STRING The Google Cloud Storage URI of the reference image. The URI must start with Required |
boundingPolys[] OBJECT A bounding polygon for the detected image annotation |
boundingPolys[].normalizedVertices[] OBJECT A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1 |
boundingPolys[].normalizedVertices[].y FLOAT Y coordinate |
boundingPolys[].normalizedVertices[].x FLOAT X coordinate |
boundingPolys[].vertices[] OBJECT A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image |
boundingPolys[].vertices[].x INTEGER X coordinate |
boundingPolys[].vertices[].y INTEGER Y coordinate |