BoundingPoly

Bounding polygon in an image.

Fields
vertex[] object ( Vertex )

Vertices of the bounding polygon in clockwise order.

JSON representation
 { 
 "vertex" 
 : 
 [ 
 { 
 object (  Vertex 
 
) 
 } 
 ] 
 } 

Vertex

Represents a 2D point in the image. Vertex coordinates are normalized to be relative to the original image dimensions and range from 0 to 1. The origin of the coordinate system (0,0) is the top-left corner of the image. x increases to the right, and y increases to the bottom.

Fields
x number

X coordinate of the vertex, normalized to [0.0, 1.0].

y number

Y coordinate of the vertex, normalized to [0.0, 1.0].

JSON representation
 { 
 "x" 
 : 
 number 
 , 
 "y" 
 : 
 number 
 } 
Design a Mobile Site
View Site in Mobile | Classic
Share by: