Annotation import and export
Picsellia allows you to create your Annotation by importing your own Annotation file on an existing DatasetVersion.
1. Annotation formats
Picsellia natively handles the following Annotation formats:
- COCO
- Pascal VOC
- YOLO
- ViaLabel
2. Import Annotation files
From the Assets overview, you can click on Annotations > Import to open the Annotation files import modal.

Access the Import Annotation file modal

Import Annotation file modal
From this modal, you must indicate:
- The format of the Annotation file
- The files containing
Annotationrelated to the images composing the currentDatasetVersion. - The expected behavior for the
Assetthat already have anAnnotation(keep the existingAnnotation, replace it with the imported one, or concatenate the two) - On a
DatasetVersionwhoseVersion Typeis not set yet, the Shape to create, Polygon (segmentation) or Rectangle (bbox). The modal warns you that theVersion Typeof theDatasetVersionwill be set accordingly.
If the files contain Annotation of images that are not part of the DatasetVersion, Picsellia ignores them and only imports the Annotation related to images that are part of the current DatasetVersion.
Then click on Import and the Annotation will be created on your DatasetVersion. You can now visualize the Annotation through the Assets overview.
Please note that the import of Annotation in COCO format also supports the Text field related to each box, the Asset Attribute, and the Shape Attribute.
No need to set up the
Version TypeandLabelmapof theDatasetVersion. As theVersion Typeand theLabelmapare contained in the Annotation files, they are automatically set up on your PicselliaDatasetVersionduring the import. After the import, you can still manually create additionalLabel.
3. Edit Annotation
AnnotationOnce imported, the Annotation can still be modified directly on Picsellia using Studio.

Edit Annotation in Studio
Studio documentation is available here.
4. Export Annotation
AnnotationAt any moment, you can export the Annotation of all the Asset of an annotated DatasetVersion. You can choose the format of the Annotation you are about to export among COCO, YOLO, Pascal VOC, and Semantic masks (detailed below). ViaLabel is an import format only.
To do so, you can click on Annotations and choose the Annotation format. On a DatasetVersion without any Annotation, the menu only shows Import. Picsellia prepares the file as a Job and downloads it on your machine as soon as it is ready — right away when the same export has already been prepared. The preparation can take several seconds depending on the DatasetVersion size so please be patient, but a DatasetVersion of any size can be exported this way, including one holding more than 100,000 Asset.

Export Annotation
Each Asset has at most one Annotation, and it is the one exported.
On a DatasetVersion whose Version Type is Object Detection or Segmentation, the same menu also offers Export as Semantic masks. Instead of a file describing coordinates, it produces one mask image per annotated Asset, where each Shape is painted according to its Label, and downloads them as a zip archive. This is what most semantic segmentation training pipelines expect as ground truth, so it saves you from converting your polygons or bounding boxes yourself before a training run. It goes through the same Job and download flow as the other formats, and it is an export format only: semantic masks cannot be imported back.
If the export fails, the error is reported to you, instead of leaving you waiting for a file that never arrives.
For more customization in the export of
Annotation, you can use the Python SDK.
Updated 9 days ago