Overview
TheCsvRow type represents a flattened view of an annotation combined with its parent image metadata. This format is used for the CSV table view and CSV export functionality.
Type Definition
Properties
The unique identifier of the parent image. Used to navigate back to the image when clicking a row.
The unique identifier of the annotation. Used to select/highlight the annotation.
The label/class name of the annotation.
The x-coordinate of the annotation’s top-left corner in pixels.
The y-coordinate of the annotation’s top-left corner in pixels.
The width of the annotation bounding box in pixels.
The height of the annotation bounding box in pixels.
The filename of the parent image (from
image.file.name).The natural width of the parent image in pixels, or
null if not yet loaded.The natural height of the parent image in pixels, or
null if not yet loaded.Usage Example
Generating CSV rows from the images array:CSV Export Format
When exporting to CSV, the data is formatted as:Related Types
- AnnotationBox - Source annotation data
- ImageItem - Source image data