Given a line entry in params.geometries, Scale will annotate your image or video with polylines (segmented lines) and return the vertices of the lines.
A computer-generated unique identifier for this annotation.
In video annotation tasks, this can be used to track the same object across frames.
type
string
String to indicate geometry type: line
label
string
The label of this annotation, chosen from the objects_to_annotate array for its geometry. In video annotation tasks, any annotation objects with the same uuid will have the same label across all frames.
attributes
object
See the Annotation Attributes section for more details about the attributes response field.
vertices
array
An array of vertex objects describing the vertices of the polygon, listed in the order they were annotated. In other words, the point order will be either clockwise or counter-clockwise for each annotation.
Definition: Vertex
Key
Type
Description
x
number
The distance, in pixels, between the vertex and the left border of the image.
y
number
The distance, in pixels, between the vertex and the top border of the image.