Vector Annotation
Updated at January 14th, 2025
Vector annotation is a method used to label and annotate specific points, lines, or regions in an image using geometric shapes. This approach is widely applied in fields like mapping, computer vision, and data visualization to create structured datasets for machine learning or other analytical tasks.
What Is Vector Annotation?
Vector annotation involves marking elements within an image using vector shapes such as points, lines, arrows, or polygons. These annotations capture the spatial relationships and geometric properties of the elements being labeled. Unlike raster annotation, which focuses on pixel-level categorization, vector annotation operates at a higher level of abstraction by defining areas or objects with precise coordinates and shapes.
Annotation Output
When working with annotations, it is essential to understand how they are represented in JSON format. While tasks and their annotations are visible in the workspace, the corresponding JSON structure provides a deeper insight into how the data is organized and stored.
In this example, we are going to zoom in on the slider rectangle tool to explore how its output is represented in JSON. It’s worth mentioning that each output type differs in the JSON structure. While some follow similar patterns, others have distinct formats, all of which are thoroughly documented in the accompanying recipe review the section output type.