This package is intended to be a multi-type importer/exporter/converter between different annotation formats.
This package is currently in development and has not that many features implemented. The API is not stable and is subject to change.
The package consists of the Intermediary Representation (IR) annotation format in Python Objects, and importers/exporters for different annotation formats.
pip install dagshub-annotation-converter
- YOLO BBox, Segmentation, Poses
- Label Studio (Only task schema implemented, importing from a project is left up to user):
from dagshub_annotation_converter.formats.label_studio.task import LabelStudioTask
task_obj = LabelStudioTask.from_json("path/to/label_studio_task.json")
annotations = task_obj.to_ir_annotations()
- YOLO BBox, Segmentation, Poses
- Label Studio (Again, only task schema, uploading the task to the project is left to the user)