A closed polygon represented by n vertices. In other words, we assume that the first and last vertex are connected.

interface AnnotationsPolygon {
    confidence?: number;
    vertices: AnnotationsPoint[];
}

Properties

confidence?: number

The confidence score for the primitive. It should be between 0 and 1.

0

1

vertices: AnnotationsPoint[]