A bounding polygon for the detected image annotation.
JSON representation |
---|
{ "vertices": [ { object ( |
Fields | |
---|---|
vertices[] |
The bounding polygon vertices. |
normalizedVertices[] |
The bounding polygon normalized vertices. |
Vertex
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
JSON representation |
---|
{ "x": integer, "y": integer } |
Fields | |
---|---|
x |
X coordinate. |
y |
Y coordinate (starts from the top of the image). |
NormalizedVertex
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.
JSON representation |
---|
{ "x": number, "y": number } |
Fields | |
---|---|
x |
X coordinate. |
y |
Y coordinate (starts from the top of the image). |