To convert YOLO annotation to VL format visit: Converting YOLO Annotations to Visual Layer Format
Tabular Formats: Parquet / CSV
Image Annotations
For full-image class labels, create an annotation file namedimage_annotations.csv
orimage_annotations.parquet
. Each row in the file represents an image and its corresponding label.
Example Format:
filename | label |
---|---|
IDX_DF_SIG21341_PlasmasNeg.png | IDX_DF |
IDX_DF_ALM00324_PlasmasPos.png | IDX_DF |
folder/IDX_RC_ALM04559_PlasmasNeg.png | IDX_RC |
- The
filename
column must contain relative paths. - The
label
column assigns a class to entire image. - Multiple labels can be stored as a list, e.g.,
['t-shirt', 'SKU12345']
. - You may also include a
caption
column for textual metadata.
Example for Multiple Labels:
filename | label |
---|---|
cool-tshirt.png | [“t-shirt”, “SKU12345”] |
cool-pants.jpg | [“pants”, “SKU231312”] |
Object Annotations
For object-level annotations, create an annotation file namedobject_annotations.csv
or object_annotations.parquet
. Each row represents a detected object, including its bounding box coordinates and class label.
Example Format:
filename | col_x | row_y | width | height | label |
---|---|---|---|---|---|
Kitti/raw/training/image_2/006149.png | 0 | 240 | 135 | 133 | Car |
Kitti/raw/training/image_2/006149.png | 608 | 169 | 59 | 43 | Car |
col_x
androw_y
define the top-left corner of the bounding box.width
andheight
must be greater than zero.- Each row corresponds to a single object within an image.
JSON Annotations (COCO Format)
Ensure The file is namedannotations.json
.
Example JSON Format:
- Bounding boxes (
bbox
) follow the format[col_x, row_y, width, height]
.col_x
androw_y
define the top-left corner of the bounding box.width
andheight
must be greater than zero.
- Remove comments before uploading.
Summary of Bounding Box Formats
Format | Representation | File Type |
---|---|---|
JSON (COCO) | [x_min, y_min, width, height] | .json |
CSV(Image Labels) | [filename, label] | .csv |
CSV(Object Labels) | filename, col_x, row_y, width, height, label | .csv |